/* Variables & Reset */
:root {
    --primary-color: #0f172a;
    /* Slate 900 */
    --secondary-color: #3b82f6;
    /* Blue 500 */
    --accent-color: #06b6d4;
    /* Cyan 500 */
    --text-color: #334155;
    /* Slate 700 */

    /* IMPORTANT: CHANGE THIS TO MATCH YOUR LOGO BACKGROUND COLOR */
    --bg-matched-color: #6BCAD0;

    --white: #ffffff;
    --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);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-matched-color);
    /* Global background match */
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

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

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

.text-white-70 {
    color: rgba(255, 255, 255, 0.7);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

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

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

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

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

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

.section {
    padding: 5rem 0;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Transparent background initially to blend with hero, or semi-transparent */
    background-color: rgba(107, 202, 208, 0.95);
    /* Match logo color #6BCAD0 with transparency */
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: center;
    /* Center the nav since logo is gone */
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--white);
    /* Changed to white */
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
    /* Slight opacity on hover */
}

/* Specific style for the button in the nav to be white */
.nav-link.btn-primary {
    background-color: var(--white);
    color: var(--bg-matched-color);
    /* Teal text */
}

.nav-link.btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    /* Position absolute for mobile since container is centered */
    right: 1.5rem;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    /* Changed to white */
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section - Full Screen Logo */
.hero-logo-section {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    /* Background matches body, so no extra bg needed unless different */
}

.logo-container {
    max-width: 80%;
    width: 600px;
    /* Max width for the logo */
    padding: 2rem;
}

.hero-logo-img {
    width: 100%;
    height: auto;
    /* Optional: Drop shadow if logo needs to pop, but user wanted seamless */
    /* filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1)); */
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-arrow {
    font-size: 1.5rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

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

    60% {
        transform: translateY(-5px);
    }
}

/* Services Section */
.services {
    /* Ensure background matches global setting */
    background-color: transparent;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(59, 130, 246, 0.1);
    /* Semi-transparent blue */
    color: var(--secondary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.service-card {
    background: var(--white);
    /* Keep cards white to stand out against colored bg */
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: #f0f9ff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon {
    font-size: 1.75rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: #64748b;
}

/* About Section */
.about {
    /* Transparent to show global bg */
    background-color: transparent;
}

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

.feature-list {
    margin-top: 2rem;
    display: grid;
    gap: 1.5rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.check-icon {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.25rem;
    background: rgba(59, 130, 246, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-img-full {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: block;
}

/* Contact Section - Simple Text */
.contact {
    padding-bottom: 5rem;
    position: relative;
    z-index: 10;
}

.contact-simple-text {
    margin-top: 2rem;
}

.contact-simple-text p {
    margin-bottom: 0.25rem;
    /* Reduced line spacing */
}

.contact-link a {
    color: #334155;
    /* Slate 700 - slightly lighter/greyer */
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
}

.contact-address {
    color: #0f172a;
    /* Slate 900 - Darker/Blacker */
    font-size: 1.25rem;
    font-weight: 700;
    /* Bolder */
}

.contact-brand {
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    /* Keep some space after brand */
    opacity: 1 !important;
}

.contact-link a:hover {
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background-color: #020617;
    /* Slate 950 */
    color: #94a3b8;
    padding-top: 8rem;
    padding-bottom: 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid #1e293b;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: block;
    margin-bottom: 0.5rem;
}

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

.footer-links a:hover {
    color: var(--white);
}

.footer-legal {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

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

/* Responsive */
@media (max-width: 968px) {

    .about-container,
    .contact-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-card {
        padding: 2rem;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        justify-content: space-between;
        /* Back to space-between for mobile to show toggle */
    }

    .nav-list {
        display: none;
        /* Mobile menu implementation needed in JS */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        gap: 1.5rem;
    }

    .nav-link {
        color: var(--primary-color) !important;
        /* Dark text for white background */
        font-size: 1.25rem;
        /* Larger touch targets */
    }

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

    /* Fix button visibility on mobile */
    .nav-link.btn-primary {
        background-color: var(--primary-color);
        color: var(--white) !important;
        text-align: center;
        width: 100%;
        /* Full width button on mobile */
    }

    .nav-list.active {
        display: flex;
    }

    .mobile-nav-toggle {
        display: block;
        position: static;
        /* Reset position for flex layout */
    }
}