/* ===== ROOT VARIABLES ===== */
:root {
    --primary-color: #4e54c8;
    --secondary-color: #8f94fb;
    --accent-gradient: linear-gradient(135deg, #4e54c8 0%, #8f94fb 100%);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: var(--shadow);
    padding: 1rem 0;
    transition: all 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand { font-weight: 700; font-size: 1.4rem; text-decoration: none; }
.logo-jadhira {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}
.logo-tech {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    color: #8f94fb;
    -webkit-text-fill-color: #8f94fb;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--primary-color) !important; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 80%; }

/* ===== SECTION BASE ===== */
section { padding: 80px 0; }

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
}
.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.05rem;
    max-width: 640px;
    margin: 1.5rem auto 0;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.home-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    align-items: center;
    gap: 3rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(78, 84, 200, 0.1);
    color: var(--primary-color);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(78, 84, 200, 0.2);
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #222;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
}

.hero-sub {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Montserrat', sans-serif;
}
.stat-label { font-size: 0.8rem; color: #777; font-weight: 500; }

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn-primary-custom {
    background: var(--accent-gradient);
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}
.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: white;
}
.btn-outline-custom {
    background: transparent;
    border: 2px solid var(--primary-color);
    padding: 10px 35px;
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}
.btn-outline-custom:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

/* ===== WHY SECTION ===== */
.why-section { background: #f8f9fa; }
.why-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.why-icon {
    width: 70px; height: 70px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.8rem;
    color: white;
}
.why-card h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.7rem; color: #222; }
.why-card p { color: #666; font-size: 0.95rem; }

/* ===== SERVICES ===== */
.services-preview-section { background: white; }
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    border: 1px solid #f0f0f0;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.service-icon {
    width: 80px; height: 80px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}
.service-card h4 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.8rem; color: #222; }
.service-card p { color: #666; font-size: 0.95rem; }

/* Services Detail Cards */
.all-services-section { background: #f8f9fa; }
.service-detail-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    border-left: 4px solid transparent;
}
.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--primary-color);
}
.service-detail-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}
.service-detail-header .service-icon { flex-shrink: 0; width: 55px; height: 55px; font-size: 1.4rem; }
.service-detail-header h3 { font-size: 1.15rem; font-weight: 700; color: #222; margin-bottom: 0.3rem; }
.service-tag {
    display: inline-block;
    background: rgba(78, 84, 200, 0.1);
    color: var(--primary-color);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.service-detail-card p { color: #666; font-size: 0.93rem; margin-bottom: 1rem; }
.service-features { list-style: none; padding: 0; margin: 0; }
.service-features li {
    padding: 0.45rem 0;
    color: #555;
    position: relative;
    padding-left: 1.6rem;
    font-size: 0.9rem;
    border-bottom: 1px solid #f5f5f5;
}
.service-features li:last-child { border-bottom: none; }
.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== PROCESS SECTION ===== */
.process-section { background: white; }
.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 3rem;
}
.process-step {
    flex: 1;
    min-width: 200px;
    max-width: 220px;
    text-align: center;
    padding: 0 1rem;
}
.process-number {
    width: 64px; height: 64px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 1rem;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 15px rgba(78,84,200,0.3);
}
.process-content h4 { font-size: 1rem; font-weight: 700; color: #222; margin-bottom: 0.5rem; }
.process-content p { font-size: 0.88rem; color: #666; }
.process-connector {
    flex: 0 0 40px;
    height: 2px;
    background: var(--accent-gradient);
    margin-top: 32px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: white; }
.testimonial-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #eef0ff 100%);
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
    border: 1px solid rgba(78,84,200,0.1);
    transition: all 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.testimonial-stars { font-size: 1.1rem; margin-bottom: 1rem; }
.testimonial-card p { color: #555; font-size: 0.95rem; font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.8rem; }
.testimonial-avatar {
    width: 44px; height: 44px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.testimonial-author strong { display: block; color: #222; font-weight: 600; font-size: 0.95rem; }
.testimonial-author span { color: #888; font-size: 0.82rem; }

/* ===== FAQ SECTION ===== */
.faq-section { background: #f8f9fa; }
.faq-wrapper { max-width: 820px; margin: 2rem auto 0; }
.faq-item {
    border: none;
    margin-bottom: 0.8rem;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.accordion-button {
    font-weight: 600;
    font-size: 1rem;
    color: #222;
    background: white;
    padding: 1.1rem 1.4rem;
}
.accordion-button:not(.collapsed) {
    background: var(--accent-gradient);
    color: white;
    box-shadow: none;
}
.accordion-button:not(.collapsed)::after { filter: brightness(10); }
.accordion-button:focus { box-shadow: none; }
.accordion-body { background: white; color: #555; font-size: 0.95rem; line-height: 1.7; padding: 1.2rem 1.4rem; }

/* ===== CTA SECTION ===== */
.cta-section { background: white; padding: 60px 0; }
.cta-box {
    background: var(--accent-gradient);
    border-radius: 20px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(78, 84, 200, 0.3);
}
.cta-box h2 { color: white; font-size: 2rem; font-weight: 800; margin-bottom: 1rem; font-family: 'Montserrat', sans-serif; }
.cta-box p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 2rem; }
.cta-box .btn-primary-custom {
    background: white;
    color: var(--primary-color);
    -webkit-text-fill-color: var(--primary-color);
}
.cta-box .btn-primary-custom:hover { background: rgba(255,255,255,0.9); color: var(--primary-color); -webkit-text-fill-color: var(--primary-color); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 100px 0 60px;
    min-height: 280px;
    display: flex;
    align-items: center;
}
.page-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}
.page-hero-sub { font-size: 1.05rem; color: #555; max-width: 600px; margin: 0 auto 1.5rem; }
.breadcrumb { margin: 0; background: transparent; }
.breadcrumb-item a { color: var(--primary-color); text-decoration: none; }
.breadcrumb-item.active { color: #666; }
.breadcrumb-item + .breadcrumb-item::before { color: #999; }

/* ===== PACKAGES SECTION ===== */
.packages-section { background: white; }
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}
.package-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
    position: relative;
    display: flex;
    flex-direction: column;
}
.package-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: var(--primary-color); }
.featured-package {
    border: 3px solid var(--primary-color) !important;
    transform: scale(1.02);
}
.featured-package:hover { transform: scale(1.02) translateY(-8px); }
.package-badge {
    position: absolute;
    top: -16px; left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: var(--shadow);
}
.package-discount {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.8rem;
}
.package-title { font-size: 1.2rem; font-weight: 700; color: #222; margin-bottom: 0.4rem; margin-top: 0.5rem; font-family: 'Montserrat', sans-serif; }
.package-subtitle { color: #666; font-size: 0.88rem; margin-bottom: 1rem; }
.package-price { font-size: 1.8rem; font-weight: 800; color: var(--primary-color); margin: 0.8rem 0 0; font-family: 'Montserrat', sans-serif; }
.package-price small { font-size: 1rem; color: #888; font-weight: 400; }
.package-offer { color: var(--primary-color); font-size: 0.88rem; font-weight: 600; margin: 0.4rem 0 0.4rem; }
.package-period { color: #888; font-size: 0.82rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 2px solid #f0f0f0; }
.package-card ul { list-style: none; padding: 0; margin: 1rem 0; flex-grow: 1; }
.package-card ul li {
    padding: 0.6rem 0;
    color: #555;
    position: relative;
    padding-left: 1.8rem;
    font-size: 0.9rem;
    border-bottom: 1px solid #f8f8f8;
}
.package-card ul li:last-child { border-bottom: none; }
.package-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--primary-color); font-weight: bold; }
.package-features-title { font-size: 0.9rem; font-weight: 700; color: #222; margin: 1rem 0 0.5rem; }
.package-delivery { color: #888; font-size: 0.83rem; margin: 1rem 0 1.2rem; }
.package-delivery i { color: var(--primary-color); margin-right: 4px; }

/* ===== COMPARISON TABLE ===== */
.comparison-section { background: #f8f9fa; }
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.comparison-table th {
    background: var(--accent-gradient);
    color: white;
    padding: 1rem 0.8rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
}
.comparison-table th:first-child { text-align: left; padding-left: 1.5rem; }
.comparison-table td {
    padding: 0.8rem 0.8rem;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: #555;
}
.comparison-table td:first-child { text-align: left; padding-left: 1.5rem; font-weight: 500; color: #333; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: #fafaff; }
.featured-col { background: rgba(78, 84, 200, 0.05); font-weight: 600; }
.comparison-table th.featured-col { background: rgba(0,0,0,0.15); }

/* ===== CONTACT CARDS ===== */
.contact-cards-section { background: white; padding: 60px 0 0; }
.contact-info-card {
    background: white;
    border-radius: 15px;
    padding: 1.8rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid transparent;
}
.contact-info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-top-color: var(--primary-color); }
.contact-info-icon {
    width: 60px; height: 60px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1rem;
}
.contact-info-card h5 { font-weight: 700; color: #222; margin-bottom: 0.5rem; }
.contact-info-card a { color: var(--primary-color); text-decoration: none; font-weight: 500; display: block; }
.contact-info-card p { color: #888; font-size: 0.85rem; margin: 0; }

/* ===== CONTACT MAIN ===== */
.contact-main-section { background: #f8f9fa; padding: 60px 0 80px; }
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 0.93rem;
    width: 100%;
}
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(78, 84, 200, 0.15);
    outline: none;
}
.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}
.contact-item {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.contact-item i {
    width: 42px; height: 42px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.why-contact-list { display: flex; flex-direction: column; gap: 0.6rem; }
.why-contact-item { display: flex; align-items: center; gap: 0.8rem; color: #555; font-size: 0.93rem; }
.why-contact-item i { color: var(--primary-color); font-size: 1rem; }

/* ===== SOCIAL LINKS ===== */
.social-links { display: flex; gap: 0.8rem; margin-top: 1.5rem; flex-wrap: wrap; }
.social-links a {
    width: 42px; height: 42px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}
.social-links a:hover { transform: scale(1.12); box-shadow: 0 5px 15px rgba(78, 84, 200, 0.4); }

/* ===== FOOTER ===== */
footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 3rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { color: #aaa; font-size: 0.9rem; margin-top: 0.8rem; line-height: 1.7; }
.footer-links h5, .footer-contact h5 { color: white; font-weight: 700; margin-bottom: 1rem; font-size: 1rem; }
.footer-links ul { list-style: none; padding: 0; }
.footer-links ul li { margin-bottom: 0.5rem; }
.footer-links ul li a { color: #aaa; text-decoration: none; font-size: 0.92rem; transition: color 0.3s; }
.footer-links ul li a:hover { color: var(--secondary-color); }
.footer-contact p { color: #aaa; font-size: 0.9rem; margin-bottom: 0.4rem; }
.footer-contact i { color: var(--secondary-color); margin-right: 6px; }
.footer-contact .social-links a { background: rgba(255,255,255,0.1); }
.footer-contact .social-links a:hover { background: var(--accent-gradient); }
.footer-bottom {
    padding: 1.2rem 0;
    text-align: center;
    color: #777;
    font-size: 0.85rem;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 48px; height: 48px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    text-decoration: none;
    opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    z-index: 1000;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); color: white; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .process-connector { display: none; }
    .process-steps { gap: 1.5rem; }
}

@media (max-width: 768px) {
    .home-content { grid-template-columns: 1fr; text-align: center; }
    .hero-title { font-size: 2rem; }
    .hero-stats { justify-content: center; }
    .hero-cta { justify-content: center; }
    .section-title { font-size: 2rem; }
    section { padding: 60px 0; }
    .packages-grid { grid-template-columns: 1fr; }
    .featured-package { transform: none; }
    .featured-package:hover { transform: translateY(-8px); }
    .page-hero-title { font-size: 1.9rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .cta-box { padding: 2.5rem 1.5rem; }
    .cta-box h2 { font-size: 1.6rem; }
    .comparison-table th, .comparison-table td { padding: 0.6rem 0.4rem; font-size: 0.78rem; }
    .back-to-top { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.7rem; }
    .package-card { padding: 1.8rem 1.3rem; }
    .contact-form { padding: 1.5rem; }
    .btn-primary-custom, .btn-outline-custom { width: 100%; text-align: center; }
    .hero-cta { flex-direction: column; }
}
