@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary: #1A365D; /* Deep Navy */
    --secondary: #00B5D1; /* Teal Blue */
    --accent: #E2E8F0; /* Soft Gray */
    --text-main: #1E293B;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

nav.scrolled {
    padding: 0.6rem 5%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 45px;
    width: auto;
}

.brand-text {
    font-size: 1.25rem;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

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

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

.nav-cta {
    background: var(--primary);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid var(--primary);
}

.nav-cta:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 10%;
    color: var(--white);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.8) 0%, rgba(15, 23, 42, 0.7) 100%), url('hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}


.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero-label {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 181, 209, 0.2);
    border: 1px solid var(--secondary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 span {
    color: var(--secondary);
    -webkit-text-fill-color: var(--secondary);
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 181, 209, 0.3);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 1);
    color: var(--primary);
}

/* --- Stats Bar --- */
.stats-bar {
    background: var(--white);
    padding: 3rem 10%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: -80px;
    position: relative;
    z-index: 20;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    border-right: 1px solid var(--accent);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    font-family: 'Outfit', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* --- Services Section --- */
.services {
    padding: 8rem 10%;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
}

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

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 3rem 2rem;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.15);
}

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

.icon-box {
    width: 64px;
    height: 64px;
    background: rgba(0, 181, 209, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--secondary);
}

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

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.service-link span {
    transition: var(--transition);
}

.service-card:hover .service-link span {
    transform: translateX(5px);
}

/* --- Featured Service Card (Wide) --- */
.featured-card {
    grid-column: span 2;
    display: flex;
    align-items: center;
    padding: 0;
    background: var(--white);
}

.featured-img {
    flex: 1;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.featured-content {
    flex: 1.2;
    padding: 4rem;
}

.featured-stat {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-pct {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}

/* --- Contact Section --- */
.contact {
    background: var(--primary);
    color: var(--white);
    padding: 8rem 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    opacity: 0.8;
    margin-bottom: 3rem;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
}

.contact-details i {
    font-size: 1.5rem;
    color: var(--secondary);
}

.contact-details li div strong {
    display: block;
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* Ensure phone numbers and email are white on mobile and desktop */
.contact-details li div a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details li div a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* Prevent iOS from overriding phone link colors */
a[href^="tel"] {
    color: inherit !important;
    text-decoration: none !important;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(0, 181, 209, 0.1);
}

.submit-btn {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* --- Footer --- */
footer {
    padding: 4rem 10%;
    background: #0F172A;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    list-style: none;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .featured-card {
        grid-column: span 1;
        flex-direction: column;
    }
    .featured-img {
        width: 100%;
        height: 250px;
    }
    .contact {
        grid-template-columns: 1fr;
    }
    .stats-bar {
        width: 95%;
        grid-template-columns: 1fr 1fr;
    }
    .stat-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }
    .hero {
        padding: 0 5%;
    }
    .stats-bar {
        grid-template-columns: 1fr;
    }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--accent);
        padding-bottom: 1.5rem;
    }
    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}
