/* --- Variables & Reset --- */
:root {
    --primary-color: #003366; /* Deep Blue */
    --secondary-color: #00509e; /* Lighter Blue */
    --accent-color: #d4af37; /* Gold */
    --text-dark: #333;
    --text-light: #f4f4f4;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-cta {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.btn-cta:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-gold {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
}

.btn-gold:hover {
    background-color: #b5952f;
}

/* --- Header --- */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--accent-color);
}

.nav-links ul {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.8)), url('../images/hero.webp');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 180px 0 100px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.subheadline {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transform: rotate(2deg);
    transition: var(--transition);
}

.hero-image:hover {
    transform: rotate(0deg) scale(1.02);
}

/* --- About Section --- */
.about-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    text-align: center;
    font-size: 5rem;
    color: var(--accent-color);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    margin-bottom: 20px;
}

.trust-badges {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.badge {
    background: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    border: 1px solid var(--accent-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Why Us Section --- */
.why-us {
    padding: 80px 0;
    text-align: center;
}

.why-us h2 {
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-top: 4px solid var(--accent-color);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.benefit-card h3 {
    margin-bottom: 10px;
}

/* --- Services Section --- */
.services-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.services-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.service-category {
    margin-bottom: 50px;
}

.service-category h3 {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: inline-block;
}

.service-category h3 i {
    margin-right: 10px;
    color: var(--accent-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
}

.service-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.service-card h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.service-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.service-card a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: underline;
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 80px 0;
    text-align: center;
}

.testimonials-section h2 {
    margin-bottom: 40px;
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    min-height: 300px;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.8s ease;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--accent-color);
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    object-fit: cover;
}

.testimonial-card h4 {
    margin-bottom: 5px;
}

.role {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.review {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

.stars {
    color: var(--accent-color);
}

.carousel-controls {
    margin-top: 20px;
}

.carousel-controls button {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 10px;
    transition: var(--transition);
}

.carousel-controls button:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* --- FAQ Section --- */
.faq-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--white);
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.accordion-header {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: var(--white);
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: #f0f7ff;
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #fafafa;
}

.accordion-body p {
    padding: 20px;
    color: #555;
}

/* --- Contact & Newsletter --- */
.contact-section {
    padding: 80px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
}

.contact-form-wrapper, .newsletter-wrapper {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form-wrapper h2, .newsletter-wrapper h2 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-note {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

.form-note a {
    color: var(--primary-color);
    font-weight: bold;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.success-msg {
    margin-top: 15px;
    padding: 15px;
    background-color: #d4edda;
    color: #155724;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
}

.hidden {
    display: none;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3, .footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col h3 span {
    color: var(--accent-color);
}

.footer-col p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    background: rgba(0,0,0,0.2);
    font-size: 0.85rem;
    opacity: 0.8;
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 15px;
        background: var(--white);
        padding: 10px 0;
        border-top: 1px solid #eee;
    }

    .nav-links.active {
        display: block;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .trust-badges {
        justify-content: center;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Modal Background */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.6);
    z-index: 1000;
}

/* Modal Box */
.modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 600px;
    margin: 8% auto;
    padding: 25px;
    border-radius: 6px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Close Button */
.close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}
