
/* premium design system overrides */
:root {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --secondary-color: #10b981;
    --secondary-hover: #059669;
    --dark-bg: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-glass: rgba(255, 255, 255, 0.1);
}

/* global smoothing */
html {
    overflow-x: hidden !important;
    -webkit-text-size-adjust: 100% !important;
    -moz-text-size-adjust: 100% !important;
    -ms-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    scroll-behavior: smooth !important;
}

body {
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden !important;
}

/* ===== PREMIUM HEADER SYSTEM ===== */

/* Top info bar */
.second-topbar {
    background: #0a0f1e !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    padding: 10px 0 !important;
}

.left-topbar ul {
    margin: 0 !important;
    padding: 0 !important;
}

.left-topbar ul li {
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    margin-right: 25px !important;
    display: inline-block !important;
}

.left-topbar ul li i {
    color: var(--primary-color) !important;
    margin-right: 8px !important;
}

.second-social a {
    color: #94a3b8 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
}

.second-social a:hover {
    color: #fff !important;
}

/* Main nav header */
header.second-header {
    background: #0f172a !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 0 !important;
    z-index: 1000 !important;
    transition: all 0.4s ease !important;
}

header.second-header.sticky {
    background: rgba(15, 23, 42, 0.97) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Header inner flex layout */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
}

/* Logo */
.second-logo {
    flex-shrink: 0;
}

.second-logo img {
    max-height: 50px !important;
    width: auto !important;
}

/* Navigation - Desktop only layout */
@media (min-width: 769px) {
    #cssmenu {
        flex: 1;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #cssmenu > ul {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 5px !important;
    }

    #cssmenu > ul > li {
        float: none !important;
        display: inline-block !important;
    }
}

/* Nav link styles (global) */
#cssmenu ul li a,
#cssmenu > ul > li > a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    padding: 8px 14px !important;
    transition: all 0.3s ease !important;
    border-radius: 6px !important;
}

#cssmenu ul li a:hover,
#cssmenu > ul > li > a:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

#cssmenu > ul > li.current-menu-item > a {
    color: var(--primary-color) !important;
}

/* Hide "Apply Now" menu item on desktop - it shows in hamburger on mobile */
.mobile-apply-btn,
#cssmenu ul li.mobile-apply-btn,
li.mobile-apply-btn {
    display: none !important;
}

/* Apply Now button */
.f-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 10px 24px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3) !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}

.f-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4) !important;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
}

/* premium buttons */
.btn {
    border-radius: 50px !important;
    padding: 12px 28px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-transform: uppercase;
    font-size: 13px !important;
    border: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.button-primary, .btn-primary, .btn-default {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    color: #fff !important;
}

.button-primary:hover, .btn-primary:hover, .btn-default:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
}

.button-secondary:hover {
    background: #fff !important;
    color: #1e293b !important;
    transform: translateY(-2px);
}

/* slider enhancements */
.main-slider-item:before {
    background: linear-gradient(to right, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.4)) !important;
}

/* Hero slider - fit within viewport */
.main-slider-welcome-text {
    height: calc(100vh - 120px) !important;
}

.main-title {
    font-size: 72px !important;
    letter-spacing: -0.03em !important;
    line-height: 1.1 !important;
    margin-bottom: 24px !important;
    font-weight: 800 !important;
}

.sub-title {
    font-size: 20px !important;
    color: var(--secondary-color) !important;
    font-weight: 700 !important;
    margin-bottom: 16px !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* section titles */
.section-title h2 {
    font-size: 48px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px !important;
}

/* premium cards (Programs) */
.second-single-servces {
    border-radius: 20px !important;
    overflow: hidden !important;
    border: none !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.second-single-servces:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3) !important;
}

.second-single-servces:hover:before {
    background-color: rgba(15, 23, 42, 0.85) !important;
}

/* loan checking blocks */
.loan-options-checking .col-md-4 {
    padding: 0 !important;
}

.single-loan-checking-options {
    padding: 80px 40px !important;
    transition: all 0.3s ease;
}

.checkingbg1 { background: #1e293b !important; }
.checkingbg2 { background: #0f172a !important; }
.checkingbg3 { background: #1e293b !important; }

/* status indicators / icons */
.proces-icon {
    background: #f1f5f9 !important;
    width: 100px !important;
    height: 100px !important;
    line-height: 100px !important;
    margin-bottom: 30px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.proces-icon span {
    color: var(--primary-color) !important;
    font-size: 36px !important;
}

.process:hover .proces-icon {
    background: var(--primary-color) !important;
    transform: rotate(10deg) scale(1.1);
}

.process:hover .proces-icon span {
    color: #fff !important;
}

/* about section credit list */
.about-cradit-list {
    border-radius: 24px !important;
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
}

.about-cradit-list li {
    font-weight: 500 !important;
    color: #475569 !important;
}

/* testimonials */
section.second-testimonial {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    border-radius: 40px 40px 0 0;
}

.left-qoute {
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.2;
}

/* calculator section */
.calculator-section {
    background: #f8fafc !important;
}

.loan-slider-box {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.total-calculation {
    background: white !important;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px;
}

.emi-price {
    color: var(--primary-color) !important;
    font-weight: 800 !important;
    font-size: 48px !important;
}

/* dream quote section */
.dream-quote {
    background-attachment: fixed !important;
}

.dream-quote:before {
    background-color: rgba(15, 23, 42, 0.8) !important;
}

.dream-quote-text h4 {
    color: var(--secondary-color) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 13px !important;
    margin-bottom: 15px !important;
}

.dream-quote-text h2 {
    font-size: 42px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 30px !important;
}

.dream-quote-text .btn {
    width: auto !important;
    min-width: 140px;
    padding: 10px 24px !important;
    font-size: 11px !important;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.dream-quote-text .btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    box-shadow: 0 15px 30px -5px rgba(59, 130, 246, 0.6) !important;
    transform: translateY(-3px) !important;
}

/* mobile refinements */
@media (max-width: 768px) {
    .main-title {
        font-size: 42px !important;
    }
    .section-title h2 {
        font-size: 32px !important;
    }
    .btn {
        width: 100% !important;
        margin-bottom: 10px;
    }
}

/* ===== VIDEO TESTIMONIAL SLIDER ===== */
.video-testimonial-slider {
    max-width: 300px;
    margin: 0 auto 40px;
}

.single-video-item {
    padding: 0 10px;
}

.single-video-item video {
    width: 100% !important;
    height: auto !important;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.video-testimonial-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex !important;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 !important;
    margin: 0 !important;
}

.video-testimonial-slider .owl-nav button {
    pointer-events: auto;
    background: rgba(15, 23, 42, 0.7) !important;
    color: #fff !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    line-height: 1 !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
}

.video-testimonial-slider .owl-nav button:hover {
    background: var(--primary-color) !important;
}

.video-testimonial-slider .owl-dots {
    text-align: center;
    margin-top: 15px !important;
}

.video-testimonial-slider .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.video-testimonial-slider .owl-dots .owl-dot.active span {
    background: var(--primary-color);
    width: 24px;
    border-radius: 5px;
}

/* luxury footer system - Precision Visibility & Alignment */
.footer-area.footer-two {
    background: #0f172a !important;
    padding: 100px 0 60px !important;
    position: relative;
    overflow: hidden;
}

/* Remove the dark overlay that was obscuring text */
.footer-area.footer-two:before {
    display: none !important;
}

/* Ensure content is positioned correctly */
.footer-area.footer-two .container {
    position: relative;
    z-index: 5;
}

.footer-logo {
    display: block !important;
    text-align: left !important;
    margin-bottom: 30px !important;
}

.footer-logo img {
    max-height: 55px !important;
    width: auto !important;
    display: block !important;
    margin-left: 0 !important;
}

.brand-description {
    color: #cbd5e1 !important; /* Brighter slate for visibility */
    line-height: 1.8 !important;
    font-size: 15px !important;
    margin-bottom: 30px !important;
    text-align: left !important;
    max-width: 100% !important;
}

.brand-description strong {
    color: #ffffff !important;
    font-weight: 700;
}

.footer-title h4 {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    margin-bottom: 25px !important;
    display: block !important;
    line-height: 1.2 !important;
}

/* Remove the accent line that looked broken */
.footer-title h4:after {
    display: none !important;
    content: none !important;
}

.footer-widget p {
    color: #cbd5e1 !important;
    line-height: 1.8 !important;
    font-size: 15px !important;
    margin-bottom: 0 !important;
    text-align: left !important;
}
 
/* Fix clashing bullets / alignment in pages-widget */
.pages-widget ul {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.pages-widget ul li {
    margin-bottom: 15px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    list-style-type: none !important;
}

.pages-widget ul li:before {
    content: "\f105" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    color: var(--primary-color) !important;
    font-size: 14px !important;
    margin-right: 12px !important;
    display: inline-block !important;
    flex-shrink: 0;
}

/* Force hide duplicate bullets from older CSS */
.pages-widget ul li a:before,
.footer-widget ul li:before,
.footer-widget li:before {
    display: none !important;
    content: none !important;
}

.pages-widget ul li a {
    color: #94a3b8 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-transform: capitalize;
    line-height: 1.2 !important;
}

.pages-widget ul li a:hover {
    color: #fff !important;
    transform: translateX(3px);
}

/* Contact widget - override ALL old float-based layout */
.contact-widget ul {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.contact-widget ul li,
.contact-widget li {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 18px !important;
    gap: 12px !important;
    overflow: visible !important;
}

.contact-widget .icon,
.contact-widget li .icon {
    float: none !important;  /* Kill old float */
    background: rgba(59, 130, 246, 0.1) !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(59, 130, 246, 0.15) !important;
    margin-right: 0 !important;  /* Kill old margin */
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.contact-widget .icon img {
    filter: brightness(0) invert(1) !important;
    width: 16px !important;
    height: 16px !important;
}

.contact-widget .content,
.contact-widget li .content {
    padding-left: 0 !important;  /* Kill the old 54px padding */
    float: none !important;
    flex: 1;
}

.contact-widget .content p,
.contact-widget li .content p {
    color: #cbd5e1 !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    text-align: left !important;
}

/* Copyright Section Fix */
.copy-right-section {
    background: #0b1120 !important;
    padding: 25px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.03) !important;
}

.copyright-text p {
    color: #475569 !important;
    font-size: 13px !important;
    margin: 0 !important;
    font-weight: 600 !important;
}

.footer-nav {
    display: flex !important;
    gap: 30px !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    flex-wrap: nowrap !important;
}

.footer-nav li {
    white-space: nowrap !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-nav li:before {
    display: none !important;
    content: none !important;
}

.footer-nav li a {
    color: #475569 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease !important;
}

.footer-nav li a:hover {
    color: #fff !important;
}

@media (max-width: 1200px) {
    .footer-nav {
        gap: 15px !important;
    }
    #cssmenu ul li a,
    #cssmenu > ul > li > a {
        padding: 8px 10px !important;
        font-size: 11px !important;
    }
}

/* ===== TABLET & MOBILE RESPONSIVE ===== */
@media (max-width: 991px) {

    /* Topbar - single line on tablet */
    .second-topbar {
        padding: 6px 0 !important;
    }
    .second-topbar .row {
        display: flex !important;
        align-items: center !important;
    }
    .second-topbar .col-md-8 {
        flex: 1 !important;
    }
    .second-topbar .col-md-4 {
        flex: 0 0 auto !important;
        width: auto !important;
    }
    .second-topbar .left-topbar {
        text-align: left !important;
    }
    .second-topbar .left-topbar li {
        font-size: 11px !important;
        margin-right: 12px !important;
    }
    .second-social {
        text-align: right !important;
        margin-top: 0 !important;
    }

    /* Header */
    header.second-header {
        padding: 12px 0 !important;
    }

    /* Header inner - flex row for logo + hamburger */
    .header-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-height: auto !important;
        flex-wrap: wrap !important;
    }

    /* Logo */
    .second-logo {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        z-index: 1001 !important;
    }
    .second-logo img {
        max-height: 40px !important;
    }

    /* Hide the desktop CTA button */
    .header-cta {
        display: none !important;
    }

    /* Footer */
    .footer-nav {
        justify-content: center !important;
        margin-top: 25px !important;
        flex-wrap: wrap !important;
        gap: 20px !important;
    }
    .copyright-text {
        text-align: center !important;
    }
    .footer-widget {
        margin-bottom: 40px !important;
    }
    .footer-area.footer-two {
        padding: 60px 0 30px !important;
    }
}

/* ===== PREMIUM FAQ SYSTEM v2 ===== */
.customer-faq-section {
    background-color: #f8fafc !important; 
    position: relative;
    overflow: hidden;
    padding: 120px 0 !important;
}

.customer-faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/faq-bg.png') no-repeat center center;
    background-size: cover;
    opacity: 0.08;
    z-index: 0;
}

.customer-faq-section .container {
    position: relative;
    z-index: 1;
}

.customer-faq-section .section-title h2 {
    font-size: 56px !important;
    background: linear-gradient(135deg, #0f172a 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px !important;
    font-weight: 900 !important;
}

.premium-accordion .card {
    border: 1px solid rgba(15, 23, 42, 0.05) !important;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 24px !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow: hidden;
}

.premium-accordion .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.15) !important;
    border-color: rgba(59, 130, 246, 0.2) !important;
    background: #ffffff !important;
}

.premium-accordion .card-header {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.premium-accordion .btn-link {
    width: 100%;
    padding: 30px 40px !important;
    text-decoration: none !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 20px !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease !important;
    text-align: left;
    white-space: normal;
    border: none !important;
    letter-spacing: -0.02em;
}

.premium-accordion .btn-link:hover,
.premium-accordion .btn-link:focus {
    color: var(--primary-color) !important;
    text-decoration: none !important;
}

.premium-accordion .btn-link::after {
    content: '\f067'; /* Plus icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 16px;
    background: #ffffff;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-left: 20px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.premium-accordion .btn-link:not(.collapsed) {
    color: var(--primary-color) !important;
    background: linear-gradient(to right, rgba(59, 130, 246, 0.04), transparent);
}

.premium-accordion .btn-link:not(.collapsed)::after {
    content: '\f068'; /* Minus icon */
    background: var(--primary-color);
    color: #ffffff;
    transform: rotate(180deg);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.premium-accordion .card-body {
    padding: 0 40px 40px 40px !important;
    color: #475569 !important;
    font-size: 17px !important;
    line-height: 1.8 !important;
    border: none !important;
    font-weight: 500;
}

/* FAQ Categories */
.faq-categories {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.faq-cat-pill {
    padding: 12px 28px;
    background: #fff;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.faq-cat-pill:hover, .faq-cat-pill.active {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.25);
    border-color: var(--primary-color);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .customer-faq-section {
        padding: 80px 0 !important;
    }
    .customer-faq-section .section-title h2 {
        font-size: 36px !important;
    }
    .premium-accordion .btn-link {
        padding: 24px 25px !important;
        font-size: 16px !important;
    }
    .premium-accordion .card-body {
        padding: 0 25px 25px 25px !important;
        font-size: 15px !important;
    }
    .premium-accordion .btn-link::after {
        width: 38px;
        height: 38px;
        font-size: 14px;
        border-radius: 10px;
    }
}

/* ===== MOBILE - matches menumaker.js breakpoint: 768 ===== */
@media (max-width: 768px) {

    /* Override #cssmenu background from menumaker.css */
    #cssmenu,
    #cssmenu.small-screen {
        background: transparent !important;
        width: 100% !important;
        order: 3 !important;
        position: static !important; /* let #menu-button reference .header-inner */
    }

    /* .header-inner is the positioning context for the hamburger */
    .header-inner {
        position: relative !important;
    }

    /* Hamburger menu button - top right of .header-inner, same line as logo */
    #cssmenu.small-screen #menu-button {
        position: absolute !important;
        right: 0 !important;
        top: 5px !important;
        color: #ffffff !important;
        z-index: 9999 !important;
        padding: 17px !important;
        background: transparent !important;
    }
    #cssmenu.small-screen #menu-button:before {
        background: #ffffff !important;
    }
    #cssmenu.small-screen #menu-button:after {
        border-color: #ffffff !important;
    }
    #cssmenu.small-screen #menu-button.menu-opened:after,
    #cssmenu.small-screen #menu-button.menu-opened:before {
        background: #ffffff !important;
    }

    /* Mobile nav dropdown */
    #cssmenu.small-screen > ul {
        margin-top: 10px !important;
        background: #0f172a !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
    }

    /* Nav items */
    #cssmenu.small-screen ul li,
    .second-header div#cssmenu ul li,
    .second-header #cssmenu ul li {
        background: #0f172a !important;
        border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
        border-bottom: none !important;
        text-align: left !important;
        width: 100% !important;
        float: none !important;
    }
    #cssmenu.small-screen ul li:first-child {
        border-top: none !important;
    }

    /* Nav links */
    #cssmenu.small-screen ul li a,
    #cssmenu.small-screen > ul > li > a {
        font-size: 13px !important;
        padding: 14px 20px !important;
        display: block !important;
        border-radius: 0 !important;
        color: rgba(255, 255, 255, 0.85) !important;
        background: transparent !important;
        width: 100% !important;
    }
    #cssmenu.small-screen ul li a:hover {
        background: rgba(59, 130, 246, 0.1) !important;
        color: #ffffff !important;
    }

    /* Hide external Apply Now button on mobile */
    .f-btn {
        display: none !important;
    }

    /* Show "Apply Now" inside the hamburger menu */
    .mobile-apply-btn {
        display: block !important;
    }
    #cssmenu.small-screen ul li.mobile-apply-btn a {
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
        color: #ffffff !important;
        text-align: center !important;
        font-weight: 700 !important;
        letter-spacing: 0.1em !important;
        padding: 14px 20px !important;
    }

    /* Logo */
    .second-logo {
        margin-bottom: 0 !important;
    }
    .second-logo img {
        max-height: 38px !important;
    }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 767px) {

    /* Topbar */
    .second-topbar .left-topbar li {
        font-size: 11px !important;
        margin-right: 10px !important;
        display: inline-block !important;
    }

    /* Header */
    header.second-header {
        padding: 10px 0 !important;
    }
    .second-logo img {
        max-height: 35px !important;
    }

    /* Prevent zoomed-in feel */
    h1, .main-title {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
    h2, .sub-title {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }
    h3 {
        font-size: 16px !important;
    }
    h4 {
        font-size: 14px !important;
    }
    p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .section-padding {
        padding: 40px 0 !important;
    }
    .btn {
        padding: 10px 22px !important;
        font-size: 12px !important;
    }

    /* Footer */
    .footer-area.footer-two {
        padding: 50px 0 20px !important;
    }
    .footer-logo img {
        max-height: 45px !important;
    }
    .brand-description {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }
    .footer-widget {
        margin-bottom: 35px !important;
    }
    .contact-widget ul li,
    .contact-widget li {
        margin-bottom: 14px !important;
        gap: 10px !important;
    }
    .contact-widget .icon,
    .contact-widget li .icon {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
    }
    .contact-widget .content p,
    .contact-widget li .content p {
        font-size: 13px !important;
    }
    .footer-nav {
        gap: 15px !important;
        flex-wrap: wrap !important;
    }
    .footer-nav li a {
        font-size: 11px !important;
    }
    .copyright-text p {
        font-size: 12px !important;
    }
    .copy-right-section {
        padding: 18px 0 !important;
    }
}

/* ===== PREMIUM CONTACT PAGE ===== */
.page-header.contact-header {
    background: url('../img/contact-header.png') no-repeat center center;
    background-size: cover;
    padding: 160px 0 120px !important;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header.contact-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.6));
    z-index: 1;
}

.page-header.contact-header .container {
    position: relative;
    z-index: 2;
}

.page-header.contact-header h2 {
    font-size: 64px !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em !important;
    color: #fff !important;
    margin-bottom: 20px !important;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.contact-info-grid {
    margin-top: -80px;
    margin-bottom: 100px;
    position: relative;
    z-index: 10;
}

.contact-info-card {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(15, 23, 42, 0.03);
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.2);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    background: rgba(59, 130, 246, 0.08);
    color: var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.contact-info-card h4 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.contact-info-card p {
    color: #64748b;
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}

.contact-info-card a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: var(--primary-color);
}

/* Contact Form Redesign */
.contact-form-section {
    padding-bottom: 120px !important;
    position: relative;
    background: #f8fafc;
}

.contact-form-card {
    background: #ffffff;
    padding: 60px;
    border-radius: 40px;
    box-shadow: 0 40px 100px -15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.contact-form-card h2 {
    font-size: 40px !important;
    font-weight: 900 !important;
    color: #0f172a;
    margin-bottom: 15px !important;
    letter-spacing: -0.02em;
}

.contact-form-card p {
    color: #64748b;
    margin-bottom: 50px !important;
    font-size: 18px;
    font-weight: 500;
}

.single-get-touch input,
.single-get-touch textarea {
    width: 100% !important;
    background: #f1f5f9 !important;
    border: 2px solid transparent !important;
    border-radius: 16px !important;
    padding: 18px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    transition: all 0.3s ease !important;
    margin-bottom: 25px !important;
}

.single-get-touch input:focus,
.single-get-touch textarea:focus {
    background: #ffffff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.08) !important;
    outline: none !important;
}

.single-get-touch textarea {
    height: 180px !important;
    resize: none !important;
}

.contact-badge-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
    padding-right: 30px;
}

.contact-badge-icon {
    width: 54px;
    height: 54px;
    background: #ffffff;
    color: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-badge-text h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.contact-badge-text p {
    margin: 0;
    font-size: 15px;
    color: #64748b;
    font-weight: 500;
    line-height: 1.4;
}

/* responsive refinements */
@media (max-width: 991px) {
    .contact-badge-item { padding-right: 0; }
    .contact-form-card { padding: 40px; }
}

@media (max-width: 768px) {
    .page-header.contact-header {
        padding: 120px 0 80px !important;
    }
    .page-header.contact-header h2 {
        font-size: 42px !important;
    }
    .contact-info-grid {
        margin-top: -60px;
        margin-bottom: 60px;
    }
    .contact-info-card {
        padding: 40px 25px;
        margin-bottom: 25px;
    }
    .contact-form-card {
        padding: 40px 25px;
        border-radius: 30px;
    }
    .contact-form-card h2 { font-size: 30px !important; }
}
