/* Sangeetha Associates Premium Finance Styling */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #0B2545;     /* Dark Navy Blue */
    --secondary-color: #134074;   /* Royal Blue */
    --accent-color: #EEB902;      /* Golden Yellow */
    --accent-hover: #D09D00;      /* Darker Gold */
    --text-dark: #1D2A44;         /* Soft Dark Text */
    --text-light: #F4F6F9;        /* Soft Light Text */
    --bg-light: #F8FAFC;          /* Clean Light Gray */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Premium Gradients */
    --grad-primary: linear-gradient(135deg, #0B2545 0%, #134074 100%);
    --grad-accent: linear-gradient(135deg, #EEB902 0%, #F4D35E 100%);
    --grad-light: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    --grad-dark: linear-gradient(135deg, #061224 0%, #0B2545 100%);
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

/* --- Glassmorphism UI Effects --- */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(11, 37, 69, 0.04);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.glass-card-dark {
    background: rgba(11, 37, 69, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    border-radius: 16px;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(19, 64, 116, 0.15);
    box-shadow: 0 15px 40px rgba(11, 37, 69, 0.08);
}

/* --- Navigation & Sticky Header --- */
.navbar {
    transition: var(--transition-smooth);
    padding: 18px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar.sticky-nav {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
    border-bottom: 1px solid rgba(11, 37, 69, 0.05);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 45px;
    width: auto;
    border-radius: 50%;
    background-color: #ffffff;
    padding: 2px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.logo-img:hover {
    transform: scale(1.05);
}

.navbar-brand span {
    color: var(--accent-color);
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color) !important;
    padding: 8px 16px !important;
    transition: var(--transition-smooth);
    border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary-color) !important;
    border-bottom: 2px solid var(--accent-color);
}

/* --- Mega Menu Custom Styles --- */
.navbar .dropdown {
    position: static;
}

.navbar .mega-menu {
    width: 100%;
    left: 0;
    right: 0;
    top: 100%;
    border: 1px solid rgba(11, 37, 69, 0.05);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 20px 40px rgba(11, 37, 69, 0.08);
    padding: 35px 50px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    display: block;
    transform: translateY(15px);
    transition: var(--transition-smooth);
}

@media (min-width: 992px) {
    .navbar .dropdown:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .navbar .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 10px 15px;
        display: none;
    }
    .navbar .dropdown.show .mega-menu {
        display: block;
    }
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 20px;
        border-radius: 12px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border: 1px solid rgba(11, 37, 69, 0.05);
    }
}

.mega-menu-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(11, 37, 69, 0.05);
}

.mega-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
    border-radius: 8px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.mega-menu-item:hover {
    background: rgba(19, 64, 116, 0.05);
    color: var(--secondary-color);
    transform: translateX(5px);
}

.mega-menu-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
    background: rgba(238, 185, 2, 0.1);
    padding: 10px;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.mega-menu-item:hover i {
    color: #ffffff;
    background: var(--accent-color);
}

/* --- Hero Banner Slider --- */
.hero-slider {
    position: relative;
    height: 620px;
}

.carousel-inner, .carousel-item {
    height: 100%;
}

.carousel-item {
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(6, 18, 36, 0.92) 0%, rgba(11, 37, 69, 0.75) 100%);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.hero-badge {
    background: rgba(238, 185, 2, 0.15);
    color: var(--accent-color);
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 25px;
    border: 1px solid rgba(238, 185, 2, 0.3);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 767px) {
    .hero-slider {
        height: 520px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
}

/* --- Gradient Buttons --- */
.btn-primary-custom {
    background: var(--grad-primary);
    color: #ffffff;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    transition: var(--transition-smooth);
    border: none;
    box-shadow: 0 4px 15px rgba(11, 37, 69, 0.2);
}

.btn-primary-custom:hover {
    background: var(--grad-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 37, 69, 0.35);
}

.btn-accent-custom {
    background: var(--grad-accent);
    color: var(--primary-color);
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 8px;
    transition: var(--transition-smooth);
    border: none;
    box-shadow: 0 4px 15px rgba(238, 185, 2, 0.25);
}

.btn-accent-custom:hover {
    background: var(--grad-accent);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(238, 185, 2, 0.45);
}

/* --- Scroll Reveal Custom Animations --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Services Grid & Card Styling --- */
.section-tag {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

.service-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(19, 64, 116, 0.08);
    color: var(--secondary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-card-icon {
    background: var(--secondary-color);
    color: #ffffff;
    transform: scale(1.05);
}

.service-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card-link {
    color: var(--secondary-color);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    transition: var(--transition-smooth);
}

.service-card-link:hover {
    color: var(--accent-color);
    transform: translateX(3px);
}

/* --- Why Choose Us Counters --- */
.why-us-section {
    background: var(--grad-dark);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.why-us-section h2, .why-us-section h3 {
    color: #ffffff;
}

.feature-box {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-counter {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    height: 100%;
    backdrop-filter: blur(5px);
    transition: var(--transition-smooth);
}

.stat-counter:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* --- Loan Process Section --- */
.process-step {
    text-align: center;
    position: relative;
    padding: 0 15px;
}

.process-step-icon {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border: 3px dashed var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.process-step:hover .process-step-icon {
    background: var(--primary-color);
    color: #ffffff;
    border-style: solid;
    transform: scale(1.08);
}

.process-number {
    position: absolute;
    top: 0;
    right: 0;
    width: 26px;
    height: 26px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

/* Connecting line for process timeline */
@media (min-width: 992px) {
    .process-step:not(:last-child)::before {
        content: '';
        position: absolute;
        top: 40px;
        left: 60%;
        width: 80%;
        height: 2px;
        border-top: 2px dashed rgba(19, 64, 116, 0.2);
        z-index: 1;
    }
}

/* --- Testimonials Section --- */
.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    position: relative;
    margin: 15px 0;
    border: 1px solid rgba(0,0,0,0.04);
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2.5rem;
    color: rgba(19, 64, 116, 0.06);
}

.testimonial-rating {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.client-name {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.client-designation {
    font-size: 0.8rem;
    color: #6c757d;
}

/* --- FAQ Accordion --- */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 12px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.01);
    overflow: hidden;
    border: 1px solid rgba(11, 37, 69, 0.05);
}

.accordion-button {
    font-weight: 700;
    color: var(--primary-color) !important;
    background: #ffffff;
    padding: 20px 25px;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: rgba(19, 64, 116, 0.03);
    color: var(--secondary-color) !important;
}

.accordion-body {
    background: #ffffff;
    padding: 20px 25px;
    line-height: 1.7;
    color: #5a6578;
}

/* --- Contact CTA Section --- */
.contact-cta {
    background: var(--grad-primary);
    color: #ffffff;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 15px 40px rgba(11, 37, 69, 0.12);
    position: relative;
    overflow: hidden;
}

.contact-cta h2 {
    color: #ffffff;
    font-size: 2.2rem;
}

.contact-cta p {
    color: rgba(255, 255, 255, 0.85);
}

/* --- Footer --- */
.footer {
    background: #040d1a;
    color: rgba(255, 255, 255, 0.65);
    padding-top: 80px;
    padding-bottom: 30px;
    font-size: 0.95rem;
}

.footer h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--accent-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact-info {
    list-style: none;
    padding: 0;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact-info i {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.footer-social-icons a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    margin-top: 60px;
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
    animation: pulseWhatsApp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.08);
}

@keyframes pulseWhatsApp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
