:root {
            --primary-color: #2c5aa0;
            --secondary-color: #28a745;
            --accent-color: #ffc107;
            --light-bg: #f8f9fa;
            --dark-text: #2c3e50;
        }
        
        * {
            font-family: 'Poppins', sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #e3f2fd 0%, #f5f7fa 100%);
            color: var(--dark-text);
        }
        
        .navbar {

            background: linear-gradient(135deg, var(--primary-color), #1e3a8a);
            box-shadow: 0 4px 20px rgba(44, 90, 160, 0.3);
            padding: 1rem 0;
        }
        
        .navbar-brand {
            font-weight: 600;
            font-size: 1.2rem;
            color: white !important;
        }
         .navbar-toggler
        {
            background-color: #fff;
        }
        
        .nav-link {
            color: rgba(255,255,255,0.9) !important;
            font-weight: 500;
            transition: all 0.3s ease;
            margin: 0 5px;

        }
        
        .nav-link:hover {
            color: var(--accent-color) !important;
            transform: translateY(-2px);
        }
        
        
        
        
        
        .hero-section {
            min-height: 100vh;
            background: linear-gradient(rgba(44,90,160,0.9), rgba(30,58,138,0.9)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="1200" height="800" fill="url(%23grain)"/></svg>');
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
             padding: 0;
        }
        



        .hero-content h1 {
            font-size: 4rem;
            font-weight: 700;
            background: linear-gradient(45deg, white, var(--accent-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: fadeInUp 1s ease;
        }
        
        .hero-content p {
            font-size: 1.3rem;
            color: rgba(255,255,255,0.95);
            animation: fadeInUp 1s ease 0.2s both;
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        







        
       .carousel-item img {

    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
    filter: brightness(60%);
}
        
        .carousel-control-prev,
        .carousel-control-next {
            width: 5%;
            opacity: 0.8;
        }
        

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    z-index: 10;
}




@media (max-width: 768px) {
    .carousel-caption {
        left: 5%;
        right: 5%;
        bottom: 10%;
        transform: none;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
        
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .carousel-item img {
        height: 450px;
    }
}













        .feature-card {
            background: white;
            border-radius: 20px;
            padding: 2.5rem;
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
            transition: all 0.4s ease;
            border: none;
            height: 100%;
        }
        
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 25px 50px rgba(44,90,160,0.2);
        }
        
        .feature-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 2rem;
            color: white;
        }
        
        .section-title {
            font-size: 2rem;
            font-weight: 700;
            position: relative;
            margin-bottom: 3rem;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            border-radius: 2px;
        }
        
        .course-card {
            background: linear-gradient(145deg, white, var(--light-bg));
            border-radius: 15px;
            padding: 2rem;
            transition: all 0.3s ease;
            border: 1px solid rgba(44,90,160,0.1);
        }
        
        .course-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(44,90,160,0.15);
        }
        
        .btn-primary {
            background: linear-gradient(135deg, var(--primary-color), #1e3a8a);
            border: none;
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(44,90,160,0.4);
        }
        
        .stats-card {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            border-radius: 20px;
            padding: 2rem;
            text-align: center;
        }
        
        .stats-number {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        
        footer {
            background: linear-gradient(135deg, var(--dark-text), #1a252f);
            color: white;
            padding: 4rem 0 2rem;
        }
        
        .social-icons a {
            width: 50px;
            height: 50px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin: 0 5px;
            transition: all 0.3s ease;
        }
        
        .social-icons a:hover {
            background: var(--accent-color);
            transform: translateY(-3px);
        }
        
        @media (max-width: 768px) {
            .hero-content h1 {
                font-size: 2.5rem;
            }
            .carousel-item img {
                height: 400px;
            }
        }

        /* Photo Gallery CSS */
#gallery {
    background: #f8f9fa;
}

.gallery-box {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    height: 280px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transition: all 0.4s ease;
    background: #fff;
}

.gallery-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(44,90,160,0.25);
}

.gallery-box:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    left: 0;
    bottom: -100%;
    width: 100%;
    padding: 20px;
    text-align: center;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.2));
    transition: bottom 0.4s ease;
}

.gallery-box:hover .gallery-overlay {
    bottom: 0;
}

.gallery-overlay h5 {
    margin-bottom: 8px;
    font-weight: 600;
}

.gallery-overlay p {
    margin: 0;
    font-size: 14px;
}

@media (max-width: 768px) {
    .gallery-box {
        height: 240px;
    }

    .gallery-overlay {
        bottom: 0;
        padding: 15px;
    }
}



 .step-card,
        .criteria-card,
        .form-card {
            background: #fff;
            border: none;
            border-radius: 20px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.08);
            transition: 0.3s;
        }

        .step-card:hover,
        .criteria-card:hover {
            transform: translateY(-6px);
        }

        .step-icon {
            font-size: 42px;
            color: #198754;
            margin-bottom: 20px;
        }

        .criteria-card .card-header {
            border-radius: 20px 20px 0 0;
            font-weight: 600;
            color: #fff;
        }






/* Admission Section */
.admission-section {
    background: #f8f9fa;
}

.process-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    transition: 0.3s ease;
}

.process-card:hover {
    transform: translateY(-10px);
}

.process-number {
    width: 45px;
    height: 45px;
    line-height: 45px;
    background: #198754;
    color: #fff;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 15px;
    font-size: 1.1rem;
}

#admissions .form-control,
#admissions .form-select {
    border-radius: 12px;
    padding: 12px 15px;
    border: 1px solid #ced4da;
}













#admissions .form-control:focus,
#admissions .form-select:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.15);
}

#admissions .card {
    border-radius: 25px;
}

#admissions .card-header {
    background: linear-gradient(135deg, #198754, #157347);
}

@media (max-width: 768px) {
    .process-card {
        padding: 25px 15px;
    }

    #admissions .card-body {
        padding: 25px 20px !important;
    }
}
#admissions .card,
#admissions .border {
    transition: all 0.3s ease;
}

#admissions .card:hover,
#admissions .border:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12) !important;
}

 .contact-banner{
            background:linear-gradient(rgba(25,135,84,0.85), rgba(25,135,84,0.85)), url('assets/images/s2.jpg') center/cover;
            color:#fff;
            padding:120px 0 80px;
            text-align:center;
        }

        .contact-banner h1{
            font-size:3rem;
            font-weight:700;
        }

        .contact-section{
            padding:80px 0;
        }

        .contact-card{
            background:#fff;
            border-radius:20px;
            padding:35px 30px;
            box-shadow:0 12px 30px rgba(0,0,0,0.08);
            height:100%;
        }

        .contact-info-box{
            display:flex;
            gap:15px;
            margin-bottom:25px;
        }

        .contact-info-box i{
            width:55px;
            height:55px;
            background:#198754;
            color:#fff;
            border-radius:50%;
            display:flex;
            align-items:center;
            justify-content:center;
            font-size:1.2rem;
            flex-shrink:0;
        }

        .contact-info-box h5{
            margin-bottom:5px;
            font-weight:600;
        }

        .form-control,
        .form-select,
        textarea{
            border-radius:12px;
            padding:12px 15px;
            border:1px solid #ced4da;
        }

        .form-control:focus,
        .form-select:focus,
        textarea:focus{
            border-color:#198754;
            box-shadow:0 0 0 0.2rem rgba(25,135,84,0.15);
        }

        .btn-contact{
            background:#198754;
            color:#fff;
            border:none;
            padding:14px 35px;
            border-radius:50px;
            font-weight:600;
            transition:0.3s;
        }

        .btn-contact:hover{
            background:#157347;
            transform:translateY(-2px);
        }

        .map-box{
            border-radius:20px;
            overflow:hidden;
            box-shadow:0 12px 30px rgba(0,0,0,0.08);
        }

        iframe{
            width:100%;
            height:350px;
            border:0;
        }

        @media(max-width:768px){
            .contact-banner h1{
                font-size:2.2rem;
            }

            .contact-section{
                padding:50px 0;
            }

            .contact-card{
                padding:25px 20px;
            }
        }
        
      
        body {
            background: #f4f8fb;
            font-family: 'Segoe UI', sans-serif;
        }

        .contact-header {
             background:linear-gradient(rgba(25,135,84,0.85), rgba(25,135,84,0.85)), url('assets/images/s2.jpg') center/cover;
            color:#fff;
            padding:120px 0 80px;
            text-align:center;
        }

        .contact-card {
            border: none;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        }

        .info-box {
            background: #fff;
            border-radius: 18px;
            padding: 25px;
            height: 100%;
            box-shadow: 0 8px 20px rgba(0,0,0,0.05);
        }

        .info-box i {
            font-size: 28px;
            color: #198754;
            margin-bottom: 15px;
        }

        .btn-send {
            background: #198754;
            border: none;
            padding: 12px 30px;
            border-radius: 10px;
        }
         .form-control,
        .form-select,
        textarea{
            border-radius:12px;
            padding:12px 15px;
            border:1px solid #ced4da;
        }
        .btn-send:hover {
            background: #157347;
        }
        
        
        
        
        
    
    /* style.css 
:root {
    --primary-blue: #004a99;
    --medical-green: #2ecc71;
    --urgent-red: #e74c3c;
    --white: #ffffff;
}

body {
    background-color: #2c3e50;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    padding: 20px;
}
*/


.notice-board 
{
     --primary-blue: #004a99;
    --medical-green: #2ecc71;
    --urgent-red: #e74c3c;
    --white: #ffffff;

    width: 100%;
    max-width: 800px;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    border: 5px solid var(--primary-blue);
}

.board-header {
    background: var(--primary-blue);
    color: white;
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notice-container {
    height: 300px; /* Fixed height for the viewing window */
    overflow: hidden;
    position: relative;
    background: #f9f9f9;
}

.scroll-wrapper {
    padding: 10px 20px;
    animation: scroll-up 15s linear infinite;
}

/* Pause scroll on hover so students can read */
.scroll-wrapper:hover {
    animation-play-state: paused;
}

@keyframes scroll-up {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.notice-item {
    padding: 20px;
    margin-bottom: 15px;
    background: white;
    border-left: 5px solid var(--medical-green);
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-size: 1.2rem;
    color: #333;
}

.notice-item.urgent {
    border-left-color: var(--urgent-red);
    background: #fff5f5;
}

.notice-item span {
    background: var(--urgent-red);
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    margin-right: 10px;
    vertical-align: middle;
}

.board-footer {
    background: #eee;
    text-align: center;
    padding: 10px;
    font-style: italic;
    font-weight: bold;
    color: var(--primary-blue);
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .board-header { flex-direction: column; }
    .notice-item { font-size: 1rem; }
}




