/* Reset and Global Styles */
:root {
    --primary-color: #D32F2F;
    --primary-light: #FFEBEE;
    --secondary-color: #2D3436;
    --text-color: #4A4A4A;
    --heading-color: #1A1A1A;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --gray: #9E9E9E;
    --border-color: #E0E0E0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'DM Sans', sans-serif;
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Reusable Components */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    font-size: 16px; /* User specified */
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #B71C1C;
    transform: translateY(-2px);
}

.btn-dark {
    background-color: #000000;
    color: var(--white);
}

.btn-dark:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    display: block;
}

.badge {
    display: inline-flex;
    align-items: center;
    background-color: #FFF1F1;
    color: #D32F2F;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    border: 1px solid #FFDADA;
}

.badge .dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 10px;
}

/* Pulse Animation */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(211, 47, 47, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); }
}

.pulse {
    animation: pulse 2s infinite;
}

.section-subtitle {
    display: block;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.text-primary {
    color: var(--primary-color);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

/* Navbar */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--heading-color);
}

.logo-highlight {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background-color: var(--white);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.hero-content h1 {
    font-size: 60px; /* User specified */
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 700;
}

.hero-content p {
    font-size: 18px; /* User specified */
    color: #555;
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-image .image-wrapper {
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 30px 30px 80px rgba(0,0,0,0.1);
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 18px 28px;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 15px;
}

.efficiency {
    bottom: -30px;
    left: -30px;
}

.icon-circle {
    width: 45px;
    height: 45px;
    background-color: #E8F5E9;
    color: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-text .label {
    display: block;
    font-size: 13px;
    color: #888;
}

.card-text .value {
    font-weight: 700;
    font-size: 20px;
    color: var(--heading-color);
}

/* About Section */
.about {
    padding: 120px 0;
    background-color: var(--white);
}

.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.about-image .image-wrapper {
    position: relative;
}

.about-image img {
    border-radius: 20px;
}

.floating-badge {
    position: absolute;
    top: -40px;
    right: -40px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px;
    border-radius: 20px;
    width: 160px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(211, 47, 47, 0.3);
}

.floating-badge .percentage {
    display: block;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 5px;
}

.floating-badge .desc {
    font-size: 11px;
    line-height: 1.3;
    display: block;
    text-transform: uppercase;
}

.about-content h2 {
    font-size: 40px;
    margin-bottom: 25px;
}

.about-content p {
    margin-bottom: 25px;
    color: #555;
    font-size: 16px;
}

.link-with-arrow {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

/* Services Section */
.services {
    padding: 120px 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 45px;
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--primary-light);
}

.service-icon {
    width: 65px;
    height: 65px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 30px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 18px;
}

.service-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

/* Partner Section (Red Box) */
.partner {
    padding: 80px 0;
}

.partner-box {
    background-color: var(--primary-color);
    border-radius: 25px;
    padding: 70px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
    color: var(--white);
    align-items: center;
}

.red-line {
    width: 60px;
    height: 5px;
    background-color: var(--white);
    margin-bottom: 30px;
}

.partner-content h2 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 25px;
}

.partner-content p {
    margin-bottom: 35px;
    font-size: 18px;
    opacity: 0.9;
}

.partner-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.p-feature {
    background-color: rgba(255, 255, 255, 0.12);
    padding: 30px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.p-icon {
    width: 45px;
    height: 45px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-text h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 10px;
}

.p-text p {
    font-size: 13px;
    opacity: 0.85;
    line-height: 1.6;
}

/* Testimonials Section with Carousel */
.testimonials {
    padding: 120px 0;
    background-color: var(--white);
}

.carousel-container {
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.testimonial-card {
    min-width: 100%;
    padding: 60px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    text-align: center;
}

.rating {
    color: #FFC107;
    margin-bottom: 30px;
    font-size: 18px;
}

.testimonial-card p {
    font-style: italic;
    color: #333;
    margin-bottom: 35px;
    font-size: 20px;
    line-height: 1.6;
}

.client-info strong {
    display: block;
    color: var(--heading-color);
    font-size: 18px;
    margin-bottom: 5px;
}

.client-info span {
    font-size: 14px;
    color: #888;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #DDD;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
    width: 25px;
    border-radius: 10px;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background-color: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 25px;
}

.contact-info > p {
    margin-bottom: 45px;
    font-size: 16px;
}

.info-item {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
}

.info-icon {
    width: 55px;
    height: 55px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.info-text h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.info-text p {
    font-size: 15px;
    color: #666;
}

.contact-form {
    background-color: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.06);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--heading-color);
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.05);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 70px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 30px;
}

.footer-col p {
    font-size: 15px;
    opacity: 0.85;
    margin-bottom: 25px;
    line-height: 1.7;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    font-size: 15px;
    opacity: 0.85;
}

.footer-col ul li a:hover {
    opacity: 1;
    padding-left: 8px;
}

.social-links {
    display: flex;
    gap: 18px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
}

.social-links a:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form input {
    padding: 15px 18px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    opacity: 0.75;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero .container, 
    .about .container,
    .contact-wrapper,
    .partner-box {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content p, .about-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-image, .about-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .services-grid,
    .partner-features,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 40px 20px;
    }
    
    .testimonial-card p {
        font-size: 16px;
    }
}
