/* CSS Reset and Variables */
:root {
    --primary: #005f80;
    --secondary: #003e54;
    --accent: #008cb5;
    --background-light: #f8fafc;
    --surface-light: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #ffffff;
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--background-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

section {
    padding: 5rem 1rem;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    /* Pill shape */
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    letter-spacing: 0.025em;
}

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

.btn-primary:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #e2e8f0;
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: #f0f9ff;
}

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

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

.text-center {
    text-align: center;
}

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

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    height: 80px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary);
    line-height: 1;
}

.brand-subtitle {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

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

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 8rem;
    overflow: hidden;
    min-height: 90vh;
    /* Make it feel grand */
    display: flex;
    align-items: center;
    background-color: var(--background-light);
    /* Revert to light */
    color: var(--text-main);
}

.hero-bg-blob-1 {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 95, 128, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    animation: float 20s infinite ease-in-out;
}

.hero-bg-blob-2 {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 140, 181, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    animation: float 15s infinite ease-in-out reverse;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: #e0f2fe;
    color: var(--primary);
    border: none;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    backdrop-filter: none;
    box-shadow: 0 2px 4px rgba(0, 95, 128, 0.1);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-style: normal;
    /* Classic look */
    letter-spacing: -0.02em;
}

.hero-title span {
    position: relative;
    color: var(--primary);
    display: inline-block;
}

.hero-underline {
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--accent);
    opacity: 0.3;
    z-index: -1;
    border-radius: 4px;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Update primary button for hero if needed, but existing is fine */
.hero .btn-primary {
    background-color: var(--primary);
    color: white;
}

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

.hero .btn-outline {
    border-color: #e2e8f0;
    color: var(--text-main);
}

.hero .btn-outline:hover {
    background-color: #f0f9ff;
    border-color: var(--primary);
    color: var(--primary);
}

.hero-image-container {
    position: relative;
    perspective: 1000px;
}

.hero-image-bg {
    position: absolute;
    inset: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 1.5rem;
    opacity: 0.15;
    transform: rotate(-3deg) scale(1.02);
    z-index: -1;
    transition: transform 0.5s ease;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-2xl);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    object-fit: cover;
    max-height: 600px;
}

.hero-image-container:hover .hero-image {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.2);
}

.hero-image-container:hover .hero-image-bg {
    transform: rotate(-2deg) scale(1.05);
}

.hero-badge {
    position: absolute;
    bottom: 2rem;
    right: -1rem;
    /* Positioning change for better overlap */
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    border-left: 5px solid var(--primary);
    display: flex;
    gap: 1rem;
    align-items: center;
    max-width: 300px;
    animation: float 6s infinite ease-in-out;
}

/* About Section */
.about {
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    position: relative;
}

.about-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: scale(1.03);
}

.about-img:nth-child(2) {
    margin-top: 3rem;
    /* Stagger effect */
    transform: translateY(2rem);
}

.about-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 5px solid var(--primary);
    color: #0f172a;
    line-height: 1.1;
}

.about-text p {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

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

/* Reasons Section */
.reasons {
    background-color: var(--background-light);
    position: relative;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.section-divider {
    height: 5px;
    width: 80px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 0 auto;
    border-radius: 9999px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.reason-card {
    background-color: white;
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.reason-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-8px);
}

.reason-card:hover::before {
    transform: scaleX(1);
}

.reason-icon {
    width: 4rem;
    height: 4rem;
    background-color: #f0f9ff;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.reason-card:hover .reason-icon {
    background-color: var(--primary);
    color: white;
    transform: rotate(5deg);
}

.reason-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f172a;
}

.reason-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Services Section */
.services {
    background-color: white;
    color: var(--text-main);
    position: relative;
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5rem;
    gap: 3rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 2rem;
}

.services-subtitle {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 0.5rem;
}

.services-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0;
    color: var(--text-main);
}

.services-intro {
    color: var(--text-muted);
    max-width: 450px;
    text-align: right;
    font-size: 1.1rem;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: var(--background-light);
    backdrop-filter: none;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    transition: all 0.4s ease;
    height: 100%;
}

.service-card:hover {
    background-color: white;
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px -5px rgba(0, 95, 128, 0.2);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Process Section */
.process {
    padding-top: 8rem;
    padding-bottom: 8rem;
    background-color: var(--background-light);
    background-image: none;
    color: var(--text-main);
    position: relative;
    overflow: hidden;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    position: relative;
    padding-top: 4rem;
}

.process-line {
    position: absolute;
    top: 50px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: #cbd5e1;
    z-index: 0;
    display: none;
}

@media (min-width: 992px) {
    .process-line {
        display: block;
    }
}

.process-step {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 5rem;
    height: 5rem;
    background-color: white;
    border: 5px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    color: var(--primary);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    background-color: var(--primary);
    color: white;
}

.step-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.step-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* FAQ Section */
.faq {
    background-color: white;
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.faq-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 2rem;
    background-color: #fff;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
    list-style: none;
    transition: background-color 0.2s;
}

.faq-summary:hover {
    background-color: #f8fafc;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary);
}

details[open] .faq-icon {
    transform: rotate(180deg);
}

details[open] .faq-summary {
    background-color: #f0f9ff;
    color: var(--primary);
}

.faq-content {
    padding: 0 2rem 2rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    background-color: #f0f9ff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Section */
.contact {
    padding-bottom: 8rem;
}

.contact-card {
    background-color: var(--primary);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    display: flex;
    flex-direction: row;
    /* Desktop default */
    min-height: 500px;
}

.contact-info {
    padding: 4rem;
    color: white;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-map {
    height: auto;
    min-height: 400px;
    /* Ensure height on mobile */
    position: relative;
    background-color: #e2e8f0;
    flex: 1;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.2);
    transition: filter 0.3s ease;
}

.contact-map iframe:hover {
    filter: grayscale(0);
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.contact-icon {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 1rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: background-color 0.3s ease;
}

.contact-item:hover .contact-icon {
    background-color: var(--accent);
}

.contact-details h4 {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.contact-details p {
    color: #e0f2fe;
    line-height: 1.6;
    font-size: 1rem;
}

/* Footer */
.footer {
    background-color: white;
    border-top: 1px solid #e2e8f0;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.social-link {
    color: #94a3b8;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    background-color: transparent;
}

.social-link:hover {
    color: var(--primary);
    background-color: #f0f9ff;
    transform: translateY(-3px);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: float 3s infinite ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #20b957;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding-top: 7rem;
        padding-bottom: 4rem;
        text-align: center;
        min-height: auto;
    }

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

    .hero-desc {
        margin: 0 auto 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-badge {
        right: 50%;
        transform: translateX(50%);
        bottom: -2rem;
        width: 90%;
        justify-content: center;
        animation: none;
        /* Disable float on mobile */
    }

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

    .about-images {
        order: 2;
        /* Text first on mobile */
    }

    .services-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .services-intro {
        text-align: center;
    }

    .process-steps {
        grid-template-columns: 1fr;
        /* Stack steps */
        gap: 4rem;
    }

    .process-line {
        display: none;
    }

    .contact-card {
        flex-direction: column;
    }

    .contact-map {
        height: 400px;
        /* Fixed height for map on mobile */
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .container {
        padding: 0 1rem;
    }

    .contact-info {
        padding: 2rem;
    }
}