/* ==========================================================================
   Tirang International School - Global Styles
   ========================================================================== */

:root {
    /* Color Palette */
    --primary-color: #0a2540; /* Deep Navy Blue */
    --primary-light: #153b63;
    --secondary-color: #d4af37; /* Premium Gold */
    --secondary-hover: #b5952f;
    --accent-color: #e63946; /* Vibrant Red for highlights */
    
    --text-dark: #2b2b2b;
    --text-light: #666666;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #121212;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Shadows & Transitions */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.16);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Utilities */
.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-header.left {
    text-align: left;
}

.section-header .subtitle {
    display: inline-block;
    color: var(--secondary-color);
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

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

.section-header.left h2::after {
    left: 0;
    transform: translateX(0);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
    border: 2px solid transparent;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

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

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

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

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

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

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

.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-color); }
.text-white h2, .text-white p, .text-white h3 { color: var(--white); }

/* Layout Sections */
.section {
    padding: 80px 0;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.contact-info i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.top-links a {
    color: var(--white);
    margin-left: 20px;
    font-weight: 300;
}

.top-links a:hover {
    color: var(--secondary-color);
}

.top-links .btn {
    font-weight: 600;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.logo-text h1 {
    font-size: 1.8rem;
    margin: 0;
    line-height: 1;
    letter-spacing: 1px;
}

.logo-text span {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    font-weight: 500;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-list > li > a {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
    padding: 10px 0;
    position: relative;
}

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

.nav-list > li > a:hover::after, .nav-list > li > a.active::after {
    width: 100%;
}

.nav-list > li > a i {
    font-size: 0.8rem;
    margin-left: 5px;
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-md);
    border-radius: 4px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    border-top: 3px solid var(--secondary-color);
}

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

.dropdown li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid #eee;
}

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

.dropdown li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

/* Mega Menu */
.mega-menu-trigger {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    border-top: 3px solid var(--secondary-color);
}

.mega-menu-trigger:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-col h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: var(--primary-color);
    font-family: var(--font-body);
}

.mega-col ul li a {
    display: block;
    padding: 8px 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.mega-col ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* ==========================================================================
   Hero Banner
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for header */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: var(--white);
    animation: fadeInUp 1s ease forwards;
}

.hero-subtitle {
    display: inline-block;
    background-color: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--secondary-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(130% + 1.3px);
    height: 90px;
}

.hero-wave .shape-fill {
    fill: #ffffff;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.feature-list {
    margin-top: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.feature-list i {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-right: 15px;
}

.about-image-wrapper {
    position: relative;
    height: 500px;
}

.about-image {
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    position: absolute;
    box-shadow: var(--shadow-lg);
}

.about-image.main-img {
    width: 80%;
    height: 80%;
    top: 0;
    right: 0;
    z-index: 1;
}

.about-image.float-img {
    width: 60%;
    height: 60%;
    bottom: 0;
    left: 0;
    z-index: 2;
    border: 10px solid var(--white);
}

.experience-badge {
    position: absolute;
    bottom: 40px;
    right: -20px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 30px;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 3;
    box-shadow: var(--shadow-md);
    animation: float 3s ease-in-out infinite;
}

.experience-badge .years {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--secondary-color);
}

.feature-card .icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: all var(--transition-normal);
}

.feature-card:hover .icon-box {
    background-color: var(--secondary-color);
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

/* ==========================================================================
   Academics Timeline
   ========================================================================== */
.academics-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.academics-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--secondary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

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

.timeline-dot {
    position: absolute;
    width: 24px;
    height: 24px;
    right: -12px;
    background-color: var(--white);
    border: 4px solid var(--secondary-color);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}

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

.timeline-content {
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all var(--transition-normal);
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.timeline-content::after {
    content: " ";
    position: absolute;
    top: 24px;
    border: solid transparent;
    border-width: 10px;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -20px;
    border-left-color: var(--white);
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -20px;
    border-right-color: var(--white);
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.timeline-content p {
    color: var(--text-light);
}

/* ==========================================================================
   Facilities Gallery
   ========================================================================== */
.facilities-section .section-header h2::after {
    background-color: var(--white);
}

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

.facility-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 350px;
    cursor: pointer;
}

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

.facility-item:hover img {
    transform: scale(1.05);
}

.facility-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--white);
    transform: translateY(20px);
    transition: transform var(--transition-normal);
}

.facility-item:hover .facility-overlay {
    transform: translateY(0);
}

.facility-overlay h3 {
    color: var(--white);
    margin-bottom: 5px;
}

/* ==========================================================================
   News & Events
   ========================================================================== */
.news-events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.event-card {
    display: flex;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    transition: all var(--transition-normal);
}

.event-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.event-date {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 100px;
}

.event-date .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.event-details {
    padding: 20px;
}

.event-details h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.event-details p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.event-details i {
    color: var(--secondary-color);
    width: 20px;
}

.news-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.news-img {
    width: 150px;
    height: 120px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.news-content .news-date {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.news-content h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin: 5px 0 10px;
}

.news-content h4 a:hover {
    color: var(--secondary-color);
}

.news-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==========================================================================
   Quick Links & Enquiry Form
   ========================================================================== */
.quick-links-enquiry {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.testimonial-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: var(--font-heading);
    font-size: 5rem;
    color: rgba(212, 175, 55, 0.2);
    line-height: 1;
}

.stars {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

.author-info strong {
    display: block;
    color: var(--primary-color);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.enquiry-form-container {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.enquiry-form-container h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.enquiry-form-container p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

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

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.2);
    background-color: rgba(255,255,255,0.05);
    color: var(--white);
    border-radius: 4px;
    font-family: var(--font-body);
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.6);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: rgba(255,255,255,0.1);
}

.form-group select option {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #051626; /* Darker than primary */
    color: var(--white);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.footer-logo h2 {
    color: var(--white);
    margin: 0;
    line-height: 1;
}

.footer-logo span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
}

.about-col p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-col h3 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

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

.contact-col ul li {
    display: flex;
    gap: 15px;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.contact-col ul li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

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

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .about-grid, .quick-links-enquiry, .news-events-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrapper {
        margin-top: 40px;
    }

    /* Mobile Menu */
    .menu-toggle {
        display: block;
    }

    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: var(--shadow-md);
        gap: 15px;
        display: none;
    }

    .nav-list.active {
        display: flex;
    }

    .mega-menu {
        position: static;
        grid-template-columns: 1fr;
        padding: 15px;
        box-shadow: none;
        border-top: none;
        background-color: var(--bg-light);
        display: none;
    }

    .has-dropdown.active .mega-menu, .has-dropdown.active .dropdown {
        display: block;
        opacity: 1;
        visibility: visible;
        position: static;
        box-shadow: none;
        background-color: var(--bg-light);
        transform: none;
    }

    .dropdown {
        position: static;
        width: 100%;
        display: none;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .academics-timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-dot {
        left: 15px;
        right: auto;
    }

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

    .timeline-item:nth-child(odd) .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-content::after {
        left: -20px;
        border-right-color: var(--white);
        border-left-color: transparent;
    }

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

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .features-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
}
