/* ============================================
   PK International School - Custom Pink Theme
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    --primary: #E91E63;
    --primary-dark: #C2185B;
    --primary-darker: #AD1457;
    --primary-light: #F8BBD0;
    --primary-lighter: #FCE4EC;
    --primary-gradient: linear-gradient(135deg, #E91E63 0%, #F06292 50%, #E91E63 100%);
    --primary-gradient-alt: linear-gradient(135deg, #AD1457 0%, #E91E63 100%);
    --accent: #FF6F00;
    --accent-light: #FFB74D;
    --gold: #FFD700;
    --dark: #1a1a2e;
    --dark-blue: #16213e;
    --grey-dark: #333333;
    --grey: #666666;
    --grey-light: #999999;
    --grey-lighter: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(233, 30, 99, 0.15);
    --shadow-lg: 0 10px 40px rgba(233, 30, 99, 0.2);
    --shadow-card: 0 5px 25px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 15px 40px rgba(233, 30, 99, 0.15);
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* ---------- Reset & Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--grey-dark);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ---------- Utility Classes ---------- */
.section-padding {
    padding: 80px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

.bg-pink-light {
    background: var(--primary-lighter);
}

.bg-grey-light {
    background: var(--grey-lighter);
}

.bg-pink-gradient {
    background: var(--primary-gradient);
}

.bg-dark-gradient {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.text-pink {
    color: var(--primary) !important;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2 span {
    color: var(--primary);
}

.section-title .title-line {
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    margin: 15px auto;
    border-radius: 2px;
    position: relative;
}

.section-title .title-line::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--white);
}

.section-title p {
    color: var(--grey);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn-pink {
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.btn-pink::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient-alt);
    transition: var(--transition);
    z-index: -1;
}

.btn-pink:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
}

.btn-pink:hover::before {
    left: 0;
}

.btn-outline-pink {
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 30px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    background: transparent;
    transition: var(--transition);
}

.btn-outline-pink:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-white:hover {
    background: var(--primary-lighter);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ---------- Top Bar ---------- */
.top-bar {
    background: var(--primary-gradient);
    padding: 8px 0;
    color: var(--white);
    font-size: 0.85rem;
    position: relative;
    z-index: 1001;
}

.top-bar a {
    color: var(--white);
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--primary-light);
    opacity: 0.85;
}

.top-bar .contact-info i {
    margin-right: 5px;
}

.top-bar .contact-info span {
    margin-right: 20px;
}

.top-bar .social-icons a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    margin-left: 6px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.top-bar .social-icons a:hover {
    background: rgba(255,255,255,0.35);
    transform: translateY(-2px);
}

/* ---------- Navbar ---------- */
.main-navbar {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 10px 0;
    transition: var(--transition);
    z-index: 1000;
}

.main-navbar.scrolled {
    padding: 5px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.main-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.main-navbar .navbar-brand .logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: var(--transition);
}

.main-navbar.scrolled .navbar-brand .logo-img {
    width: 40px;
    height: 40px;
}

.main-navbar .navbar-brand .school-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary);
    line-height: 1.2;
}

.main-navbar .navbar-brand .school-name small {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--grey);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.main-navbar .nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--grey-dark) !important;
    padding: 8px 15px !important;
    position: relative;
    transition: var(--transition);
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--primary) !important;
}

.main-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
    transform: scaleX(1);
}

.main-navbar .dropdown-menu {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
    margin-top: 10px;
    min-width: 250px;
    animation: fadeInDown 0.3s ease;
}

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

.main-navbar .dropdown-item {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    padding: 10px 20px;
    color: var(--grey-dark);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.main-navbar .dropdown-item:hover {
    background: var(--primary-lighter);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 25px;
}

.main-navbar .dropdown-item i {
    width: 20px;
    margin-right: 8px;
    color: var(--primary);
    font-size: 0.8rem;
}

.navbar-toggler {
    border: 2px solid var(--primary);
    padding: 6px 10px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23E91E63' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ---------- Hero Section ---------- */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(233,30,99,0.85) 0%, rgba(173,20,87,0.9) 100%);
    overflow: hidden;
}

.hero-section .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-section .hero-content {
    color: var(--white);
    position: relative;
    z-index: 2;
}

.hero-section .hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.hero-section .hero-content h1 span {
    color: var(--gold);
}

.hero-section .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 600px;
}

.hero-section .hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    animation: float 6s ease-in-out infinite;
}

.hero-section .hero-shapes .shape-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -50px;
    animation-delay: 0s;
}

.hero-section .hero-shapes .shape-2 {
    width: 200px;
    height: 200px;
    bottom: 50px;
    left: -30px;
    animation-delay: 2s;
}

.hero-section .hero-shapes .shape-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

.hero-stats {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    margin-top: 40px;
    border: 1px solid rgba(255,255,255,0.15);
}

.hero-stats .stat-item {
    text-align: center;
    color: var(--white);
}

.hero-stats .stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 5px;
}

.hero-stats .stat-item p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* ---------- About Section ---------- */
.about-section {
    position: relative;
}

.about-section .about-img-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-section .about-img-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-section .about-img-wrapper:hover img {
    transform: scale(1.05);
}

.about-section .about-img-wrapper .experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.about-section .about-img-wrapper .experience-badge h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0;
}

.about-section .about-img-wrapper .experience-badge p {
    margin: 0;
    font-size: 0.85rem;
}

.about-section .about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.about-section .about-content p {
    color: var(--grey);
    margin-bottom: 15px;
}

.about-section .about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0 25px;
}

.about-section .about-features .feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-section .about-features .feature-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

.about-section .about-features .feature-item span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* ---------- Why Choose Us ---------- */
.why-choose-section .feature-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(233, 30, 99, 0.05);
}

.why-choose-section .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.why-choose-section .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card-hover);
}

.why-choose-section .feature-card:hover::before {
    transform: scaleX(1);
}

.why-choose-section .feature-card .icon-box {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: var(--primary-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.why-choose-section .feature-card:hover .icon-box {
    background: var(--primary-gradient);
}

.why-choose-section .feature-card .icon-box i {
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}

.why-choose-section .feature-card:hover .icon-box i {
    color: var(--white);
}

.why-choose-section .feature-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.why-choose-section .feature-card p {
    color: var(--grey);
    font-size: 0.9rem;
    margin: 0;
}

/* ---------- Facilities Section ---------- */
.facilities-section {
    position: relative;
}

.facilities-section .facility-item {
    text-align: center;
    padding: 25px 15px;
    transition: var(--transition);
}

.facilities-section .facility-item:hover {
    transform: translateY(-5px);
}

.facilities-section .facility-item .facility-icon {
    width: 90px;
    height: 90px;
    border-radius: var(--border-radius);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 2px solid transparent;
}

.facilities-section .facility-item:hover .facility-icon {
    border-color: var(--primary);
    box-shadow: var(--shadow-card-hover);
    background: var(--primary-gradient);
}

.facilities-section .facility-item .facility-icon i {
    font-size: 2.2rem;
    color: var(--primary);
    transition: var(--transition);
}

.facilities-section .facility-item:hover .facility-icon i {
    color: var(--white);
}

.facilities-section .facility-item h6 {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--grey-dark);
}

/* ---------- Academic Excellence ---------- */
.academic-section {
    position: relative;
    overflow: hidden;
}

.academic-section .academic-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--white);
}

.academic-section .academic-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
}

.academic-section .result-card {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.15);
    transition: var(--transition);
}

.academic-section .result-card:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-5px);
}

.academic-section .result-card .result-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.academic-section .result-card h2 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 5px;
}

.academic-section .result-card p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin: 0;
}

.academic-section .academic-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.academic-section .highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    padding: 10px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.academic-section .highlight-item:hover {
    background: rgba(255,255,255,0.15);
}

.academic-section .highlight-item i {
    color: var(--gold);
    font-size: 1.2rem;
}

/* ---------- Gallery Preview ---------- */
.gallery-section .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-section .gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    cursor: pointer;
    height: 250px;
}

.gallery-section .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-section .gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-section .gallery-item .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(233,30,99,0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-section .gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-section .gallery-item .gallery-overlay h6 {
    color: var(--white);
    font-size: 1rem;
    margin: 0;
}

.gallery-section .gallery-item:first-child {
    grid-row: span 2;
    height: auto;
}

/* ---------- Testimonials ---------- */
.testimonial-section .testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-card);
    text-align: center;
    position: relative;
    margin: 20px;
}

.testimonial-section .testimonial-card .quote-icon {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.testimonial-section .testimonial-card p {
    font-size: 1.05rem;
    color: var(--grey);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-section .testimonial-card .testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-section .testimonial-card .testimonial-author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

.testimonial-section .testimonial-card .testimonial-author .author-info h6 {
    margin: 0;
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-section .testimonial-card .testimonial-author .author-info span {
    color: var(--primary);
    font-size: 0.85rem;
}

.testimonial-section .carousel-indicators {
    bottom: -40px;
}

.testimonial-section .carousel-indicators button {
    background: var(--primary-light);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    opacity: 0.5;
    transition: var(--transition);
}

.testimonial-section .carousel-indicators button.active {
    background: var(--primary);
    opacity: 1;
    width: 35px;
    border-radius: 6px;
}

/* ---------- CTA Section ---------- */
.cta-section {
    position: relative;
}

.cta-section .cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-section .cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* ---------- Footer ---------- */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: rgba(255,255,255,0.8);
    padding-top: 80px;
}

.footer h5 {
    color: var(--white);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer .footer-about .footer-logo {
    width: 60px;
    margin-bottom: 15px;
}

.footer .footer-links li {
    list-style: none;
    margin-bottom: 10px;
}

.footer .footer-links li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer .footer-links li a i {
    color: var(--primary);
    font-size: 0.7rem;
}

.footer .footer-links li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer .footer-contact li {
    list-style: none;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer .footer-contact li i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer .footer-contact li span {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer .footer-social a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    margin-right: 8px;
    transition: var(--transition);
}

.footer .footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(233,30,99,0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    margin-top: 50px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    z-index: 999;
    border: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ---------- Page Banner ---------- */
.page-banner {
    background: var(--primary-gradient);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -100px;
    right: -50px;
}

.page-banner::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    bottom: -80px;
    left: 10%;
}

.page-banner h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.page-banner .breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
}

.page-banner .breadcrumb-item a {
    color: rgba(255,255,255,0.8);
}

.page-banner .breadcrumb-item.active {
    color: var(--gold);
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

/* ---------- Inner Page Content Common ---------- */
.content-section {
    padding: 60px 0;
}

.content-section .content-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-card);
    margin-bottom: 30px;
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.content-section .content-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-3px);
}

.content-section .content-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-section .content-card h3 i {
    font-size: 1.3rem;
}

.content-section .content-card p {
    color: var(--grey);
    margin-bottom: 10px;
}

.content-section .content-card ul {
    color: var(--grey);
    padding-left: 0;
    list-style: none;
}

.content-section .content-card ul li {
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-section .content-card ul li i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* ---------- Sidebar Nav for Inner Pages ---------- */
.sidebar-nav {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    position: sticky;
    top: 100px;
    overflow: hidden;
}

.sidebar-nav h5 {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 18px 25px;
    margin: 0;
    font-size: 1.1rem;
}

.sidebar-nav .nav-link-list {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.sidebar-nav .nav-link-list li a {
    display: block;
    padding: 12px 25px;
    color: var(--grey-dark);
    font-size: 0.92rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.sidebar-nav .nav-link-list li a:hover,
.sidebar-nav .nav-link-list li a.active {
    background: var(--primary-lighter);
    color: var(--primary);
    border-left-color: var(--primary);
}

/* ---------- Contact Form ---------- */
.contact-form .form-control {
    border: 2px solid #eee;
    border-radius: var(--border-radius);
    padding: 12px 18px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(233,30,99,0.15);
}

.contact-form label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--grey-dark);
    margin-bottom: 5px;
}

/* ---------- Gallery Page ---------- */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-filter .filter-btn {
    padding: 8px 25px;
    border: 2px solid var(--primary-light);
    background: var(--white);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--grey);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-filter .filter-btn:hover,
.gallery-filter .filter-btn.active {
    background: var(--primary-gradient);
    color: var(--white);
    border-color: var(--primary);
}

.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-page-grid .gallery-page-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 220px;
    box-shadow: var(--shadow-card);
    cursor: pointer;
}

.gallery-page-grid .gallery-page-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-page-grid .gallery-page-item:hover img {
    transform: scale(1.1);
}

.gallery-page-grid .gallery-page-item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(233,30,99,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-page-grid .gallery-page-item:hover .overlay {
    opacity: 1;
}

.gallery-page-grid .gallery-page-item .overlay i {
    font-size: 2rem;
    color: var(--white);
}

/* ---------- News Cards ---------- */
.news-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    height: 100%;
}

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

.news-card .news-img {
    height: 200px;
    overflow: hidden;
}

.news-card .news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.news-card .news-body {
    padding: 25px;
}

.news-card .news-date {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.news-card .news-body h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.news-card .news-body p {
    color: var(--grey);
    font-size: 0.9rem;
}

/* ---------- Achievement Timeline ---------- */
.achievement-timeline {
    position: relative;
    padding-left: 40px;
}

.achievement-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-light);
}

.achievement-timeline .timeline-item {
    position: relative;
    margin-bottom: 30px;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.achievement-timeline .timeline-item:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateX(5px);
}

.achievement-timeline .timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 25px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.achievement-timeline .timeline-item .year-badge {
    display: inline-block;
    background: var(--primary-lighter);
    color: var(--primary);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.achievement-timeline .timeline-item h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.achievement-timeline .timeline-item p {
    color: var(--grey);
    font-size: 0.9rem;
    margin: 0;
}

/* ---------- Admission Steps ---------- */
.admission-steps .step-card {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.admission-steps .step-card .step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: var(--shadow);
}

.admission-steps .step-card h5 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.admission-steps .step-card p {
    color: var(--grey);
    font-size: 0.9rem;
}

/* ---------- Scroll Animation ---------- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .hero-section .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .gallery-section .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-section .gallery-item:first-child {
        grid-row: span 1;
    }

    .gallery-page-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-stats {
        margin-top: 25px;
    }

    .academic-section .academic-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 50px 0;
    }

    .hero-section {
        min-height: 70vh;
    }

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

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

    .hero-stats .stat-item h3 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .about-section .about-features {
        grid-template-columns: 1fr;
    }

    .gallery-section .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-banner h1 {
        font-size: 2rem;
    }

    .top-bar .contact-info {
        display: none;
    }

    .cta-section .cta-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 575px) {
    .gallery-page-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats .row > div {
        margin-bottom: 15px;
    }

    .testimonial-section .testimonial-card {
        margin: 10px;
        padding: 25px;
    }
}

/* ---------- Preloader ---------- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--primary-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---------- Marquee ---------- */
.news-ticker {
    background: var(--primary-darker);
    padding: 8px 0;
    overflow: hidden;
}

.news-ticker .ticker-label {
    background: var(--gold);
    color: var(--dark);
    padding: 4px 15px;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.news-ticker marquee {
    color: var(--white);
    font-size: 0.9rem;
}

.news-ticker marquee a {
    color: var(--white);
    margin: 0 30px;
}

.news-ticker marquee a:hover {
    color: var(--gold);
}
