/* --- CSS VARIABLES & RESET --- */
:root {
    --primary: #0f172a; /* Dark Slate */
    --secondary: #3b82f6; /* Slate Gray */
    --accent: #3b82f6; /* Bright Blue */
    --light: #f1f5f9;
    --dark: #111827;
    --gray: #64748b;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- UTILITIES --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light);
}

.bg-primary {
    background-color: var(--primary);
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.bg-primary .section-title h2 {
    color: var(--secondary);
}

.bg-primary .section-title p {
    color: #cbd5e1;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--primary);
}

.btn-primary:hover {
    background-color: #d9a300;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-dark {
    background-color: var(--primary);
    color: var(--white);
}

.btn-dark:hover {
    background-color: var(--accent);
}

/* --- HEADER --- */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.9)), url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e2e8f0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- ABOUT PREVIEW --- */
.about-preview {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-preview h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-preview p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
}

/* --- WHY CHOOSE US --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 4px solid var(--secondary);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray);
}

/* --- SERVICES --- */
.services-category {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e2e8f0;
}

.services-category:last-child {
    border-bottom: none;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.category-header h3 {
    color: var(--primary);
    font-size: 1.5rem;
    border-left: 4px solid var(--secondary);
    padding-left: 15px;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-tag {
    background-color: #f1f5f9;
    color: var(--dark);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- TESTIMONIALS (Slider) --- */
.testimonials-slider {
    position: relative;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    padding: 50px 30px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    display: none;
    animation: fadeIn 0.8s;
}

.testimonial-item.active {
    display: block;
}

.testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.1rem;
}

.slider-controls {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #475569;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--secondary);
    transform: scale(1.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- FAQ --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    background: var(--white);
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary);
}

.faq-question:hover {
    background-color: #f8fafc;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: #f8fafc;
    transition: max-height 0.3s ease;
    padding: 0 20px;
    color: var(--gray);
}

.faq-answer p {
    padding: 20px 0;
}

.faq-toggle {
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* --- FORMS (Get In Touch & Newsletter) --- */
.form-section {
    background-color: var(--light);
}

.form-box {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(240, 180, 0, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.message-box {
    display: none;
    padding: 15px;
    margin-top: 20px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
}

.message-success {
    background-color: #d1fae5;
    color: #065f46;
    display: none;
}

.message-error {
    background-color: #fee2e2;
    color: #991b1b;
    display: none;
}

/* --- FOOTER --- */
footer {
    background-color: #0f1c33;
    color: #cbd5e1;
    padding-top: 60px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e293b;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-newsletter input[type="email"] {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    margin-bottom: 10px;
}

.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(--secondary);
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: #64748b;
}

/* --- MODALS (Privacy & Terms) --- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: var(--white);
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    border-radius: 8px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

.modal h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.modal p {
    margin-bottom: 15px;
    color: var(--dark);
    line-height: 1.6;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        gap: 15px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}