/* ==========================================================================
   CSS Variables (Based on image_4bcba0.png color scheme)
   ========================================================================== */
:root {
    --primary-blue: #0A2E5C; /* Deep blue from letterhead */
    --primary-teal: #48C9B0; /* Vibrant teal from letterhead */
    --teal-glow: rgba(72, 201, 176, 0.4);
    --text-dark: #1A1A1A;
    --text-muted: #555555;
    --text-light: #FFFFFF;
    --bg-main: #FFFFFF;
    --bg-light: #F4F7F9;
    --transition-speed: 0.3s;
    --font-main: 'Poppins', sans-serif;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--text-light) !important;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-blue);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background: var(--primary-teal);
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-teal);
    color: var(--text-light);
    box-shadow: 0 4px 15px var(--teal-glow);
}

.btn-primary:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 46, 92, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--text-light);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: all var(--transition-speed);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 1.1rem;
    position: relative;
}

.nav-links li a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--primary-teal);
    transition: width var(--transition-speed);
}

.nav-links li a:hover::before,
.nav-links li a.active::before {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 46, 92, 0.9) 0%, rgba(10, 46, 92, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: var(--text-light);
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    color: var(--primary-teal);
    text-shadow: 0 0 15px var(--teal-glow);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* ==========================================================================
   Split Layouts (About & Lead Gen)
   ========================================================================== */
.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.split-layout.align-center {
    align-items: flex-start;
}

.about-text, .about-image, .lead-text, .lead-form-wrapper {
    flex: 1;
}

.about-text p {
    margin: 1.5rem 0;
    color: var(--text-muted);
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(10, 46, 92, 0.15);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-main);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(10, 46, 92, 0.1);
    border-bottom: 4px solid var(--primary-teal);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 15px;
    background: rgba(72, 201, 176, 0.1);
    border-radius: 50%;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Lead Generation Section
   ========================================================================== */
.lead-gen {
    background: var(--primary-blue);
    color: var(--text-light);
}

.lead-gen .section-title {
    color: var(--text-light);
}

.contact-info-blocks {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-block {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.1rem;
}

.info-block i {
    color: var(--primary-teal);
    font-size: 1.5rem;
    margin-top: 3px;
}

.premium-form {
    background: var(--bg-main);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.premium-form h3 {
    margin-bottom: 2rem;
    color: var(--primary-blue);
}

.form-group {
    margin-bottom: 1.5rem;
}

.premium-form input,
.premium-form textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    background: var(--bg-light);
    transition: all var(--transition-speed);
}

.premium-form input:focus,
.premium-form textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 10px var(--teal-glow);
    background: var(--bg-main);
}

.btn-submit {
    width: 100%;
    background: var(--primary-blue);
    color: var(--text-light);
    font-size: 1.1rem;
    padding: 1rem;
}

.btn-submit:hover {
    background: var(--primary-teal);
}

.form-message {
    margin-top: 1rem;
    font-weight: 600;
    text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #051A36;
    color: #a0aec0;
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-col h4 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a:hover {
    color: var(--primary-teal);
    padding-left: 5px;
}

.footer-col.contact-details p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col.contact-details i {
    color: var(--primary-teal);
}

.footer-bottom {
    background-color: #031124;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

/* ==========================================================================
   Media Queries (Responsive)
   ========================================================================== */
@media (max-width: 992px) {
    .split-layout {
        flex-direction: column;
        gap: 3rem;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-main);
        padding: 2rem 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .premium-form {
        padding: 2rem;
    }
}