* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

.bg-secondary-custom {
    background: linear-gradient(135deg, #0056B3);
}

/* Navbar-section CSS Start */

.nav-main {
    background-color: #011A9B !important;
    backdrop-filter: blur(10px);
}

.nav-main .navbar-brand img {
    height: 85px;
}


.hero-section {
    background-image: url('../imgs/bg02.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    margin-top: 80px;
    color: white;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}




.hero-section>* {
    position: relative;
    z-index: 2;
}


.hero-content {
    position: relative;
    z-index: 2;
}

.btn-custom {
    background-color: #fff;
    color: #A64A8A;
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    transition: 0.3s;
}

.btn-custom:hover {
    background-color: #f8f9fa;
    color: #6C3483;
}

.contact-info {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

/* Hero-Section CSS End  */

/* Counter Section CSS Start  */

.counter-section {
    background: #011A9B;
}

.counter {
    font-size: 2.5rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .counter {
        font-size: 2rem;
    }
}

/* Counter Section CSS End  */


/* why-us-section CSS Start Saifi */


.why-us-section {
    background: #f8f9fa;
    padding: 60px 20px;
}

.why-us-title {
    font-weight: 600;
    margin-bottom: 30px;
}

.why-us-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    position: relative;
    padding-left: 25px;
}

.video-wrapper iframe {
    width: 100%;
    height: 315px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .why-us-title {
        text-align: center;
    }

    .video-wrapper iframe {
        height: 250px;
    }
}

/* why-us-section CSS End Saifi */

/* If you wish to section CSS Start Saifi */

.cta-section {
    background-color: #011A9B;
    color: white;
    padding: 30px 10px;
}

.cta-list {
    padding-left: 0;
    list-style: decimal;

}

.cta-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 25px;
}



@media (max-width: 768px) {
    .cta-title {
        font-size: 2rem;
    }

    .cta-list {
        font-size: 1.1rem;
        font-weight: 500;
    }

    .cta-button {
        font-size: 1rem;
        padding: 10px 25px;
    }
}

@media (max-width: 576px) {
    .cta-title {
        font-size: 1.8rem;
    }

    .cta-list {
        font-size: 1rem;
    }
}

/* If you wish to section CSS End Saifi */


/* Smart Classrooms & Lab Furnitures Section CSS Start Saifi */

.solutions-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #333;
    font-weight: 300;
}

.section-title span {
    font-weight: 600;
}

.classroom-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.classroom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.classroom-title {
    text-align: center;
    padding: 25px 20px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #eee;
    margin-bottom: 0%;
}

.carousel-container {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    background-color: #FFF;
}


.carousel-indicators {
    bottom: 15px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 3px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
}

.carousel-indicators .active {
    background-color: white;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .classroom-title {
        font-size: 1.25rem;
        padding: 20px 15px;
    }

    .carousel-container {
        height: 280px; /* Slightly larger than before */
    }

    .carousel-item img {
        height: 280px;
        object-fit: cover; /* Better fit */
    }

    .classroom-card {
        margin: 20px 10px;
        border-radius: 10px;
    }

    .image-text h2 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.75rem;
    }

    .carousel-container {
        height: 220px;
    }

    .carousel-item img {
        height: 220px;
        object-fit: cover;
    }

    .classroom-card {
        margin: 15px 5px;
    }

    .image-text h2 {
        font-size: 0.9rem;
    }
}


/* Smart Classrooms & Lab Furnitures Section CSS END Saifi */

/* Amazing  Done  section CSS Start Saifi  */
.portfolio-heading {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 20px;
}

.portfolio-heading h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
}


.portfolio-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.portfolio-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    border: none;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-img-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .card-img-top {
    transform: scale(1.05);
}

.portfolio-card:hover .card-overlay {
    opacity: 1;
}

.overlay-icon {
    color: white;
    font-size: 2rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portfolio-card:hover .overlay-icon {
    transform: translateY(0);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .portfolio-section {
        padding: 60px 0;
    }

    .card-img-container {
        height: 200px;
    }
}

/* Amazing  Done  section CSS END Saifi  */


/* client Logo Section CSS Start Saifi */

.client-section {
    background-color: #f9fafb;
}

.client-logo-wrapper {
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
    border: 1px solid;
}

/* client Logo Section CSS END Saifi */


/* As Your School Furniture Manufacturers */

.compliance-section {
    background-image: url('../Imgs/bg02.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    padding: 80px 0;
}

.compliance-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.content-wrapper {
    position: relative;
    z-index: 2;
}

.certificate-card {
    background: white;
    border-radius: 15px;
    padding: 10px;
    margin: 20px 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 6px solid #dc3545;
    position: relative;
    overflow: hidden;
    height: 450px;
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.certificate-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.certificate-image:hover {
    transform: scale(1.05);
}

.bifma-card {
    border-color: #6f42c1;
}

@media (max-width: 768px) {
    .compliance-section {
        padding: 40px 0;
        background-attachment: scroll;
    }

    .certificate-card {
        margin: 15px 0;
        padding: 15px;
    }

    .certificate-company {
        font-size: 1.4rem;
    }

    .certificate-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .certificate-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}


/* As Your School Furniture Manufacturers */


/* Additional Custom Styles */


.contact-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-custom {
    background: linear-gradient(45deg, var(--accent-color), #FFB347);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: bold;
    color: white;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.3);
    color: white;
}

.footer {
    background: var(--dark-bg);
    color: white;
}

@media (max-width: 768px) {
    .contact-info {
        margin-top: 2rem;
    }
}

/* Mobile Mode Button Start */

.mobile-activity {
    width: 100%;
    display: block;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 999;
}

.mobile-activity a,
.mobile-activity button {
    text-decoration: none;
    border: none;
    width: 50%;
    float: left;
    padding: 9px;
    display: flex;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    color: #000000;
    background-color: #000;
    text-transform: uppercase;
}

/* Mobile Mode Button Start */


.social-icon:hover {
    color: #d61616 !important;

}

.object-fit-cover {
    object-fit: cover;
}