/* Global Variables */
:root {
    --primary-dark: #001F3F;
    --primary-yellow: #FFDC00;
    --primary-teal: #00BFA5;
    --bg-light-gradient-start: #F0F8FF;
    --bg-light-gradient-end: #E0FFFF;
    --text-white: #FFFFFF;
    --text-light: #D1ECF1;
    --button-blue: #003366;
    --button-blue-hover: #005580;
    --max-width: 1200px;
    --border-radius: 4px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-white);
    background-color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.primary-btn {
    background-color: var(--button-blue);
    color: var(--text-white);
}

.primary-btn:hover {
    background-color: var(--button-blue-hover);
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: transparent;
    border: 2px solid var(--primary-yellow);
    color: var(--primary-yellow);
}

.secondary-btn:hover {
    background-color: var(--primary-yellow);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Header Styles */
.main-header {
    background-color: var(--primary-dark);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-white);
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: var(--text-light);
    position: relative;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--primary-yellow);
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-yellow);
    transition: var(--transition);
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--text-white);
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, rgba(0, 31, 63, 0.8), rgba(0, 31, 63, 0.6)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-out;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-light);
    animation: fadeIn 1.5s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* About Section */
.about {
    background: linear-gradient(to bottom, var(--bg-light-gradient-start), var(--bg-light-gradient-end));
    color: var(--primary-dark);
}

.section-header {
    margin-bottom: 40px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--primary-teal);
}

/* Services Section */
.services {
    background-color: var(--primary-dark);
}

.services-heading {
    text-align: center;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: linear-gradient(to bottom right, var(--bg-light-gradient-start), var(--bg-light-gradient-end));
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    color: var(--primary-dark);
}

.service-card:hover {
    transform: translateY(-5px);
}

.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.1);
}

.service-content {
    padding: 20px;
}

/* Benefits Section */
.benefits {
    background: linear-gradient(to bottom, var(--bg-light-gradient-start), var(--bg-light-gradient-end));
    color: var(--primary-dark);
}

.benefits-heading {
    text-align: center;
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 20px;
}

.benefit-icon {
    font-size: 40px;
    color: var(--primary-teal);
    margin-bottom: 15px;
}

/* Process Section */
.process {
    background-color: var(--primary-dark);
}

.process-heading {
    text-align: center;
    margin-bottom: 50px;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.process-step {
    width: 100%;
    max-width: 250px;
    margin: 0 15px 30px;
    text-align: center;
    position: relative;
}

.step-number {
    background-color: var(--primary-yellow);
    color: var(--primary-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 15px;
}

.process-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 25px;
    color: var(--primary-yellow);
    font-size: 24px;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(to bottom, var(--bg-light-gradient-start), var(--bg-light-gradient-end));
    color: var(--primary-dark);
}

.testimonials-heading {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 60px;
    color: rgba(0, 191, 165, 0.2);
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

/* FAQ Section */
.faq {
    background-color: var(--primary-dark);
}

.faq-heading {
    text-align: center;
    margin-bottom: 50px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    background: linear-gradient(to right, var(--bg-light-gradient-start), var(--bg-light-gradient-end));
    padding: 15px 20px;
    font-weight: bold;
    color: var(--primary-dark);
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    transition: var(--transition);
}

.faq-answer {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    display: none;
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-item.active .faq-answer {
    display: block;
}

/* Contact Form */
.contact {
    background: linear-gradient(to bottom, var(--bg-light-gradient-start), var(--bg-light-gradient-end));
    color: var(--primary-dark);
}

.contact-heading {
    text-align: center;
    margin-bottom: 50px;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

/* Asymmetric form design as requested */
.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20px;
    width: 40px;
    height: 100%;
    background-color: var(--primary-teal);
    transform: skewX(-5deg);
    z-index: 1;
}

.contact-form {
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    transition: var(--transition);
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-teal);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 191, 165, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-submit {
    text-align: center;
}

/* Footer */
.main-footer {
    background-color: var(--primary-dark);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo a {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
}

.footer-logo p {
    color: var(--text-light);
    font-size: 14px;
}

.footer-contact ul,
.footer-links ul,
.footer-legal ul {
    margin-top: 15px;
}

.footer-contact li,
.footer-links li,
.footer-legal li {
    margin-bottom: 10px;
}

.footer-contact a:hover,
.footer-links a:hover,
.footer-legal a:hover {
    color: var(--primary-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--primary-dark);
    color: var(--text-white);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    z-index: 9999;
    max-width: 300px;
    display: none;
}

.cookie-popup.show {
    display: block;
    animation: slideUp 0.5s forwards;
}

.cookie-popup p {
    margin-bottom: 10px;
}

.cookie-popup button {
    background-color: var(--primary-yellow);
    color: var(--primary-dark);
    border: none;
    padding: 8px 15px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.cookie-popup button:hover {
    background-color: #e6c700;
}

/* Policy Pages */
.policy-page {
    background-color: white;
    color: var(--primary-dark);
    padding: 150px 0 80px;
}

.policy-container {
    max-width: 800px;
    margin: 50px auto 0;
    background-color: white;
    padding: 40px;
    border: 3px solid var(--button-blue);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.policy-header {
    text-align: center;
    margin-bottom: 30px;
}

.policy-header .logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.policy-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-content p {
    margin-bottom: 15px;
}

.policy-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

/* Thank You Page */
.thanks-page {
    background: linear-gradient(to bottom, var(--bg-light-gradient-start), var(--bg-light-gradient-end));
    color: var(--primary-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thanks-container {
    max-width: 600px;
    padding: 40px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.centered-frame {
    position: relative;
    border: 5px solid var(--primary-teal);
    margin: 0 auto;
    text-align: center;
}

.centered-frame:before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid var(--primary-yellow);
    border-radius: var(--border-radius);
    z-index: -1;
}

.thanks-icon {
    font-size: 60px;
    color: var(--primary-teal);
    margin-bottom: 20px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    .process-step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        display: none;
        padding: 20px;
    }
    
    .main-nav.menu-open {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin: 10px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .cta-button {
        margin-left: auto;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .contact-form-container::before {
        display: none;
    }
}
