/* SUBSERVICES STYLES: WHITE BACKGROUND + HIGH-IMPACT DESIGN */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-primary: #ffffff; 
    --bg-secondary: #f0f4f7; 
    --accent-main: #006c8b; /* Business Blue */
    --accent-secondary: #ff3366; /* Hot Pink/Red for contrast/CTA */
    --accent-green: #0fa092; /* Green Accent */
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    --button: var(--accent-secondary);
    --button-dark: #cc2a52;
    --border: rgba(0, 0, 0, 0.08);
    --shadow-3d: 0 20px 60px rgba(0, 0, 0, 0.15); 
    --section-title: #0a0e27; 
}

body {
    background: var(--bg-primary);
    color: var(--text-dark);
    font-family: 'Inter', Arial, sans-serif;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    padding: 60px 0 30px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--section-title);
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* ------------------------------------------------ */
/* SATELLITE CURSOR WEB BACKGROUND ANIMATION STYLES - ENHANCED VISIBILITY */
/* ------------------------------------------------ */
#background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; 
    pointer-events: none; 
    opacity: 0.8; 
}

/* ------------------------------------------------ */
/* 1. HERO SECTION */
/* ------------------------------------------------ */
.hero {
    padding: 100px 20px 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-bottom: 1px solid var(--border);
}
.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    color: var(--accent-main);
    margin-bottom: 1rem;
}
.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    max-width: 900px;
    margin: 0 auto 2rem;
}
.cta-button {
    display: inline-block;
    padding: 14px 35px;
    background: var(--button);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 20px rgba(255, 51, 102, 0.3);
}
.cta-button:hover {
    background: var(--button-dark);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255, 51, 102, 0.5);
}

/* ------------------------------------------------ */
/* 2. WHAT WE OFFER SECTION */
/* ------------------------------------------------ */
.what-we-offer {
    padding: 80px 0;
}
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.offer-item {
    padding: 30px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}
.offer-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 108, 139, 0.15);
    border-color: var(--accent-green); 
}
.offer-item svg {
    /* Controls the size of the What We Offer icons (50px) */
    width: 50px; 
    height: 50px;
    color: var(--accent-green); 
    margin-bottom: 15px;
}
.offer-item h3 {
    font-size: 1.3rem;
    color: var(--accent-main);
    margin-bottom: 10px;
}
.offer-item p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* ------------------------------------------------ */
/* 3. OUR SERVICES (Subservice Cards) - ENHANCED GRID */
/* ------------------------------------------------ */
.our-services {
    padding-bottom: 80px;
    background: var(--bg-secondary);
}
.subservices-grid-container {
    display: grid;
    /* Default: 3 columns on desktop */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    margin-top: 40px;
    perspective: 1200px; 
}

.subservice-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1.5);
    transform-style: preserve-3d;
    min-height: 250px;
}

.subservice-card:hover {
    transform: translateZ(20px) translateY(-8px) rotateX(0.5deg);
    box-shadow: var(--shadow-3d);
    border-color: var(--accent-green); 
}

.card-icon {
    padding: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}
.card-icon svg {
    /* Controls the size of the Subservice Card icons (60px) */
    width: 60px;
    height: 60px;
    color: var(--accent-main);
    transition: transform 0.3s;
}

.card-content {
    padding: 0 2.5rem 2.5rem;
}
.card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-main);
}
.card-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ------------------------------------------------ */
/* 4. WHY CHOOSE US SECTION (Benefits) */
/* ------------------------------------------------ */
.why-choose-us {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 80px;
    margin-top: 40px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
}
.benefit-item svg {
    /* Controls the size of the Benefit icons (30px) */
    width: 30px;
    height: 30px;
    min-width: 30px;
    color: var(--accent-secondary);
    margin-right: 15px;
    padding: 5px;
    border-radius: 4px;
    background: rgba(255, 51, 102, 0.1);
}
.benefit-content h4 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}
.benefit-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ------------------------------------------------ */
/* 5. DEVELOPMENT PROCESS SECTION - ENHANCED MOBILE UI */
/* ------------------------------------------------ */
.process-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    margin-top: 40px;
    position: relative;
}

/* Connector line (Desktop only) */
.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: var(--accent-green); 
    z-index: 0;
    transition: all 0.5s ease;
}

.step {
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
    padding: 0 15px;
}

.step-icon {
    width: 50px; 
    height: 50px;
    background: var(--accent-main);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 15px;
    border: 4px solid var(--bg-secondary);
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0 var(--accent-main);
}

.step:hover .step-icon {
    background: var(--accent-secondary);
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(255, 51, 102, 0.1);
}

.step h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}
.step p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ------------------------------------------------ */
/* 6. QUOTATION (CTA) SECTION */
/* ------------------------------------------------ */
.quotation-cta {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(90deg, var(--accent-main) 0%, #0099cc 100%);
    color: white;
}
.quotation-cta h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 15px;
}
.quotation-cta p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}
.quotation-cta .cta-button {
    background: var(--accent-secondary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.quotation-cta .cta-button:hover {
    background: var(--button-dark);
}

/* ------------------------------------------------ */
/* 7. FOOTER */
/* ------------------------------------------------ */
.footer {
    padding: 40px 0;
    background: #1a1a1a;
    color: #ccc;
    text-align: center;
    font-size: 0.9rem;
}
.footer p {
    margin: 0;
}
.footer a {
    color: var(--accent-green); 
    text-decoration: none;
    margin: 0 10px;
}


/* * Parent container - fixed to right side */ */
      .floating-buttons {
        position: fixed;
        bottom: 13%;
        right: 2%;
        display: flex;
        flex-direction: column;
        gap: 15px;
        z-index: 9999;
      }

      /* WhatsApp Button */
      .whatsapp-float {
        width: 60px;
        height: 60px;
        background-color: #25d366;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        cursor: pointer;
      }

      /* WhatsApp Icon */
      .whatsapp-float img {
        width: 35px;
        height: 35px;
      }

      /* Scroll-to-top button */
      .scroll-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      /* Pulse Animation */
      .pulse {
        animation: pulseAnimation 1.5s ease-out infinite;
      }


      @keyframes pulseAnimation {
        0% {
          transform: scale(1);
          box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
        }
        70% {
          transform: scale(1.05);
          box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
        }
        100% {
          transform: scale(1);
          box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        }
      }
/* Responsive Adjustments */
@media (max-width: 1024px) {
    /* 2 Cards per row on tablet/medium screens */
    .subservices-grid-container {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 900px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Mobile Process UI Enhancement */
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .process-steps::before {
        /* Hide horizontal connector line on mobile */
        display: none;
    }
    .step {
        flex: none;
        width: 100%;
        max-width: 400px;
        padding: 20px;
        margin-bottom: 20px;
        text-align: left; 
        background: var(--bg-primary);
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        border-bottom: 4px solid var(--accent-green); 
        display: flex;
        align-items: center;
    }
    .step-icon {
        margin: 0 20px 0 0;
        min-width: 40px;
        width: 40px;
        height: 40px;
        border: 3px solid var(--bg-primary);
    }
    .step-content {
        text-align: left;
    }
    .step h4 {
        margin-bottom: 5px;
        font-size: 1.2rem;
    }
    .step p {
        display: block; 
    }
}

@media (max-width: 600px) {
    /* 1 Card per row on small mobile screens */
    .subservices-grid-container {
        grid-template-columns: 1fr; 
        gap: 20px;
        padding: 0 15px;
    }
    .subservice-card:hover { transform: none; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); border-color: var(--border);}
}


/* ------------------------------------------------ */
/* 1. SERVICE BANNER STYLES */
/* ------------------------------------------------ */

.service-banner {
    min-height: 100vh; 
    position: relative;
    display: flex;
    /* Aligns content to the bottom of the viewport */
    align-items: flex-end; 
    padding-bottom: 80px; 
    background-color: #000; /* Fallback color */
}

/* Full-screen video styling */
.service-banner__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* CRITICAL: Overlay for text readability */
.service-banner__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient from bottom-dark to top-lighter */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

/* Wrapper for the content inside the container */
.service-banner__content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.service-banner__text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Top paragraph styling */
.service-banner__paragraph-wrapper {
    /* Style for the container around the paragraph (col-xl-4 width) */
    max-width: 450px; 
}

/* --- Typography and Spacing Updates for Paragraph --- */
.service-banner__paragraph {
    color: #ffffff;
    font-family: 'Poppins', sans-serif; /* Poppins added */
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;
    opacity: 0.8;
    margin-bottom: 0;
}

/* Main Heading and CTA alignment */
.service-banner__heading-row {
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

/* --- NEW STYLES FOR THREE-LINE HEADING --- */

/* 1. Container for the dynamic lines: Ensures left alignment and vertical stacking */
.dynamic-heading-wrapper {
    display: flex; 
    flex-direction: column; /* Forces each span onto its own line */
    text-align: left; /* Ensures left alignment */
    line-height: 1.1;
    margin-bottom: 0;
}

/* 2. Base style for all lines (Applies white color, shadow, etc.) */
.heading-line {
    display: block; /* Important: makes the <span> behave like a line break */
    color: #ffffff;
    font-family: 'Poppins', sans-serif; /* Poppins added */
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    font-size: 40px; 
    font-weight: 400; 
    
    /* ADDED: Line Gap for separation */
    margin-bottom: 5px; 
}

/* 3. Service Line (The Best Digital Marketing) - Bolder and Bigger */
.service-line {
    font-size: 56px; /* Bigger size */
    font-weight: 900; /* Extra Bolder */
    
    /* Enhanced Line Gap for the main focus line */
    margin-bottom: 10px; 
}

/* 4. Company and Location Lines - Less Bolder and Smaller */
.company-line,
.location-line {
    font-size: 32px; /* Smaller size */
    font-weight: 400; /* Less bold/Regular */
}

/* 5. FIX FOR SCROLL DELAY (CSS Staggering alternative) 
 * If you set 'data-aos="fade-up" data-aos-duration="1000"' on the parent div
 * AND removed AOS attributes from the individual spans, this will stagger the lines.
 */
.dynamic-heading-wrapper[data-aos-progress] .heading-line {
    /* Reset AOS transformation immediately on trigger */
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease-out, transform 1s ease-out; /* Match AOS duration */
}
/* Staggering (adjust delays as needed) */
.dynamic-heading-wrapper[data-aos-progress] .heading-line:nth-child(1) {
    transition-delay: 0.1s;
}

.dynamic-heading-wrapper[data-aos-progress] .heading-line:nth-child(2) {
    transition-delay: 0.2s;
}

.dynamic-heading-wrapper[data-aos-progress] .heading-line:nth-child(3) {
    transition-delay: 0.3s;
}
/* End of FIX */


/* CTA Button Styling */
.service-banner__cta-button {
    padding: 4px 28px 4px 4px; /* Simulates the p-1 ps-7 effect */
    border-radius: 50px;
    background-color: #0f2440;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.service-banner__cta-icon-box {
    width: 52px;
    height: 52px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* --- Mobile Adjustments --- */
@media (max-width: 768px) {
    .service-banner {
        padding-bottom: 50px;
    }
    
    .service-banner__paragraph {
        font-size: 1rem;
    }
    
    .service-banner__heading-row {
        gap: 15px;
    }

    /* Mobile adjustments for the new heading structure */
    .heading-line {
        font-size: 32px;
        margin-bottom: 3px;
    }
    .service-line {
        font-size: 40px; 
        margin-bottom: 5px;
    }
    .company-line,
    .location-line {
        font-size: 24px;
    }
}

/* ================================================= */
/* ABOUT SECTION LAYOUT & SPACING ADJUSTMENTS */
/* ================================================= */

/* 1. GAP FROM BANNER */
.about-section {
    /* Adds separation from the section above (the banner) */
    margin-top: 80px; 
}

/* 2. LAYOUT SPLIT (40% / 60%) & IMAGE CENTERING */
.about-wrapper {
    display: flex;
    /* Vertically centers the image relative to the content column */
    align-items: center; 
    gap: 40px; /* Space between the image and content */
}

/* 3. IMAGE CONTAINER (40% Width + 1:1 Aspect Ratio) */
.about-image-container {
    /* UPDATED: Increased image width to 40% */
    width: 40%; 
    flex-shrink: 0; 
    
    /* ASPECT RATIO HACK: Creates a 1:1 square based on the 40% width */
    position: relative;
    /* UPDATED: Padding changed to 40% to maintain 1:1 ratio */
    padding-bottom: 40%; 
    height: 0; 
    overflow: hidden; 
    border-radius: 8px; 
}

/* 4. IMAGE ELEMENT */
#about-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the 1:1 area without distorting */
}

/* 5. CONTENT CONTAINER (60% Width) */
.about-content {
    /* UPDATED: Decreased content width to 60% */
    width: 60%; 
    flex-grow: 1; 
    text-align: left; 
}

/* 6. CENTER CTA BUTTON */
#about-cta {
    /* Centers the button horizontally within the content area */
    display: table; 
    margin: 20px auto 0 auto; 
}

/* 7. MOBILE ADJUSTMENT (Ensure Responsiveness) */
@media (max-width: 900px) {
    .about-wrapper {
        flex-direction: column; /* Stacks the columns vertically */
        gap: 0;
    }

    .about-image-container {
        width: 100%; /* Image takes full width on mobile */
        margin-bottom: 30px; 
        
        /* Reset Aspect Ratio Hack on mobile */
        position: static;
        padding-bottom: 0;
        height: auto;
    }

    #about-image {
        position: static;
        height: auto;
        width: 100%;
    }

    .about-content {
        width: 100%; /* Content takes full width on mobile */
    }
    
    /* Revert button centering on mobile for standard left alignment */
    #about-cta {
        display: inline-block; 
        margin: 20px 0 0 0; 
    }
}