/* 
======================
    Color Variables
======================
*/
:root {
    --primary: #001C40;    /* Deep blue */
    --accent: #FFD500;     /* Bright yellow */
    --background: #F5F5F5; /* Light milk */
    --cta: #FF6B6B;        /* Coral red for call-to-action */
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --border: #E0E0E0;
    --shadow: rgba(0, 0, 0, 0.1);
}

/* 
======================
    Reset & Base
======================
*/
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* 
======================
    Button Styles
======================
*/
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #002e69;
    color: var(--text-light);
}

.btn-cta {
    background-color: var(--cta);
    color: var(--text-light);
}

.btn-cta:hover {
    background-color: #ff5252;
    color: var(--text-light);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--primary);
}

.btn-accent:hover {
    background-color: #e6c000;
    color: var(--primary);
}

/* 
======================
    Header & Navigation
======================
*/
.main-header {
    background-color: var(--text-light);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-text {
    color: var(--primary);
    position: relative;
}



.nav-list {
    display: flex;
    gap: 20px;
}

.nav-list li a {
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-list li a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

/* 
======================
    Hero Section
======================
*/
.hero {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 150px 0 80px;
    background-image: linear-gradient(rgba(0, 28, 64, 0.9), rgba(0, 28, 64, 0.8));
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

/* 
======================
    About Section
======================
*/
.about {
    background-color: var(--text-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

.about-text {
    padding: 20px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 15px;
}

/* 
======================
    Features Section
======================
*/
.features {
    background-color: var(--background);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--text-light);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

/* 
======================
    Services Section
======================
*/
.services {
    background-color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--background);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-description {
    margin-bottom: 20px;
}

/* 
======================
    Approach Section
======================
*/
.approach {
    background-color: var(--background);
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    background-color: var(--text-light);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px var(--shadow);
    position: relative;
    z-index: 1;
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background-color: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 2;
}

.step-title {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1.3rem;
}

/* 
======================
    Contact Section
======================
*/
.contact {
    background-color: var(--text-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    padding: 20px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-item {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

.contact-form {
    background-color: var(--primary);
    padding: 40px;
    border-radius: 8px;
    color: var(--text-light);
}

.form-title {
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 14px;
}

.checkbox-group label a {
    color: var(--accent);
    text-decoration: underline;
}

.checkbox-group label a:hover {
    color: var(--text-light);
}

/* 
======================
    Testimonials Section
======================
*/
.testimonials {
    background-color: var(--background);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
    position: relative;
}

.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-top: 30px;
}

.testimonial-quote::before {
    content: '"';
    font-size: 5rem;
    color: var(--accent);
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.author-name {
    font-weight: 600;
    color: var(--primary);
}

.author-title {
    font-size: 0.9rem;
    color: #666;
}

/* 
======================
    FAQ Section
======================
*/
.faq {
    background-color: var(--text-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: var(--background);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* 
======================
    Footer
======================
*/
.main-footer {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3, 
.footer-contact h3,
.footer-links h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
}

.footer-about h3::after,
.footer-contact h3::after,
.footer-links h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--accent);
    bottom: -8px;
    left: 0;
}

.footer-about p {
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-contact address {
    font-style: normal;
    opacity: 0.8;
}

.footer-contact address p {
    margin-bottom: 10px;
}

.footer-contact a {
    color: var(--text-light);
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-light);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent);
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* 
======================
    Cookie Popup
======================
*/
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
    background-color: var(--text-light);
    color: var(--text-dark);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    display: none;
}

.cookie-popup.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-content p {
    font-size: 0.9rem;
}

.cookie-content button {
    background-color: var(--primary);
    color: var(--text-light);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cookie-content button:hover {
    background-color: #002e69;
}

.cookie-content a {
    font-size: 0.8rem;
    text-decoration: underline;
}

/* 
======================
    Policy Pages
======================
*/
.policy-page {
    padding: 120px 0 60px;
    background-color: var(--background);
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--text-light);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px var(--shadow);
}

.policy-title {
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
    font-size: 2rem;
}

.policy-content h2 {
    color: var(--primary);
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

.policy-content p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.policy-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style-type: disc;
}

.policy-content ul li {
    margin-bottom: 10px;
}

/* 
======================
    Thank You Page
======================
*/
.thank-you {
    padding: 120px 0 60px;
    background-color: var(--background);
    text-align: center;
}

.thank-you-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--text-light);
    padding: 60px 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px var(--shadow);
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    background-color: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    margin: 0 auto 30px;
}

.thank-you-title {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.thank-you-text {
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* 
======================
    Animations
======================
*/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 
======================
    Responsive Design
======================
*/
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .header-content {
        height: 70px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-list {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--text-light);
        box-shadow: 0 5px 10px var(--shadow);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-list.active {
        max-height: 300px;
    }
    
    .nav-list li {
        width: 100%;
    }
    
    .nav-list li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid var(--border);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .about-content, 
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .policy-container {
        padding: 20px;
    }
}
