/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #800020;        /* Rich Maroon */
    --primary-rgb: 128, 0, 32;
    --secondary: #D4AF37;      /* Warm Gold */
    --secondary-rgb: 212, 175, 55;
    --dark: #1C1A1A;           /* Charcoal Black */
    --light: #FAF8F5;          /* Warm Cream/White */
    --white: #FFFFFF;
    --gray-light: #F1EFF2;
    --gray: #CCCCCC;
    --gray-dark: #666666;
    
    --text-color: #333333;
    --text-muted: #777777;
    
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--dark);
}

.btn-secondary:hover {
    background-color: transparent;
    border-color: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

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

/* Header & Navigation */
header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.top-bar {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.top-bar .info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar .socials {
    display: flex;
    gap: 1rem;
}

.top-bar .socials a:hover {
    color: var(--secondary);
    transform: scale(1.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 60px;
    width: 60px;
    object-fit: contain;
}

.school-name-text h1 {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.school-name-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
    position: relative;
    padding: 0.2rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after,
.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 75vh;
    min-height: 500px;
    background-image: linear-gradient(rgba(128, 0, 32, 0.45), rgba(28, 26, 26, 0.8)), url('../images/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 0 5%;
}

.hero-content {
    max-width: 700px;
    animation: fadeInUp 1s ease-out;
}

.badge-admission {
    background-color: var(--secondary);
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    animation: pulse 2s infinite;
}

.hero-content h2 {
    color: var(--white);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

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

.hero-cta {
    display: flex;
    gap: 1rem;
}

/* Info Cards Section */
.info-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: -50px 5% 4rem;
    position: relative;
    z-index: 10;
    gap: 2rem;
}

.info-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: var(--transition);
    border-bottom: 5px solid transparent;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.info-card.motto { border-color: var(--primary); }
.info-card.vision { border-color: var(--secondary); }
.info-card.mission { border-color: var(--primary); }

.info-icon {
    font-size: 2.5rem;
    color: var(--primary);
    background-color: rgba(128, 0, 32, 0.08);
    padding: 1rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card.vision .info-icon {
    color: var(--secondary);
    background-color: rgba(212, 175, 55, 0.12);
}

.info-card-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.info-card-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Standard Section Layout */
.section {
    padding: 5rem 5%;
}

.bg-white {
    background-color: var(--white);
}

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

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(128, 0, 32, 0.1);
}

.service-card .icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
}

/* PLE Stats Section */
.stats-section {
    background: linear-gradient(rgba(128,0,32,0.9), rgba(128,0,32,0.9)), url('../images/gallery_learning.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: 6rem 5%;
}

.stats-section h2 {
    color: var(--white);
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item h3 {
    font-size: 4rem;
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Table Design for Admissions & Fees */
.table-container {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 3rem;
    border: 1px solid rgba(0,0,0,0.05);
}

.table-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-header h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin: 0;
}

.school-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.school-table th, .school-table td {
    padding: 1.2rem 2rem;
    border-bottom: 1px solid var(--gray-light);
}

.school-table th {
    background-color: rgba(128,0,32,0.05);
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.school-table tbody tr {
    transition: var(--transition);
}

.school-table tbody tr:hover {
    background-color: rgba(128,0,32,0.02);
}

.school-table td {
    color: var(--text-color);
    font-weight: 500;
}

.school-table .amount {
    font-weight: 700;
    color: var(--primary);
}

.school-table .requirements {
    color: var(--text-muted);
}

/* Uniform Table Specific adjustments */
.uniform-badge {
    background-color: rgba(128, 0, 32, 0.08);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
}

.uniform-badge.girls {
    background-color: rgba(212, 175, 55, 0.15);
    color: #b08d17;
}

/* Requirements Grid List */
.requirements-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--primary);
}

.requirements-card h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.requirements-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    list-style: none;
}

.requirements-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.requirements-list li i {
    color: var(--secondary);
    font-size: 1.25rem;
}

/* Gallery Section */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background-color: #f8fafc;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(transparent, rgba(28,26,26,0.9));
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

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

.gallery-caption {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-info-box {
    padding: 1.5rem 2rem;
    background-color: var(--white);
    border-top: 1px solid var(--gray-light);
}

.gallery-info-box p {
    font-weight: 600;
    color: var(--primary);
}

/* Contact Grid */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-detail-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-detail-card i {
    font-size: 2rem;
    color: var(--primary);
    background-color: rgba(128, 0, 32, 0.08);
    padding: 1rem;
    border-radius: 50%;
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--dark);
}

.contact-detail-text p {
    color: var(--text-muted);
    font-weight: 500;
}

.contact-form-card {
    background-color: var(--white);
    padding: 3.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.contact-form-card h2 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1px;
    transition: var(--transition);
    background-color: var(--light);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 10px rgba(128, 0, 32, 0.05);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Alert Notification */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 2rem;
    font-weight: 600;
}

.alert-success {
    background-color: rgba(46, 204, 113, 0.15);
    color: #27ae60;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.alert-error {
    background-color: rgba(231, 76, 60, 0.15);
    color: #c0392b;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

/* Footer Section */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 5rem 5% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 4rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo h2 {
    color: var(--white);
    font-size: 1.5rem;
}

.footer-logo-img {
    height: 50px;
    width: 50px;
}

.footer-desc {
    color: #aaaaaa;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    color: var(--white);
    background-color: rgba(255,255,255,0.05);
    height: 40px;
    width: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.footer-socials a:hover {
    background-color: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
}

.footer-column h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: #aaaaaa;
}

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

.footer-contacts {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #aaaaaa;
    font-size: 0.95rem;
}

.footer-contacts li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.footer-contacts li i {
    color: var(--secondary);
    margin-top: 0.2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #777777;
    font-size: 0.9rem;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .info-bar {
        grid-template-columns: 1fr;
        margin-top: -30px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none; /* Hide top bar on small screens to save space */
    }
    .navbar {
        padding: 1rem 5%;
    }
    .hamburger {
        display: flex;
    }
    .nav-links {
        position: absolute;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 3rem 0;
        gap: 2.5rem;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        transition: var(--transition);
        z-index: 999;
    }
    .nav-links.active {
        left: 0;
    }
    .hero {
        height: 60vh;
    }
    .hero-content h2 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .requirements-list {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* --- Premium Interactive Animation Extensions --- */

/* 1. Visual Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--light);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1;
    visibility: visible;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-spinner {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-spinner img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    z-index: 2;
    animation: logoPulse 2s infinite ease-in-out;
}

.pulse-ring {
    position: absolute;
    border: 5px solid var(--primary);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    z-index: 1;
    animation: ripple 1.6s infinite cubic-bezier(0.215, 0.610, 0.355, 1);
    opacity: 0;
}

@keyframes ripple {
    0% { transform: scale(0.6); opacity: 0; }
    5% { opacity: 0.8; }
    100% { transform: scale(1.3); opacity: 0; }
}

@keyframes logoPulse {
    0% { transform: scale(0.9); }
    50% { transform: scale(1.05); }
    100% { transform: scale(0.9); }
}

/* 2. Scroll Progress indicator */
.scroll-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    width: 0%;
    z-index: 1001;
    transition: width 0.1s cubic-bezier(0.1, 0.8, 0.1, 1);
}

/* 3. Glassmorphic header & shrink states */
header {
    transition: background-color 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
}

header.scrolled {
    background-color: rgba(128, 0, 32, 0.95) !important;
    box-shadow: var(--shadow-md) !important;
}

header.scrolled .navbar {
    padding: 0.5rem 5% !important;
}

header.scrolled .school-name-text h1 {
    color: var(--white) !important;
}
header.scrolled .school-name-text p {
    color: rgba(255,255,255,0.7) !important;
}
header.scrolled .nav-links a {
    color: rgba(255,255,255,0.85) !important;
}
header.scrolled .nav-links a:hover, header.scrolled .nav-links a.active {
    color: var(--secondary) !important;
}
header.scrolled .nav-links a::after {
    background-color: var(--secondary) !important;
}
header.scrolled .hamburger span {
    background-color: var(--white) !important;
}

/* 4. Button Shine Effect */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    z-index: -1;
}

.btn:hover::after {
    left: 150%;
    transition: left 0.8s ease-in-out;
}

/* 5. Floating Background Canvas Blobs */
.blob-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    animation: floating 25s infinite alternate ease-in-out;
}

.blob-1 {
    width: 450px;
    height: 450px;
    background-color: rgba(128, 0, 32, 0.05);
    top: -10%;
    left: -10%;
    animation-duration: 22s;
}

.blob-2 {
    width: 550px;
    height: 550px;
    background-color: rgba(212, 175, 55, 0.06);
    bottom: -15%;
    right: -10%;
    animation-duration: 32s;
}

@keyframes floating {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(60px, 40px) scale(1.1) rotate(180deg); }
    100% { transform: translate(-40px, 70px) scale(0.9) rotate(360deg); }
}

/* 6. Card Hover micro-interactions */
.service-card:hover .icon i, .info-card:hover .info-icon i {
    transform: scale(1.15) rotate(5deg);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.service-card .icon i, .info-card .info-icon i {
    transition: transform 0.4s ease;
}

/* Staggered load items helper */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Grid Utilities */
.grid-responsive-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-responsive-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.grid-responsive-1-2 {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.grid-responsive-12-1 {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
}

.grid-responsive-2-1 {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 4rem;
}

@media (max-width: 768px) {
    .grid-responsive-2,
    .grid-responsive-3,
    .grid-responsive-1-2,
    .grid-responsive-12-1,
    .grid-responsive-2-1 {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* Badge Day Boarding Welcome Section Overlay */
.badge-day-boarding {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--secondary);
    color: var(--dark);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-weight: 700;
    text-align: center;
    z-index: 2;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .badge-day-boarding {
        bottom: 10px !important;
        right: 10px !important;
        padding: 1rem 1.5rem !important;
        box-shadow: var(--shadow-lg) !important;
    }
}



