@import url('https://fonts.googleapis.com/css2?family=UnifrakturCook:wght@700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom scrollbar styles */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #003366;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #002244;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: #ffffff;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="8" fill="%23000000" opacity="0.8"/></svg>') 10 10, auto;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    max-width: 100%;
}

/* Ensure Academics page is visible even if JS does not add page-loaded class */
.academics-page {
    opacity: 1;
}

body.page-loaded {
    opacity: 1;
}

body.page-transitioning {
    opacity: 0;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4% 1rem 0.5%;
    max-width: 100%;
    margin: 0;
    height: 80px;
}

.logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    width: 520px;
}

.logo img {
    height: 70px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    color: #003366;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #003366;
}

/* Hero Section */
#hero {
    height: 100vh;
    background-color: #444;
    background-image: url('../picture/usa3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 0 5%;
}

/* Custom header background for About Us page */
.about-page .section-header.about-header.about-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
        url('bgPicture/aboutus.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Custom header background for History & License section */
.about-page .section-header.history-header.history-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
        url('bgPicture/history.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Custom header background for Student Resources page */
.section-header.about-header.resources-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
        url('bgPicture/studentResources.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Custom header background for Academics page */
.academics-page .section-header.about-header.academics-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
        url('bgPicture/academics.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 150px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #003366;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #004d99;
}

/* Programs Section */
#programs {
    padding: 5rem 5%;
    background: #eff0f0;
    box-shadow: 0 0px 10px #00000033;
}

#programs h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #003366;
    font-size: 2rem;

}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.program-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-card h3 {
    color: #003366;
    margin-bottom: 1rem;
}

/* About Section */
#about {
    padding: 5rem 5%;
    background: #fff;
}

.about-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    color: #003366;
    margin-bottom: 2rem;
}

/* Gothic-style font ONLY for the college name in the header */
.logo-text {
    font-family: 'UnifrakturCook', 'Montserrat', system-ui, serif;
    letter-spacing: 1px;
}

/* About Us header text alignment */
.about-header .section-header-content {
    text-align: center;
}

.about-header .section-header-content p {
    text-align: justify;
}

/* Contact Page Styles */
.contact-page {
    min-height: 100vh;
    background: #f5f5f5;
}

.contact-content {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    color: #333;
}

.contact-section {
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    background-color: #eff0f0;
    box-shadow: 0 0px 10px #00000033;
    margin-bottom: 40px;
}

.contact-section h2 {
    color: #003366;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 1rem;
}

.about-section h3 {
    color: #003366;
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 10px;
}

.about-section ul {
    margin: 15px 0 20px 20px;
    padding-left: 20px;
}

.about-section ul li {
    margin-bottom: 8px;
}

/* Refund Policy dropdown (academics page) */
.policy-accordion {
    max-width: 1100px;
    margin: 0 auto 16px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 6px 14px rgba(0,0,0,0.05);
    padding: 0;
    overflow: hidden;
}

.policy-accordion-header {
    list-style: none;
    cursor: pointer;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #003366;
    color: #ffffff;
    font-weight: 600;
}

.policy-accordion-header h2,
.policy-accordion-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #ffffff;
}

.policy-accordion-body {
    padding: 16px 22px 18px 22px;
    background: #f9fafb;
}

.policy-accordion[open] .policy-accordion-header {
    border-bottom: 1px solid #e5e7eb;
}

/* Remove default summary marker and add custom arrow */
.policy-accordion-header::-webkit-details-marker {
    display: none;
}

.policy-accordion-header::after {
    content: '\25BC'; /* down arrow */
    font-size: 0.9rem;
    color: #ffffff;
    transition: transform 0.2s ease;
}

.policy-accordion[open] > .policy-accordion-header::after {
    transform: rotate(-180deg);
}

/* Admissions panels readability */
.admission-panel {
    background-color: #f3f4f6;
}

.admission-panel p,
.admission-panel li {
    color: #333333;
}

.contact-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Student Resources – Alumni / Career Services layout */
.handbook-section .handbook-text {
    max-width: 900px;
    margin: 0 auto;
}

.handbook-section .handbook-text h2 {
    text-align: center;
}

.handbook-section .handbook-text p {
    text-align: left;
    margin: 0 auto;
    max-width: 800px;
}

.handbook-section .handbook-text ul {
    text-align: left;
    margin: 0 auto;
    max-width: 800px;
    margin: 0 auto 1rem;
}

.contact-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
}

.info-item {
    margin-bottom: 30px;
    text-align: left;
}

.info-item i {
    font-size: 2rem;
    color: #003366;
    margin-bottom: 15px;
}

.info-item h3 {
    color: #003366;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #003366;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.enroll-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.enroll-column-right ol {
    margin-left: 1.2rem;
    padding-left: 0.8rem;
}

.enroll-column-right ol li {
    margin-bottom: 4px;
}

@media (max-width: 768px) {
    .enroll-columns {
        grid-template-columns: 1fr;
    }
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #003366;
    outline: none;
    box-shadow: 0 0 5px rgba(0,51,102,0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #003366;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: #004d99;
    transform: translateY(-2px);
}

.submit-btn i {
    font-size: 1.2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 20px;
    }

    .info-item {
        text-align: center;
    }

    .contact-form {
        padding: 20px;
    }
}

/* Footer and Scroll to Top Button */
footer {
    background: #003366;
    color: #fff;
    padding: 0.5rem 5% 0.5rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #fff;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.scroll-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    width: 40px;
    height: 40px;
    background: #003366;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    margin-right: 50px;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top-btn:hover {
    background: #004d99;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .scroll-to-top-btn {
        bottom: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Animation Classes */
.section-hidden {
    opacity: 0;
    transform: translateY(50px);
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s ease;
}
/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #003366;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: #003366;
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.5s ease;
    }
    
    .nav-links.nav-active {
        right: 0;
        display: flex;
    }
    
    .nav-links li {
        margin: 2rem 0;
    }
    
    .hamburger.toggle span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.toggle span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.toggle span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .logo img {
        height: 45px;
    }
    
    .logo-text {
        font-size: 1.6rem;
    }
}

/* Program Card Transitions */
.program-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

/* Form Input Transitions */
.contact-form input,
.contact-form textarea {
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

/* Branches Section */
#branches {
    padding: 5rem 5%;
    background: #fff;
}

#branches h2 {
    text-align: center;
    color: #003366;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.branches-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.branch-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.branch-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.branch-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.branch-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.branch-card:hover .branch-image img {
    transform: scale(1.1);
}

.branch-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
    padding: 2rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.branch-card:hover .branch-overlay {
    transform: translateY(0);
}

.branch-details {
    color: white;
    text-align: center;
}

.branch-details h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    
}

.branch-details p {
    margin: 0.5rem 0 0;
    font-size: 1rem;
    opacity: 0.9;
}

.branch-select-btn {
    width: 100%;
    padding: 1rem;
    background: #003366;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 600;
    margin-top: auto; /* Push button to bottom */
}

.branch-select-btn:hover {
    background: #004d99;
}

/* Responsive Design for Branches */
@media (max-width: 1024px) {
    .branches-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .branches-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .branch-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .branch-overlay {
        transform: translateY(0);
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.4) 100%
        );
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    color: #666;
}

.portal-btn {
    background: #003366;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.portal-btn:hover {
    background: #004d99;
}

#news-events {
    padding: 5rem 5%;
    background: #eff0f0;
    box-shadow: 0 0px 10px #00000033;
}
#news-events h2{
    text-align: center;
    color:#003366;
    font-size: 2rem;
}
#enrollment-process h2{
    margin-left: 70px;
    color:#003366;
    font-size: 2rem;
    text-align: center;
}


.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.date {
    color: #666;
    font-size: 0.9rem;
}

.read-more {
    color: #003366;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

#enrollment-process {
    position: relative;
    z-index: 1;
    padding: 5rem 5%;
    background: #eff0f0;
    margin-top: 0;
    visibility: visible;
    opacity: 1;
    display: block;
    box-shadow: 0 0px 10px #00000033;
}

#enrollment-process .timeline {
    visibility: visible;
    opacity: 1;
    display: block;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: #00000033;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    left: 0;
    border-radius: 10px;
}

.timeline-item:nth-child(even) {
    left: 52%;
    border-radius: 10px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 12px;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #3498db;
    border-radius: 50%;
    right: -50px;
    top: 32px;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -50px;
}

.timeline-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    background: #2ecc71;
}

@media screen and (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-dot {
        left: 20px;
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-dot {
        left: 20px;
    }
}

.timeline-itempt2 {
    position: relative;
    width: 450px;
    padding: 20px 40px;
    margin-left: 65px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
    background-color: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);

}

.timeline-itempt2.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-itempt2:nth-child(odd) {
    left: 0;
    border-radius: 10px;
}

.timeline-itempt2:nth-child(even) {
    left: 50%;
    border-radius: 10px;
}

.timeline-dotpt2 {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #3498db;
    border-radius: 50%;
    right: -50px;
    top: 32px;
    transition: all 0.3s ease;
}

.timeline-itempt2:nth-child(even) .timeline-dotpt2 {
    left: -50px;
}

.timeline-contentpt2 {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.timeline-contentpt2:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.timeline-itempt2:hover .timeline-dotpt2 {
    transform: scale(1.3);
    background: #2ecc71;
}

@media screen and (max-width: 768px) {
    .timelinept2::before {
        left: 30px;
    }
    
    .timeline-itempt2 {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }
    
    .timeline-itempt2:nth-child(even) {
        left: 0;
    }
    
    .timeline-dotpt2 {
        left: 20px;
        right: auto;
    }
    
    .timeline-itempt2:nth-child(even) .timeline-dotpt2 {
        left: 20px;
    }
}

.quick-links {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.quick-links-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #003366;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.quick-links-menu {
    position: absolute;
    bottom: 60px;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    display: none;
}

.quick-links-menu a {
    display: block;
    padding: 1rem;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

.quick-links-menu a:hover {
    background: #f5f5f5;
}

.quick-links:hover .quick-links-menu {
    display: block;
}

.branch-instructions {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease;
}

.select-branch-btn {
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.select-branch-btn:hover {
    background-color: #2980b9;
    transform: scale(1.05);
}

.branch-info {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.branch-card:hover .branch-info {
    opacity: 1;
    transform: translateY(0);
}

.branch-info p {
    margin: 0.5rem 0;
}

.branch-info i {
    margin-right: 0.5rem;
    color: #3498db;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Adjust overlay for the additional content */
.branch-overlay {
    padding: 2rem 1rem;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

@media screen and (max-width: 768px) {
    .branch-info {
        opacity: 1;
        transform: translateY(0);
    }
    
    .select-branch-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover i {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 300px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
    border: 2px solid #003366;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 8px 0;
}

.dropdown-content li {
    margin: 0;
    opacity: 1;
    transform: none;
    transition: none;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    padding: 20px 30px;
    display: block;
    color: #333;
    border-bottom: 3px solid #eee;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.dropdown-content li:last-child a {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: #f5f5f5;
    color: #003366;
    padding-left: 35px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        width: 100%;
        background: #f5f5f5;
        box-shadow: none;
        border: none;
        border-top: 2px solid #003366;
        border-bottom: 2px solid #003366;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown > a {
        width: 100%;
        justify-content: center;
    }
}

/* Additional Dropdown Styles */
.nav-links .dropdown:not(:last-child) {
    margin-right: 1rem;
}

/* Prevent dropdown content from going off-screen */
.nav-links li:nth-last-child(2) .dropdown-content,
.nav-links li:nth-last-child(3) .dropdown-content {
    left: auto;
    right: 0;
}

/* Add subtle indicators for items with submenus */
.dropdown-content a {
    position: relative;
    padding-right: 35px;
}

.dropdown-content a:after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #003366;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity 0.3s ease;
}

.dropdown-content a:hover:after {
    opacity: 1;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .nav-links .dropdown:not(:last-child) {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .dropdown-content {
        padding: 0.5rem 0;
    }

    .dropdown-content a {
        padding: 12px 30px;
        text-align: center;
    }

    .dropdown-content a:after {
        display: none;
    }

    .nav-links li:nth-last-child(2) .dropdown-content,
    .nav-links li:nth-last-child(3) .dropdown-content {
        left: 0;
        right: auto;
    }
}

/* Animation for dropdown items */
.dropdown-content li {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.dropdown:hover .dropdown-content li {
    opacity: 1;
    transform: none;
}

/* Home Section Styles - Page Layout */
.home-section {
    padding: 40px 0;
    margin-bottom: 60px;
    width: 100%;
    position: relative;
    scroll-snap-align: start; /* Add snap scrolling */
    scroll-margin-top: 0;
}

/* Add scroll snapping to container */
html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

/* Add page indicators */
.page-indicators {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.page-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 51, 102, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-indicator.active {
    background: #003366;
    transform: scale(1.5);
}

/* Add page transitions */
.home-section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.home-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Adjust spacing for better page-like appearance */
.home-section h2 {
    margin-bottom: 40px;
    font-size: 3rem;
    position: relative;
}

.home-section h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #003366;
}

/* Add page navigation */
.page-navigation {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.page-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-dot.active {
    background: #003366;
    transform: scale(1.3);
}

/* Latest News Section Styles */
.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0 auto;
}

.news-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
}

.news-date i {
    color: #003366;
}

.news-category {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: #003366;
    color: white;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.news-item h3 {
    color: #003366;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    line-height: 1.4;
}

.news-item p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #003366;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 0.8rem;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* Events Styles */
.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.event-card {
    display: flex;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.event-date {
    background: #003366;
    color: #fff;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.event-date .day {
    font-size: 2rem;
    font-weight: bold;
}

.event-details {
    padding: 1.5rem;
    flex-grow: 1;
}

/* Announcements Styles */
.announcements-container {
    max-width: 800px;
    margin: 0 auto;
}

.announcement {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.announcement-tag {
    background: #003366;
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Campus Life Styles */
.campus-life-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.campus-life-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.campus-life-card:hover {
    transform: translateY(-5px);
}

.campus-life-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.campus-life-card h3,
.campus-life-card p {
    padding: 1.5rem;
    padding-bottom: 0;
}

.campus-life-card p {
    padding-top: 0.5rem;
    padding-bottom: 1.5rem;
    color: #666;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .home-section {
        padding: 3rem 5%;
    }

    .home-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .event-card {
        flex-direction: column;
    }

    .event-date {
        padding: 0.5rem;
        flex-direction: row;
        gap: 0.5rem;
    }
}

/* Page Transition Styles */
body {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.page-loaded {
    opacity: 1;
}

body.page-transitioning {
    opacity: 0;
}

/* Back to Home Button */
.back-to-home {
    position: fixed;
    top: 20px;
    left: 20px;
    padding: 10px 20px;
    background: #003366;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.back-to-home:hover {
    background: #004d99;
    transform: translateY(-2px);
}

/* Page Content Styles */
.page-content {
    padding-top: 100px;
    min-height: 100vh;
    background: #fff;
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.page-transitioning .loading-overlay {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #003366;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Back to Main Site Button */
.back-to-main {
    position: fixed;
    top: 90px;
    left: 20px;
    padding: 12px 24px;
    background: #003366;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.back-to-main:hover {
    background: #004d99;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.back-to-main i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .back-to-main {
        top: 80px;
        left: 10px;
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Home Content Page Styles */
.home-content {
    margin-top: 80px; /* Space for fixed header */
}

.home-content main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: calc(100vh - 80px);
}

.home-section {
    padding: 40px 0;
    margin-bottom: 60px;
}

/* News Section */
.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-category {
    display: inline-block;
    padding: 5px 15px;
    background: #003366;
    color: white;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.news-item h3 {
    color: #003366;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.news-item p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: #003366;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Section Headers */
.home-section h2 {
    color: #003366;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

/* Back Button */
.back-to-main {
    position: fixed;
    top: 90px;
    left: 20px;
    padding: 10px 20px;
    background: #003366;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    z-index: 999;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .home-content {
        margin-top: 60px;
    }

    .home-content main {
        padding: 15px;
    }

    .home-section {
        padding: 30px 0;
        margin-bottom: 40px;
    }

    .news-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Container widths */
.news-container,
.events-container,
.announcements-container,
.campus-life-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.scroll-to-top-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid #007bff;
    position: fixed;
    bottom: 30px;
    right: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top-btn i {
    font-size: 24px;
    color: #007bff;
}

.scroll-to-top-btn:hover {
    background-color: #007bff;
}

.scroll-to-top-btn:hover i {
    color: white;
}

/* Programs Page Styles */
.programs-page {
    padding-top: 80px;
    min-height: 100vh;
    background: #ffffff;
    
}



.program-section {
    margin-bottom: 80px;
    padding: 30px 50px 100px 50px;
    opacity: 1;
    background-color: #ffffff;
    box-shadow: 0 0px 10px #00000033;
}

.program-section h2 {
    color: #003366;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 1rem;
}

.program-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #003366;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.program-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    opacity: 1;
}

/* Remove any conflicting styles */
.programs-page body,
.programs-page main,
.programs-page section {
    opacity: 1 !important;
    background: #eff0f0;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .programs-page {
        padding-top: 60px;
    }

    .programs-content {
        padding: 20px;
    }

    .program-section {
        margin-bottom: 40px;
    }
}

/* Short Courses specific styles */
#short-courses .program-card {
    display: flex;
    flex-direction: column;
}

#short-courses .program-icon {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 20px;
    text-align: center;
}

#short-courses .program-card h3 {
    color: #003366;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
}

#short-courses .program-card p {
    color: #666;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

#short-courses .program-card ul {
    list-style: none;
    margin-bottom: 20px;
    padding: 0;
}

#short-courses .program-card ul li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

#short-courses .program-card ul li:before {
    content: '•';
    color: #003366;
    position: absolute;
    left: 0;
}

#short-courses .program-details-btn {
    margin-top: auto;
}

/* About Page Styles */
.about-page {
    padding-top: 80px;
    min-height: 100vh;
    background: #ffffff;
    opacity: 1 !important;
}

.about-content {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-section {
    margin-bottom: 60px;
    background: #ffffff;
    padding: 40px 60px;
    border-radius: 10px;
    box-shadow: 0 0px 10px #00000033;
    opacity: 1 !important;
    width: 100%;
}

/* Stronger hover effect only for the Overview card */
#overview-content {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
    border: 1px solid transparent;
}

#overview-content:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
    background-color: #e3ecff;
    border-color: #003366;
    cursor: pointer;
}

.about-section .about-text {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1rem;
}

.about-section .about-text p:first-of-type {
    font-size: 1.05rem;
    font-weight: 500;
}

/* Overview Accordion Styles */
.overview-accordion {
    margin-top: 10px;
}

.overview-item + .overview-item {
    margin-top: 10px;
}

.overview-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #003366;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.overview-toggle i {
    transition: transform 0.2s ease;
}

.overview-item.active .overview-toggle i {
    transform: rotate(180deg);
}

.overview-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    background: #ffffff;
    border-radius: 0 0 6px 6px;
    padding: 0 16px;
}

.overview-item.active .overview-panel {
    padding-top: 12px;
    padding-bottom: 12px;
    max-height: 1000px;
}

/* overview-layout/image no longer used for layout after design change B */

/* Force visibility for all about page elements */
.about-page,
.about-page main,
.about-page section,
.about-page div {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Soft gradient background for About/Overview pages */
.about-page {
    background: linear-gradient(135deg, #f5f7fb, #e3ecff);
}

.about-section h2 {
    color: #003366;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 1rem;
}

.about-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #003366;
}

/* History Timeline */
.history-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.year {
    min-width: 100px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #003366;
}

.timeline-item .content {
    padding-left: 20px;
    border-left: 3px solid #003366;
}

/* Mission & Vision */
.mission-vision-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mission-box, .vision-box {
    padding: 30px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Admissions Section */
.admission-section {
    padding: 0;
    overflow: hidden;
}

.admission-hero {
    height: 420px;
    background-image: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url('bgPicture/admission.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 40px 60px;
    color: #ffffff;
}

.admission-hero-text h2 {
    font-size: 2.6rem;
    margin-bottom: 6px;
}

.admission-hero-text p {
    margin: 0;
    font-size: 1rem;
}

.admission-tabs {
    display: flex;
    gap: 40px;
    padding: 16px 60px 8px;
    border-bottom: 2px solid #f0f0f0;
    background: #ffffff;
    overflow-x: auto;
}

.admission-tab-link {
    text-decoration: none;
    color: #333333;
    font-weight: 600;
    padding-bottom: 6px;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.admission-tab-link:hover {
    color: #003366;
}

.admission-panel {
    margin: 0 auto 24px;
    max-width: 1100px;
    background: #f3f4f6;
    padding: 24px 26px 22px;
    color: #111827;
    border-radius: 0;
}

.admission-panel + .admission-panel {
    margin-top: 0;
}

.admission-panel h3 {
    margin-bottom: 0.75rem;
}

.admission-panel p,
.admission-panel ul {
    font-size: 0.98rem;
}

.admission-panel ul {
    padding-left: 20px;
}

@media (max-width: 768px) {
    .admission-hero {
        height: auto;
        padding: 30px 20px;
        align-items: flex-end;
    }

    .admission-tabs {
        padding: 12px 20px 6px;
        gap: 20px;
    }

    .admission-panel {
        margin: 0 16px 20px;
        padding: 20px 18px 18px;
    }
}

/* Contact Page */
.contact-section {
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.contact-banner {
    background: #ff9b1a;
    border-radius: 0 60px 60px 0;
    margin: 32px 0 24px 0;
    padding: 22px 60px;
}

.contact-banner h2 {
    margin: 0;
    color: #ffffff;
    font-size: 2.2rem;
}

.contact-intro {
    max-width: 1100px;
    margin: 0 auto 20px;
    padding: 0 40px;
}

.contact-intro p {
    margin: 0;
    line-height: 1.7;
}

.contact-card {
    max-width: 1100px;
    margin: 18px auto 32px;
    padding: 24px 32px 22px;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    border: 1px solid #e0e4f0;
}

.contact-card h3 {
    margin-bottom: 0.75rem;
}

.contact-card p {
    margin-bottom: 0.4rem;
}

.contact-card a {
    color: #003366;
    font-weight: 600;
}

.contact-message-bar {
    max-width: 1100px;
    margin: 0 auto 32px;
    padding: 18px 32px;
    background: #111111;
    color: #ffffff;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .contact-banner {
        padding: 16px 24px;
        border-radius: 0;
        margin: 24px 0 18px 0;
    }

    .contact-banner h2 {
        font-size: 1.9rem;
    }

    .contact-intro {
        padding: 0 20px;
    }

    .contact-card {
        margin: 16px 20px 26px;
        padding: 20px 18px 18px;
    }

    .contact-message-bar {
        margin: 0 20px 26px;
        padding: 14px 18px;
    }
}

/* Faculty Grid */
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.faculty-card {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.faculty-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

/* Facilities Grid */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.facility-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.facility-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.facility-card h3, 
.facility-card p {
    padding: 15px;
}

/* Achievements Grid */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.achievement-card {
    text-align: center;
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.achievement-icon {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 20px;
}

/* Chairman Message Layout */
.chairman-section {
    padding-top: 40px;
}

.chairman-layout {
    display: grid;
    grid-template-columns: minmax(0, 260px) minmax(0, 1.6fr);
    gap: 32px;
    align-items: flex-start;
}

.chairman-photo img {
    display: block;
    width: 100%;
    max-width: 260px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.chairman-message p {
    margin-bottom: 0.85rem;
}

.chairman-signature {
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .chairman-layout {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .chairman-photo img {
        margin: 0 auto 1rem;
    }
}

/* Handbooks and Policies */
.handbook-section {
    background: #f5f7fb;
}

.handbook-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 32px 28px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.handbook-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.handbook-text h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.handbook-text p {
    max-width: 440px;
    line-height: 1.6;
}

.handbook-image-wrapper {
    display: flex;
    justify-content: flex-end;
}

.handbook-image {
    width: 100%;
    max-width: 360px;
    height: 260px;
    border-radius: 20px;
    background: linear-gradient(135deg, #003366, #0059b3);
    position: relative;
    overflow: hidden;
}

.handbook-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../picture/PICUSA.png') center/contain no-repeat;
    opacity: 0.15;
}

.handbook-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.handbook-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px 20px 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.handbook-logo {
    width: 60px;
    height: 24px;
    border-radius: 4px;
    background: #003366;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.handbook-card h3 {
    font-size: 1rem;
    line-height: 1.5;
    min-height: 3rem;
}

.handbook-download-btn {
    margin-top: auto;
    align-self: flex-start;
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
    background: #003366;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.handbook-download-btn:hover {
    background: #0059b3;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .handbook-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .handbook-container {
        padding: 24px 18px 20px;
    }

    .handbook-image-wrapper {
        justify-content: center;
    }

    .handbook-image {
        max-width: 280px;
        height: 220px;
    }
}

/* Academic Calendar */
.academic-section {
    background: #ffffff;
}

.academic-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.academic-text h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.academic-text p {
    max-width: 460px;
    line-height: 1.6;
}

.academic-image-wrapper {
    display: flex;
    justify-content: flex-end;
}

.academic-image {
    width: 100%;
    max-width: 360px;
    height: 260px;
    border-radius: 20px;
    background: linear-gradient(135deg, #003366, #0059b3);
    position: relative;
    overflow: hidden;
}

.academic-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../picture/PICUSA.png') center/contain no-repeat;
    opacity: 0.18;
}

.academic-sessions-card {
    margin: 0 auto 32px;
    max-width: 780px;
    background: #f7f9ff;
    border-radius: 16px;
    padding: 24px 26px 22px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.academic-sessions-card h3 {
    margin-bottom: 0.75rem;
}

.academic-lead {
    margin-bottom: 0.75rem;
}

.academic-session-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
}

.academic-session-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.academic-session-list .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #e91e63;
}

.academic-note {
    font-size: 0.9rem;
    color: #555;
}

.academic-accordion {
    max-width: 900px;
    margin: 0 auto 36px;
}

.academic-accordion details {
    background: #f5f7fb;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #e0e4f0;
    overflow: hidden;
}

.academic-accordion summary {
    padding: 14px 18px;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.academic-accordion summary::-webkit-details-marker {
    display: none;
}

.academic-accordion-body {
    padding: 0 18px 14px;
    font-size: 0.95rem;
}

.academic-hours {
    max-width: 900px;
    margin: 0 auto;
}

.academic-hours h3 {
    margin-bottom: 0.75rem;
}

.academic-hours p {
    margin-bottom: 1rem;
}

.hours-table {
    display: grid;
    grid-template-columns: 2fr 1fr;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e0e4f0;
}

.hours-row {
    display: contents;
}

.hours-row > div {
    padding: 10px 14px;
    background: #ffffff;
    border-top: 1px solid #e0e4f0;
}

.hours-header > div {
    background: #f5f7fb;
    font-weight: 600;
}

@media (max-width: 768px) {
    .academic-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .academic-image-wrapper {
        justify-content: center;
    }

    .academic-image {
        max-width: 280px;
        height: 220px;
    }

    .hours-table {
        grid-template-columns: 1.4fr 1fr;
    }
}

/* Transfer Credit */
.transfer-section {
    background: #f5f7fb;
}

.transfer-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.transfer-text h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.transfer-text p {
    max-width: 460px;
    line-height: 1.6;
}

.transfer-image-wrapper {
    display: flex;
    justify-content: flex-end;
}

.transfer-image {
    width: 100%;
    max-width: 360px;
    height: 260px;
    border-radius: 20px;
    background: linear-gradient(135deg, #003366, #0059b3);
    position: relative;
    overflow: hidden;
}

.transfer-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../picture/PICUSA.png') center/contain no-repeat;
    opacity: 0.18;
}

.transfer-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.transfer-policy {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 26px 22px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.transfer-policy h3 {
    margin-bottom: 0.75rem;
}

.transfer-policy p {
    margin-bottom: 0.7rem;
}

.transfer-side-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 22px 18px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.transfer-side-card h4 {
    margin-bottom: 0.6rem;
}

.transfer-side-card p {
    margin-bottom: 0.6rem;
}

.transfer-side-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
}

.transfer-side-card li {
    margin-bottom: 0.35rem;
}

.transfer-highlights {
    margin-top: 10px;
}

.transfer-highlights h3 {
    text-align: center;
    margin-bottom: 1rem;
}

.transfer-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.transfer-highlight-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 18px 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.transfer-highlight-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.transfer-highlight-card p {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .transfer-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .transfer-image-wrapper {
        justify-content: center;
    }

    .transfer-image {
        max-width: 280px;
        height: 220px;
    }

    .transfer-layout {
        grid-template-columns: 1fr;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .about-page {
        padding-top: 60px;
    }

    .about-section {
        padding: 20px;
        margin-bottom: 40px;
    }

    .about-section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    /* overview-layout/image removed in design option B */

    .timeline-item {
        flex-direction: column;
    }

    .year {
        margin-bottom: 10px;
    }
}

/* Home Page Specific Styles */
.home-page {
    padding-top: 80px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
}

.featured-image {
    height: 200px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.1);
}

.featured-content {
    padding: 20px;
}

.featured-content h3 {
    color: #003366;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.featured-content p {
    color: #666;
    margin-bottom: 20px;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.quick-link-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    background: #003366;
    color: #fff;
}

.quick-link-card i {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.quick-link-card:hover i {
    color: #fff;
}

.quick-link-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.quick-link-card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .home-page {
        padding-top: 60px;
    }

    .featured-grid,
    .quick-links-grid {
        padding: 15px;
        gap: 15px;
    }

    .quick-link-card {
        padding: 20px;
    }
}

/* Home Page Styles */
.home-page {
    min-height: 100vh;
    background: #f5f5f5;
}

main {
    padding-top: 80px; /* Space for fixed header */
    min-height: calc(100vh - 80px);
}

.home-section {
    padding: 60px 0;
    opacity: 1 !important;
    visibility: visible !important;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 1 !important;
}

.featured-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    opacity: 1 !important;
}

/* Force visibility for all elements */
.home-page,
.home-page main,
.home-page section,
.home-page div {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Quick Links Section */
#quick-links {
    background: #fff;
    padding: 60px 0;
}

#quick-links h2 {
    text-align: center;
    color: #003366;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.quick-links-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Additional Home Page Styles */
.news-grid,
.events-grid,
.announcements-grid,
.campus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.event-card {
    display: flex;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.event-date {
    background: #003366;
    color: #fff;
    padding: 20px;
    text-align: center;
    min-width: 100px;
}

.event-date .day {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

.announcement-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 20px;
}

.announcement-icon {
    font-size: 2rem;
    color: #003366;
}

.campus-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.campus-card:hover {
    transform: translateY(-5px);
}

.campus-image {
    height: 200px;
    overflow: hidden;
}

.campus-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Index Contact Section Styles */
.index-contact-section {
    padding: 5rem 5%;
    background: #f5f5f5;
}

.index-contact-section h2 {
    text-align: center;
    color: #003366;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.index-contact-section h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #003366;
}

.index-contact-section .contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding: 20px;
}

.index-contact-section .contact-info {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.index-contact-section .info-item {
    margin-bottom: 30px;
    text-align: left;
}

.index-contact-section .info-item:last-child {
    margin-bottom: 0;
}

.index-contact-section .info-item i {
    font-size: 2rem;
    color: #003366;
    margin-bottom: 15px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .index-contact-section .contact-container {
        grid-template-columns: 1fr;
    }

    .index-contact-section .contact-info {
        padding: 20px;
    }

    .index-contact-section .info-item {
        text-align: center;
    }
}

/* Section Header Styles */
.section-header {
    position: relative;
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
        url('../picture/usa1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 0 5%;
}

.section-header::before {
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 230px;
}

.section-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
}

.section-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    overflow: hidden;
}

.section-header p {
    opacity: 0;
    animation: fadeIn 0.8s ease 0.8s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }

}

.section-header .breadcrumb {
    margin-top: 20px;
    font-size: 1rem;
}

.section-header .breadcrumb a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.section-header .breadcrumb a:hover {
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .section-header {
        height: 200px;
    }

    .section-header h1 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }
}

/* Ensure proper section spacing and visibility */
.news-events {
    padding-top: 60px;
    margin-top: -60px; /* Compensate for removed contact section */
}

/* Force visibility for all main sections */
#hero,
#programs,
#branches,
#admission-process,
#news-events,
.news-grid,
.news-card {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Ensure smooth transitions between sections */
section {
    transition: opacity 0.3s ease;
    will-change: opacity;
}

/* Maintain proper spacing between sections (exclude hero so its background image shows) */
section:not(:last-child):not(#hero) {
    margin-bottom: 60px;
    background: #eff0f0;
}

/* Ensure proper grid layout */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Text Animation Styles */
.animated-text {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.animated-text.delay-1 {
    animation-delay: 0.2s;
}

.animated-text.delay-2 {
    animation-delay: 0.4s;
}

.animated-text.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.Youtube{
    background-color: rgb(255, 255, 255);
    box-shadow: 0 10px 10px rgb(0, 0, 1, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.Youtube i {
    font-size: 30px;
    color: rgb(0, 0, 0);
    transition: all 0.3s ease;
    padding-top:5px;
}
.Youtube:hover{
    border-color: brown;
    background-color: brown;
    box-shadow: 0 7px 10px rgba(231, 12, 12, 0.6);
    transform: rotate(360deg);
}
.Youtube i:hover{
    color: white;
}
.Google{
    background-color: aliceblue;
    box-shadow: 0 10px 10px rgb(0, 0, 1, 1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.Google i {
    font-size: 30px;
    color: black;
    transition: all 0.3s ease;
    padding-top: 4px;
    padding-left: 1px;
}
.Google:hover{
    background-color: rgb(255, 255, 255);
    box-shadow: 0 7px 10px rgba(255, 255, 255, 0.7);
    transform: rotate(360deg);
}
.Google i:hover{
    color: transparent;
    background-image: url('../Images/google.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
}
.Facebook{
    background-color: rgb(250, 250, 250);
    box-shadow: 0 10px 10px rgb(0, 0, 1, 1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.Facebook i {
    font-size: 30px;
    color: rgb(0, 0, 0);
    transition: all 0.3s ease;
    padding-top: 4px;
    padding-left: 1px;
}
.Facebook:hover{
    background-color: rgb(39, 36, 245);
    box-shadow: 0 7px 10px rgba(39, 36, 245, 0.7);
    transform: rotate(360deg);
}
.Facebook i:hover{
    color: white;
}
.footer{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    
}
.location-info{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Loading Screen Styles */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
    overflow: hidden;
}

.loader {
    text-align: center;
}

.loader img {
    width: 130px;
    height: auto;
    animation: pulseWithShadow 1.5s infinite;
    margin-bottom: 20px;
}

.line-loading {
    width: 150px;
    height: 3px;
    background: #f3f3f3;
    margin: 0 auto 15px auto;
    position: relative;
    overflow: hidden;
}

.line-loading::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #003366;
    animation: lineProgress 1s ease-in-out infinite;
}

.loading-text {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    animation: dots 1s infinite;
}

@keyframes lineProgress {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes pulseWithShadow {
    0% { 
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(0, 51, 102, 0.5));
    }
    50% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px rgba(0, 51, 102, 0.8));
    }
    100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(0, 51, 102, 0.5));
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes dots {
    0%, 20% { content: "Loading."; }
    40% { content: "Loading.."; }
    60% { content: "Loading..."; }
    80%, 100% { content: "Loading...."; }
}

/* Hide scrollbar during loading */
body:has(.loader-wrapper) {
    overflow: hidden;
}

/* Custom Cursor Styles */
body {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="8" fill="%23000000" opacity="0.8"/></svg>') 10 10, auto;
}

/* Cursor for clickable elements */
a, button, .program-card, .branch-card, 
.quick-link-card, .scroll-to-top-btn,
.dropdown, .portal-btn, .program-details-btn,
.branch-select-btn, .Youtube, .Google, .Facebook {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="%23000000"/><circle cx="12" cy="12" r="5" fill="white"/></svg>') 12 12, pointer;
}

/* Cursor for text selection */
::-moz-selection {
    background: #000000;
    color: white;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M4 12h8v2H4zM4 2v2h8V2h-8z" fill="%23000000"/></svg>') 8 8, text;
}

::selection {
    background: #000000;
    color: white;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M4 12h8v2H4zM4 2v2h8V2h-8z" fill="%23000000"/></svg>') 8 8, text;
}


