/* ============================================
   PINNACLE THEORY - Professional Finance Website
   Finance-grade color palette: Deep Blue, Gold, White
   ============================================ */

/* ========== CSS Variables ========== */
:root {
    --primary-blue: #001f5f;
    --deep-blue: #003366;
    --gold: #d4af37;
    --gold-light: #f4d03f;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --text-gray: #666666;
    --shadow: rgba(0, 31, 95, 0.1);
    --shadow-hover: rgba(0, 31, 95, 0.2);
    --transition: all 0.3s ease;
}

/* ========== Reset & Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

/* ========== Preloader ========== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    width: 120px;
    height: 120px;
    border: 4px solid var(--gold);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.preloader-text {
    color: var(--gold);
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* ========== Header & Navigation ========== */
header {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 1rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-blue);
}

.logo img {
    height: 57px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
}

.logo-text .gold {
    color: var(--gold);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: var(--transition);
}

/* ========== Hero Section ========== */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--deep-blue) 100%);
    color: var(--white);
    padding: 120px 2rem 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(212,175,55,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--gold);
    color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* ========== Animated Counters ========== */
.counters {
    background: var(--white);
    padding: 60px 2rem;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.counters-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.counter-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.counter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.counter-card:hover::before {
    left: 100%;
}

.counter-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.counter-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.counter-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.counter-label {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* ========== Why Choose Us ========== */
.why-choose {
    padding: 80px 2rem;
    background: var(--light-gray);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--gold));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--deep-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--gold);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotate(360deg) scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ========== Services Section ========== */
.services {
    padding: 80px 2rem;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--gold));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.service-icon {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-blue), var(--deep-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--gold);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 10px;
    color: var(--primary-blue);
}

/* ========== Process Timeline ========== */
.process {
    padding: 80px 2rem;
    background: var(--light-gray);
}

.process-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-blue), var(--gold));
    transform: translateX(-50%);
}

.process-step {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.process-step-content {
    flex: 1;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    margin: 0 2rem;
    position: relative;
}

.process-step-number {
    position: absolute;
    left: 50%;
    top: 28%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--gold);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 0 0 10px var(--white);
}

.process-step:nth-child(even) .process-step-number {
    left: auto;
    right: 50%;
}

.process-step h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.process-step p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ========== EMI Calculator ========== */
.emi-calculator {
    padding: 80px 2rem;
    background: var(--white);
}

.calculator-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
}

.calculator-form {
    display: grid;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.calculator-result {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--deep-blue));
    border-radius: 15px;
    color: var(--white);
    display: none;
}

.calculator-result.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.result-item:last-child {
    border-bottom: none;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--gold);
}

/* ========== Testimonials ========== */
.testimonials {
    padding: 80px 2rem;
    background: var(--light-gray);
}

.testimonials-slider {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    text-align: center;
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.testimonial-quote {
    font-size: 1.2rem;
    color: var(--text-gray);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
}

.author-info h4 {
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
}

.author-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background: var(--gold);
    transform: scale(1.3);
}

/* ========== Partner Banks ========== */
.partners {
    padding: 80px 2rem;
    background: var(--white);
}

.partners-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.partners-carousel::-webkit-scrollbar {
    display: none;
}

.partner-logo {
    min-width: 150px;
    height: 100px;
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.partner-logo:hover {
    border-color: var(--gold);
    transform: scale(1.1);
    box-shadow: 0 5px 15px var(--shadow);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ========== Sticky CTA Buttons ========== */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

.sticky-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: var(--gold);
    color: var(--primary-blue);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.sticky-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.sticky-btn.whatsapp {
    background: #25D366;
    color: var(--white);
}

.sticky-btn.call {
    background: var(--primary-blue);
    color: var(--white);
}

/* ========== Footer ========== */
footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 60px 2rem 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 2;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-section ul {
    list-style: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ========== Contact Form ========== */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 150px;
    transition: var(--transition);
}

.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ========== Google Map ========== */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    margin: 2rem 0;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========== Contact Info ========== */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 10px;
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--white);
    box-shadow: 0 5px 15px var(--shadow);
    transform: translateY(-5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.contact-details h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-gray);
}

/* ========== Page Header ========== */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--deep-blue) 100%);
    color: var(--white);
    padding: 100px 2rem 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ========== Content Sections ========== */
.content-section {
    padding: 60px 2rem;
}

.content-section:nth-child(even) {
    background: var(--light-gray);
}

.content-container {
    max-width: 1000px;
    margin: 0 auto;
}

.content-container h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.content-container h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.content-container p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-container ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.content-container li {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

/* ========== Bank Partners Grid ========== */
/* Grid */
.banks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2.4rem;
}

/* Card */
.bank-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}


.bank-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.15);
    border-color: #c9a14a;
}

/* LOGO OUTER CANVAS (SAME FOR ALL) */
.bank-logo {
    width: 100%;
    height: 120px;
    background: #f6f8fb;
    border-radius: 14px;
    margin-bottom: 1.2rem;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}
/* LOGO INNER FRAME (CRITICAL) */
.bank-logo::before {
    content: "";
    position: absolute;
}

/* LOGO IMAGE */
.bank-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;   /* IMPORTANT */
    padding: 18px;         /* Equal spacing */
    filter: grayscale(100%) brightness(0.7);
    transition: all 0.4s ease;
}


/* Hover */
.bank-card:hover .bank-logo img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.08);
}

/* Text */
.bank-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0b1c2d;
    margin: 0.6rem 0 0.3rem;
}

.bank-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* ========== Service Details ========== */
.service-details {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.service-detail-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.service-detail-card h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-detail-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.detail-item {
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 10px;
    border-left: 4px solid var(--gold);
}

.detail-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.detail-item ul {
    list-style: none;
    margin-left: 0;
}

.detail-item li {
    padding-left: 1.5rem;
    position: relative;
}

.detail-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* ========== Animations ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease both;
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 2rem;
        box-shadow: 0 5px 20px var(--shadow);
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .counters-container {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline::before {
        left: 30px;
    }

    .process-step {
        flex-direction: row !important;
    }

    .process-step-content {
        margin-left: 80px;
        margin-right: 0;
    }

    .process-step-number {
            left: -52px !important;
        right: auto !important;
        top: 95px !important;
    }

    .calculator-container,
    .contact-form {
        padding: 2rem 1.5rem;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .sticky-cta {
        bottom: 10px;
        right: 10px;
    }

    .sticky-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem;
    }

    .hero {
        padding: 80px 1rem 60px;
    }

    .counters,
    .why-choose,
    .services,
    .process,
    .emi-calculator,
    .testimonials,
    .partners {
        padding: 40px 1rem;
    }

    .counter-number {
        font-size: 2rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}
