@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');
:root {
    /* --primary-color: #3a5a40;
    --secondary-color: #588157;
    --accent-color: #a3b18a;
    --light-color: #dad7cd;
    --dark-color: #344e41; */

    --primary-color: #0b132b;
    --secondary-color: #1c2541;
    --accent-color: #3a506b;
    --highlight-color: #5bc0be;
    --text-color: #ffffff;
    --light-color: #dad7cd;
    --dark-color: #344e41; 
    --glow-color: rgba(91, 192, 190, 0.6);
}

body {
    font-family: 'Roboto Mono', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden !important;
}

.futuristic-navbar {
    background: linear-gradient(135deg, rgba(11, 19, 43, 0.95), rgba(28, 37, 65, 0.95));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.futuristic-navbar.scrolled {
    padding: 10px 0;
    background: rgba(11, 19, 43, 0.98);
}

.logo-container {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.navbar-brand {
    font-weight: 700;
    /*letter-spacing: 1px;*/
    color: var(--text-color) !important;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 10px var(--glow-color);
}

.navbar-brand i {
    font-size: 1.5rem;
    color: var(--highlight-color);
    transition: all 0.3s ease;
}

.navbar-brand:hover i {
    transform: rotate(360deg);
    color: var(--text-color);
}

.brand-text {
    position: relative;
    text-align:center;
    font-size:17px;
}

.brand-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--highlight-color);
    transition: width 0.3s ease;
    text-align:center;
}

.navbar-brand:hover .brand-text::after {
    width: 100%;
}

.nav-item {
    margin: 0 5px;
    position: relative;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 10px 15px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(91, 192, 190, 0.1), rgba(91, 192, 190, 0.2));
    border-radius: 8px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link:hover,
.nav-link.active {
    color: var(--highlight-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-icon-container {
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.nav-link i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.nav-link:hover i,
.nav-link.active i {
    transform: scale(1.2);
    color: var(--highlight-color);
}

.nav-link span {
    font-size: 0.85rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.nav-link:hover span,
.nav-link.active span {
    opacity: 1;
}

.highlight-nav-item .nav-link {
    background: linear-gradient(135deg, var(--highlight-color), #4ea8a7);
    color: var(--primary-color) !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(91, 192, 190, 0.3);
}

.highlight-nav-item .nav-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(91, 192, 190, 0.4);
}

.highlight-nav-item .nav-link i,
.highlight-nav-item .nav-link span {
    color: var(--primary-color) !important;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(11, 19, 43, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 10px;
        padding: 20px;
        margin-top: 15px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }

    .nav-item {
        margin: 5px 0;
    }

    .nav-link {
        flex-direction: row;
        justify-content: flex-start;
        padding: 12px 15px !important;
    }

    .nav-icon-container {
        margin-bottom: 0;
        margin-right: 15px;
    }

    .highlight-nav-item {
        margin-top: 10px;
    }
}

/* .navbar {
    background-color: var(--primary-color);
}

.navbar-brand {
    font-weight: bold;
    color: white !important;
}

.nav-link {
    color: white !important;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--light-color) !important;
    transform: translateY(-2px);
} */

.carousel-item {
    height: 70vh;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.section-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 15px;
    text-align: center;
    color: var(--dark-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.school-info {
    background-color: var(--light-color);
    padding: 50px 0;
}

.principal-section {
    background-color: white;
    padding: 50px 0;
}

.principal-img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.notice-board {
    background-color: var(--light-color);
    padding: 50px 0;
}

.notice-card {
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s;
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.toppers-section {
    background-color: white;
    padding: 50px 0;
}

.topper-card {
    text-align: center;
    transition: all 0.3s;
}

.topper-card:hover {
    transform: translateY(-5px);
}

.topper-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 5px solid var(--accent-color);
}

.donation-section {
    background-color: var(--light-color);
    padding: 50px 0;
}

.wisdom-section {
    background-color: var(--secondary-color);
    color: white;
    padding: 50px 0;
}

.wisdom-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 0 20px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    z-index: 999;
    opacity: 0;
    transition: all 0.3s;
}

.back-to-top.show {
    opacity: 1;
}

.counter-box {
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.counter-title {
    font-size: 1.2rem;
    color: var(--dark-color);
}
.navlogo{
   max-width: 80px !important;
   padding:5px;
}
.footer-logo{
   max-width: 300px !important;
   margin-bottom:15px;
}
.page-header {
    /*background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/page_header.avif');*/
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/header_bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}
        
        .history-section {
            padding: 80px 0;
            background-color: white;
        }
        
        .mission-section {
            padding: 80px 0;
            background-color: var(--light-color);
        }
        
        .team-section {
            padding: 80px 0;
            background-color: white;
        }
        
        .team-card {
            text-align: center;
            margin-bottom: 30px;
            transition: all 0.3s;
        }
        
        .team-card:hover {
            transform: translateY(-10px);
        }
        
        .team-img {
            width: 200px;
            height: 200px;
            object-fit: cover;
            border-radius: 50%;
            margin: 0 auto 20px;
            border: 5px solid var(--accent-color);
        }
        
        .facilities-section {
            padding: 80px 0;
            background-color: var(--light-color);
        }
        
        .facility-card {
            text-align: center;
            padding: 30px 20px;
            border-radius: 10px;
            background-color: white;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            margin-bottom: 30px;
            transition: all 0.3s;
        }
        
        .facility-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }
        
        .facility-icon {
            font-size: 3rem;
            color: var(--secondary-color);
            margin-bottom: 20px;
        }
        
        .timeline-section {
            padding: 80px 0;
            background-color: white;
        }
        
        .timeline {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .timeline::after {
            content: '';
            position: absolute;
            width: 6px;
            background-color: var(--accent-color);
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -3px;
        }
        
        .timeline-container {
            padding: 10px 40px;
            position: relative;
            background-color: inherit;
            width: 50%;
        }
        
        .timeline-container::after {
            content: '';
            position: absolute;
            width: 25px;
            height: 25px;
            right: -13px;
            background-color: white;
            border: 4px solid var(--secondary-color);
            top: 15px;
            border-radius: 50%;
            z-index: 1;
        }
        
        .link-sec{
            background-color: var(--light-color);
            padding: 50px 0;
        }
        .link-li-a{
            color: #cd5c5c;
            font-size: 18px;
            text-decoration:none;
        }
        
        .link-li-a:hover{
            color: #cd5c5c;
            font-size: 17px;
        }
        
        .themed-birthday {
            background: linear-gradient(to right, #fef9e7, #fdebd0);
            padding: 60px 0;
            border-radius: 10px;
        }
        
        .wish-title {
            font-size: 1.8rem;
            color: #c0392b;
        }
        
        .birthday-image img {
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }
        
        .wish-name {
            font-weight: 600;
            padding: 5px 0;
        }
        
        .wish-name span {
            font-weight: 400;
            color: #888;
            font-size: 0.9rem;
        }
        
        .birthday-quote {
            font-style: italic;
            color: #5d6d7e;
            margin-top: 20px;
        }
        
        .signature {
            color: #1a5276;
            font-weight: bold;
        }
        .wisdom-card2 {
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
            height:360px !important;
        }

      .wisdom-card2 img {
        width: 100%;
        height: 120px;
        object-fit: contain; 
        /*background-color: #f0f0f0;*/
        display: block;
        border-radius:50px !important;
    }
    
    /* Show dropdown on hover */
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; /* Optional: prevent jump */
    }

  /* CSS */
  .button-89 {
    --b: 3px;
    /* border thickness */
    --s: .45em;
    /* size of the corner */
    --color: #373B44;

    padding: calc(.5em + var(--s)) calc(.9em + var(--s));
    color: var(--color);
    --_p: var(--s);
    background:
      conic-gradient(from 90deg at var(--b) var(--b), #0000 90deg, var(--color) 0) var(--_p) var(--_p)/calc(100% - var(--b) - 2*var(--_p)) calc(100% - var(--b) - 2*var(--_p));
    transition: .3s linear, color 0s, background-color 0s;
    outline: var(--b) solid #0000;
    outline-offset: .6em;
    font-size: 16px;

    border: 0;

    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;

    margin: 10px;
  }

  .button-89:hover,
  .button-89:focus-visible {
    --_p: 0px;
    outline-color: var(--color);
    outline-offset: .05em;
  }

  .button-89:active {
    background: var(--color);
    color: #fff;
  }

  .cls-btn a {
    margin: 15px;
    clear: both;
    text-decoration: none;
  }
  
  .dropdown-item.active, .dropdown-item:active {
      background-color : var(--highlight-color);
  }

