/* 
===================
Table of Contents
===================
1. General Styles
2. Typography
3. Navigation
4. Hero Section
5. About Section
6. Activities Section
7. Facilities Section
8. Testimonials Section
9. Statistics Section
10. Contact Section
11. Footer
12. Utilities
13. Responsive Styles
*/

/* 
===================
1. General Styles
===================
*/
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #475569;
    --light: #f8fafc;
    --dark: #1e293b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--gray-700);
    line-height: 1.7;
}

body.no-scroll {
    overflow: hidden;
}

/* 
===================
2. Typography
===================
*/
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
}

.display-4 {
    font-weight: 800;
}

.divider {
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.text-uppercase {
    letter-spacing: 2px;
}

/* 
===================
3. Navigation
===================
*/
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Menu Toggle Button */
.menu-toggle {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1100;
    transition: background-color 0.3s ease;
    margin-left: auto;
}

.menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.menu-toggle-inner {
    position: relative;
    width: 24px;
    height: 18px;
}

.menu-toggle-inner span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    left: 0;
}

.menu-toggle-inner span:nth-child(1) {
    top: 0;
}

.menu-toggle-inner span:nth-child(2) {
    top: 8px;
}

.menu-toggle-inner span:nth-child(3) {
    top: 16px;
}

/* Active state for the menu icon */
.menu-toggle.active .menu-toggle-inner span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .menu-toggle-inner span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-toggle-inner span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Menu backdrop */
.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    overflow-y: auto;
}

.menu-overlay::-webkit-scrollbar {
    width: 5px;
}

.menu-overlay::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.menu-overlay::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.menu-overlay::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.menu-overlay.active {
    right: 0;
}

.menu-container {
    padding: 2.5rem;
}

.menu-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.menu-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    margin-bottom: 0.5rem;
    transform: translateX(20px);
    opacity: 0;
    transition: all 0.3s ease;
    transition-delay: calc(0.05s * var(--i, 0));
}

.menu-overlay.active .menu-item {
    transform: translateX(0);
    opacity: 1;
}

.menu-link {
    display: block;
    padding: 0.8rem 0;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: 0.6rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.menu-link:hover {
    color: #fff;
    transform: translateX(5px);
}

.menu-link:hover::after {
    width: 30px;
}

.menu-link.active {
    color: #fff;
    font-weight: 600;
}

.menu-link.active::after {
    width: 30px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
}

/* 
===================
4. Hero Section
===================
*/
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    padding: 9rem 0;
    color: #fff;
    position: relative;
}

.highlight-box {
    background: rgba(37, 99, 235, 0.2);
    border-left: 4px solid var(--primary);
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.highlight-text {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.hero-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    bottom: -10px;
    left: -10px;
    background: rgba(37, 99, 235, 0.1);
    z-index: -1;
    border-radius: 16px;
}

.min-vh-75 {
    min-height: 75vh;
}

/* 
===================
5. About Section
===================
*/
.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
}

/* 
===================
6. Activities Section
===================
*/
.activity-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin: 0 auto;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 
===================
7. Facilities Section
===================
*/
.facility-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.facility-item {
    margin-bottom: 2.5rem;
}

.facilities-gallery img {
    transition: transform 0.3s ease;
}

.facilities-gallery img:hover {
    transform: scale(1.05);
}

/* 
===================
8. Testimonials Section
===================
*/
.testimonial-img {
    width: 100px;
    height: 100px;
    overflow: hidden;
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.testimonial-position {
    color: var(--gray-500);
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.carousel-control-prev {
    left: -20px;
}

.carousel-control-next {
    right: -20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* 
===================
9. Statistics Section
===================
*/
.stats-section {
    background-color: var(--primary);
    color: #fff;
}

.stat-icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* 
===================
10. Contact Section
===================
*/
.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary);
    color: #fff;
}

.form-control:focus {
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

/* 
===================
11. Footer
===================
*/
.footer {
    background-color: var(--gray-900);
    color: #fff;
}

.footer-links {
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

/* 
===================
12. Utilities
===================
*/
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: #fff;
}

/* 
===================
13. Responsive Styles
===================
*/
@media (max-width: 991.98px) {
    .hero-section {
        padding: 6rem 0;
    }
    
    .min-vh-75 {
        min-height: auto;
    }

    .menu-overlay {
        width: 280px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .facility-item {
        margin-bottom: 1.5rem;
    }
    
    .menu-overlay {
        width: 250px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-social {
        margin-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 5rem 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }

    .menu-overlay {
        width: 100%;
    }
} 