:root {
    --primary-blue: #1a56db;
    --primary-dark-blue: #1e3a8a;
    --primary-light-blue: #3b82f6;
    --secondary-blue: #60a5fa;
    --accent-blue: #93c5fd;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    
    /* Your custom variables */
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --primary-light: #3d8bfd;
    --accent-color: #fd7e14;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

/* Preloader Styles */
.preloader {
    background-color: var(--bg-white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.preloader.hidden {
    animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; visibility: hidden; }
}

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.heading-shadow {
    text-shadow: 5px 5px 6px white, 0 0 8px var(--accent-color);
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-blue);
    margin: 15px auto;
    border-radius: 2px;
}

.section-padding {
    padding: 80px 0;
}

/* Partner Sites Page Styles */
.page-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

.partner-logo {
    max-height: 80px;
    object-fit: contain;
}

.partner-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.partner-card:hover {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.partner-features li {
    padding-left: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
}

.stat-label {
    color: #6c757d;
    font-size: 0.8rem;
}

.benefit-item {
    transition: all 0.3s ease;
    border-radius: 8px;
}

.benefit-item:hover {
    background-color: white;
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.mt-100 {
    margin-top: 100px;
}






/* Partner Sites Section Enhancements */
.partner-sites-preview {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.shadow-hover {
    transition: all 0.3s ease;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.shadow-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
}

.partner-logo-container {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    display: inline-block;
}

.divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd, #0dcaf0);
    margin: 1rem auto;
}

.vertical-divider {
    width: 2px;
    height: 80%;
    background: linear-gradient(180deg, #0d6efd, #0dcaf0);
    opacity: 0.5;
}

.partnership-benefits {
    border-left: 4px solid #0d6efd;
    border-right: 4px solid #0dcaf0;
    background: linear-gradient(90deg, #ffffff, #f8f9fa);
}

.benefit-item {
    padding: 1rem;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
}

/* Badge enhancements */
.badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
}

/* Stat value styling */
.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
}

.stat-label {
    color: #6c757d;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partner-preview-card {
        margin-bottom: 2rem;
    }
    
    .vertical-divider {
        display: none;
    }
    
    .partner-stats .col-4 {
        margin-bottom: 1rem;
    }
}



.gallery-card img {
    width: 100%;
    min-height: 250px;  /* 👈 Forces more height */
    object-fit: contain;
    background-color: #f8f9fa;
}






/* Certificates Section Styles */
.certificate-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.certificate-image {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px;
    background: white;
    cursor: pointer;
}

.certificate-image img {
    transition: transform 0.3s ease;
}

.certificate-image:hover img {
    transform: scale(1.02);
}





/* Animation classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up.delay-1 {
    transition-delay: 0.2s;
}

.fade-in-up.delay-2 {
    transition-delay: 0.4s;
}

.fade-in-up.delay-3 {
    transition-delay: 0.6s;
}
/* Certificates Section Styles */
.certificate-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.certificate-image {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px;
    background: white;
}

/* Lightbox customization */
.lb-image {
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partner-stats .col-4 {
        margin-bottom: 1rem;
    }
    
    .benefit-item {
        margin-bottom: 1rem;
    }
}



.main-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url("/static/images/Background.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.main-content {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    color: #fff;
    font-weight: 700;
    transform: translateY(0);
    transition: var(--transition);
}

.main-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background-color: var(--bg-light);
}

.about-img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    max-height: 400px;
    width: 100%;
    object-fit: cover;
}

.about-img:hover {
    transform: scale(1.02);
}

/* Services and Products Sections */
.services-section, .products-section {
    padding: 80px 0;
}

.services-section h2, .products-section h2 {
    color: var(--primary-blue);
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.services-section h2::after, .products-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-blue);
}

/* Card Styles */
.card-service, .card-product {
    transition: all 0.3s ease;
    height: 100%;
    border: none;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    border-radius: var(--border-radius);
}

.card-service:hover, .card-product:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(26, 86, 219, 0.15);
}

.card-service img, .card-product img {
    height: 200px;
    object-fit: cover;
    transition: all 0.5s ease;
    width: 100%;
}

.card-service:hover img, .card-product:hover img {
    transform: scale(1.05);
}

.card-title {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Card Image Container */
.card-img-container {
    position: relative;
    overflow: hidden;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.card-icon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 86, 219, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.card-icon-overlay i {
    font-size: 3rem;
    color: white;
}

.card-service:hover .card-icon-overlay,
.card-product:hover .card-icon-overlay {
    opacity: 1;
}

.card-service:hover .card-img-top,
.card-product:hover .card-img-top {
    transform: scale(1.1);
}

/* Features Badges */
.features {
    margin: 10px 0;
}

.feature-badge {
    display: inline-block;
    background-color: var(--accent-blue);
    color: var(--primary-dark-blue);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin: 2px;
    font-weight: 500;
}

/* Installation Process */
.installation-process {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--primary-blue) 100%);
    color: white;
}

.installation-process .icon-circle {
    width: 150px;
    height: 150px;
    padding: 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.installation-process .card:hover .icon-circle {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.installation-process .icon-circle img {
    border-radius: 40px;
    width: 90%;
    height: 90%;
    object-fit: cover;
}

.installation-process .number-circle {
    position: absolute;
    bottom: -10px;
    background-color: var(--success);
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-dark-blue);
    transition: all 0.3s ease;
}

.installation-process .card:hover .number-circle {
    transform: scale(1.1);
}

.installation-process .card {
    background: transparent;
    border: none;
    transition: all 0.3s ease;
    height: 100%;
}

.installation-process .card:hover {
    transform: translateY(-5px);
}

/* Process Card Styles (Your custom styles) */
.process-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.process-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.process-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    transition: var(--transition);
}

.process-card:hover .process-icon {
    background: white;
    color: var(--primary-blue);
    transform: scale(1.1);
}

.process-number {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

/* Contact Info */
.contact-info {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-info h2 {
    color: var(--primary-blue);
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-blue);
}

.contact-info .fa-3x {
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.contact-info .p-3:hover .fa-3x {
    color: var(--primary-dark-blue);
    transform: scale(1.1);
}

.contact-info a.text-dark {
    transition: all 0.3s ease;
}

.contact-info a.text-dark:hover {
    color: var(--primary-blue) !important;
}

/* Contact Info Card (Your custom styles) */
.contact-info-card {
    background: white;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    transition: var(--transition);
}

.contact-info-card:hover .contact-icon {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(26, 86, 219, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 86, 219, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline-primary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 86, 219, 0.3);
}

.btn-accent {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 15px rgba(253, 126, 20, 0.3);
}

.btn-accent:hover {
    background: #e76505;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(253, 126, 20, 0.4);
    color: white;
}

/* Navigation */
.navbar {
    padding: 15px 0;
    transition: var(--transition);
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 10px 0;
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: var(--transition);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.navbar.scrolled .navbar-brand img {
    height: 40px;
    width: 40px;
}

.nav-link {
    position: relative;
    font-weight: 500;
    margin: 0 10px;
    padding: 8px 0 !important;
    color: var(--text-dark);
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-blue);
    transition: var(--transition);
}

.nav-link:hover:after, .nav-link.active:after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-blue);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--primary-blue) 100%);
    padding: 40px 0 20px;
    color: white;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: #ffd700 !important;
    text-decoration: underline !important;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    text-decoration: none;
}

.footer-link:hover {
    color: white;
    text-decoration: underline;
}
.text-shadow-green {
    color: rgb(6, 215, 230);
    text-shadow:
        -1px -1px 0 darkgreen,
         1px -1px 0 darkgreen,
        -1px  1px 0 darkgreen,
         1px  1px 0 darkgreen,
         0    0   5px limegreen,
         0    0  10px lime,
         0    0  30px green;
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* Form Styles */
.contact-form .form-control {
    border-radius: var(--border-radius);
    padding: 12px 15px;
    border: 1px solid #e1e5eb;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary-light-blue);
    box-shadow: 0 0 0 0.2rem rgba(26, 86, 219, 0.15);
}

/* Utility Classes */
.text-primary { color: var(--primary-blue) !important; }
.text-accent { color: var(--accent-color) !important; }
.bg-light { background-color: var(--light-color) !important; }

.rounded { border-radius: var(--border-radius) !important; }

.shadow-sm { box-shadow: var(--box-shadow) !important; }

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark-blue);
    transform: translateY(-3px);
}

/* Card overlay styles */
.card {
    position: relative;
    overflow: hidden;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 86, 219, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--border-radius);
}

.card:hover .card-overlay {
    opacity: 1;
}

/* Service icon styles */
.service-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: transform 0.3s ease;
    z-index: 2;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* Feature list styles */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.feature-list i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* Text Justify */
.text-justify {
    text-align: justify;
}

/* Fallback for missing images */
.card-img-top {
    background-color: #f0f5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light-blue);
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Preloader adjustments for mobile */
    .preloader img {
        max-width: 60%;
    }
    
    /* Main section adjustments */
    .main-section {
        padding: 80px 0;
        min-height: auto;
        background-attachment: scroll;
    }
    
    .main-content {
        padding: 25px;
    }
    
    /* Navigation adjustments */
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    /* About section adjustments */
    .about-section {
        text-align: center;
    }
    
    .about-section h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Installation process adjustments */
    .installation-process .icon-circle {
        width: 120px;
        height: 120px;
    }
    
    /* Card adjustments */
    .card-service, .card-product {
        margin-bottom: 30px;
    }
    
    /* Contact info adjustments */
    .contact-info .p-3 {
        margin-bottom: 20px;
    }
    
    /* Button adjustments */
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .d-flex .btn {
        width: auto;
    }
    
    .section-padding {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    /* Further mobile adjustments */
    .main-section h2 {
        font-size: 1.8rem;
    }
    
    .about-section h2, 
    .services-section h2, 
    .products-section h2, 
    .contact-info h2 {
        font-size: 1.8rem;
    }
    
    .installation-process h1 {
        font-size: 2rem;
    }
    
    .d-flex {
        flex-direction: column;
    }
    
    .d-flex .btn {
        width: 100%;
        margin: 5px 0;
    }
    
    .process-card {
        margin-bottom: 20px;
    }
}

/* Tablet view adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .main-section {
        padding: 100px 0;
    }
    
    .installation-process .icon-circle {
        width: 130px;
        height: 130px;
    }
}