/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --white: #ffffff;
    --gray-dark: #1a1a1a;
    --gray-medium: #333333;
    --gray-light: #666666;
    --gray-lighter: #999999;
    --gray-lightest: #f5f5f5;
    --gray-border: #e0e0e0;
    /* Red theme - matches Ruchi Exports logo (bright red) */
    --green-primary: #c41e3a;
    --green-dark: #a01a2e;
    --green-light: #e63950;
    --green-accent: #d62839;
    --green-luxury: #b91c1c;
    --beige-primary: #f0e8e8;
    --beige-dark: #e0d4d4;
    --beige-light: #f8f2f2;
    --beige-lightest: #fcf8f8;
    --beige-luxury: #f5efef;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--gray-medium);
    overflow-x: hidden;
    background: var(--white);
    font-weight: 400;
    font-size: 0.95rem;
}

/* Distance after fixed header on inner pages (about, manufacturing, products, contact) */
body:not([data-page="home"]) {
    padding-top: 80px;
}

/* Prevent flash of old content - hide sections until loaded */
section[id]:not(#home) {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show sections after content is loaded */
section[id]:not(#home).content-loaded {
    visibility: visible;
    opacity: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    letter-spacing: -0.3px;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-left {
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right {
    opacity: 0;
    animation: fadeInRight 0.8s ease-out forwards;
}

.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible {
    opacity: 1;
}

/* Stagger animations */
.fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.fade-in-up:nth-child(2) { animation-delay: 0.2s; }
.fade-in-up:nth-child(3) { animation-delay: 0.3s; }
.fade-in-up:nth-child(4) { animation-delay: 0.4s; }
.fade-in-up:nth-child(5) { animation-delay: 0.5s; }
.fade-in-up:nth-child(6) { animation-delay: 0.6s; }

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

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-border);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.mobile-nav .logo {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--black);
    letter-spacing: 0.5px;
    font-family: 'Libre Baskerville', serif;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.mobile-nav .logo img {
    display: block;
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-nav-toggle span {
    width: 100%;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-nav-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--white);
}

.mobile-nav-menu.active {
    max-height: 600px;
}

.mobile-nav-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--gray-medium);
    text-decoration: none;
    border-bottom: 1px solid var(--gray-border);
    transition: all 0.3s ease;
    font-weight: 400;
    font-size: 0.9rem;
}

.mobile-nav-menu a:hover {
    background: var(--gray-lightest);
    color: var(--green-primary);
    padding-left: 2rem;
}

/* Desktop Navigation */
.desktop-nav {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.desktop-nav .logo {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--black);
    letter-spacing: 0.5px;
    font-family: 'Libre Baskerville', serif;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.desktop-nav .logo img {
    display: block;
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--gray-medium);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
    position: relative;
    font-size: 0.875rem;
    letter-spacing: 0.2px;
    padding: 0.5rem 0;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu li.has-megamenu > a::after {
    display: none;
}

/* Mega Menu Styles - Shopify-like Design */
.nav-menu li {
    position: relative;
}

.nav-menu li.has-megamenu > a {
    position: relative;
}

.nav-menu li.has-megamenu > a::after {
    content: '▼';
    font-size: 0.65rem;
    margin-left: 0.4rem;
    display: inline-block;
    color: var(--green-primary);
    opacity: 0.7;
}

.nav-menu li.has-megamenu:hover > a {
    color: var(--green-primary);
    transition: color 0.2s ease;
}

.nav-menu li.has-megamenu:hover > a::after {
    opacity: 1;
}

.megamenu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--white);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--gray-border);
    border-radius: 0;
    padding: 0;
    width: auto;
    min-width: 300px;
    max-width: 95vw;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    margin-top: 0;
    z-index: 1000;
    display: flex;
    gap: 0;
    overflow: hidden;
    white-space: nowrap;
}

.nav-menu li.has-megamenu:hover .megamenu,
.nav-menu li.has-megamenu .megamenu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.megamenu-column {
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2rem;
    border-right: 1px solid var(--gray-border);
    transition: background-color 0.2s ease;
    position: relative;
    flex-shrink: 0;
    width: auto;
    min-width: 220px;
}

.megamenu-column:last-child {
    border-right: none;
}

.megamenu-column:hover {
    background-color: var(--beige-lightest);
}

.megamenu-column-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 4px;
    background: var(--beige-lightest);
}

.megamenu-column-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.megamenu-column:hover .megamenu-column-image {
    transform: scale(1.08);
}

.megamenu-column-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--beige-primary);
    letter-spacing: 0.3px;
    text-transform: none;
}

.megamenu-column-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.megamenu-column-links li {
    margin-bottom: 0.5rem;
}

.megamenu-column-links a {
    color: var(--gray-medium);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: all 0.2s ease;
    display: block;
    padding: 0.5rem 0;
    position: relative;
    line-height: 1.5;
}

.megamenu-column-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: var(--green-primary);
    transition: width 0.2s ease;
}

.megamenu-column-links a:hover {
    color: var(--green-primary);
    padding-left: 1rem;
}

.megamenu-column-links a:hover::before {
    width: 0.5rem;
}

/* Responsive Mega Menu */
@media (max-width: 1024px) {
    .megamenu {
        min-width: 600px;
        max-width: calc(100vw - 2rem);
    }
    
    .megamenu-column {
        padding: 2rem 1.5rem;
        min-width: 200px;
    }
    
    .megamenu-column-image-wrapper {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .nav-menu li.has-megamenu .megamenu {
        position: static;
        transform: none;
        min-width: 100%;
        width: 100%;
        max-width: 100%;
        margin-top: 0;
        box-shadow: none;
        border: none;
        border-top: 1px solid var(--gray-border);
        border-radius: 0;
        padding: 0;
        display: block;
        opacity: 1;
        visibility: visible;
        grid-template-columns: 1fr;
    }
    
    .megamenu-column {
        padding: 1.5rem 1rem;
        border-right: none;
        border-bottom: 1px solid var(--gray-border);
    }
    
    .megamenu-column:last-child {
        border-bottom: none;
    }
    
    .megamenu-column-image-wrapper {
        height: 200px;
        margin-bottom: 1.25rem;
    }
    
    .megamenu-column-title {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }
    
    .megamenu-column-links a {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    z-index: 9999;
    display: flex;
    align-items: center;
    bottom: 20px;
    animation: whatsappPulse 2s infinite;
    visibility: visible;
}

.whatsapp-float.whatsapp-right {
    right: 20px;
}

.whatsapp-float.whatsapp-left {
    left: 20px;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #25D366;
    color: var(--white);
    padding: 0.875rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

.whatsapp-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
    color: var(--white);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    flex-shrink: 0;
}

.whatsapp-text {
    white-space: nowrap;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
    }
    
    .whatsapp-float.whatsapp-right {
        right: 15px;
    }
    
    .whatsapp-float.whatsapp-left {
        left: 15px;
    }
    
    .whatsapp-link {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}

/* Hero Section */
.hero {
    margin-top: 70px;
    min-height: 650px;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--black);
    display: block;
    border: none;
    outline: none;
}



/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    width: 50px;
    height: 50px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--white);
}

.slider-btn-prev {
    left: 30px;
}

.slider-btn-next {
    right: 30px;
}

.slider-btn span {
    line-height: 1;
    font-weight: bold;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.dot.active,
.dot:hover {
    background: var(--white);
    border-color: var(--white);
    transform: scale(1.2);
}

/* Hero Content - Now inside each slide */
.hero-content-slide {
    position: absolute;
    z-index: 2;
    max-width: 900px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

/* Default center positioning */
.hero-content-slide {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    align-items: center;
    text-align: center;
}

/* Left alignment */
.hero-content-slide[style*="left: 20%"] {
    align-items: flex-start;
}

/* Right alignment */
.hero-content-slide[style*="left: 80%"] {
    align-items: flex-end;
}

.hero-slide.active .hero-content-slide {
    opacity: 1;
    animation: heroFadeInUp 1s ease-out 0.3s forwards;
}

.hero-content-slide .hero-title {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.2rem;
    line-height: 1.3;
    letter-spacing: -0.5px;
    font-family: 'Libre Baskerville', serif;
    opacity: 0;
    animation: heroFadeInUp 1s ease-out 0.3s forwards;
    transform: translateY(30px);
}

.hero-content-slide .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0;
    font-weight: 400;
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
    animation: heroFadeInUp 1s ease-out 0.6s forwards;
    transform: translateY(30px);
    max-width: 800px;
}

.hero-content-slide .cta-button {
    opacity: 0;
    animation: heroFadeInUp 1s ease-out 1.2s forwards;
    transform: translateY(30px);
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: var(--white);
    text-decoration: none;
    border-radius: 0;
    font-weight: 400;
    transition: all 0.4s ease;
    border: 2px solid var(--green-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: top 0.6s ease, left 0.6s ease;
    z-index: 1;
}

.cta-button span {
    position: relative;
    z-index: 2;
}

.cta-button:hover {
    color: var(--white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.5);
    border-color: var(--beige-primary);
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover::after {
    top: 100%;
    left: 100%;
}

/* About Section */
.about {
    padding: 3.5rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2rem;
    color: var(--black);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    font-weight: 400;
    letter-spacing: -0.3px;
    font-family: 'Libre Baskerville', serif;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--green-primary), var(--beige-primary));
}

/* Section Dividers */
section:not(:last-child)::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--beige-primary), transparent);
    margin-top: 1rem;
    opacity: 0.3;
}

section:last-child::after {
    display: none;
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
}

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

.about-image {
    width: 100%;
    height: auto;
    min-height: 400px;
    display: block;
    transition: all 0.5s ease;
    object-fit: cover;
    background: var(--gray-lightest);
}

.about-image:not([src]),
.about-image[src=""] {
    background: var(--gray-lightest);
}

.about-image:hover {
    transform: scale(1.05);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-medium);
    text-align: justify;
    font-weight: 400;
}

/* Statistics Section */
.statistics {
    padding: 3rem 0;
    background: var(--beige-lightest);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.05), transparent);
    transition: left 0.5s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.2);
    border-color: var(--green-primary);
}

.stat-icon {
    width: 22px;
    height: 22px;
    margin: 0 auto 0.5rem;
    color: var(--green-primary);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-item:hover .stat-icon {
    transform: scale(1.05);
    opacity: 0.8;
}

.stat-number {
    font-size: 2rem;
    font-weight: 400;
    color: var(--green-primary);
    margin-bottom: 0.3rem;
    transition: all 0.3s ease;
    font-family: 'Libre Baskerville', serif;
    letter-spacing: -0.5px;
    line-height: 1;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
}

.stat-label {
    font-size: 0.7rem;
    color: var(--gray-light);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
}

/* Vision Section */
.vision {
    padding: 3.5rem 0;
    background: var(--white);
}

.vision-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.vision-image-wrapper {
    position: relative;
    overflow: hidden;
}

.vision-image {
    width: 100%;
    height: auto;
    min-height: 400px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.vision-image-wrapper:hover .vision-image {
    transform: scale(1.05);
}

.vision-text {
    text-align: left;
}

.vision-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 1rem;
    color: var(--black);
    animation: float 3s ease-in-out infinite;
    opacity: 0.5;
}

.vision-icon svg {
    width: 100%;
    height: 100%;
}

.vision-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-medium);
    font-weight: 400;
}

/* What We Do Section */
.what-we-do {
    padding: 3.5rem 0;
    background: var(--beige-lightest);
}

.what-we-do-content {
    max-width: 1000px;
    margin: 0 auto;
}

.intro-text {
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    color: var(--gray-medium);
    font-weight: 400;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-item {
    padding: 2rem;
    background: var(--white);
    border-left: 4px solid var(--green-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.15);
    border-left-width: 6px;
    border-left-color: var(--beige-primary);
}

.service-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 0.8rem;
    color: var(--green-primary);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-item:hover .service-icon {
    transform: scale(1.05);
    opacity: 0.8;
}

.service-image-wrapper {
    width: 100%;
    height: 200px;
    margin-top: 1.5rem;
    overflow: hidden;
    position: relative;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-item:hover .service-image {
    transform: scale(1.1);
}

.service-item h4 {
    font-size: 1rem;
    color: var(--black);
    font-weight: 400;
    margin: 0;
    margin-bottom: 0.8rem;
    font-family: 'Libre Baskerville', serif;
}

.closing-text {
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gray-medium);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* Strengths Section */
.strengths {
    padding: 3.5rem 0;
    background: var(--white);
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.strength-item {
    text-align: center;
    padding: 1.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.strength-item:hover {
    transform: translateY(-5px);
}

.strength-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    height: 70px;
}

.strength-icon {
    width: 24px;
    height: 24px;
    color: var(--green-primary);
    position: absolute;
    transition: all 0.3s ease;
    z-index: 2;
    opacity: 0.7;
}

.strength-icon svg {
    width: 100%;
    height: 100%;
}

.strength-number {
    font-size: 3rem;
    font-weight: 400;
    color: var(--green-primary);
    opacity: 0.1;
    position: absolute;
    z-index: 1;
    transition: all 0.3s ease;
    font-family: 'Libre Baskerville', serif;
}

.strength-item:hover .strength-number {
    opacity: 0.12;
    transform: scale(1.05);
}

.strength-item:hover .strength-icon {
    transform: scale(1.05);
    opacity: 0.9;
}

.strength-image-wrapper {
    width: 100%;
    height: 150px;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 5px;
    display: none;

}

.strength-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.strength-item:hover .strength-image {
    transform: scale(1.1);
}

.strength-item h3 {
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 0.6rem;
    font-weight: 400;
    font-family: 'Libre Baskerville', serif;
    line-height: 1.3;
}

.strength-item p {
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--gray-light);
    font-weight: 400;
}

/* Promise Section */
.promise {
    padding: 3.5rem 0;
    background: var(--black);
    color: var(--white);
}

.promise .section-title {
    color: var(--white);
}

.promise .section-title::after {
    background: var(--white);
}

.promise-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.promise-text {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-family: 'Libre Baskerville', serif;
}

.promise-content p:last-child {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
    font-weight: 400;
}

/* Why Partner Section */
.why-partner {
    padding: 3rem 0;
    background: var(--beige-lightest);
}

.why-partner-content {
    max-width: 1100px;
    margin: 0 auto;
}

.why-partner .intro-text {
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.benefits-slider-wrapper {
    position: relative;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.benefits-slider {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.benefits-slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.6s ease-in-out;
    width: 100%;
}

.benefit-slide {
    flex: 0 0 calc(50% - 0.75rem);
    width: calc(50% - 0.75rem);
    min-width: calc(50% - 0.75rem);
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--gray-border);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--green-primary);
    margin-bottom: 1rem;
    font-weight: 400;
}

.benefit-slide h3 {
    font-size: 1.1rem;
    color: var(--black);
    margin-bottom: 0.8rem;
    font-weight: 400;
    font-family: 'Libre Baskerville', serif;
}

.benefit-slide p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--gray-medium);
    font-weight: 400;
    max-width: 100%;
}

.benefits-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 2px solid var(--green-primary);
    color: var(--green-primary);
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.2);
}

.benefits-nav-btn:hover {
    background: var(--green-primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.benefits-prev {
    left: -20px;
}

.benefits-next {
    right: -20px;
}

.benefits-nav-btn span {
    line-height: 1;
    font-weight: bold;
}

.benefits-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.benefit-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-border);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-dot.active,
.benefit-dot:hover {
    background: var(--green-primary);
    border-color: var(--green-primary);
    transform: scale(1.3);
}

.why-partner .closing-text {
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 1.5rem;
}

/* Process Section */
.process {
    padding: 3.5rem 0;
    background: linear-gradient(to bottom, var(--white) 0%, var(--beige-lightest) 100%);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(196, 30, 58, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(232, 228, 216, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.process-content {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.process-flowchart {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    padding: 2rem 0;
    flex-wrap: wrap;
}

.process-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    width: 100%;
    flex-wrap: nowrap;
}

.process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 200px;
    min-width: 160px;
}

.process-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--green-primary);
    opacity: 0.08;
    font-family: 'Libre Baskerville', serif;
    z-index: 0;
    line-height: 1;
    transition: all 0.3s ease;
}

.process-step:hover .process-number {
    opacity: 0.12;
    transform: translateX(-50%) scale(1.1);
}

.process-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 2;
    position: relative;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.process-badge svg {
    width: 28px;
    height: 28px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.badge-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    opacity: 0.6;
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.process-badge-1 {
    background: linear-gradient(135deg, var(--green-primary), var(--green-light));
}

.process-badge-2 {
    background: linear-gradient(135deg, var(--green-light), var(--green-accent));
}

.process-badge-3 {
    background: linear-gradient(135deg, var(--green-accent), var(--beige-dark));
}

.process-badge-4 {
    background: linear-gradient(135deg, var(--beige-dark), var(--green-primary));
}

.process-badge-5 {
    background: linear-gradient(135deg, var(--green-primary), var(--green-light));
}

.process-step:hover .process-badge {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.4);
}

.process-step:hover .process-badge svg {
    transform: scale(1.1);
}

.process-box {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid var(--gray-border);
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.process-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    transition: all 0.4s ease;
}

.process-box-1::before {
    background: linear-gradient(180deg, var(--green-primary), var(--green-light));
}

.process-box-2::before {
    background: linear-gradient(180deg, var(--green-light), var(--green-accent));
}

.process-box-3::before {
    background: linear-gradient(180deg, var(--green-accent), var(--beige-dark));
}

.process-box-4::before {
    background: linear-gradient(180deg, var(--beige-dark), var(--green-primary));
}

.process-box-5::before {
    background: linear-gradient(180deg, var(--green-primary), var(--green-light));
}

.process-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.2);
}

.process-box:hover::before {
    width: 6px;
}

.process-box h4 {
    font-size: 0.95rem;
    color: var(--black);
    margin-bottom: 0.5rem;
    font-weight: 400;
    font-family: 'Libre Baskerville', serif;
    transition: margin-bottom 0.3s ease;
}

.process-box p {
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--gray-light);
    font-weight: 400;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    transition: all 0.4s ease;
}

.process-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.2);
    height: auto;
    min-height: 160px;
}

.process-box:hover p {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    display: block;
}

.process-box:hover h4 {
    margin-bottom: 0.8rem;
}

.process-arrow {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.process-arrow-right {
    right: -30px;
    top: 30px;
    width: 25px;
    height: 2px;
    background: linear-gradient(90deg, var(--green-primary), var(--green-light));
    opacity: 0.7;
    position: relative;
}

.process-arrow-right::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -4px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid var(--green-primary);
}

.arrow-animation {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: arrow-flow 2s ease-in-out infinite;
}

@keyframes arrow-flow {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.process-arrow-down {
    display: none;
}

/* Hide down arrow on all steps since we're in one row */
.process-row .process-step .process-arrow-down {
    display: none;
}

/* Hide right arrow on last step */
.process-row .process-step:last-child .process-arrow-right {
    display: none;
}

.process-start,
.process-end {
    display: none;
}

/* Testimonials Section */
.testimonials {
    padding: 3.5rem 0;
    background: var(--beige-lightest);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-item {
    background: var(--white);
    padding: 2rem;
    border-left: 3px solid var(--beige-primary);
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.2);
    border-left-color: var(--green-primary);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gray-medium);
    font-weight: 400;
    font-style: italic;
}

.testimonial-author h5 {
    font-size: 0.95rem;
    color: var(--black);
    margin-bottom: 0.3rem;
    font-weight: 400;
    font-family: 'Libre Baskerville', serif;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--gray-light);
    font-weight: 400;
}

/* Products Section */
.products {
    padding: 3.5rem 0;
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-item {
    background: var(--white);
    text-align: center;
    border: 1px solid var(--gray-border);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.2);
    border-color: var(--green-primary);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--gray-lightest);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    background: var(--gray-lightest);
}

.product-image:not([src]),
.product-image[src=""] {
    background: repeating-linear-gradient(
        45deg,
        var(--gray-lightest),
        var(--gray-lightest) 10px,
        var(--gray-border) 10px,
        var(--gray-border) 20px
    );
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.product-item:hover .product-image {
    transform: scale(1.1);
}

.product-item:hover .product-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.product-item h3 {
    font-size: 1.2rem;
    color: var(--black);
    font-weight: 400;
    margin: 0;
    padding: 1.5rem;
    font-family: 'Libre Baskerville', serif;
}

/* Infrastructure Section */
.infrastructure {
    padding: 3.5rem 0;
    background: var(--white);
}

.infrastructure-content {
    max-width: 1000px;
    margin: 0 auto;
}

.infrastructure-content > p {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: var(--gray-medium);
}

.infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.infra-item {
    background: var(--gray-lightest);
    border: 1px solid var(--gray-border);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.infra-item:hover {
    transform: translateY(-5px);
    border-color: var(--black);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.infra-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--gray-lightest);
}

.infra-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    background: var(--gray-lightest);
}

.infra-image:not([src]),
.infra-image[src=""] {
    background: repeating-linear-gradient(
        45deg,
        var(--gray-lightest),
        var(--gray-lightest) 10px,
        var(--gray-border) 10px,
        var(--gray-border) 20px
    );
}

.infra-item:hover .infra-image {
    transform: scale(1.1);
}

.infra-item h4 {
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 1rem;
    font-weight: 600;
    padding: 1.5rem 1.5rem 0;
}

.infra-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-light);
    padding: 0 1.5rem 1.5rem;
}

/* Certifications Section */
.certifications {
    padding: 3.5rem 0;
    background: var(--beige-lightest);
}

.certifications-content {
    max-width: 900px;
    margin: 0 auto;
}

.certifications-content > p {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: var(--gray-medium);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.cert-item {
    padding: 2.5rem;
    background: var(--white);
    text-align: center;
    border: 1px solid var(--gray-border);
}

.cert-item h4 {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: 'Libre Baskerville', serif;
}

.cert-item p {
    font-size: 1rem;
    color: var(--gray-light);
}

/* Certifications logos row (no slider) */
.cert-logos-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    overflow-x: visible;
    padding: 0.5rem 0;
}

.cert-logos-row img {
    max-width: 150px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    background: var(--white);
}

/* Contact Section */
.contact {
    padding: 3.5rem 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 2rem;
    font-weight: 600;
    font-family: 'Libre Baskerville', serif;
}

.contact-info p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-medium);
    margin-bottom: 1rem;
}

.contact-info strong {
    color: var(--black);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 1px solid var(--gray-border);
    background: var(--white);
    color: var(--gray-medium);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--black);
    background: var(--gray-lightest);
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: var(--white);
    border: 2px solid var(--green-primary);
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.submit-button::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: top 0.6s ease, left 0.6s ease;
    z-index: 1;
}

.submit-button:hover {
    color: var(--white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.5);
    border-color: var(--beige-primary);
}

.submit-button:hover::before {
    width: 300px;
    height: 300px;
}

.submit-button:hover::after {
    top: 100%;
    left: 100%;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    pointer-events: none;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 700;
    font-family: 'Libre Baskerville', serif;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 600;
    font-family: 'Libre Baskerville', serif;
}

.footer-section p {
    margin-bottom: 1rem;
    opacity: 0.8;
    line-height: 1.7;
    font-size: 0.85rem;
    font-weight: 400;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--beige-primary);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 400;
}

.footer-section ul li a:hover {
    opacity: 1;
    padding-left: 5px;
    color: var(--beige-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-links a:hover {
    background: var(--green-primary);
    color: var(--white);
    border-color: var(--green-primary);
}

/* Footer contact links (phone & email) */
.footer-section a[href^="tel"],
.footer-section a[href^="mailto"] {
    color: var(--beige-primary);
    text-decoration: none;
    font-weight: 500;
}

.footer-section a[href^="tel"]:hover,
.footer-section a[href^="mailto"]:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Footer social SVG icons */
.footer .social-links a svg {
    width: 20px;
    height: 20px;
}

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 999px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .cert-logos-row img {
        max-width: 50px;
        max-height: 50px;
        width: auto;
        height: auto;
        object-fit: contain;
        border: 1px solid var(--gray-border);
        border-radius: 8px;
        background: var(--white);
    }
    .cert-logos-row{
        gap:5px;
    }
    .mobile-nav {
        display: block;
    }

    .desktop-nav {
        display: none;
    }

    .hero {
        margin-top: 0;
        min-height: 550px;
    }

    .hero-content-slide {
        padding: 2rem 1.5rem;
        max-width: 100%;
        /* Ensure positioning works on mobile */
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        align-items: center !important;
        text-align: center !important;
    }

    .hero-content-slide .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-content-slide .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .slider-btn-prev {
        left: 15px;
    }

    .slider-btn-next {
        right: 15px;
    }

    .slider-dots {
        bottom: 20px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-item {
        padding: 1.2rem 0.8rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-icon {
        width: 20px;
        height: 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text p {
        text-align: left;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .strength-item {
        padding: 1.2rem 0.8rem;
    }

    .strength-icon-wrapper {
        height: 60px;
        margin-bottom: 0.8rem;
    }

    .strength-number {
        font-size: 2.5rem;
    }

    .strength-icon {
        width: 20px;
        height: 20px;
    }

    .strength-image-wrapper {
        height: 120px;
        margin-bottom: 0.8rem;
    }

    .strength-item h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .strength-item p {
        font-size: 0.75rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .benefits-slider-track {
        gap: 1rem;
    }

    .benefits-slider {
        height: 320px;
    }

    .benefit-slide {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        padding: 1.2rem;
    }

    .benefits-prev {
        left: 10px;
    }

    .benefits-next {
        right: 10px;
    }

    .benefits-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .vision-content {
        grid-template-columns: 1fr;
    }

    .strength-icon-wrapper {
        height: 80px;
    }

    .strength-number {
        font-size: 4rem;
    }

    .strength-icon {
        width: 24px;
        height: 24px;
    }

    .stat-icon {
        width: 24px;
        height: 24px;
    }

    .service-icon {
        width: 20px;
        height: 20px;
    }

    .vision-icon {
        width: 28px;
        height: 28px;
    }

    .process-flowchart {
        flex-direction: column;
    }

    .process-row {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .process-step {
        max-width: 100%;
        width: 100%;
        min-width: auto;
    }

    .process-arrow-right {
        display: none;
    }

    .process-arrow-down {
        display: block;
        bottom: -20px;
        height: 20px;
    }

    .process-arrow-down::after {
        bottom: -5px;
    }

    .process-row .process-step:last-child .process-arrow-down {
        display: none;
    }

    .process-box {
        padding: 1rem;
    }

    .process-box h4 {
        font-size: 0.9rem;
    }

    .process-box p {
        font-size: 0.75rem;
    }

    .process-badge {
        width: 45px;
        height: 45px;
    }

    .process-badge svg {
        width: 22px;
        height: 22px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 500px;
    }

    .hero-content-slide {
        padding: 1.5rem 1rem;
    }

    .hero-content-slide .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.8rem;
    }

    .hero-content-slide .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .hero-content-slide .cta-button {
        padding: 1rem 2rem;
        font-size: 0.85rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.85rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .stat-item {
        padding: 1rem 0.5rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .promise-text {
        font-size: 1.5rem;
    }

    .product-image-wrapper,
    .infra-image-wrapper {
        height: 200px;
    }

    .strengths-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .strength-item {
        padding: 1rem 0.5rem;
    }

    .strength-icon-wrapper {
        height: 50px;
        margin-bottom: 0.6rem;
    }

    .strength-number {
        font-size: 2rem;
    }

    .strength-image-wrapper {
        height: 100px;
        margin-bottom: 0.6rem;
    }

    .strength-item h3 {
        font-size: 0.9rem;
    }

    .strength-item p {
        font-size: 0.7rem;
    }
}
