/*==================================================
 Modern UI Overrides - 2026 Design System
===================================================*/

:root {
    /* Modern Color Palette */
    --primary-blue: #2563eb;
    --primary-blue-light: #3b82f6;
    --primary-blue-dark: #1e40af;
    --accent-orange: #ea580c;
    --accent-orange-light: #f97316;
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
    --white: #ffffff;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

/* Global Typography Improvements */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--neutral-700);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Replace old dark blue with modern blue */
.about-section-main-title h2,
.section-main-title h2,
.slider-content.style-two h4,
.slider-content.style-two h1,
.about-list ul li,
.service-text h4,
.pricing-content h4,
.pricing-rate h2,
a.active {
    color: var(--neutral-900) !important;
}

/* Replace old red with modern orange accent */
.solar-top-menu ul li a i,
.solar-top-social-icon ul li a:hover i,
.solar-menu ul li a:hover,
.solar-menu ul li a.active-nav,
.header-home .solar-menu ul li a:hover,
.header-home .solar-menu ul li a.active-nav,
.about-section-sub-title h4,
.section-sub-title h4,
.about-number-two h4,
.about-number-two span,
.about-list ul li i,
.service-box:hover .service-text h4 {
    color: var(--accent-orange) !important;
}

/* Modern Hero Section */
.slider-section {
    height: 90vh;
    min-height: 600px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.slider-section::before {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.75) 0%, rgba(30, 64, 175, 0.85) 50%, rgba(15, 23, 42, 0.7) 100%);
}

.slider-section.style-three {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.slider-content {
    max-width: 700px;
}

.slider-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slider-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

/* Modern Button Styles */
.solar-btn a {
    background: var(--accent-orange);
    color: var(--white);
    padding: 0.875rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    border: none;
}

.solar-btn a:hover {
    background: var(--accent-orange-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.solar-btn a::before {
    display: none;
}

.solar-btn.contact-us a {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--white);
}

.solar-btn.contact-us a:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

/* Modern Section Spacing */
.about-section,
.service-section,
.choose-us-section,
.offer-section {
    padding: var(--spacing-3xl) 0;
}

.contact-us-section {
    padding: var(--spacing-2xl) 0;
}

/* Section Titles */
.section-title {
    margin-bottom: var(--spacing-2xl);
}

.section-sub-title h4::before,
.section-sub-title h4::after,
.about-section-sub-title h4::before,
.about-section-sub-title h4::after {
    background: var(--accent-orange);
}

.section-sub-title h4,
.about-section-sub-title h4 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
}

.section-main-title h2,
.about-section-main-title h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
}

/* Modern Service Cards */
.service-box {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--neutral-200);
    margin-bottom: var(--spacing-lg);
}

.service-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue-light);
}

.service-thumb img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-box:hover .service-thumb img {
    transform: scale(1.05);
}

.service-content {
    padding: var(--spacing-lg);
    background: var(--white);
    border-top: 3px solid var(--primary-blue);
}

.service-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.service-content a {
    color: var(--neutral-900);
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-content a:hover {
    color: var(--accent-orange);
}

/* Modern About Section */
.about-section {
    background: linear-gradient(135deg, var(--neutral-50) 0%, var(--neutral-100) 100%);
}

/* Hide the entire left column with the image */
.about-section .row > .col-lg-6:first-child {
    display: none !important;
}

/* Make the content column full width */
.about-section .row > .col-lg-6:last-child {
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

.about-thumb {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    min-height: 400px;
    display: none !important;
}

.about-thumb img {
    border-radius: var(--radius-xl);
    display: none !important;
}

.about-counter {
    background: var(--primary-blue);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-counter-two {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-md);
}

.about-number-two h4,
.about-number-two span {
    color: var(--accent-orange);
}

/* Modern Contact Us Section */
.row.contact-us {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    padding: var(--spacing-2xl) 0;
    border-radius: var(--radius-xl);
}

/* Modern Offer Section */
.offer-section .row > .col-lg-5 {
    display: none !important;
}

.offer-section .row > .col-lg-7 {
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* Modern Choose Us Section */
.choose-us-section {
    background: var(--neutral-50);
}

.choose-us-list ul {
    list-style: none;
    padding: 0;
}

.choose-us-list li {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    color: var(--neutral-700);
}

.choose-us-list i {
    color: var(--accent-orange);
    margin-right: var(--spacing-sm);
    font-size: 1.25rem;
}

.choose-us-phone h5 {
    font-size: 1.125rem;
    margin: var(--spacing-sm) 0;
    font-weight: 500;
}

.choose-us-phone i {
    color: var(--primary-blue);
}

.choose-us-phone a {
    color: var(--neutral-700);
    text-decoration: none;
    transition: color 0.3s ease;
}

.choose-us-phone a:hover {
    color: var(--primary-blue);
}

/* Modern Tabs */
.tab ul li a {
    background: var(--neutral-100);
    color: var(--neutral-700);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.tab ul li.current a {
    background: var(--primary-blue) !important;
    color: var(--white);
}

.tab ul li a:hover {
    background: var(--neutral-200);
}

/* Modern Header */
.solar-header-section {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.solar-header-section.header-home {
    background: transparent;
    box-shadow: none;
}

.sticky-nav {
    background: var(--white) !important;
    box-shadow: var(--shadow-md);
}

/* Hide navbar logo */
.solar-header-section .logo {
    display: none;
}

/* Fix text colors on colored backgrounds */
.section-main-title.contact-us h2,
.contact-us-discription p,
.section-main-title.Subscribe h2 {
    color: var(--white) !important;
}

/* Remove background image from contact-us section */
.contact-us-section::before {
    display: none !important;
}

/* Make hero logo bigger */
.slider-content .logo-container img {
    width: 180px !important;
    height: 180px !important;
    margin-bottom: var(--spacing-lg);
}

/* Modern Topbar */
.solar-topbar-section {
    background: var(--neutral-900);
}

/* Modern Pricing */
.pricing-box {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 2px solid var(--neutral-200);
}

.pricing-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.pricing-icon i {
    background: var(--primary-blue);
}

.pricing-box:hover .pricing-icon i {
    background: var(--accent-orange);
    color: var(--white);
}

.pricing-year h4 {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Modern Video Section */
.call-do-action-section {
    background: var(--neutral-900);
    padding: var(--spacing-3xl) 0;
}

.video-icon a {
    background: var(--accent-orange);
    box-shadow: var(--shadow-lg);
}

/* Modern Accordion */
.accordion a {
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.accordion a.active {
    background: var(--primary-blue);
    color: var(--white);
}

.accordion a:before,
.accordion a:after {
    background: var(--accent-orange);
}

/* Responsive Typography */
@media (max-width: 991px) {
    .slider-content h1 {
        font-size: 3rem;
    }
    
    .section-main-title h2,
    .about-section-main-title h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .slider-content h1 {
        font-size: 2.5rem;
    }
    
    .section-main-title h2,
    .about-section-main-title h2 {
        font-size: 2rem;
    }
    
    .slider-section {
        height: 70vh;
        min-height: 500px;
    }
    
    /* Hide counter stats image on mobile */
    .about-thumb,
    .about-counter,
    .about-counter-two {
        display: none !important;
    }
    
    /* Hide video section on mobile */
    .call-do-action-section {
        display: none !important;
    }
    
    /* Hide offer section images on mobile */
    .offer-thumb {
        display: none !important;
    }
}

/* Modern Footer */
.footer-section {
    background: var(--neutral-900);
    padding: var(--spacing-xl) 0 var(--spacing-md) 0 !important;
}

.footer-widget-title h4 {
    color: var(--white);
    font-weight: 600;
}

/* Hide footer logo */
.footer-wiget-log {
    display: none !important;
}

/* Compact footer spacing */
.footer-wiget,
.footer-wiget-quick-contanct {
    margin-bottom: 0 !important;
}

.footer-wiget-title {
    margin-bottom: var(--spacing-sm) !important;
}

.footer-wiget-title h4 {
    font-size: 1.125rem !important;
    margin-bottom: var(--spacing-xs) !important;
}

.footer-wiget-text p {
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    margin-bottom: var(--spacing-sm) !important;
}

.footer-wiget-menu ul li,
.footer-wiget-contact-menu ul li {
    margin-bottom: var(--spacing-xs) !important;
    font-size: 0.875rem !important;
}

.footer-wiget-social {
    margin-top: var(--spacing-sm) !important;
}

.footer-line {
    margin-top: var(--spacing-md) !important;
    padding-top: var(--spacing-md) !important;
}

.copyright-text p {
    font-size: 0.875rem !important;
    margin: 0 !important;
}

/* Smooth Transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease;
}

a, button, .solar-btn a {
    transition: all 0.3s ease;
}

/* Modern Loader */
.loader {
    border-top-color: var(--primary-blue);
}

/* Remove old gradient effects */
.solar-btn a::before,
.pricing-box::before {
    display: none !important;
}
