:root {
    /* typography standardized */
    --primary: #1B4E9B;
    --primary-dark: #153e7d;
    --secondary: #FECE08;
    --secondary-hover: #e6ba07;
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    --light-bg: #f8fdfb;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

html,
body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    scroll-behavior: smooth;
}

html {
    overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: var(--primary);
}

/* Navbar */
.navbar {
    padding: 0.7rem 0;
    transition: var(--transition);
    background-color: #ffffff !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary) !important;
}

.navbar .navbar-brand img {
    height: 90px;
    transition: var(--transition);
}

.navbar.scrolled .navbar-brand img {
    height: 50px;
}

footer .navbar-brand img {
    height: 140px;
}

.navbar.scrolled .navbar-brand {
    color: var(--primary) !important;
}

.nav-link {
    font-weight: 600;
    color: var(--primary) !important;
    margin: 0 10px;
    position: relative;
    opacity: 0.9;
    transition: var(--transition);
}

.navbar.scrolled .nav-link {
    color: var(--primary) !important;
    opacity: 1;
}

.nav-link:hover {
    color: var(--secondary) !important;
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    border: none;
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary);
    border: none;
    color: #000;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    color: #000;
}

.nav-phone {
    color: var(--primary) !important;
    transition: var(--transition);
}

.navbar.scrolled .nav-phone {
    color: var(--primary) !important;
}

.nav-phone i {
    color: var(--primary) !important;
}

/* Navbar Dropdown styling */
.dropdown-menu {
    background-color: #ffffff !important;
    border: none;
    padding: 10px 0;
    margin-top: 5px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
}

@media (min-width: 992px) {
    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-item.dropdown:hover>.dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.dropdown-item {
    color: var(--text-dark) !important;
    padding: 12px 30px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.dropdown-item i {
    width: 25px;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    color: var(--primary) !important;
}

.dropdown-item:hover {
    background-color: var(--secondary) !important;
    color: #000 !important;
    padding-left: 38px;
}

.dropdown-item:hover i {
    transform: scale(1.2);
    color: #000 !important;
}

.dropdown-toggle::after {
    display: none !important;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    display: inline-block;
    font-size: 0.75rem;
}

.nav-item.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--secondary);
}

/* Hero Section */

#home h1 {
    color: white;

}

.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../assets/images/hero.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--secondary);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Sections */
.section-padding {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.section-title span {
    color: var(--text-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

/* Cards */
/* Creative Solar Solutions Grid */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.solution-card-modern {
    position: relative;
    height: 480px;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
}

.solution-card-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(27, 78, 155, 0.2) 40%, rgba(27, 78, 155, 0.9) 100%);
    z-index: 1;
    transition: opacity 0.5s;
}

.solution-card-modern:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(27, 78, 155, 0.3);
}

.solution-card-modern:hover::before {
    opacity: 0.8;
}

.solution-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    color: var(--white);
    transform: translateY(60px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.solution-card-modern:hover .solution-content {
    transform: translateY(0);
}

.solution-tag {
    position: absolute;
    top: 20px;
    left: 0;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    background: var(--white);
    padding: 7px 30px 7px 15px;
    display: block;
    z-index: 10;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    clip-path: polygon(0% 0%, 100% 0%, 90% 50%, 100% 100%, 0% 100%);
    transition: all 0.3s ease;
}

.solution-card-modern:hover .solution-tag {
    background: var(--secondary);
    color: #fff;
    padding-right: 35px;
}

.solution-title-modern {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--white) !important;
}

.solution-outcome-modern {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
}

.solution-hover-info {
    opacity: 0;
    transition: opacity 0.4s ease 0.1s;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.solution-card-modern:hover .solution-hover-info {
    opacity: 1;
}

.btn-solution {
    display: flex;
    align-items: center;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    gap: 10px;
}

/* Feature Box */
.feature-box {
    text-align: center;
    padding: 40px;
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: var(--transition);
}

.feature-box i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

/* Creative Process Redesign */
.process-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #eee 10%, #eee 90%, transparent);
    z-index: -1;
}

.process-icon-box {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.process-icon-box::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px dashed var(--secondary);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
    opacity: 0.3;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.row:hover .process-icon-box {
    background: var(--primary);
    transform: scale(1.1);
    border-color: var(--primary);
}

.row:hover .process-icon-box i {
    color: var(--white) !important;
}

.row:hover .process-icon-box::after {
    opacity: 1;
    border-color: var(--secondary);
}

.step-num-badge {
    display: inline-block;
    padding: 5px 15px;
    background: var(--light-bg);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    margin-bottom: 15px;
    border: 1px solid rgba(27, 78, 155, 0.1);
}


.bg-dark-blue {
    background: var(--primary);
    color: var(--white);
}

.diff-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    height: 100%;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.diff-card:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-5px);
}

.diff-card h5 {
    color: var(--primary) !important;
}

.diff-card p {
    color: var(--text-muted) !important;
}

.diff-card-light {
    background: var(--primary);
    padding: 35px 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 15px 45px rgba(27, 78, 155, 0.15);
}

.diff-card-light:hover {
    transform: translateY(-8px);
    background: var(--primary-dark);
    box-shadow: 0 20px 60px rgba(27, 78, 155, 0.25);
    border-color: var(--secondary);
}

.diff-card-light i {
    color: var(--secondary) !important;
}

.diff-card-light h5 {
    color: var(--white) !important;
    font-weight: 800;
    margin-bottom: 15px;
}

.diff-card-light p {
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.5;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
}

/* Contact Form */
.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.form-control {
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 20px;
}

/* Swiper Customization */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--primary) !important;
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 5px;
    transition: var(--transition);
}

.footer-link {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 10px;
}

.footer-link:hover {
    color: var(--secondary);
    padding-left: 5px;
}

/* Animations */
[data-aos] {
    transition-duration: 1000ms !important;
}

/* =========================================================
   PREMIUM CUSTOM FORMS
========================================================= */
.contact-section-dark {
    background: #0a0a0a !important;
    padding: 100px 0;
    color: var(--white);
}

.label-tag-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.label-tag-custom::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--secondary);
}

.form-tab-nav {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 2rem;
}

.form-tab-btn {
    font-family: 'Lato', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.875rem 1.25rem;
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    position: relative;
    transition: color 0.25s;
}

.form-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--secondary);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-tab-btn.active {
    color: var(--white);
}

.form-tab-btn.active::after {
    transform: scaleX(1);
}

.form-tab-pane {
    display: none;
    animation: tabFadeIn 0.4s ease-out;
}

.form-tab-pane.active {
    display: block;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-wrap-custom {
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.form-control-custom {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 0.85rem 1.15rem;
    font-size: 0.92rem;
    color: var(--white);
    transition: border-color 0.25s, box-shadow 0.2s;
    outline: none;
    display: block;
}

.form-control-custom:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(254, 206, 8, 0.15);
}

.form-control-custom::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.radio-group-custom {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.radio-chip {
    position: relative;
}

.radio-chip input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-chip-label {
    display: block;
    padding: 0.6rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s;
}

.radio-chip input:checked+.radio-chip-label {
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(254, 206, 8, 0.1);
}

.btn-solar-submit {
    width: 100%;
    padding: 1.1rem;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-solar-submit:hover {
    background: #f1c40f;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(254, 206, 8, 0.3);
}

.contact-info-card {
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2.5rem;
    border-radius: 4px;
    height: 100%;
}

.contact-info-item {
    margin-bottom: 2rem;
}

.contact-icon-box {
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 1.25rem;
    transition: transform 0.3s;
}

.contact-info-item:hover .contact-icon-box {
    transform: translateY(-5px);
    background: rgba(254, 206, 8, 0.1);
}

/* Success Animation */
.success-screen-custom {
    display: none;
    text-align: center;
    padding: 4rem 1rem;
}

.success-screen-custom.show {
    display: block;
}

.success-icon-custom {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #1a1a1a;
    margin: 0 auto 2rem;
    animation: successPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successPop {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* =========================================================
   LIGHT THEME OVERRIDES
========================================================= */
.contact-section-light {
    background: var(--light-bg) !important;
    padding: 100px 0;
    color: var(--text-dark);
}

.contact-section-light .contact-info-card,
.contact-section-light .form-wrap-custom {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.contact-section-light .form-tab-nav {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-section-light .form-tab-btn {
    color: rgba(0, 0, 0, 0.4);
}

.contact-section-light .form-tab-btn.active {
    color: var(--text-dark);
}

.contact-section-light .form-control-custom {
    background: #fdfdfd;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
}

.contact-section-light .form-label-custom {
    color: var(--text-muted);
}

.contact-section-light .form-control-custom:focus {
    background: var(--white);
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(254, 206, 8, 0.1);
}

.contact-section-light .form-control-custom::placeholder {
    color: var(--text-muted);
}

.contact-section-light .radio-chip-label {
    border-color: rgba(0, 0, 0, 0.12);
    color: var(--text-muted);
}

.contact-section-light .radio-chip input:checked+.radio-chip-label {
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(254, 206, 8, 0.06);
}

.contact-section-light .contact-icon-box {
    background: rgba(0, 0, 0, 0.04);
}

.contact-section-light .contact-info-item:hover .contact-icon-box {
    background: rgba(254, 206, 8, 0.08);
}

.contact-section-light .success-title {
    color: var(--text-dark);
}

.contact-section-light .success-sub {
    color: var(--text-muted);
}

/* =========================================================
   SOLUTIONS PAGE - VERTICAL TABS
========================================================= */
.solutions-section {
    background: var(--white);
}

.sticky-wrapper {
    position: sticky;
    top: 100px;
    z-index: 10;
}

/* Quote Form Card */
.quote-form-card {
    background: var(--white);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 100px;
    z-index: 90;
    transition: all 0.3s ease;
}

#quote-form,
.quote-form-scroll-anchor {
    scroll-margin-top: 120px;
}

.quote-form-scroll-anchor {
    display: block;
    height: 0;
    position: relative;
    top: -12px;
}

.quote-form-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    z-index: -1;
    border-radius: 26px;
    opacity: 0.15;
}

.quote-form-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.quote-form-header h4 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.quote-form-header p {
    font-size: 0.82rem !important;
    color: var(--text-muted);
    margin-bottom: 0;
}

.compact-form .form-label-calc {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: block;
}

.compact-form .form-control {
    font-size: 0.9rem;
    padding: 12px 16px;
    border-radius: 10px;
    background: #f8faff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.compact-form .form-control:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(27, 78, 155, 0.05);
}

.quote-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--white) !important;
    font-weight: 800;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    transition: all 0.3s;
    border: none;
    margin-top: 15px;
}

.quote-submit-btn:hover {
    background: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.bill-radio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 5px;
}

.bill-radio-item {
    position: relative;
}

.bill-radio-item input {
    position: absolute;
    opacity: 0;
}

.bill-radio-item label {
    display: block;
    padding: 8px 10px;
    background: #f8faff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 0;
}

.bill-radio-item input:checked+label {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--text-dark);
}

@media (max-width: 991px) {
    .quote-form-card {
        position: static;
        margin-top: 40px;
        padding: 25px;
    }
}


.solutions-nav .nav-link.active i {
    color: var(--secondary);
}

.solution-tab-content {
    animation: fadeIn 0.5s ease;
}

.solution-detail-card {
    background: var(--white);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.solution-header-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(27, 78, 155, 0.05);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.solution-main-title {
    font-size: 3rem;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 25px;
}

.solution-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.solution-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.solution-feature-item {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.solution-feature-item i {
    color: var(--secondary);
    margin-bottom: 10px;
    display: block;
}

.solution-feature-item span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
}

.solution-feature-item p {
    font-size: 0.85rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

.outcome-box {
    background: var(--primary);
    color: var(--white);
    padding: 30px;
    border-radius: 20px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.outcome-box i {
    font-size: 2.5rem;
    color: var(--secondary);
}

.outcome-box h4 {
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.outcome-box p {
    margin-bottom: 0;
    opacity: 0.8;
}

@media (max-width: 991px) {

    .solution-main-title {
        font-size: 2.2rem;
    }

    .solution-detail-card {
        padding: 30px 20px;
    }
}

/* Theme Overrides */
.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--text-dark) !important;
}

/* About Page Custom Components */
.bg-card-step {
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bg-card-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.step-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(27, 78, 155, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
    transition: all 0.3s ease;
}

.bg-card-step:hover .step-num {
    color: rgba(27, 78, 155, 0.1);
    transform: scale(1.1);
}

/* Philosophy Section Styles */
.bg-philosophy {
    background-color: #f8faff;
    position: relative;
    overflow: hidden;
}

.philosophy-card {
    background: #fff;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(27, 78, 155, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(27, 78, 155, 0.05);
    display: flex;
    flex-direction: column;
}

.philosophy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(27, 78, 155, 0.08);
    border-color: var(--primary);
}

.philosophy-card.highlight {
    background: var(--primary);
    color: #fff;
}

.philosophy-card.highlight .philosophy-label {
    color: var(--secondary);
}

.philosophy-card.highlight .philosophy-icon-wrap {
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary);
}

.philosophy-icon-wrap {
    width: 70px;
    height: 70px;
    background: rgba(27, 78, 155, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.philosophy-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.lead-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
}

.philosophy-list {
    display: grid;
    gap: 15px;
}

.phi-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
}

.phi-item i {
    font-size: 0.7rem;
    color: var(--secondary);
}

/* Unified Philosophy Styles */
.philosophy-unified-card {
    background: #fff;
    padding: 60px 40px;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(27, 78, 155, 0.05);
}

.philosophy-divider {
    opacity: 0.1;
    border-top: 2px solid var(--primary);
    width: 60px;
    margin-left: auto;
    margin-right: auto;
}

.philosophy-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: left;
}

.phi-box {
    background: #f8faff;
    padding: 20px;
    border-radius: 15px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.phi-box:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-5px);
}

.phi-box i {
    color: var(--secondary);
    font-size: 1.1rem;
}

/* Global Paragraph Standard */
p {
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
}

.lead {
    font-size: 1.1rem !important;
    font-family: 'Lato', sans-serif !important;
}

/* Updated Hero Slider - cleaned */
.hero-overlay-content p {
    color: rgba(255, 255, 255, 0.9);
}




/* Hero Slider */
.hero-slider-section {
    position: relative;
    height: calc(100vh - 110px);
    /* Adjust height to fit screen below navbar */
    margin-top: 110px;
    /* Push below fixed navbar */
    min-height: 500px;
    overflow: hidden;
}

.hero-swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-swiper .swiper-slide {
    overflow: hidden;
}

.hero-slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-swiper .swiper-slide-active .hero-slide-bg {
    transform: none;
}

.hero-slide-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    /* Darker overlay for text readability */
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: flex-start;
    /* Moved to top */
    justify-content: center;
    color: #fff;
    padding-top: 35px;
    /* Added padding for better spacing from the top */
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    font-weight: 400;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    padding: 12px 40px;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 8px;
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-btn:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}



.hero-pagination {
    z-index: 20 !important;
    bottom: 30px !important;
}

.hero-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: all 0.3s ease;
}

.hero-pagination .swiper-pagination-bullet-active {
    background: var(--secondary);
    width: 35px;
    border-radius: 6px;
}

/* Responsive adjustments for laptop screens */
@media (max-width: 1400px) {
    .hero-slider-section {
        height: 60vh;
        margin-top: 90px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .hero-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }

    .luxury-brand-seal {
        bottom: 30px;
        left: 40px;
    }

    .seal-container {
        width: 160px;
        height: 160px;
    }

    .seal-logo-wrap {
        width: 100px;
        height: 100px;
    }

    .hero-slider-section {
        min-height: 550px;
    }
}

/* Creative Page Header Component */
.creative-page-header {
    position: relative;
    min-height: 480px;
    padding: 30px 0 40px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    margin-top: 80px;
    overflow: hidden;
}

.about-page-header {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-page-header .header-content-inner {
    width: min(920px, 92%);
    margin: 0 auto;
}

.about-page-header .header-tagline {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.creative-page-header::before {
    content: none;
}

.solution-page-header {
    width: 100%;
    min-height: 0;
    height: min(500px, calc(100vw / 3.808));
    padding: 0;
    background-size: 100% 100%;
}

@media (max-width: 1400px) {
    .solution-page-header {
        height: calc(100vw / 3.808);
        margin-top: 90px;
    }
}

@media (max-width: 991px) {
    .solution-page-header {
        height: max(230px, calc(100vw / 3.808));
        background-size: cover;
        background-position: center center !important;
    }
}

@media (max-width: 768px) {
    .creative-page-header {
        min-height: 105px;
        padding: 18px 0 22px;
        background-position: center center;
        background-attachment: scroll;
    }

    .solution-page-header {
        min-height: 0;
        height: max(190px, calc(100vw / 3.808));
        padding: 0;
    }

    .about-page-header {
        min-height: 320px;
        background-size: cover;
        padding: 24px 0;
    }

    .creative-page-header .header-content-inner {
        padding: 0 18px;
    }

    .creative-page-header .header-content-inner h1 {
        font-size: clamp(1.9rem, 8vw, 2.8rem);
        line-height: 1.1;
    }

    .creative-page-header .header-content-inner p {
        font-size: 0.95rem;
        max-width: 92vw;
        margin-left: auto;
        margin-right: auto;
    }
}

/* =========================================================
   SOLAR CALCULATOR PREMIUM STYLES
========================================================= */

.calculator-hero {
    background: linear-gradient(135deg, #f8fdfb 0%, #e6f7f2 100%);
    min-height: 90vh;
}

/* Glassmorphism Form */
.glass-form {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 30px 60px rgba(27, 78, 155, 0.08) !important;
}

/* Glass Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.result-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: 0 20px 45px rgba(27, 78, 155, 0.08);
}

/* Icon Wrap */
.icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.bg-primary-light {
    background: rgba(27, 78, 155, 0.1);
}

.bg-secondary-light {
    background: rgba(254, 206, 8, 0.1);
}

/* Custom Slider Styles */
.custom-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 10px;
    outline: none;
    transition: background 0.3s;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--secondary);
    border: 3px solid var(--white);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(254, 206, 8, 0.4);
    transition: transform 0.2s;
}

.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.custom-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--secondary);
    border: 3px solid var(--white);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(254, 206, 8, 0.4);
}

/* Savings Container */
.savings-container {
    border-left: 5px solid var(--secondary);
}

/* Investment Box */
.investment-box {
    background: linear-gradient(135deg, var(--primary) 0%, #153e7d 100%) !important;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.investment-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(254, 206, 8, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Impact Cards */
.impact-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.impact-card:hover {
    transform: scale(1.05);
}

.x-small {
    font-size: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .calculator-hero {
        padding-top: 2rem !important;
    }

    .savings-container .border-start {
        border-left: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 1rem;
        margin-top: 1rem;
    }

    .savings-container .row>div:first-child {
        padding-top: 0;
    }
}

/* =========================================================
   NEW LEAD FORM STYLES
========================================================= */
.form-wrapper {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.city-form-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.city-form-para {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.tab-headers .nav-pills {
    background: #f0f4f8;
    padding: 5px;
    border-radius: 50px;
    margin-bottom: 25px;
}

.tab-headers .nav-link {
    border-radius: 50px !important;
    padding: 10px 20px !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    transition: all 0.3s ease;
}

.tab-headers .nav-link.active {
    background-color: var(--primary) !important;
    color: white !important;
}

.form-label-calc {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-label-calc.required::after {
    content: " *";
    color: #e74c3c;
}

.form-input-calc {
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-input-calc:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(27, 78, 155, 0.1);
}

/* Searchable City/Pincode Combobox */
.location-combobox {
    position: relative;
    width: 100%;
}

.location-combobox-input {
    padding-right: 42px !important;
    background-image: radial-gradient(circle, var(--secondary) 0 3px, transparent 4px), linear-gradient(90deg, rgba(27, 78, 155, 0.16), rgba(27, 78, 155, 0.16));
    background-position: calc(100% - 20px) 50%, calc(100% - 36px) 50%;
    background-size: 8px 8px, 1px 20px;
    background-repeat: no-repeat;
}

.location-combobox-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1050;
    max-height: 190px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(27, 78, 155, 0.1);
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
    padding: 5px;
    backdrop-filter: blur(10px);
}

.location-combobox-menu::-webkit-scrollbar {
    width: 6px;
}

.location-combobox-menu::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 999px;
}

.location-combobox-menu::-webkit-scrollbar-thumb {
    background: rgba(27, 78, 155, 0.22);
    border-radius: 999px;
}

.location-combobox-option {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 10px;
    border-radius: 9px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.location-combobox-option:hover,
.location-combobox-option:focus {
    background: linear-gradient(90deg, rgba(254, 206, 8, 0.14), rgba(27, 78, 155, 0.06));
    color: var(--primary);
    transform: translateX(2px);
    outline: none;
}

.location-combobox-city {
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.25;
}

.location-combobox-pin {
    flex: 0 0 auto;
    color: rgba(27, 78, 155, 0.72);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding-left: 10px;
    border-left: 1px solid rgba(27, 78, 155, 0.12);
}

.location-combobox-empty {
    padding: 10px;
    color: var(--text-muted);
    font-size: 0.82rem;
    text-align: center;
}

/* Custom Radio Chips */
.custom-radio-block {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.custom-radio {
    background: #f8f9fa;
    border: 1px solid #e1e8ed;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-muted);
}

.custom-radio:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.custom-radio.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(254, 206, 8, 0.3);
}

.monthly-h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.form-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 78, 155, 0.2);
}

.policy-check {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-check span a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.monthly-desc {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================================================
   DELAYED POPUP MODAL STYLES
========================================================= */
#formPopupModal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

#formPopupModal .modal-header {
    background: var(--primary);
    color: white;
    border-bottom: none;
    padding: 1.5rem 2rem;
}

#formPopupModal .modal-body {
    padding: 2rem;
    background: #fcfcfc;
}

#formPopupModal .btn-close {
    filter: brightness(0) invert(1);
}

#formPopupModal .form-div {
    margin: 0;
    padding: 0;
}

#formPopupModal .city-form-div {
    text-align: center;
}

#formPopupModal .nav-pills {
    background: #eee;
    padding: 5px;
    border-radius: 10px;
    margin-bottom: 2rem;
}

#formPopupModal .nav-pills .nav-link {
    border-radius: 8px;
    font-weight: 700;
    color: #666;
    font-size: 0.9rem;
}

#formPopupModal .nav-pills .nav-link.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}


/* =========================================================
   PREMIUM MODAL REDESIGN
========================================================= */

.modal-content-premium {
    border: none !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15) !important;
    position: relative;
    border: none;
}

/* Custom XXL Modal Width (larger than Bootstrap's XL) */
@media (min-width: 1400px) {
    .modal-xxl {
        max-width: 1320px;
    }
}

@media (min-width: 1600px) {
    .modal-xxl {
        max-width: 1450px;
    }
}

.modal-split-layout {
    display: flex;
    min-height: 550px;
}

.modal-branding-side {
    width: 40%;
    background: linear-gradient(rgba(27, 78, 155, 0.85), rgba(27, 78, 155, 0.85)), url('../assets/images/about.webp') center/cover;
    padding: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-form-side {
    width: 60%;
    background: white;
    padding: 40px;
}

.modal-branding-side .brand-logo {
    height: 50px;
    margin-bottom: 30px;
}

.modal-branding-side h2 {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white !important;
}

.modal-branding-side p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.modal-trust-items {
    list-style: none;
    padding: 0;
}

.modal-trust-items li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    font-weight: 600;
}

.modal-trust-items i {
    color: var(--secondary);
    font-size: 1.2rem;
}

/* Modal Close Button Override */
.modal-content-premium .btn-close {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 1001;
    background-color: white;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 1;
}

/* Specific Tab Styling for Modal */
#popup-pills-tab {
    background: #f8fafc;
    padding: 6px;
    border-radius: 14px;
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
}

#popup-pills-tab .nav-link {
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #64748b;
    padding: 12px 15px;
    transition: all 0.2s ease;
}

#popup-pills-tab .nav-link.active {
    background: white !important;
    color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991px) {
    .modal-split-layout {
        flex-direction: column;
    }

    .modal-branding-side,
    .modal-form-side {
        width: 100%;
    }

    .modal-branding-side {
        min-height: 250px;
        padding: 40px 30px;
    }

    .modal-form-side {
        padding: 40px 25px;
    }

    .modal-branding-side h2 {
        font-size: 1.8rem;
    }
}

/* Luxury Rotating Brand Seal */
.luxury-brand-seal {
    position: absolute;
    bottom: 40px;
    left: 60px;
    z-index: 1000;
}

.seal-container {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rotating-text {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotateSeal 25s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes rotateSeal {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.seal-logo-wrap {
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--secondary);
    box-shadow: 0 0 40px rgba(254, 206, 8, 0.2), inset 0 0 20px rgba(0, 0, 0, 0.3);
    z-index: 2;
    padding: 15px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.seal-logo-wrap img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.rotating-text svg {
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.2));
}

@media (max-width: 991px) {
    .luxury-brand-seal {
        bottom: 20px;
        left: 20px;
    }

    .seal-container {
        width: 120px;
        height: 120px;
    }

    .seal-logo-wrap {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .luxury-brand-seal {
        transform: scale(0.8);
        transform-origin: center;
    }
}

/* Premium Logo Card in Why Choose Us */
.premium-logo-card {
    background: rgba(255, 255, 255, 0.05);
    /* Matching diff-card */
    padding: 60px 40px;
    border-radius: 20px;
    border: 1px solid rgba(254, 206, 8, 0.4);
    /* Keeping the gold border theme */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.premium-logo-card img {
    max-height: 180px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.2));
}

.premium-logo-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Google Reviews Custom Styling */
.google-reviews-section {
    position: relative;
    overflow: hidden;
}

.review-card {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.review-card:hover {
    transform: translateY(-5px);
}

.reviews-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
    transition: all 0.3s ease;
}

.reviews-pagination .swiper-pagination-bullet-active {
    background: var(--primary);
    width: 25px;
    border-radius: 5px;
}


.modal-branding-side h2 {
    font-size: 1.8rem;
}


/* Luxury Rotating Brand Seal */
.luxury-brand-seal {
    position: absolute;
    bottom: 40px;
    left: 60px;
    z-index: 1000;
}

.seal-container {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rotating-text {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotateSeal 25s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes rotateSeal {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.seal-logo-wrap {
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--secondary);
    box-shadow: 0 0 40px rgba(254, 206, 8, 0.2), inset 0 0 20px rgba(0, 0, 0, 0.3);
    z-index: 2;
    padding: 15px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.seal-logo-wrap img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.rotating-text svg {
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.2));
}

@media (max-width: 991px) {
    .luxury-brand-seal {
        bottom: 20px;
        left: 20px;
    }

    .seal-container {
        width: 120px;
        height: 120px;
    }

    .seal-logo-wrap {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .luxury-brand-seal {
        display: none;
        /* Keep hero clean on mobile */
    }
}

/* Premium Logo Card in Why Choose Us */
.premium-logo-card {
    background: rgba(255, 255, 255, 0.05);
    /* Matching diff-card */
    padding: 60px 40px;
    border-radius: 20px;
    border: 1px solid rgba(254, 206, 8, 0.4);
    /* Keeping the gold border theme */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.premium-logo-card img {
    max-height: 180px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.2));
}

.premium-logo-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Google Reviews Custom Styling */
.google-reviews-section {
    position: relative;
    overflow: hidden;
}

.review-card {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.review-card h6 {
    font-size: 0.95rem;
}

.review-card p {
    font-size: 0.8rem;
}

.review-card:hover {
    transform: translateY(-5px);
}

.reviews-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
    transition: all 0.3s ease;
}

.reviews-pagination .swiper-pagination-bullet-active {
    background: var(--primary);
    width: 25px;
    border-radius: 5px;
}


/* Footer Logo Size Update */
footer .navbar-brand img {
    height: 100px !important;
    /* Increased from 60px */
    transition: transform 0.3s ease;
}

footer .navbar-brand img:hover {
    transform: scale(1.05);
}

/* Luxury Rotating Brand Seal (Global Styles) */
.luxury-brand-seal {
    z-index: 1000;
}

.seal-container {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rotating-text {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotateSeal 20s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes rotateSeal {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.seal-logo-wrap {
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--secondary);
    box-shadow: 0 0 40px rgba(27, 78, 155, 0.2), inset 0 0 20px rgba(0, 0, 0, 0.2);
    z-index: 2;
    padding: 15px;
}

.seal-logo-wrap img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

/* Values Swiper Custom Highlight */
.values-swiper .swiper-slide {
    transition: all 0.4s ease;
    transform: scale(0.8);
    opacity: 0.5;
}

.values-swiper .swiper-slide-active,
.values-swiper .swiper-slide-duplicate-active {
    transform: scale(1);
    opacity: 1;
    z-index: 1;
}

/* Calculator Results Enhancements */
.results-dashboard .glass-card {
    background: rgba(27, 78, 155, 0.9) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.results-dashboard .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.results-dashboard h3,
.results-dashboard h4,
.results-dashboard h5 {
    color: #ffffff !important;
}

.results-dashboard .text-primary {
    color: var(--secondary) !important;
    /* Use yellow for highlights on dark blue */
}

/* NEW PREMIUM PRELOADER REDESIGN */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #1a2a44 0%, #050a14 100%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 1s cubic-bezier(1, 0, 0, 1), opacity 0.8s ease;
    overflow: hidden;
}

#preloader::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: url('../assets/images/hero.webp') no-repeat center;
    background-size: cover;
    opacity: 0.05;
    filter: grayscale(1);
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

#preloader.fade-out {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.preloader-seal-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: sealEntrance 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Force Reset for Global Seal Styles */
#preloader .luxury-brand-seal {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    margin: 0 !important;
    z-index: 3;
}

@keyframes sealEntrance {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-45deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Minimal Progress Bar */
.preloader-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
}

.preloader-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    box-shadow: 0 0 15px var(--secondary);
    transition: width 0.4s ease;
}

.preloader-status {
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
}

/* =========================================================
   GLOBAL RESPONSIVENESS OVERRIDES
========================================================= */

@media (max-width: 991px) {
    .navbar-brand img {
        height: 60px !important;
    }

    .hero-slider-section {
        height: 70vh;
        margin-top: 90px;
    }

    .hero-title {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }

    .hero-content {
        padding-top: 20px;
    }

    .luxury-brand-seal {
        display: flex;
        transform: scale(0.68);
        transform-origin: left bottom;
        bottom: 16px;
        left: 16px;
    }

    .hero-btn {
        width: 90%;
        max-width: 300px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    html,
    body {
        overflow-x: hidden;
    }

    .hero-title {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .hero-slider-section {
        height: 65vh;
        margin-top: 80px;
    }

    #preloader {
        align-items: center;
        justify-content: center;
        padding: 0 16px;
    }

    .preloader-seal-wrap {
        width: 100%;
        min-height: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #preloader .luxury-brand-seal {
        margin: 0 auto !important;
        transform: scale(0.55);
        transform-origin: center center;
    }

    .navbar {
        padding: 0.5rem 0;
    }
}

/* ============================================
   Premium Nested Dropdown Submenu Styles
   ============================================ */

/* Submenu container */
.dropdown-submenu {
    position: relative;
}

/* Submenu parent item styling */
.dropdown-submenu > .dropdown-item {
    font-weight: 600;
    color: var(--primary) !important;
    padding: 14px 24px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.dropdown-submenu > .dropdown-item:hover {
    background: linear-gradient(90deg, rgba(27, 78, 155, 0.06), transparent) !important;
    color: var(--primary) !important;
    border-left-color: var(--secondary);
    padding-left: 28px;
}

.dropdown-submenu > .dropdown-item:hover .fa-chevron-right {
    transform: translateX(3px);
    color: var(--secondary) !important;
}

.dropdown-submenu > .dropdown-item .fa-chevron-right {
    font-size: 0.65rem;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.dropdown-submenu > .dropdown-item:hover .fa-chevron-right {
    opacity: 1;
}

/* Divider between submenu groups */
.dropdown-submenu + .dropdown-submenu {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* ---- Desktop: Flyout submenu ---- */
@media (min-width: 992px) {
    /* Parent dropdown - wider for nested items */
    .nav-item.dropdown > .dropdown-menu {
        min-width: 260px;
        padding: 8px 0;
    }

    /* Nested flyout menu */
    .dropdown-submenu > .dropdown-menu {
        top: -8px;
        left: 100%;
        margin-left: 2px;
        min-width: 280px;
        padding: 10px 0;
        border-radius: 10px !important;
        border: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 8px 8px 30px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.02) !important;

        /* Hidden by default - animated */
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateX(10px) scale(0.98);
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        pointer-events: none;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(0) scale(1);
        pointer-events: auto;
    }

    /* Accent top-border on the nested submenu */
    .dropdown-submenu > .dropdown-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 16px;
        right: 16px;
        height: 2px;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        border-radius: 2px;
    }

    /* Nested submenu items */
    .dropdown-submenu > .dropdown-menu > li > .dropdown-item {
        padding: 10px 22px;
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--text-dark) !important;
        border-left: 3px solid transparent;
        transition: all 0.25s ease;
    }

    .dropdown-submenu > .dropdown-menu > li > .dropdown-item:hover {
        background: linear-gradient(90deg, rgba(254, 206, 8, 0.1), transparent) !important;
        color: var(--primary) !important;
        border-left-color: var(--secondary);
        padding-left: 26px;
    }

    .dropdown-submenu > .dropdown-menu > li > .dropdown-item i {
        width: 22px;
        font-size: 0.9rem;
        color: var(--primary) !important;
        opacity: 0.6;
        transition: all 0.3s ease;
    }

    .dropdown-submenu > .dropdown-menu > li > .dropdown-item:hover i {
        opacity: 1;
        color: var(--secondary) !important;
        transform: scale(1.15);
    }
}

/* ---- Mobile: Accordion-style submenu ---- */
@media (max-width: 991.98px) {
    .dropdown-submenu > .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none !important;
        margin: 0;
        padding: 4px 0 4px 20px;
        border: none;
        border-left: 2px solid var(--secondary);
        background-color: rgba(27, 78, 155, 0.03) !important;
        border-radius: 0 !important;
    }

    /* When toggled open */
    .dropdown-submenu > .dropdown-menu.show,
    .dropdown-submenu.open > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > .dropdown-menu > li > .dropdown-item {
        padding: 10px 16px;
        font-size: 0.88rem;
    }

    .dropdown-submenu > .dropdown-item .fa-chevron-right {
        transition: transform 0.3s ease;
    }

    .dropdown-submenu.open > .dropdown-item .fa-chevron-right {
        transform: rotate(90deg);
    }
}
