/*** Spinner Start ***/

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    background: rgba(246, 253, 249, 0.92);
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }

.logo-loader-wrap {
    position: relative;
    width: 170px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-loader-image {
    width: 138px;
    max-width: 92%;
    animation: loaderLogoPop .9s ease both, loaderLogoShake 1.2s ease-in-out infinite;
    filter: drop-shadow(0 14px 24px rgba(16, 106, 65, 0.22));
}

.logo-loader-ring {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 3px solid rgba(23, 143, 87, 0.18);
    border-top-color: rgba(23, 143, 87, 0.95);
    animation: loaderSpin 1.2s linear infinite;
}

@keyframes loaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes loaderLogoPop {
    0% {
        opacity: 0;
        transform: scale(0.82);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes loaderLogoShake {
    0%, 100% { transform: translateX(0) rotate(0deg) scale(1); }
    20% { transform: translateX(-1px) rotate(-3.5deg) scale(1.01); }
    40% { transform: translateX(1px) rotate(3.5deg) scale(1.01); }
    60% { transform: translateX(-1px) rotate(-2.8deg) scale(1); }
    80% { transform: translateX(1px) rotate(2.8deg) scale(1); }
}

/*** Spinner End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-md-square {
    width: 46px;
    height: 46px;
}

.btn-lg-square {
    width: 58px;
    height: 58px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/*** Button End ***/


/*** Topbar Start ***/

.topbar .top-info {
    letter-spacing: 1px;
}

.topbar-strip {
    background: linear-gradient(90deg, #0f6a41, #178f57) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.topbar-strip .topbar .top-info small,
.topbar-strip .topbar .top-info a {
    color: #ecfff5 !important;
}

.topbar-strip .topbar i {
    color: #bdf6d6 !important;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
}

#note {
    width: 500px;
    overflow: hidden;
}

#note small {
    position: relative;
    display: inline-block;
    animation: mymove 5s infinite;
    animation-timing-function: all;
}

@keyframes mymove {
    from {left: -100%;}
    to {left: 100%;}
}

/*** Topbar End ***/


/*** Navbar Start ***/
.navbar .navbar-nav {
    padding: 15px 0;
}

.navbar .navbar-nav .nav-link {
    padding: 10px;
    color: var(--bs-white);
    font-size: 18px;
    outline: none;
    
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-secondary) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "font awesome 5 free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: .5s;
    opacity: 1;
}

/*** Navbar End ***/


/*** Carousel Start ***/

.carousel-item {
    position: relative;
}

.carousel-item::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .6);
}

.carousel-caption {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel-item p {
    max-width: 700px;
    margin: 0 auto 35px auto;
}

.carousel-control-prev {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 0;
    background: var(--bs-primary);
    border-radius: 0 50px 50px 0;
    opacity: 1;
}

.carousel-control-prev:hover {
    background: var(--bs-secondary);
    transition: .8s;
}

.carousel-control-next {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    right: 0;
    background: var(--bs-primary);
    border-radius: 50px 0 0 50px;
    opacity: 1;
}

.carousel-control-next:hover {
    background: var(--bs-secondary);
    transition: .8s;
}

.carousel-caption .carousel-content a button.carousel-content-btn1 {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn1:hover {
    background: var(--bs-primary);
    color: #ffffff;
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2 {
    background: var(--bs-primary);
    color: var(--bs-white);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2:hover {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

#carouselId .carousel-indicators li {
    width: 30px;
    height: 10px;
    background: var(--bs-primary);
    margin: 10px;
    border-radius: 30px;
    opacity: 1;
}

#carouselId .carousel-indicators li:hover {
    background: var(--bs-secondary);
    opacity: 1;
}

@media (max-width: 992px) {
    .carousel-item {
        min-height: 500px;
    }
    
    .carousel-item img {
        min-height: 500px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 40px !important;
    }

    .carousel-item p {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-height: 400px;
    }
    
    .carousel-item img {
        min-height: 400px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 28px !important;
    }

    .carousel-item p {
        font-size: 14px !important;
    }
}

/* Responsive helpers */
@media (max-width: 991.98px) {
    .nav-ctas { display: none; }
}
@media (max-width: 575.98px) {
    .glass-card { padding: 16px !important; }
    .product-highlight img[alt="VidhyaOnline UI"],
    .product-highlight img[alt="Samay UI"] { max-height: 160px; object-fit: cover; }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

/*** Carousel End ***/

/*** Modern Enhancements (2025) ***/
.glass-nav {
    backdrop-filter: blur(10px);
    background: linear-gradient(90deg, rgba(255,255,255,0.65), rgba(255,255,255,0.35)) !important;
    border-bottom: 1px solid rgba(255,255,255,0.4);
}

.dark-mode .glass-nav {
    background: linear-gradient(90deg, rgba(17,25,40,0.65), rgba(17,25,40,0.35)) !important;
    border-bottom-color: rgba(255,255,255,0.08);
}

.nav-ctas .btn-outline-light.text-dark {
    background: rgba(255,255,255,0.6);
}

.dark-mode body, .dark-mode {
    background: #0b1324;
    color: #e3e9f5;
}

.dark-mode .navbar .nav-link { color: #e3e9f5 !important; }
.dark-mode .btn.btn-secondary { color: #0b1324; }

/* Gradient section backgrounds */
.section-gradient {
    background: linear-gradient(135deg, #e6f1ff 0%, #f0faff 100%);
}
.dark-mode .section-gradient {
    background: linear-gradient(135deg, #0f1a2d 0%, #0b1324 100%);
}

/* Glass cards */
.glass-card {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 16px;
}
.dark-mode .glass-card {
    background: rgba(17,25,40,0.55);
    border-color: rgba(255,255,255,0.08);
}

/* Animated gradient hero overlay */
.hero-gradient {
    position: relative;
}
.hero-gradient::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(800px 300px at 0% 0%, rgba(56,132,255,0.35), transparent 60%),
                radial-gradient(600px 300px at 100% 0%, rgba(0,214,170,0.3), transparent 60%),
                radial-gradient(700px 400px at 50% 100%, rgba(0,122,255,0.25), transparent 60%);
    pointer-events: none;
    animation: floatGradient 12s ease-in-out infinite alternate;
}

@keyframes floatGradient {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-15px); }
}

/* Sticky back-to-top improvements */
.back-to-top { backdrop-filter: blur(8px); background: rgba(13,110,253,0.85); }
.back-to-top:hover { background: rgba(108,117,125,0.95); }

/* Product highlight blocks */
.product-highlight {
    border-radius: 18px;
    overflow: hidden;
}
.product-highlight .feature-list li { margin-bottom: 8px; }

/* Feature Item for VidhyaOnline Page */
.feature-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-item .fa-4x {
    font-size: 3.5rem;
}


/*** Services Start ***/

.services .services-item {
    box-shadow: 0 0 60px rgba(0, 0, 0, .2);
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding: 10px 0;
    position: relative;
}


.services-content::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-radius: 10px 10px 0 0;
    background: rgba(3, 43, 243, 0.8);
    transition: .5s;
}

.services-content::after {
    top: 0;
    bottom: auto;
    border-radius: 10px 10px 10px 10px;
}

.services-item:hover .services-content::after {
    height: 100%;
    opacity: 1;
    transition: .5s;
}

.services-item:hover .services-content-icon {
    position: relative;
    z-index: 2;
}

.services-item .services-content-icon i,
.services-item .services-content-icon p {
    transition: .5s;
}

.services-item:hover .services-content-icon i {
    color: var(--bs-secondary) !important;
}

.services-item:hover .services-content-icon p {
    color: var(--bs-white);
}

/*** Services End ***/


/*** Project Start ***/

.project-img {
    position: relative;
    padding: 15px;
}

.project-img::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    top: 0;
    left: 0;
    background: var(--bs-secondary);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-img::after {
    content: "";
    width: 150px;
    height: 150px;
    position: absolute;
    right: 0;
    bottom: 0;
    background: var(--bs-primary);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.project-content a {
    display: inline-block;
    padding: 20px 25px;
    background: var(--bs-primary);
    border-radius: 10px;
}

.project-item:hover .project-content {
    opacity: 1;
    transition: .5s;
}

.project-item:hover .project-img::before,
.project-item:hover .project-img::after {
    opacity: 0;
}

/*** Project End ***/


/*** Blog Start ***/
.blog-item .blog-btn {
    z-index: 2;
}

.blog-btn .blog-btn-icon {
    height: 50px;
    position: relative;
    overflow: hidden;
}

.blog-btn-icon .blog-icon-2 {
    display: flex;
    position: absolute;
    top: 6px;
    left: -140px;
    
}

.blog-btn-icon:hover .blog-icon-2 {
    transition: 1s;
    left: 5px;
    top: 6px;
    padding-bottom: 5px;
}
.blog-icon-1 {
    position: relative;
    top: -4px;
}
.blog-btn-icon:hover .blog-icon-1 {
    top: 0;
    right: -140px;
    transition: 1s;
}

/*** Blog End ***/


/*** Team Start ***/

.team-item {
    border-top: 30px solid var(--bs-secondary) !important;
    background: rgba(239, 239, 241, 0.8);
}

.team-content::before {
    height: 200px;
    display: block;
    content: "";
    position: relative;
    top: -101px;
    background: var(--bs-secondary);
    clip-path: polygon(50% 50%, 100% 50%, 50% 100%, 0% 50%);
    padding: 60px;
    opacity: 1;
}

.team-img-icon {
    position: relative;
    margin-top: -200px;
    padding: 30px;
    padding-bottom: 0;
}

.team-img {
    border: 15px solid var(--bs-white);
}

.team-img img {
    border: 10px solid var(--bs-secondary);
    transition: .5s;
}

.team-item:hover h4 {
    color: var(--bs-primary);
    transition: .5s;
}

.team-item:hover .team-img img {
    transform: scale(1.05);
    border: 10px solid var(--bs-secondary);
}

.team-carousel .owl-stage {
    position: relative;
    width: 100%;
    height: 100%;
}

.team-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 50px;
    display: flex;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    width: 56px;
    height: 56px;
    border-radius: 56px;
    margin-left: 15px;
    background: var(--bs-secondary);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (max-width: 992px) {
    .team-carousel {
        margin-top: 3rem;
    }

    .team-carousel .owl-nav {
        top: -85px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        margin-left: -15px;
    }
}

/*** Team End ***/


/*** Testimonial Start ***/

.testimonial-item {
    background: #e3f0eb;

}
.dark-mode .testimonial-item { background: rgba(17,25,40,0.55); }
.testimonial-item .fa-star { filter: drop-shadow(0 2px 6px rgba(0,0,0,.2)); }

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #c1dad0;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}

/*** Testimonial End ***/


/*** Contact Start ***/
.contact-detail::before {
    position: absolute;
    content: "";
    height: 50%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(rgb(210, 243, 235, 1), rgba(230, 250, 245, .3)), url(../img/background.jpg) center center no-repeat;
    background-size: cover;
    border-radius: 10px;
    z-index: -1;
}

.contact-map {
    background: #26d48c;
}

.contact-form {
    background: #26d48c;
}
.dark-mode .contact-map, .dark-mode .contact-form { background: #123b2e; }

/*** Contact End ***/


/*** Footer Start ***/

.footer .short-link a,
.footer .help-link a,
.footer .contact-link a {
    transition: .5s;
}

.footer .short-link a:hover,
.footer .help-link a:hover,
.footer .contact-link a:hover {
    letter-spacing: 1px;
}

.footer .hightech-link a:hover {
    background: var(--bs-secondary);
    border: 0;
}

/*** Footer End ***/

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #4a4a4a;
    line-height: 1.6;
    box-sizing: border-box; /* Ensure padding and border are included in element's total width and height */
}

/* Ensure images are fluid */
img {
    max-width: 100%;
    height: auto;
}


/* Global adjustments for smaller screens */
@media (max-width: 767.98px) {
    .section-title h1 {
        font-size: 2rem !important;
    }
    .display-2 {
        font-size: 3rem !important;
    }
}

.responsive-iframe-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.responsive-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Custom styles for hamburger menu icon */
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler {
    transition: transform 0.3s ease-in-out;
}

.navbar-toggler[aria-expanded="true"] {
    transform: rotate(90deg);
}

/* ==========================================
   Professional Green Theme (Global Override)
========================================== */
:root {
    --bs-primary: #178f57;
    --bs-primary-rgb: 23, 143, 87;
    --bs-secondary: #0f6a41;
    --bs-secondary-rgb: 15, 106, 65;
    --theme-bg: #f5fbf7;
    --theme-surface: #ffffff;
    --theme-text: #173126;
    --theme-muted: #5a7268;
    --theme-border: #dcece3;
}

body {
    background: var(--theme-bg);
    color: var(--theme-text);
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    color: #10281f;
    font-weight: 700;
}

p, li, small, .text-muted {
    color: var(--theme-muted) !important;
}

.container,
.container-fluid {
    position: relative;
}

.topbar {
    font-size: 14px;
}

.glass-nav {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--theme-border);
    transition: all .25s ease;
}

.glass-nav.is-scrolled {
    box-shadow: 0 10px 24px rgba(23, 143, 87, 0.12);
}

.animated-logo {
    max-width: 168px;
    transform-origin: center;
    animation: logoPopIn .9s ease both, logoShake 3s ease-in-out 1.1s infinite;
    transition: transform .2s ease;
}

.animated-logo:hover {
    transform: translateY(-2px) scale(1.04) rotate(2deg);
}

@keyframes logoPopIn {
    0% {
        opacity: 0;
        transform: scale(0.88);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes logoShake {
    0%, 82%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    85% {
        transform: translateY(-1px) rotate(-3.8deg);
    }
    88% {
        transform: translateY(0) rotate(3.8deg);
    }
    91% {
        transform: translateY(-1px) rotate(-3deg);
    }
    94% {
        transform: translateY(0) rotate(3deg);
    }
    97% {
        transform: translateY(0) rotate(-2deg);
    }
}

.navbar .navbar-nav {
    padding: 10px 0;
}

.navbar .navbar-nav .nav-link {
    color: #1f3b30 !important;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 14px;
    transition: all .2s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary) !important;
    background: rgba(23, 143, 87, 0.08);
}

.dropdown-menu {
    border: 1px solid var(--theme-border);
    border-radius: 12px;
    box-shadow: 0 16px 32px rgba(16, 40, 31, 0.12);
}

.dropdown-item {
    color: #204438;
    font-weight: 500;
}

.dropdown-item:hover {
    background: rgba(23, 143, 87, 0.08);
    color: var(--bs-primary);
}

.btn {
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: .2px;
}

.btn-primary {
    background: linear-gradient(135deg, #178f57, #0f6a41);
    border-color: #0f6a41;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #137a4a, #0c5936);
    border-color: #0c5936;
}

.btn-secondary {
    background: #0f6a41;
    border-color: #0f6a41;
}

.carousel-item::after {
    background: linear-gradient(135deg, rgba(11, 45, 31, 0.8), rgba(16, 106, 65, 0.58));
}

.carousel-caption .carousel-content a button.carousel-content-btn1,
.carousel-caption .carousel-content a button.carousel-content-btn2 {
    border-radius: 12px;
    padding: 12px 26px;
}

.services .services-item,
.testimonial-item,
.feature-item,
.project-item,
.blog-item,
.team-item {
    background: var(--theme-surface);
    border: 1px solid var(--theme-border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(16, 40, 31, 0.07);
}

.services .services-item:hover,
.feature-item:hover,
.project-item:hover,
.blog-item:hover,
.team-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(16, 40, 31, 0.12);
}

.services-content::after {
    background: linear-gradient(135deg, rgba(23, 143, 87, 0.92), rgba(15, 106, 65, 0.92));
}

.section-title h5,
.section-title h1,
.text-primary,
.text-secondary {
    color: var(--bs-primary) !important;
}

.contact-map,
.contact-form {
    background: linear-gradient(135deg, #178f57, #0f6a41);
}

.footer {
    background: #0f1f18 !important;
}

.footer .short-link a,
.footer .help-link a,
.footer .contact-link a,
.footer p,
.footer .text-light {
    color: #dce8e1 !important;
}

.footer .short-link a:hover,
.footer .help-link a:hover,
.footer .contact-link a:hover {
    color: #7de1ad !important;
}

.footer .hightech-link a {
    background: #163227;
    border-color: #25513f;
}

.footer .hightech-link a i {
    color: #7de1ad !important;
}

.back-to-top {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #178f57, #0f6a41);
    box-shadow: 0 12px 26px rgba(15, 106, 65, 0.35);
}

.whatsapp-btn {
    animation: none !important;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        padding: 9px 10px;
        font-size: 15px;
    }

    .nav-ctas {
        margin-top: 10px;
        width: 100%;
        justify-content: flex-start;
        gap: 8px;
    }
}

/* School Login Page */
.school-login-hero {
    background: linear-gradient(135deg, #effaf3, #dff4e7);
    position: relative;
    overflow: hidden;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}

.school-login-hero-content {
    max-width: 760px;
    margin: 0 auto;
    animation: schoolHeroLift .9s ease both;
}

.school-login-hero::before,
.school-login-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(23, 143, 87, 0.12);
    animation: schoolFloat 8s ease-in-out infinite;
}

.school-login-hero::before {
    width: 180px;
    height: 180px;
    top: -60px;
    right: 8%;
}

.school-login-hero::after {
    width: 130px;
    height: 130px;
    bottom: -40px;
    left: 10%;
    animation-delay: 1.2s;
}

.school-login-hero h1 {
    color: #123226;
    margin-bottom: 10px !important;
    animation: schoolTextReveal .9s ease both;
    animation-delay: .12s;
}

.school-login-hero p {
    max-width: 680px;
    color: #3f6053 !important;
    font-size: 15px;
    animation: schoolTextReveal .9s ease both;
    animation-delay: .2s;
}

.school-login-chip {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    background: rgba(23, 143, 87, 0.1);
    color: #0f6a41;
    animation: schoolTextReveal .9s ease both;
}

.school-login-section {
    background: #f7fbf8;
}

.school-login-main-card,
.school-login-ad-card {
    background: #ffffff;
    border: 1px solid #dcece3;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(16, 40, 31, 0.08);
    padding: 28px;
    transition: all .25s ease;
}

.school-login-main-card:hover,
.school-login-ad-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(16, 40, 31, 0.13);
}

.school-icon-wrap {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    margin: 0 auto;
    background: linear-gradient(135deg, #178f57, #0f6a41);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(23, 143, 87, 0.28);
    animation: schoolPulse 2.8s ease-in-out infinite;
}

.sponsored-label {
    display: inline-block;
    background: #edf8f1;
    border: 1px solid #cae8d7;
    color: #0f6a41;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
    padding: 4px 12px;
    text-transform: uppercase;
}

.school-login-ad-card ins.adsbygoogle {
    width: 100%;
    min-height: 260px;
}

@media (max-width: 768px) {
    .school-login-hero {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    .school-login-hero h1 {
        font-size: 1.9rem;
    }

    .school-login-hero p {
        font-size: 14px;
    }
}

@keyframes schoolHeroLift {
    0% {
        transform: translateY(10px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes schoolTextReveal {
    0% {
        transform: translateY(8px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes schoolPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}

@keyframes schoolFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* About Page */
.about-hero-pro {
    background: linear-gradient(135deg, #edf8f1, #dff3e8);
    position: relative;
    overflow: hidden;
}

.about-hero-pro::before,
.about-hero-pro::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(23, 143, 87, 0.1);
}

.about-hero-pro::before {
    width: 210px;
    height: 210px;
    top: -70px;
    left: 8%;
}

.about-hero-pro::after {
    width: 150px;
    height: 150px;
    bottom: -50px;
    right: 10%;
}

.about-hero-chip {
    display: inline-block;
    border-radius: 999px;
    background: rgba(23, 143, 87, 0.1);
    color: #0f6a41;
    font-weight: 600;
    font-size: 14px;
    padding: 7px 16px;
}

.about-hero-pro h1 {
    color: #123226;
}

.about-hero-pro p {
    max-width: 700px;
    color: #3f6053 !important;
}

.about-fact-strip {
    background: #f4fbf7;
}

.about-fact-card {
    border: 1px solid #dcece3;
    border-radius: 14px;
    padding: 18px;
    text-align: center;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(16, 40, 31, 0.07);
}

.about-fact-card h2 {
    color: #178f57;
}

.about-image-stack {
    position: relative;
    min-height: 360px;
}

.about-image-stack img {
    width: 76%;
    border: 1px solid #dcece3;
    box-shadow: 0 14px 28px rgba(16, 40, 31, 0.11);
}

.about-image-stack .stacked-image {
    position: absolute;
    right: 0;
    bottom: 0;
}

.software-scrollbar {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 8px 4px 12px;
    scroll-snap-type: x mandatory;
}

.software-scrollbar::-webkit-scrollbar {
    height: 8px;
}

.software-scrollbar::-webkit-scrollbar-thumb {
    background: #9dd6b9;
    border-radius: 999px;
}

.software-card {
    min-width: 290px;
    max-width: 320px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    background: #ffffff;
    border: 1px solid #dcece3;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 12px 28px rgba(16, 40, 31, 0.08);
    transition: all .25s ease;
}

.software-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(16, 40, 31, 0.14);
}

.software-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #178f57, #0f6a41);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 20px;
}

.software-card h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.software-card p {
    margin: 0;
    color: #4c6659 !important;
}

@media (max-width: 768px) {
    .about-image-stack {
        min-height: 300px;
    }

    .software-card {
        min-width: 250px;
    }
}