: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;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: var(--primary);
}

/* Navbar */
.navbar {
    padding: 1.2rem 0;
    transition: var(--transition);
    background-color: #1550a4 !important;
}

.navbar.scrolled {
    background-color: #1550a4 !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(--white) !important;
}

.navbar.scrolled .navbar-brand {
    color: var(--white) !important;
}

.nav-link {
    font-weight: 600;
    color: var(--white) !important;
    margin: 0 10px;
    position: relative;
    opacity: 0.9;
    transition: var(--transition);
}

.navbar.scrolled .nav-link {
    color: var(--white) !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: #000;
    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(--white) !important;
    transition: var(--transition);
}

.navbar.scrolled .nav-phone {
    color: var(--white) !important;
}

/* Navbar Dropdown styling */
.dropdown-menu {
    background-color: #1B4E9B !important;
    border: none;
    padding: 10px 0;
    margin-top: 5px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3) !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(--white) !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: white !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: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.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: #000;
    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.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    transition: var(--transition);
}

.diff-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.diff-card h5 {
    color: var(--white) !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: #000;
    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-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: 40px;
}

.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: 100vh;
    min-height: 700px;
    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;
    transform: scale(1.1);
    transition: transform 8s ease-out;
    position: relative;
}

.hero-swiper .swiper-slide-active .hero-slide-bg {
    transform: scale(1);
}

.hero-slide-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    pointer-events: none;
}

.hero-text-overlay .container {
    pointer-events: auto;
}

.hero-text-overlay h1 {
    font-size: 4.5rem;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-text-overlay h1 span {
    color: var(--secondary);
}

.hero-text-overlay p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
}

.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;
}

/* Creative Page Header Component */
.creative-page-header {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-size: cover;
    background-position: bottom;
    background-attachment: fixed;
    margin-top: 80px;
    /* Offset for fixed navbar */
    overflow: hidden;
}

.creative-page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(27, 78, 155, 0.85) 0%, rgba(27, 78, 155, 0.6) 100%);
    z-index: 1;
}

/* Add a floating pattern overlay */
.creative-page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: 2;
    pointer-events: none;
}

.header-content-inner {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.header-pre-title {
    display: inline-block;
    background: rgba(254, 206, 8, 0.15);
    color: var(--secondary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(254, 206, 8, 0.3);
}

.creative-page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -2px;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #ffffff !important;
}

.header-tagline {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsiveness for mobile */
@media (max-width: 768px) {
    .creative-page-header {
        min-height: 300px;
        background-attachment: scroll;
        /* Disable fixed bg for mobile efficiency */
    }

    .creative-page-header h1 {
        letter-spacing: -1px;
    }
}

/* =========================================================
   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);
}

/* 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: #000;
    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.png') 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;
    right: 60px;
    z-index: 1000;
}

.seal-container {
    position: relative;
    width: 200px;
    height: 200px;
    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: 120px;
    height: 120px;
    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;
        right: 20px;
    }
    .seal-container {
        width: 150px;
        height: 150px;
    }
    .seal-logo-wrap {
        width: 90px;
        height: 90px;
    }
}

@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: 120px;
    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);
}

