/* GLOBAL STYLES */
:root {
    --primary-blue: #156798;
    --secondary-green: #65A79E;
    --accent-gold: #F7B32B;
    --light-gray: #F8F9FA;
    --dark-text: #2D3142;
    --white: #FFFFFF;
    --dark-blue: #0D4A70;
}

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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Montserrat', sans-serif;
}

/* Enhanced Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header:hover {
    background-color: rgba(255, 255, 255, 0.98);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease;
    padding: 8px;
    border-radius: 8px;
}

.logo:hover {
    transform: scale(1.02);
    background-color: rgba(21, 103, 152, 0.05);
}

.logo-img {
    height: 135px;
    width: auto;
    margin-bottom: -67px; /* Makes bottom half extend below navbar */
    position: relative; /* Ensures logo stays above other content */
    z-index: 1001; /* Higher than header's z-index to ensure visibility */
    margin-top: -15px; /* Adjust vertical positioning */
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
}

nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    padding: 8px 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.2px;
}

nav ul li a:hover {
    background-color: rgba(21, 103, 152, 0.05);
    color: var(--primary-blue);
}


.nav-cta {
    background-color: var(--accent-gold);
    color: var(--dark-text) !important;
    padding: 12px 24px !important;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(247, 179, 43, 0.2);
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    background-color: #e4a01f !important;
    box-shadow: 0 6px 20px rgba(247, 179, 43, 0.3);
}

.nav-cta::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 100;
}

.hamburger-icon,
.hamburger-icon:before,
.hamburger-icon:after {
    width: 25px;
    height: 2px;
    background-color: var(--primary-blue);
    border-radius: 3px;
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger-icon {
    position: relative;
}

.hamburger-icon:before {
    content: '';
    top: -8px;
}

.hamburger-icon:after {
    content: '';
    top: 8px;
}

/* Mobile Menu Styles */
@media (max-width: 992px) {
    nav ul {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        position: relative;
        z-index: 1002;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        padding: 100px 30px;
        transition: transform 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transform: translateX(100%);
    }

    nav.active {
        transform: translateX(0);
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        background: none;
        padding: 0;
        width: 100%;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 15px;
        font-size: 1.1rem;
        width: 100%;
    }

    .nav-cta {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }

    .mobile-menu-btn.active .hamburger-icon {
        background-color: transparent;
    }

    .mobile-menu-btn.active .hamburger-icon:before {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active .hamburger-icon:after {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Add overlay when menu is active */
    body::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: 1001;
    }

    body.menu-active::after {
        opacity: 1;
        visibility: visible;
    }
}

/* Basic Styles */
body {
    color: var(--dark-text);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--dark-text);
}

.btn-primary:hover {
    background-color: #e4a01f;
}

.btn-secondary {
    background-color: var(--primary-blue);
    color: var(--white);
    border: 1px solid transparent;
}

.btn-secondary:hover {
    background-color: var(--dark-blue);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-green) 100%);
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Smaller hero section for inner pages */
.why-choose-us .hero {
    height: 50vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 74, 112, 0.85) 0%, rgba(21, 103, 152, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 650px;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.6;
}

/* Section Styles */
.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.3rem;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--accent-gold);
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 1.5rem auto 0;
}

/* Value Proposition Section */
.value-prop {
    padding: 80px 0;
    background-color: var(--white);
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.benefit {
    flex-basis: calc(25% - 30px);
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.benefit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--accent-gold);
    transition: height 0.3s ease;
}

.benefit:hover::before {
    height: 100%;
}

.benefit-icon {
    font-size: 2.8rem;
    color: var(--primary-blue);
    margin-bottom: 1.2rem;
    background-color: rgba(21, 103, 152, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.benefit h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--dark-text);
}

.benefit p {
    color: #666;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.steps {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.step {
    flex-basis: calc(33.333% - 40px);
    text-align: center;
    padding: 40px 30px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.step:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.step::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(21, 103, 152, 0.03);
    transition: height 0.4s ease;
    z-index: -1;
}

.step:hover::after {
    height: 100%;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: var(--accent-gold);
    color: var(--dark-text);
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 25px;
    box-shadow: 0 5px 15px rgba(247, 179, 43, 0.3);
    border: 5px solid rgba(255, 255, 255, 0.8);
}

.step h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--primary-blue);
}

.step p {
    color: #666;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Testimonial Section */
.testimonial {
    padding: 80px 0;
    background-color: var(--white);
}

.testimonial-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    position: relative;
    margin-top: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 120px;
    font-family: 'Georgia', serif;
    color: var(--accent-gold);
    line-height: 1;
    opacity: 0.15;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--accent-gold);
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    background-color: var(--light-gray);
}

/* Team Section */
.team {
    padding: 100px 0;
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-color: rgba(101, 167, 158, 0.1);
    border-radius: 50%;
    transform: translate(100px, -150px);
}

.team::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background-color: rgba(21, 103, 152, 0.07);
    border-radius: 50%;
    transform: translate(-100px, 100px);
}

.team-intro {
    text-align: left;
    max-width: 900px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.team-intro h2 {
    color: var(--primary-blue);
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    font-size: 1.8rem;
}

.team-intro p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.team-intro ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.team-intro ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.team-intro ul li::before {
    content: "•";
    color: var(--accent-gold);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.2rem;
}

.team-intro strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.team-photo {
    width: 100%;
    height: 450px;
    background: url('teamphoto.png') center center/cover no-repeat;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 250px;
    height: 250px;
    background-color: rgba(21, 103, 152, 0.05);
    border-radius: 50%;
    transform: translate(-100px, -100px);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.faq-item:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    transform: translateY(-3px);
    border-left: 4px solid var(--accent-gold);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.faq-question h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent-gold);
    font-weight: 600;
    transition: all 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-answer {
    padding: 0 25px 20px;
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
}

.faq-answer p {
    margin-bottom: 0;
}

/* Contact Form Section */
.contact-form {
    padding: 80px 0;
    background-color: var(--primary-blue);
    color: var(--white);
}

.contact-form .section-title h2 {
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-size: 2.5rem;
}

.contact-form .section-title p {
    color: var(--white);
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
    font-weight: 400;
    opacity: 0.95;
}

.form-container {
    background-color: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    color: var(--dark-text);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-color: rgba(247, 179, 43, 0.1);
    border-top-right-radius: 15px;
    z-index: 0;
}

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 35px;
    position: relative;
    z-index: 1;
}

.form-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
}

.form-container h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--accent-gold);
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.form-group-full {
    grid-column: span 2;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: #555;
}

input, textarea, select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 3px 8px rgba(21, 103, 152, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-column {
    flex-basis: calc(25% - 30px);
    margin-bottom: 30px;
}

.footer-column h3 {
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
}

.footer-bottom a:visited {
    color: var(--white);
}

/* Comparison Table Styles */
.comparison-table {
    margin: 2rem auto;
    max-width: 900px;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background-color: var(--primary-blue);
    color: var(--white);
    font-weight: 600;
}

.comparison-table th:first-child {
    border-top-left-radius: 8px;
}

.comparison-table th:last-child {
    border-top-right-radius: 8px;
}

.comparison-table tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

.comparison-table tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

.comparison-table tr:hover {
    background-color: rgba(21, 103, 152, 0.03);
}

.comparison-table .total-row {
    background-color: var(--light-gray);
    font-weight: 600;
}

.table-note {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .benefit {
        flex-basis: calc(50% - 20px);
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step {
        flex-basis: 100%;
        margin-bottom: 30px;
    }
    
    .footer-column {
        flex-basis: calc(50% - 30px);
    }
}

@media (max-width: 768px) {
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}
    
    nav ul li {
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .benefit {
        flex-basis: 100%;
    }
    
    form {
        grid-template-columns: 1fr;
    }
    
    .form-group-full {
        grid-column: span 1;
    }
    
    .footer-column {
        flex-basis: 100%;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
}
