/* ==========================
   Global Styles
   ========================== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ==========================
   Header Section
   ========================== */
header {
    background: #003366;
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Styling */
.logo img {
    width: 120px;
    height: auto;
    box-shadow: 0 0 20px rgba(165, 24, 135, 1); /* Pink glowing effect */
    border-radius: 50%;
    background-color: #FFFFFF;
}

/* Header Text */
.header-text {
    text-align: center;
    flex-grow: 1;
    color: #a51887;
}

/* ==========================
   Navbar Styling
   ========================== */
.navbar {
    background: #002244;
	
}

.navbar-nav .nav-link {
    color: white !important;
    margin-right: 15px;
	z-index: 1000; /* Navbar is above normal content */
}

/* ==========================
   Carousel Section
   ========================== */
#carouselExampleIndicators .carousel-item img {
    max-height:700px; /* Adjust height as needed */
    width: 100%;
    object-fit: cover; /* Ensures images fill the area without distortion */
}

/* ==========================
   Achievements Section
   ========================== */
.achievement img {
    width: 100%;
    max-width: 200px;
    height: auto;
}

/* ==========================
   Admission Section
   ========================== */
#admissions button {
    background: #ff6600;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

/* ==========================
   Scrolling News Feed
   ========================== */
.scroll-container {
    height: 150px;
    overflow: hidden;
    position: relative;
    border-radius: 5px;
    background: #f8f9fa;
    margin-bottom: 10px;
}

/* News List */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    width: 100%;
    animation: scrollNews 10s linear infinite;
}

.news-list li {
    display: flex;
    align-items: center;
    font-size: 16px;
    padding: 10px;
    background: white;
    border-bottom: 1px solid #ddd;
}

/* Scrolling Animation */
@keyframes scrollNews {
    0% { transform: translateY(100%); }
    100% { transform: translateY(-100%); }
}

/* Pause scrolling on hover */
.scroll-container:hover .news-list {
    animation-play-state: paused;
}

/* ==========================
   Date Box Styling
   ========================== */
.date-box {
    width: 50px;
    height: 60px;
    background: #f8f9fa;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    margin-right: 10px;
}

.date-box .day {
    font-size: 20px;
    color: #333;
}

.date-box .month {
    font-size: 14px;
    color: #555;
}

/* ==========================
   Responsive Adjustments
   ========================== */
@media (max-width: 768px) {
    .logo img {
        width: 80px;
        height: auto;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.9); /* White glowing effect */
    }

    header {
        flex-direction: column;
        padding: 15px;
        text-align: center;
    }

    .logo-container {
        margin-bottom: 10px;
    }

    .header-text {
        margin-top: 10px;
        padding-left: 0;
    }

    .header-text h1 {
        font-size: 16px;
    }

    .header-text h3 {
        font-size: 14px;
    }

    .scroll-container {
        height: 120px;
    }

    .news-list li {
        font-size: 14px;
    }
}

/* Extra small screens (phones) */
@media (max-width: 480px) {
    .logo-container img {
        width: 80px;
    }

    .header-text h1 {
        font-size: 17px;
    }

    .header-text h3 {
        font-size: 12px;
    }
}

/* ==========================
   Equal Height for Cards
   ========================== */
.equal-height {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ==========================
   Team Section Styling
   ========================== */
.team-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    border: 2px solid white;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
}

.team-img {
    border: 4px solid white;
}

.text-light-50 {
    color: rgba(255, 255, 255, 0.8);
}

.team-text {
    flex-grow: 1;
}

/* ==========================
   Contact Section Styling
   ========================== */
.contact-card {
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.map-container {
    width: 100%;
}

/* Buttons */
.btn-primary {
    background-color: #008793;
    border: none;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #005f6b;
}

/* ==========================
   Quick Links Styling
   ========================== */
.quick-link-card {
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.quick-link-card i {
    transition: transform 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
}

.quick-link-card:hover i {
    transform: scale(1.2);
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.8);
}
   /* Quick Link Card Styling */
    .quick-link-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        min-height: 200px;
        padding: 30px;
        text-align: center;
        border-radius: 15px;
        font-weight: bold;
        color: white;
        background: linear-gradient(135deg, #4b6cb7, #182848); /* Gradient Background */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background 0.3s ease-in-out;
        position: relative;
        overflow: hidden;
    }

    /* Hover Effect - Background Darkens */
    .quick-link-card:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        background: linear-gradient(135deg, #3a5795, #121a33); /* Darker Shade on Hover */
    }

    /* Ensuring Text and Icons are Visible */
    .quick-link-card i, .quick-link-card h5 {
        position: relative;
        z-index: 1;
        text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.9); /* Shadow for better visibility */
    }

    /* Adding a Background Pattern */
    .quick-link-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('https://www.transparenttextures.com/patterns/diagmonds-light.png'); /* Subtle Pattern */
        opacity: 0.1;
        z-index: 0;
    }

    /* Mobile Responsive Fix */
    .row.d-flex {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }
  .footer-link {
        text-decoration: none;
        transition: color 0.3s ease-in-out;
    }

    .footer-link:hover {
        color: #f8d210;
        text-decoration: underline;
    }

    .social-icons a {
        transition: transform 0.3s ease-in-out, color 0.3s;
        margin: 0 10px;
        display: inline-block;
    }

    .social-icons a:hover {
        transform: scale(1.2);
        color: #f8d210;
    }

    /* Aligns bullets properly */
    .footer-list {
        padding-left: 0; /* Remove extra padding */
        list-style-position: inside; /* Ensures bullets align with text */
    }

    @media (max-width: 768px) {
        .footer-list {
		text-align:left
            list-style-position: outside;
        }
    }
	.social-sidebar {
    position: fixed;
    top: 50%;
	right:0;
    transform: translateY(-50%);
    background: #333;
    padding: 15px;
    border-radius: 10px 0px 0px 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.social-icon {
    display: block;
    text-decoration: none;
    color: white;
    padding: 5px;
    margin: 5px 0;
    width: 50px;
    text-align: center;
    font-size: 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.facebook { background: #3b5998; }
.twitter { background: #1da1f2; }
.instagram { background: #e4405f; }
.linkedin { background: #0077b5; }
.youtube { background: #ff0000; }
.whatsapp { background: #25d366; }

.social-icon:hover {
    filter: brightness(1.2);
}
  /* Section Background */
    #rector-message {
        background:url('../images/bg-1.jpg');
        background-repeat: repeat;
        background-size: cover;
        position: relative;
        padding: 80px 0;
    }

    /* Semi-Transparent Overlay */
    #rector-message::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    /* Message Box Styling */
    .rector-box {
        background: rgba(255, 255, 255, 0.9); /* Slight transparency */
        position: relative;
        border-radius: 15px;
        padding: 30px;
        z-index: 2;
        border: 2px solid #003366;
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    }

    /* Hover Effect */
    .rector-box:hover {
        transform: translateY(-5px);
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
    }

    /* Responsive Image Centering */
    .text-center img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .rector-box {
            padding: 20px;
        }
    }
	  .school-rules-title {
        background: #003366;
        border-radius: 8px;
    }
    .rule-box {
        display: flex;
        gap: 20px;
        padding: 20px;
        border-radius: 8px;
		border:1px solid #000000;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    .rule-img {
        width: 120px;
        height: 120px;
        object-fit: cover;
        border-radius: 8px;
    }
    .rule-content {
        flex: 1;
    }
    @media (max-width: 768px) {
        .rule-box {
            flex-direction: column;
            text-align:left
    }
