/* =========================
   GLOBAL RESET & VARIABLES
========================= */
:root {
    --primary: #0a3cff;
    --secondary: #0f172a;
    --accent: #22c55e;
    --light: #f8fafc;
    --gray: #64748b;
    --border: #e2e8f0;
    --shadow: 0 10px 25px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background: #ffffff;
    color: var(--secondary);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* =========================
   BUTTONS
========================= */
.cta-button {
    display: inline-block;
    padding: 12px 22px;
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #082ed1;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.cta-button.secondary:hover {
    background: var(--primary);
    color: #fff;
}

/* =========================
   HEADER
========================= */
.header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.logo i {
    margin-right: 5px;
}

.header-nav ul {
    display: flex;
    gap: 22px;
}

.header-nav a {
    font-weight: 500;
    color: var(--secondary);
}

.header-nav a:hover {
    color: var(--primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.call-now,
.client-login {
    font-weight: 500;
    color: var(--secondary);
}

/* =========================
   HERO SECTION
========================= */
.hero {
    background: linear-gradient(135deg, #eef2ff, #f8fafc);
    padding: 80px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-left h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-left p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.service-selector {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.service-selector h3 {
    margin-bottom: 20px;
}

.service-selector button {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

.service-selector button:hover {
    background: var(--primary);
    color: #fff;
}

.quick-apply-button {
    margin-top: 15px;
    width: 100%;
}

/* =========================
   ABOUT PREVIEW
========================= */
.about-preview {
    padding: 80px 0;
    background: #fff;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-left h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.about-left p {
    color: var(--gray);
    margin-bottom: 20px;
}

.about-left li {
    margin-bottom: 8px;
    font-weight: 500;
}

/* =========================
   WHY CHOOSE US
========================= */
.why-choose-us {
    background: var(--light);
    padding: 80px 0;
}

.why-choose-container h2 {
    text-align: center;
    margin-bottom: 40px;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.why-choose-card {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.why-choose-card i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 15px;
}

/* =========================
   SERVICES & TABS
========================= */
.services {
    padding: 80px 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 30px;
}

.services-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.tab-button {
    padding: 10px 18px;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 500;
}

.tab-button.active {
    background: var(--primary);
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.service-card {
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: 10px;
    transition: 0.3s ease;
}

.service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.service-card h3 {
    margin-bottom: 10px;
}

.learn-more {
    color: var(--primary);
    font-weight: 600;
}

/* =========================
   TESTIMONIALS
========================= */
.testimonials {
    background: var(--light);
    padding: 80px 0;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.testimonial img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 15px;
}

/* =========================
   FAQ (ACCORDION)
========================= */
.faq {
    padding: 80px 0;
}

.accordion-item {
    border-bottom: 1px solid var(--border);
}

.accordion-button {
    width: 100%;
    padding: 15px;
    background: none;
    border: none;
    text-align: left;
    font-weight: 600;
    cursor: pointer;
}

.accordion-content {
    display: none;
    padding: 0 15px 15px;
    color: var(--gray);
}

/* =========================
   CONTACT FORM
========================= */
.contact {
    background: var(--light);
    padding: 80px 0;
}

.contact form {
    max-width: 600px;
    margin: auto;
    display: grid;
    gap: 15px;
}

.contact input,
.contact select,
.contact textarea {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid var(--border);
    font-size: 15px;
}

/* =========================
   MODALS
========================= */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-button {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}

/* =========================
   FOOTER
========================= */
.footer {
    background: #020617;
    color: #cbd5f5;
    padding: 60px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.footer h3 {
    color: #fff;
    margin-bottom: 15px;
}

.footer a {
    color: #cbd5f5;
}

.footer a:hover {
    color: #fff;
}

.social-icons a {
    font-size: 18px;
    margin-right: 10px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
    }

    .header-nav {
        display: none;
    }
}

/* =========================
   NEWSLETTER MODAL
========================= */
#newsletterModal {
    
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.65);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Modal Box */
#newsletterModal .modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 35px 30px;
    border-radius: 14px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: modalFadeUp 0.35s ease;
}

/* Close Button */
#newsletterModal .close-button {
    position: absolute;
    top: 15px;
    right: 18px;
    font-size: 24px;
    font-weight: bold;
    color: #64748b;
    cursor: pointer;
    transition: 0.3s;
}

#newsletterModal .close-button:hover {
    color: #0a3cff;
    transform: rotate(90deg);
}

/* Title */
#newsletterModal h2 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #020617;
    text-align: center;
}

/* Subtitle */
#newsletterModal p {
    text-align: center;
    color: #64748b;
    font-size: 15px;
    margin-bottom: 25px;
}

/* Form */
#newsletterForm {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Inputs */
#newsletterForm input[type="text"],
#newsletterForm input[type="email"],
#newsletterForm input[type="date"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 15px;
    transition: 0.3s ease;
}

#newsletterForm input:focus {
    outline: none;
    border-color: #0a3cff;
    box-shadow: 0 0 0 3px rgba(10, 60, 255, 0.15);
}

/* Checkbox */
#newsletterForm label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #475569;
    line-height: 1.4;
    cursor: pointer;
}

#newsletterForm input[type="checkbox"] {
    margin-top: 3px;
    accent-color: #0a3cff;
}

/* Button */
#newsletterForm .cta-button {
    margin-top: 10px;
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border-radius: 8px;
}

/* =========================
   ANIMATION
========================= */
@keyframes modalFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================
   MOBILE OPTIMIZATION
========================= */
@media (max-width: 480px) {
    #newsletterModal .modal-content {
        padding: 28px 22px;
    }

    #newsletterModal h2 {
        font-size: 22px;
    }
}
