/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --color-primary: #003b73;
    /* Deep Blue */
    --color-primary-dark: #002a52;
    --color-accent: #007bff;
    /* Bright Blue */
    --color-success: #25D366;
    /* WhatsApp Green */
    --color-success-dark: #1da851;
    --color-bg-light: #f5f5f5;
    --color-bg-white: #ffffff;
    --color-text-main: #1a1a1a;
    --color-text-muted: #666666;
    --color-border: #e1e4e8;

    --font-heading: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-scroll-behavior: smooth;
    -ms-scroll-behavior: smooth;
}

body {
    font-family: --font-body, sans-serif;
    font-family: 'Inter', sans-serif;
    color: var(--color-text-main);
    background-color: var(--color-bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-gray {
    background-color: var(--color-bg-light);
}

.section-dark {
    background-color: var(--color-primary);
    color: white;
}

.text-center {
    text-align: center;
}

.text-white {
    color: white !important;
}

/* =========================================
   2. BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: var(--font-body);
    font-size: 1rem;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
    background-color: white;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: white;
}

.btn-whatsapp {
    background-color: var(--color-success);
    color: white;
}

.btn-whatsapp:hover {
    background-color: var(--color-success-dark);
    transform: scale(1.05);
}

.btn-whatsapp-large {
    background-color: var(--color-success);
    color: white;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
    animation: pulse-green 2s infinite;
}

.btn-outline-white {
    border: 2px solid white;
    color: white;
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--color-primary);
}

.pulse-hover:hover {
    animation: pulse-border 1.5s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 59, 115, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 59, 115, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 59, 115, 0);
    }
}

/* =========================================
   3. NAVIGATION
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    -moz-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: all var(--transition-normal);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
}

.logo-text {
    color: var(--color-primary);
    margin-right: 0.25rem;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.desktop-nav a {
    font-weight: 500;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--color-primary);
}

.desktop-nav .btn-primary {
    color: #000000;
    font-weight: 700;
}

.mobile-menu-btn {
    display: none;
    /* Desktop default */
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    transition: 0.3s;
}

.mobile-nav {
    display: none;
    /* Hidden by default */
    flex-direction: column;
    background: white;
    padding: 1rem;
    border-top: 1px solid var(--color-border);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: var(--shadow-md);
}

.mobile-nav.open {
    display: flex;
    animation: slideDown 0.3s ease-out forwards;
}

.mobile-nav a {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    color: var(--color-primary);
    font-weight: 600;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero-section {
    position: relative;
    padding: 8rem 0 5rem;
    /* Top padding for fixed header */
    background: linear-gradient(135deg, #e6f0fa 0%, #ffffff 100%);
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 59, 115, 0.05), transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.badge-ribbon {
    display: inline-block;
    background: rgba(0, 123, 255, 0.1);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    letter-spacing: -1px;
}

.hero-text .subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================
   5. WHAT WE DO (Services)
   ========================================= */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-line {
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    margin: 0 auto;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.service-card .icon-box {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    background: rgba(0, 123, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* =========================================
   6. DIFFERENTIALS
   ========================================= */
.differentials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.check-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns within the list */
    gap: 1.5rem;
    margin-top: 2rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--color-text-main);
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--color-success);
    flex-shrink: 0;
}

.highlight-box {
    background: var(--color-primary);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.highlight-box h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.highlight-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.glow-border {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    box-shadow: inset 0 0 20px rgba(0, 123, 255, 0.5);
    animation: border-glow 3s infinite alternate;
}

@keyframes border-glow {
    from {
        box-shadow: inset 0 0 10px rgba(0, 123, 255, 0.3);
    }

    to {
        box-shadow: inset 0 0 30px rgba(0, 123, 255, 0.8);
    }
}

/* =========================================
   7. BUSINESS BENEFITS
   ========================================= */
.benefits-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.benefits-text {
    flex: 1;
}

.benefits-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.benefits-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bullet {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

.tech-graphic {
    max-width: 400px;
    width: 100%;
}

.floating-graphic {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* =========================================
   8. PROCESS (Timeline)
   ========================================= */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
    padding-left: 2rem;
}

.timeline-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.process-step {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: -1rem;
    /* Adjust based on line position (-2rem content - .timeline-line) */
    left: -2.1rem;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 4px solid var(--color-primary);
    /* Blend with bg */
}

.process-step h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: rgba(255, 255, 255, 0.8);
}

/* =========================================
   9. TESTIMONIALS
   ========================================= */
.testimonials-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0 2rem;
    scroll-snap-type: x mandatory;
}

.testimonial-card {
    min-width: 300px;
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    scroll-snap-align: center;
}

.quote-icon {
    font-size: 2rem;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: serif;
}

.testimonial-card p {
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.client-name {
    font-weight: 700;
    color: var(--color-primary);
}

/* =========================================
   10. FOOTER
   ========================================= */
.footer-section {
    background-color: var(--color-primary);
    color: white;
    padding: 6rem 0 2rem;
    text-align: center;
}

.cta-box h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.footer-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.special-note {
    font-size: 0.9rem;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: white;
    opacity: 0.8;
    width: 24px;
    height: 24px;
}

.social-links a:hover {
    opacity: 1;
    transform: scale(1.1);
}

.address {
    margin-top: 0.5rem;
    font-weight: 600;
}

/* =========================================
   11. ANIMATIONS (ScrollReveal Classes)
   ========================================= */
.fade-in,
.fade-up,
.slide-in,
.fade-right,
.fade-left,
.fade-in-up {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up {
    transform: translateY(20px);
}

.fade-up {
    transform: translateY(40px);
}

.fade-left {
    transform: translateX(30px);
}

.fade-right {
    transform: translateX(-30px);
}

/* Logic for when the element comes into view */
.visible {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* Stagger delays */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* =========================================
   11. CONTACT FORM
   ========================================= */
.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-form {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* =========================================
   12. RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .differentials-grid,
    .benefits-layout {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 3rem;
    }

    .check-list {
        grid-template-columns: 1fr;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .process-timeline {
        padding-left: 0;
    }

    .timeline-line {
        left: 20px;
    }

    .step-number {
        left: 0;
    }

    .process-step {
        padding-left: 3.5rem;
    }

    .hero-bg-overlay {
        width: 100%;
        height: 50%;
        bottom: 0;
        top: auto;
        opacity: 0.5;
    }
}

/* =========================================
   13. COLLECTION & DELIVERY SECTION (NEW)
   ========================================= */
.section-light-blue {
    background-color: #F5FAFF;
}

.collection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.collection-text h2 {
    color: #003366; /* Enforce specific color */
    margin-bottom: 1.5rem;
}

.collection-text p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.collection-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.collection-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.collection-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 51, 102, 0.1);
    border-color: rgba(0, 86, 179, 0.1);
}

.collection-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #e6f0fa; /* Light blue based on palette */
    color: #003366;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.collection-item:hover .collection-icon {
    background-color: #0056b3;
    color: white;
}

.collection-item span {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-primary);
}

/* Specific Animation Classes for this Section */
.fade-entry {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-entry.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsiveness for Collection Section */
@media (max-width: 768px) {
    .collection-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .collection-text {
        text-align: center;
    }
    
    .collection-item {
        padding: 1rem;
    }
}