/* For Navbar Logo */
.logo-img {
    max-height: 70px; /* adjust based on your desired navbar height */
    height: auto;
    width: auto;
}

/* For Carousel */
.owl-carousel .text-white {
    color: #e8f3bf !important;
}

/* =============================
   Solar ROI Calculator Styles
   ============================= */
.solar-roi-card {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 1rem;
    box-shadow: 0 2px 16px rgba(44,62,80,0.08);
}
.solar-roi-asterisk {
    color: red;
    font-size: 0.6em;
    vertical-align: super;
    margin-left: 2px;
}
.solar-roi-note {
    color: #d32f2f;
    font-size: 10px;
    font-style: italic;
    text-align: left;
    margin-top: 10px;
    margin-bottom: 0;
    padding-left: 2px;
}
.solar-roi-btn {
    min-width: 180px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.08);
    border-radius: 2rem;
}
.solar-roi-icon {
    margin-right: 6px;
    color: #000000;
    font-size: 1.1em;
    vertical-align: middle;
}
.solar-roi-table th, .solar-roi-table td {
    vertical-align: middle;
}

/* =============================
   Solar ROI Modal Enhancements
   ============================= */
.solar-roi-modal .modal-content {
    border-radius: 1.5rem;
    padding: 0;
}
.solar-roi-modal .modal-header {
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 1.5rem 1.5rem 0 0;
}
.solar-roi-modal .modal-body {
    padding: 2rem 2rem 1rem 2rem;
}
.solar-roi-quote-form {
    /* margin-top: 2rem; */
    margin-bottom: 1rem;
    background: #f9f9f9;
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    box-shadow: 0 1px 8px rgba(44,62,80,0.05);
}
.solar-roi-quote-confirm {
    margin-top: 1rem;
    font-size: 1em;
}
.solar-roi-btn + .solar-roi-btn {
    margin-left: 1rem;
}

/* =============================
   Carousel Content Offset
   ============================= */
.carousel-content-offset {
    margin-top: 30px !important;
}

@media (max-width: 767.98px) {
  .carousel-content-offset {
    margin-top: 15px !important;
  }
}

/* =============================
   Solar ROI Report 2x2 Grid Styles
   ============================= */
.solar-roi-report-card {
    padding: 1.25rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.75rem;
    background: #fff;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    min-height: 80px;
}
.solar-roi-report-card .solar-roi-icon {
    font-size: 1.5em;
    margin-right: 12px;
    color: #1976d2;
}
.solar-roi-report-card .fw-bold {
    margin-right: 8px;
}
@media (max-width: 767.98px) {
  .solar-roi-report-card {
    padding: 1rem 0.5rem;
    font-size: 0.98em;
  }
}

/* =============================
   Competitive Advantage Table Styles
   ============================= */
.comparison-table {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: none;
}

.comparison-table thead th {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: white;
    font-weight: 600;
    padding: 1.5rem 1rem;
    border: none;
    font-size: 1.1rem;
}

.comparison-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #e9ecef;
}

.comparison-table tbody tr:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table td {
    padding: 2rem 1.5rem;
    vertical-align: top;
    border: none;
}

.gap-cell {
    background-color: #fff5f5;
    border-right: 2px solid #e9ecef;
}

.solution-cell {
    background-color: #f0f9ff;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.comparison-table h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.comparison-table p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive Design for Comparison Table */
@media (max-width: 991.98px) {
    .comparison-table thead th {
        padding: 1rem 0.75rem;
        font-size: 1rem;
    }
    
    .comparison-table td {
        padding: 1.5rem 1rem;
    }
    
    .btn-sm-square {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 767.98px) {
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table thead th {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .comparison-table td {
        padding: 1rem 0.75rem;
    }
    
    .comparison-table h6 {
        font-size: 0.95rem;
    }
    
    .comparison-table p {
        font-size: 0.85rem;
    }
    
    .btn-sm-square {
        width: 24px;
        height: 24px;
        margin-right: 0.75rem !important;
    }
    
    /* Stack table on mobile */
    .comparison-table thead th:first-child,
    .comparison-table tbody td:first-child {
        border-bottom: 2px solid #dee2e6;
    }
    
    .gap-cell {
        border-right: none;
        border-bottom: 2px solid #dee2e6;
    }
    
    .solution-cell {
        background-color: #f0f9ff;
    }
}

@media (max-width: 575.98px) {
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table thead th {
        padding: 0.5rem 0.25rem;
        font-size: 0.85rem;
    }
    
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .btn-sm-square {
        width: 20px;
        height: 20px;
        margin-right: 0.5rem !important;
    }
    
    .comparison-table h6 {
        font-size: 0.9rem;
    }
    
    .comparison-table p {
        font-size: 0.8rem;
    }
}

/* =============================
   Service Modal Styles
   ============================= */

/* Vision & Mission Cards */
.vision-mission-card {
    transition: all 0.3s ease;
    border-radius: 1rem;
}

.vision-mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.vision-mission-card .btn-lg-square {
    transition: all 0.3s ease;
}

.vision-mission-card:hover .btn-lg-square {
    transform: scale(1.1);
}

/* Service Item Clickable Elements */
.service-item img,
.service-item .service-icon,
.service-item h4 {
    transition: all 0.3s ease;
}

.service-item img:hover,
.service-item .service-icon:hover,
.service-item h4:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.service-item .service-icon:hover {
    background-color: #198754 !important;
    color: white !important;
}
.service-modal-content {
    border-radius: 1.5rem;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    overflow: hidden;
}

.service-modal-header {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    color: white;
    border: none;
    padding: 2rem;
    position: relative;
}

.service-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.service-modal-header .modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 1;
}

.service-modal-header .modal-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.service-modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 1;
    background-size: 1.25em;
    position: relative;
    z-index: 2;
}

.service-modal-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.service-modal-body {
    padding: 2rem;
    background: #f8f9fa;
}

.service-modal-main-content {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.service-modal-sidebar {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

/* Feature Cards */
.feature-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #0d6efd;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon i {
    color: white;
    font-size: 1.2rem;
}

.feature-content h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #212529;
}

.feature-content p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* Benefit Cards */
.benefit-card {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #d4edda;
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #28a745;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.benefit-icon i {
    color: white;
    font-size: 1.2rem;
}

.benefit-content h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #212529;
}

.benefit-content p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* Process Timeline */
.process-timeline {
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
}

.process-step {
    position: relative;
    padding-left: 4rem;
    margin-bottom: 2rem;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
}

.process-content h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #212529;
}

.process-content p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* Highlights List */
.highlights-list {
    background: #f8f9fa;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
    color: #495057;
}

.highlight-item:last-child {
    border-bottom: none;
}

.highlight-item i {
    font-size: 1rem;
}

/* Contact Info */
.contact-info {
    background: #f8f9fa;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.contact-info .d-flex {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #495057;
}

/* Modal Footer */
.service-modal-footer {
    background: #f8f9fa;
    border: none;
    padding: 1.5rem 2rem;
}

.service-modal-footer .btn {
    border-radius: 2rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
}

/* Responsive Design for Modal */
@media (max-width: 1199.98px) {
    .service-modal-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 991.98px) {
    .service-modal-header {
        padding: 1.5rem;
    }
    
    .service-modal-body {
        padding: 1.5rem;
    }
    
    .service-modal-main-content {
        padding: 1.5rem;
    }
    
    .service-modal-sidebar {
        padding: 1rem;
    }
    
    .feature-card,
    .benefit-card {
        padding: 1rem;
    }
    
    .process-step {
        padding-left: 3rem;
    }
    
    .process-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .service-modal-content {
        border-radius: 1rem;
        margin: 1rem;
    }
    
    .service-modal-header {
        padding: 1rem;
    }
    
    .service-modal-header .modal-title {
        font-size: 1.25rem;
    }
    
    .service-modal-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-modal-body {
        padding: 1rem;
    }
    
    .service-modal-main-content {
        padding: 1rem;
    }
    
    .service-modal-sidebar {
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .feature-card,
    .benefit-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .feature-icon,
    .benefit-icon {
        width: 40px;
        height: 40px;
    }
    
    .feature-icon i,
    .benefit-icon i {
        font-size: 1rem;
    }
    
    .process-step {
        padding-left: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .process-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .highlights-list,
    .contact-info {
        padding: 1rem;
    }
    
    .highlight-item {
        padding: 0.5rem 0;
        font-size: 0.85rem;
    }
    
    .contact-info .d-flex {
        padding: 0.25rem 0;
        font-size: 0.85rem;
    }
    
    .service-modal-footer {
        padding: 1rem;
    }
    
    .service-modal-footer .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .service-modal-content {
        margin: 0.5rem;
    }
    
    .service-modal-header {
        padding: 0.75rem;
    }
    
    .service-modal-header .modal-title {
        font-size: 1.1rem;
    }
    
    .service-modal-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-modal-body {
        padding: 0.75rem;
    }
    
    .service-modal-main-content {
        padding: 0.75rem;
    }
    
    .service-modal-sidebar {
        padding: 0.75rem;
    }
    
    .feature-card,
    .benefit-card {
        padding: 0.75rem;
    }
    
    .feature-icon,
    .benefit-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 0.75rem;
    }
    
    .feature-icon i,
    .benefit-icon i {
        font-size: 0.9rem;
    }
    
    .feature-content h6,
    .benefit-content h6 {
        font-size: 0.9rem;
    }
    
    .feature-content p,
    .benefit-content p {
        font-size: 0.8rem;
    }
    
    .process-step {
        padding-left: 2rem;
        margin-bottom: 1rem;
    }
    
    .process-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .process-content h6 {
        font-size: 0.9rem;
    }
    
    .process-content p {
        font-size: 0.8rem;
    }
    
    .highlights-list,
    .contact-info {
        padding: 0.75rem;
    }
    
    .highlight-item {
        font-size: 0.8rem;
    }
    
    .contact-info .d-flex {
        font-size: 0.8rem;
    }
    
    .service-modal-footer {
        padding: 0.75rem;
    }
    
    .service-modal-footer .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}
