@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #d94d3a;
    --primary-hover: #c23e2b;
    --dark-color: #1a1a1a;
    --dark-light: #2c2c2c;
    --light-color: #fcfcfc;
    --text-color: #555555;
    --border-color: #eaeaea;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* Offset for sticky header */
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    padding-top: 80px; /* Space for fixed header on desktop */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark-color);
    font-weight: 700;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-hover);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    padding: 0.6rem 1.8rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(217, 77, 58, 0.3);
}

.section-padding {
    padding: 80px 0;
}

.bg-light-custom {
    background-color: #f8f9fa;
}

/* Navbar */
.navbar {
    padding: 12px 0;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.navbar.navbar-sticky {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 8px 0;
}

.navbar-brand img {
    max-height: 48px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    font-family: var(--font-heading);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.nav-phone-btn {
    font-weight: 600;
    font-family: var(--font-body);
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    border-radius: 4px;
    padding: 8px 24px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
}

.nav-phone-btn:hover {
    background-color: #1a1a1a;
    color: #ffffff !important;
}

/* Main Subsidy Banner Section */
#home,
.home-banner-section {
    position: relative;
    padding: 0;
    margin: 0;
    width: 100%;
    line-height: 0;
    background-color: transparent;
}

.main-subsidy-banner-wrapper {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border: none;
    background: transparent;
}

.main-subsidy-banner-wrapper:hover {
    box-shadow: none;
}

.banner-hero-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
}

/* ========================================================
   Our Home, A Solar Home (TN Solar Roof Top Section)
   ======================================================== */
.solar-home-benefit-section {
    position: relative;
    padding: 65px 0;
    width: 100%;
    background: linear-gradient(135deg, #0f3583 0%, #0a2763 100%);
    color: #ffffff;
    overflow: hidden;
}

.solar-home-benefit-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(237, 164, 41, 0.14) 0%, rgba(237, 164, 41, 0) 70%);
    pointer-events: none;
}

.solar-home-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.85rem;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.solar-home-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #bfdbfe;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.solar-home-desc {
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    max-width: 540px;
    margin-bottom: 28px;
}

.solar-home-btn {
    display: inline-block;
    padding: 11px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    background-color: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.solar-home-btn:hover {
    background-color: #ffffff;
    color: #0e3b8a !important;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Right Column Card */
.solar-benefit-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 34px 28px 26px 28px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
    position: relative;
    max-width: 440px;
    margin: 0 auto;
}

.solar-benefit-sun-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #eda429;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 16px auto;
    box-shadow: 0 6px 18px rgba(237, 164, 41, 0.35);
}

.solar-benefit-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #52637a;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.solar-benefit-amount {
    font-size: 2.85rem;
    font-weight: 900;
    color: #0b2d69;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 18px;
}

.solar-benefit-divider {
    border-top: 1.5px dashed #cbd5e1;
    margin: 18px 0;
}

.solar-subsidy-breakdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 22px;
}

.subsidy-col {
    flex: 1;
    text-align: center;
}

.subsidy-val {
    font-size: 1.4rem;
    font-weight: 800;
    color: #007a55;
    line-height: 1.15;
    margin-bottom: 3px;
}

.subsidy-plus {
    font-size: 1.3rem;
    font-weight: 700;
    color: #007a55;
    margin-top: -14px;
}

.subsidy-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4b5563;
    line-height: 1.25;
}

.subsidy-sub {
    font-size: 0.74rem;
    color: #6b7280;
    line-height: 1.25;
}

.solar-dbt-badge {
    background-color: #eef6ff;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.78rem;
    color: #1e3a8a;
    font-weight: 500;
    line-height: 1.35;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}

@media (max-width: 991.98px) {
    .solar-home-benefit-section {
        padding: 45px 0;
    }
    .solar-home-title {
        font-size: 2.3rem;
        text-align: center;
    }
    .solar-home-subtitle {
        text-align: center;
        letter-spacing: 1.5px;
        font-size: 0.8rem;
    }
    .solar-home-desc {
        text-align: center;
        margin: 0 auto 24px auto;
        font-size: 0.95rem;
    }
    .solar-home-actions {
        text-align: center;
        margin-bottom: 24px;
    }
    .solar-benefit-amount {
        font-size: 2.4rem;
    }
}

@media (max-width: 575.98px) {
    .solar-home-benefit-section {
        padding: 35px 0;
    }
    .solar-home-title {
        font-size: 1.85rem;
    }
    .solar-home-subtitle {
        font-size: 0.72rem;
        letter-spacing: 1px;
    }
    .solar-home-desc {
        font-size: 0.88rem;
        line-height: 1.55;
    }
    .solar-benefit-card {
        padding: 22px 14px 18px 14px;
        border-radius: 18px;
    }
    .solar-benefit-sun-badge {
        width: 54px;
        height: 54px;
        font-size: 1.35rem;
        margin-bottom: 12px;
    }
    .solar-benefit-amount {
        font-size: 2rem;
    }
    .solar-subsidy-breakdown {
        gap: 8px;
        margin-bottom: 18px;
    }
    .subsidy-val {
        font-size: 1.15rem;
    }
    .subsidy-plus {
        font-size: 1.1rem;
        margin-top: -10px;
    }
    .subsidy-title {
        font-size: 0.72rem;
    }
    .subsidy-sub {
        font-size: 0.68rem;
    }
    .solar-dbt-badge {
        font-size: 0.72rem;
        padding: 8px 10px;
    }
}

/* PM Surya Ghar Section */
.pm-surya-section {
    position: relative;
    padding: 50px 0;
    background-color: #f8fafc;
}

.pm-surya-content-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 36px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(11, 60, 97, 0.1);
    position: relative;
    overflow: hidden;
}

.pm-surya-portal-badge {
    background-color: #e0f2fe;
    color: #0369a1;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
}

.pm-main-heading {
    color: #0f172a;
    font-weight: 800;
    font-size: 2.3rem;
    line-height: 1.15;
    margin-bottom: 4px;
}

.pm-sub-heading {
    color: #0284c7;
    font-weight: 800;
    font-size: 2.3rem;
    line-height: 1.15;
    margin-bottom: 22px;
}

.pm-quote-card {
    background: #f8fafc;
    border-radius: 14px;
    padding: 24px;
    border-left: 5px solid #0284c7;
    margin-bottom: 24px;
    position: relative;
}

.pm-quote-text {
    color: #334155;
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 16px;
}

.pm-modi-portrait {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.pm-stat-pill {
    background: #f1f5f9;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.pm-stat-icon {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #ffffff;
}

@media (max-width: 768px) {
    .pm-surya-content-card {
        padding: 24px 18px;
    }
    .pm-main-heading, .pm-sub-heading {
        font-size: 1.8rem;
    }
    .pm-modi-portrait {
        width: 70px;
        height: 70px;
    }
}

.hero-form-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    max-width: 500px;
    width: 100%;
}

.hero-form-card .form-label {
    color: #495057;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: inline-block;
}

.hero-form-card .required-asterisk {
    color: #d94d3a;
}

.hero-form-card .form-control,
.hero-form-card .form-select {
    border-radius: 30px;
    border: 1px solid #ced4da;
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    color: #495057;
    background-color: #ffffff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.hero-form-card textarea.form-control {
    border-radius: 16px;
    resize: none;
}

.hero-form-card .form-control:focus,
.hero-form-card .form-select:focus {
    border-color: #d94d3a;
    box-shadow: 0 0 0 0.2rem rgba(217, 77, 58, 0.25);
}

.hero-form-card .form-control::placeholder {
    color: #6c757d;
    opacity: 0.8;
}

.contact-form-btn {
    background-color: #e0523c;
    color: #ffffff !important;
    font-weight: 700;
    font-family: var(--font-heading);
    padding: 10px 45px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
}

.contact-form-btn:hover {
    background-color: #c23e2b;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(224, 82, 60, 0.35);
}

/* Brand Marquee */
.brand-carousel-wrapper {
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background-color: #ffffff;
}

.brand-slide img {
    max-height: 45px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.brand-slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* About Section */
#about {
    background-color: #fdfdfd;
}

.about-section-title {
    color: #2b4174 !important;
    font-size: 2.5rem;
    font-weight: 700;
}

.about-heading {
    color: #2b4174 !important;
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.25;
}

.about-provide-title {
    color: #2b4174 !important;
    font-size: 1.4rem;
    font-weight: 700;
}

.about-features-list li {
    margin-bottom: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333333;
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
}

.about-features-list li i {
    font-size: 1.1rem;
    margin-right: 10px;
    margin-top: 2px;
}

.text-blue-chk {
    color: #2b4174 !important;
}

.text-red-chk {
    color: #d94d3a !important;
}

.btn-appointment {
    background-color: #d94d3a;
    border: 1px solid #d94d3a;
    color: #ffffff;
    font-weight: 600;
    padding: 10px 26px;
    border-radius: 4px;
    font-family: var(--font-heading);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-appointment:hover {
    background-color: #c23e2b;
    border-color: #c23e2b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(217, 77, 58, 0.25);
}

.about-phone-link {
    color: #1a1a1a;
    font-weight: 700;
    font-family: var(--font-heading);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.about-phone-link i {
    color: #2b4174;
    margin-right: 8px;
    font-size: 1rem;
}

.about-phone-link:hover {
    color: #d94d3a;
}

.about-image-wrapper {
    position: relative;
    padding-top: 15px;
    padding-right: 15px;
    display: block;
}

.about-image-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - 15px);
    height: calc(100% - 15px);
    background-color: rgba(43, 65, 116, 0.08); /* light blue accent container */
    border-radius: 12px;
    z-index: 1;
}

.about-img {
    position: relative;
    z-index: 2;
    border-radius: 12px;
    width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Service & Info Cards */
.custom-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.custom-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.custom-card:hover::after {
    transform: scaleX(1);
}

.card-icon-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Product Carousels */
.product-slider-container {
    padding: 20px 0 40px;
}

.product-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}

.product-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.08);
}

.product-body {
    padding: 15px;
    text-align: center;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--dark-color);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color) !important;
    background: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px !important;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--primary-color);
    color: #ffffff !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
}

/* Projects Section */
.project-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.project-img-wrapper {
    height: 240px;
    overflow: hidden;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.05);
}

.project-info {
    padding: 20px;
    text-align: center;
}

.project-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
}

/* Video Wrapper */
.video-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    height: 100%;
    transition: all 0.3s ease;
}

.video-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.video-info {
    padding: 15px;
    text-align: center;
    background: #ffffff;
}

.video-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0;
}

/* Gallery Section */
.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    height: 200px;
    background-color: #f5f5f5;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(217, 77, 58, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-overlay i {
    color: #ffffff;
    font-size: 1.8rem;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: translateY(0);
}

/* PDF Embedded Section & Viewer Styling */
.pdf-viewer-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pdf-viewer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.pdf-header {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 12px 16px;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color, #e53935);
}

.pdf-title-text {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pdf-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-pdf-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}

.btn-pdf-action:hover {
    background: var(--primary-color, #e53935);
    color: #ffffff;
    transform: scale(1.05);
}

.pdf-body {
    position: relative;
    background-color: #2b2b2b;
    height: 440px;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.pdf-body::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.pdf-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 3px;
}

.pdf-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 30, 30, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    color: #ffffff;
}

.pdf-canvas-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100%;
}

.pdf-canvas {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    background: #ffffff;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.pdf-canvas:hover {
    opacity: 0.96;
}

.pdf-controls {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #495057;
}

.btn-pdf-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    color: #495057;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-pdf-nav:hover:not(:disabled) {
    background: var(--primary-color, #e53935);
    border-color: var(--primary-color, #e53935);
    color: #ffffff;
}

.btn-pdf-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pdf-page-indicator, .pdf-zoom-level {
    font-weight: 500;
    padding: 0 4px;
}

/* Lightbox Modal for PDF */
.pdf-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(6px);
    z-index: 1070;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pdf-modal-container {
    background: #1e1e1e;
    border-radius: 12px;
    width: 95%;
    max-width: 1000px;
    height: 92vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.pdf-modal-header {
    background: #141414;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pdf-modal-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.pdf-modal-body {
    position: relative;
    flex: 1;
    overflow: auto;
    background: #2b2b2b;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.pdf-modal-body::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.pdf-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.pdf-modal-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 20, 20, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.pdf-modal-canvas-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

#pdfModalCanvas {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    background: #ffffff;
    max-width: 100%;
}

.pdf-modal-footer {
    background: #141414;
    padding: 12px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Lightbox Styling */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1060;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    text-align: center;
}

.lightbox-close {
    color: #ffffff;
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-caption {
    margin: 15px auto 0;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Contact & Info */
.info-box-item {
    margin-bottom: 25px;
}

.info-box-item h5 {
    margin-bottom: 5px;
    font-weight: 700;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f1f1f1;
    color: var(--dark-color);
    margin-right: 10px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

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

/* Google Map styling */
.map-container {
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* CTA Section */
.cta-section-wrapper {
    background-color: #ffffff;
    padding: 40px 0;
}

.cta-custom-card {
    background-color: #35456f; /* Deep blue background from mockup */
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    padding: 60px 20px;
    z-index: 1;
}

/* Corner Triangles using absolute positioned pseudo-elements and clip-path */
.cta-custom-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background-color: #d94d3a; /* Red/orange matching primary theme */
    clip-path: polygon(0 0, 0 100%, 100% 100%);
    z-index: -1;
}

.cta-custom-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-color: #d94d3a; /* Red/orange matching primary theme */
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    z-index: -1;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.cta-highlight {
    color: #d94d3a; /* Red/orange letter highlights */
}

.cta-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #ffffff;
    opacity: 0.9;
    margin-bottom: 25px;
}

.cta-quotes-btn {
    display: inline-block;
    background-color: #d94d3a; /* Red/orange background */
    color: #1a1a1a !important; /* Dark text matching mockup */
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 35px;
    border-radius: 4px;
    border: 1px solid #1a1a1a;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-quotes-btn:hover {
    background-color: #c23e2b;
    border-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .cta-custom-card {
        padding: 50px 15px;
    }
    .cta-title {
        font-size: 1.8rem;
    }
    .cta-custom-card::before,
    .cta-custom-card::after {
        width: 100px;
        height: 100px;
    }
}

/* Footer Section */
.custom-site-footer {
    background-color: #3f5c96; /* Exact steel blue from mockup */
    color: #ffffff;
    padding: 60px 0 30px;
    font-family: var(--font-body);
}

.footer-nav-row {
    margin-bottom: 20px;
}

.footer-brand-logo img {
    max-height: 48px;
    transition: transform 0.3s ease;
}

.footer-brand-logo img:hover {
    transform: scale(1.03);
}

.footer-nav-menu {
    gap: 30px;
}

.footer-nav-menu a {
    color: #ffffff !important;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
}

.footer-nav-menu a:hover {
    opacity: 0.8;
}

.footer-cta-btn {
    display: inline-block;
    border: 2px solid #ffffff;
    background-color: #000000;
    color: #ffffff !important;
    font-weight: 600;
    font-family: var(--font-heading);
    padding: 8px 24px;
    transition: all 0.3s ease;
    text-align: center;
}

.footer-cta-btn:hover {
    background-color: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
}

.footer-divider-line {
    border-color: rgba(255, 255, 255, 0.15) !important;
    opacity: 1 !important;
    margin: 25px 0;
}

.footer-col-title-main,
.footer-col-title-sub {
    color: #ffffff !important;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.footer-company-desc {
    color: #cad5ea !important;
    font-size: 0.9rem;
    line-height: 1.7;
    text-align: justify;
}

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

.footer-vertical-links a {
    color: #cad5ea !important;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.footer-vertical-links a:hover {
    color: #ffffff !important;
    padding-left: 4px;
}

.footer-contact-info-grid {
    margin-top: 10px;
}

.footer-info-item {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #cad5ea !important;
}

.footer-info-item a {
    color: #cad5ea !important;
    transition: color 0.2s ease;
}

.footer-info-item a:hover {
    color: #ffffff !important;
}

.contact-icon-red {
    color: #e0523c !important; /* Red/orange icon style */
    font-size: 0.95rem;
    margin-top: 3px;
}

.footer-copyright-text {
    font-size: 0.85rem;
    color: #cad5ea !important;
    font-family: var(--font-body);
}

.footer-designer-link {
    color: #ffa500 !important; /* Orange/yellow color for link */
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-designer-link:hover {
    color: #ffb733 !important;
    text-decoration: underline !important;
}

.footer-designer-logo {
    height: 18px;
    width: auto;
    margin-left: 5px;
    vertical-align: middle;
}

/* Flyer Cards */
.flyer-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    background-color: #ffffff;
}

.flyer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.flyer-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Flat Services Layout */
.services-title {
    color: #2b4174;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.services-subtitle {
    font-size: 0.95rem;
    color: #666666;
    max-width: 600px;
    line-height: 1.6;
}

.service-item-flat {
    margin-bottom: 25px;
}

.service-flat-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0px; /* Sharp corners like the mockup */
    transition: transform 0.3s ease;
}

.service-item-flat:hover .service-flat-img {
    transform: translateY(-3px); /* Subtle hover lift */
}

.service-flat-title {
    color: #2b4174;
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.service-flat-desc {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.7;
    text-align: justify;
}

/* Flat Products Section Styles */
.products-main-title {
    color: #2b4174;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.products-subtitle {
    font-size: 0.95rem;
    color: #666666;
    max-width: 600px;
    line-height: 1.6;
}

.category-title {
    color: #2b4174;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* Make product cards float borderless */
#products .product-card {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    height: 100%;
}

#products .product-img-wrapper {
    background-color: transparent !important;
    height: 280px;
    width: 100%;
}

#products .product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#products .product-body {
    display: none !important; /* Hide product names to match image-only mockup */
}

/* Swiper Controls Customization for Products */
#products .swiper-button-next,
#products .swiper-button-prev {
    background: transparent !important;
    box-shadow: none !important;
    color: #1a1a1a !important;
    width: auto !important;
    height: auto !important;
    top: 50%;
    transform: translateY(-50%);
}

#products .swiper-button-next::after,
#products .swiper-button-prev::after {
    font-size: 22px !important;
    font-weight: bold;
}

#products .swiper-button-prev {
    left: -5px !important;
}

#products .swiper-button-next {
    right: -5px !important;
}

#products .swiper-pagination-bullet {
    background: #cccccc !important;
    opacity: 0.8;
}

#products .swiper-pagination-bullet-active {
    background: #1a1a1a !important;
    opacity: 1;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    html {
        scroll-padding-top: 90px;
    }
    
    body {
        padding-top: 70px; /* Space for fixed header on mobile/tablet */
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .navbar-brand img {
        max-height: 40px;
    }
    
    .gallery-item {
        height: 160px;
    }
}

/* Business Cards styling */
.vcard-wrapper img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vcard-wrapper img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Fixed Header Layout and Overlap Fix */
header.fixed-top {
    background-color: #ffffff !important;
    z-index: 1030 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08); /* subtle separator */
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
}
