/* --- CSS Variables --- */
:root {
    --primary: #8B5CF6;
    --secondary: #C4B5FD;
    --accent: #EC4899;
    --bg: #F5F3FF;
    --dark: #2E1065;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
    --radius: 16px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Global Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

img { max-width: 100%; display: block; border-radius: var(--radius); }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; color: var(--dark); }

.section-header { margin-bottom: 3rem; }
.sub-heading {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: block;
}
.accent { color: var(--accent); }
.text-center { text-align: center; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.5);
}
.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    background: var(--glass);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.logo-icon { font-size: 1.8rem; }
.nav-menu ul { display: flex; gap: 2rem; }
.nav-menu a { font-weight: 500; color: var(--dark); position: relative; }
.nav-menu a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--accent); transition: var(--transition);
}
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-cta { padding: 8px 20px; font-size: 0.9rem; }
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 25px; height: 3px; background: var(--dark); border-radius: 3px; transition: var(--transition); }

/* --- Hero --- */
.hero {
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
}
.hero-bg-shape {
    position: absolute; top: -20%; right: -10%; width: 600px; height: 600px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    z-index: -1; opacity: 0.5; filter: blur(80px);
}
.hero-content { max-width: 800px; }
.hero .sub-heading { font-size: 1rem; margin-bottom: 1rem; }
.main-heading { font-size: 3.5rem; margin-bottom: 1.5rem; }
.hero-desc { font-size: 1.1rem; color: #555; margin-bottom: 2.5rem; max-width: 600px; }
.hero-btns { display: flex; gap: 1rem; margin-bottom: 4rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 3rem; flex-wrap: wrap; }
.stat h3 { font-size: 2.5rem; color: var(--primary); }
.stat p { font-size: 0.9rem; color: #666; }

/* --- About --- */
.about { padding: 5rem 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.img-wrapper { position: relative; }
.exp-badge {
    position: absolute; bottom: -20px; right: -20px;
    background: var(--accent); color: white;
    width: 100px; height: 100px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.2rem; text-align: center;
    box-shadow: var(--shadow);
}
.about-text h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.about-text p { color: #555; margin-bottom: 1.5rem; }

/* --- Vision / Mission --- */
.vmission { padding: 3rem 0 5rem; }
.vm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.vm-card {
    background: var(--white); padding: 2rem; border-radius: var(--radius);
    box-shadow: var(--shadow); text-align: center; transition: var(--transition);
    border: 1px solid rgba(139, 92, 246, 0.1);
}
.vm-card:hover { transform: translateY(-10px); border-color: var(--accent); }
.vm-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.vm-card h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.vm-card p { font-size: 0.9rem; color: #666; }

/* --- Features --- */
.features { padding: 5rem 0; background: var(--white); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-card {
    padding: 2rem; background: var(--bg); border-radius: var(--radius);
    transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0); transform-origin: left; transition: var(--transition);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.f-icon { font-size: 2rem; margin-bottom: 1rem; }
.feature-card h4 { margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9rem; color: #666; }

/* --- Process --- */
.process { padding: 5rem 0; }
.process-steps { display: flex; justify-content: space-between; align-items: flex-start; position: relative; }
.step { flex: 1; text-align: center; padding: 0 1rem; z-index: 2; }
.step-num {
    width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 700; margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}
.step h4 { margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; color: #666; }
.step-line {
    position: absolute; top: 30px; left: 10%; right: 10%; height: 2px;
    background: var(--secondary); z-index: 1;
}

/* --- Services --- */
.services { padding: 5rem 0; background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card {
    background: var(--bg); padding: 2.5rem 2rem; border-radius: var(--radius);
    text-align: center; transition: var(--transition); border: 2px solid transparent;
}
.service-card:hover {
    border-color: var(--primary); transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.15);
}
.s-emoji { font-size: 3rem; display: block; margin-bottom: 1rem; }
.service-card h4 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.service-card p { font-size: 0.9rem; color: #666; }

/* --- Loan & Warranty --- */
.loan-warranty { padding: 5rem 0; }
.lw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.lw-text h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.lw-text p { color: #555; margin-bottom: 2rem; }

/* --- Booking Form --- */
.booking { padding: 5rem 0; background: var(--dark); color: white; }
.booking .sub-heading { color: var(--secondary); }
.booking h2 { color: white; }
.booking-form {
    max-width: 800px; margin: 0 auto; background: var(--white);
    padding: 3rem; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    color: var(--dark);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.form-group { display: flex; flex-direction: column; }
.form-group label { font-weight: 500; margin-bottom: 0.5rem; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    padding: 12px 15px; border: 1px solid #ddd; border-radius: 8px;
    font-family: inherit; font-size: 1rem; transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}
.full-width { grid-column: 1 / -1; margin-bottom: 1.5rem; }
.booking-form .btn { width: 100%; padding: 15px; font-size: 1rem; }

/* --- FAQ --- */
.faq { padding: 5rem 0; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--white); margin-bottom: 1rem; border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden; transition: var(--transition);
}
.faq-item.active { box-shadow: 0 10px 25px rgba(236, 72, 153, 0.15); }
.faq-question {
    width: 100%; padding: 1.5rem; background: none; border: none;
    text-align: left; font-size: 1.1rem; font-weight: 600; color: var(--dark);
    display: flex; justify-content: space-between; align-items: center; cursor: pointer;
    font-family: inherit;
}
.faq-question span { font-size: 1.5rem; color: var(--primary); transition: var(--transition); }
.faq-item.active .faq-question span { transform: rotate(45deg); color: var(--accent); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding: 0 1.5rem 1.5rem; color: #555; }
.faq-item.active .faq-answer { max-height: 200px; }

/* --- Reviews --- */
.reviews { padding: 5rem 0; background: var(--white); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.review-card {
    background: var(--bg); padding: 2rem; border-radius: var(--radius);
    position: relative; transition: var(--transition);
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.stars { color: #FBBF24; font-size: 1.2rem; margin-bottom: 1rem; }
.review-card p { font-style: italic; color: #555; margin-bottom: 1.5rem; font-size: 0.95rem; }
.reviewer h5 { color: var(--dark); margin-bottom: 0.2rem; }
.reviewer span { font-size: 0.8rem; color: var(--primary); }

/* --- Contact --- */
.contact { padding: 5rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.info-item { display: flex; gap: 1.5rem; margin-bottom: 2rem; }
.info-icon {
    width: 50px; height: 50px; background: var(--secondary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0;
}
.info-item h4 { margin-bottom: 0.2rem; }
.info-item p, .info-item a { color: #555; }
.info-item a:hover { color: var(--accent); }
.contact-form { background: var(--white); padding: 2.5rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form .form-group { margin-bottom: 1.5rem; }
.contact-form .btn { width: 100%; padding: 15px; }

/* --- Footer --- */
.footer { background: var(--dark); color: #ddd; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-col h3 { color: white; margin-bottom: 1.5rem; font-size: 1.2rem; position: relative; }
.footer-col h3::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 30px; height: 2px; background: var(--accent);
}
.footer-col p { font-size: 0.9rem; margin-bottom: 1rem; line-height: 1.6; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col a { font-size: 0.9rem; color: #aaa; }
.footer-col a:hover { color: var(--accent); padding-left: 5px; }
.social-icons { display: flex; gap: 1rem; margin-top: 1rem; }
.social-icons a {
    width: 35px; height: 35px; background: rgba(255,255,255,0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: white;
}
.social-icons a:hover { background: var(--accent); }
.footer-form { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.footer-form input { flex: 1; padding: 10px; border: none; border-radius: 5px; font-family: inherit; }
.footer-form .btn { padding: 10px 15px; font-size: 0.85rem; }
.unsub-link { font-size: 0.8rem; color: var(--secondary); text-decoration: underline; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.85rem; color: #888; }
.legal-links { display: flex; gap: 1.5rem; }
.legal-links a { font-size: 0.85rem; color: #888; }
.legal-links a:hover, .legal-links a.active { color: var(--accent); }

/* --- Inner Pages --- */
.inner-hero {
    padding: 10rem 0 4rem; background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white; text-align: center;
}
.inner-hero h1 { color: white; font-size: 3rem; margin-bottom: 0.5rem; }
.inner-content { padding: 4rem 0; }
.text-block { max-width: 800px; margin: 0 auto; background: white; padding: 3rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.text-block h2 { font-size: 1.8rem; margin: 2rem 0 1rem; color: var(--primary); }
.text-block h2:first-child { margin-top: 0; }
.text-block p { color: #555; margin-bottom: 1rem; }
.center-align { text-align: center; }
.unsub-form { max-width: 400px; margin: 2rem auto; display: flex; gap: 1rem; }
.unsub-form input { flex: 1; padding: 12px; border: 1px solid #ddd; border-radius: 50px; }

/* --- Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .vm-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid, .service-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed; top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px);
        background: var(--white); flex-direction: column; align-items: center;
        justify-content: center; transition: 0.4s;
    }
    .nav-menu.active { left: 0; }
    .nav-menu ul { flex-direction: column; gap: 2rem; text-align: center; }
    .hamburger { display: flex; }
    .nav-cta { display: none; }
    
    .hero { padding: 8rem 0 3rem; }
    .main-heading { font-size: 2.5rem; }
    .about-grid, .lw-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .vm-grid, .feature-grid, .service-grid, .review-grid { grid-template-columns: 1fr; }
    
    .process-steps { flex-direction: column; gap: 2rem; }
    .step-line { display: none; }
    
    .form-row { grid-template-columns: 1fr; gap: 1rem; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col h3::after { left: 50%; transform: translateX(-50%); }
    .social-icons { justify-content: center; }
    .footer-bottom { justify-content: center; text-align: center; }
    
    .unsub-form { flex-direction: column; }
}