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

:root {
    /* Modern Color Palette - White, Black, Dark Orange */
    --primary-bg: #ffffff;
    --secondary-bg: #f8f9fa;
    --card-bg: #ffffff;
    --accent-orange: #FF6B35;
    --accent-orange-light: #FF8A65;
    --accent-orange-dark: #E55A2B;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #6c757d;
    --border-color: #e9ecef;
    --border-light: #f1f3f4;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary) !important;
    background-color: var(--primary-bg) !important;
    color: #000000 !important;
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 400;
}

/* Loading Animation */
.loading {
    overflow: hidden;
}

.loading::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-light);
    border-top: 3px solid var(--accent-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10000;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
    color: #000000;
}

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

a:hover {
    color: #000000;
}

/* Exception for CTA buttons - keep white text on hover */
.cta-button:hover {
    color: white !important;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
}

.brand-icon {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #000000;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: #000000;
    background: rgba(255, 107, 53, 0.08);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 25%, #667eea 50%, #764ba2 75%, #f093fb 100%);
    transform-style: preserve-3d;
    will-change: transform;
    backface-visibility: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
    transform: translateZ(0);
    will-change: opacity, transform;
    z-index: 1;
    pointer-events: none;
}

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

.slide.active {
    opacity: 1 !important;
    z-index: 2 !important;
    display: flex !important;
    pointer-events: auto !important;
}

/* Ensure consistent animations for all slide elements */
.slide h1,
.slide p,
.slide .cta-button {
    transition: all 0.8s ease-out;
    will-change: transform, opacity;
}

/* Ensure first slide button is always visible */
.slide.active .cta-button {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    display: inline-block !important;
}

/* Force first slide to be active - REMOVED to allow proper transitions */

.slide-content {
    max-width: 100%;
    width: 100%;
    padding: 4rem 2rem;
    z-index: 10;
    text-align: center;
    position: relative;
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    background: transparent;
}

/* Disable mouse movement effects for first slide */
.slide:first-child .slide-content {
    will-change: auto;
    transform: none !important;
}

.slide-content h1 {
    margin-bottom: 1.5rem;
    color: #000000;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    transition: var(--transition);
    position: relative;
    z-index: 10;
}

.slide-content h1:hover {
    color: #000000;
}

.slide-content p {
    font-size: 1.375rem;
    margin-bottom: 2.5rem;
    color: #374151;
    line-height: 1.6;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
    z-index: 10;
}

.slide-content p:hover {
    color: #000000;
}

.cta-button {
    display: inline-block;
    padding: 1.5rem 3.5rem;
    background: linear-gradient(135deg, #ff6b35, #ff8e53);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.5px;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.5);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    pointer-events: auto !important;
    z-index: 10;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.6);
    color: white;
    background: linear-gradient(135deg, #ff8e53, #ff6b35);
}

.cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.1s ease;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 100;
    pointer-events: auto;
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: #000000 !important;
    font-size: 1.5rem !important;
    font-weight: bold !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    pointer-events: all !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1000 !important;
    backdrop-filter: blur(10px) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.prev-btn {
    left: 2rem;
}

.next-btn {
    right: 2rem;
}

.prev-btn:hover,
.next-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: var(--accent-orange);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
}

.prev-btn:active,
.next-btn:active {
    transform: translateY(-50%) scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
    transition: all 0.1s ease;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 107, 53, 0.5);
    transform: scale(1.05);
}

.dot.active {
    background: var(--accent-orange);
    transform: scale(1.1);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

/* Section Styles */
section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding: 3rem 2rem;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: #000000;
    border-radius: 1px;
}

.section-header h2 {
    margin-bottom: 1rem;
    color: #000000;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    transition: var(--transition);
}

.section-header h2:hover {
    color: #000000;
}

.section-header p {
    font-size: 1.375rem;
    max-width: 600px;
    margin: 0 auto;
    color: #374151;
    line-height: 1.6;
    font-weight: 400;
}

/* About Section */
.about-section {
    background: var(--secondary-bg);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
    animation: networkFlow 4s linear infinite;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    color: #000000;
    margin-bottom: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.about-text h3:hover {
    color: #000000;
}

.cyber-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.icon-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.icon-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-hover);
}

.icon-item .icon {
    font-size: 2rem;
    transition: var(--transition);
}

.icon-item:hover .icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.cyber-illustration {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield,
.network,
.code {
    position: absolute;
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

.shield {
    font-size: 8rem;
    color: #000000;
    animation: shieldPulse 6s ease-in-out infinite;
    animation-delay: 0s;
}

.network {
    font-size: 6rem;
    color: #000000;
    animation: networkFlow 6s linear infinite;
    animation-delay: 2s;
}

.code {
    font-size: 4rem;
    color: #000000;
    animation: codeTyping 5s ease-in-out infinite;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.about-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Activities Section */
.activities-row {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.activities-row .activity-card {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.activity-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.activity-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.activity-card h3 {
    margin-bottom: 1rem;
    color: #000000;
}

.activity-card p {
    color: #000000;
    margin-bottom: 1.5rem;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.9), rgba(229, 90, 43, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.activity-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay span {
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
}

/* News Section */
.news-carousel {
    position: relative;
    overflow: hidden;
}

.news-track {
    display: flex;
    transition: transform 0.5s ease;
}

.news-item {
    min-width: 300px;
    margin-right: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.news-item:hover {
    transform: translateY(-6px);
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-hover);
}

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

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

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

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    margin-bottom: 1rem;
    color: #000000;
}

.news-content p {
    margin-bottom: 1.5rem;
    color: #000000;
}

.read-more {
    color: #000000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.read-more:hover {
    color: #000000;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--border-light);
    color: #000000;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn.prev {
    left: -25px;
}

.carousel-btn.next {
    right: -25px;
}

.carousel-btn:hover {
    background: var(--accent-orange);
    color: white;
    border-color: var(--accent-orange);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
    transition: all 0.1s ease;
}

/* Team Section */
.team-section {
    background: var(--secondary-bg);
}

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

.team-member {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-hover);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    color: #000000;
    margin-bottom: 0.5rem;
}

.member-role {
    color: #000000;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-desc {
    color: #000000;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Services Section */
.services-section {
    background: var(--primary-bg);
}

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

.facility-item {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.facility-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-hover);
}

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

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

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

.facility-content {
    padding: 1.5rem;
}

.facility-content h3 {
    color: #000000;
    margin-bottom: 1rem;
}

.facility-content p {
    color: #000000;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: var(--section-padding);
    background: var(--primary-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-orange);
}

/* Hidden team members */
.team-member-hidden {
    display: none;
}

.team-member-hidden.show {
    display: block;
    animation: fadeInUp 0.6s ease forwards;
}

/* Show All Team Button */
.team-show-all {
    text-align: center;
    margin-top: 3rem;
}

.show-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
    color: white;
    border: none;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    position: relative;
    overflow: hidden;
}

.show-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.5);
}

.show-all-btn:active {
    transform: translateY(0);
}

.btn-icon {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.show-all-btn.expanded .btn-icon {
    transform: rotate(180deg);
}

/* Button text will be changed via JavaScript */

/* Animation for showing team members */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design for team section */
@media (max-width: 768px) {
    .show-all-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .team-show-all {
        margin-top: 2rem;
    }
    
    .btn-icon {
        font-size: 1rem;
    }
}

/* Enhanced Facilities Section */
.services-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

/* Hide search and filter */
.facilities-search {
    display: none !important;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: 25px;
    color: #374151;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.filter-btn:hover {
    border-color: var(--accent-orange);
    background: rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
    color: white;
    border-color: var(--accent-orange);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* Facilities Stats */
.services-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(255, 107, 53, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 107, 53, 0.1);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-orange);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #374151;
    font-weight: 600;
}

/* Enhanced Facility Cards */
.facility-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    opacity: 1;
    transform: translateY(0);
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.facility-card.hidden {
    display: none;
}

.facility-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.facility-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.facility-card:hover .facility-overlay {
    opacity: 1;
}

.facility-overlay .view-details-btn {
    background: rgba(255, 255, 255, 0.95);
    color: var(--accent-orange);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.facility-overlay .view-details-btn:hover {
    background: var(--accent-orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
}

.facility-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.facility-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.facility-header h3 {
    color: #000000;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.facility-category {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.facility-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.facility-card:hover .facility-category::before {
    left: 100%;
}

.facility-content p {
    color: #374151;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.facility-features h4 {
    color: #000000;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.facility-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.facility-features li {
    color: #374151;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 6px;
    position: relative;
    padding-left: 2rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.facility-features li:hover {
    background: rgba(255, 107, 53, 0.1);
    transform: translateX(5px);
}

.facility-features li::before {
    content: "✓";
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-orange);
    font-weight: bold;
    font-size: 0.9rem;
}

.facility-actions {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding-top: 1rem;
}

.facility-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.facility-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6);
}

.facility-btn:hover .icon {
    transform: translateX(5px);
}

.facility-btn .icon {
    transition: transform 0.3s ease;
    font-size: 1rem;
}

/* Facility Modal */
.facility-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.facility-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 107, 53, 0.2);
    color: var(--accent-orange);
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-header h2 {
    color: #000000;
    font-weight: 700;
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
}

.modal-category {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-body {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.modal-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
}

.modal-info h3 {
    color: #000000;
    font-weight: 600;
    margin-bottom: 1rem;
}

.modal-info p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modal-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-features li {
    color: #374151;
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.modal-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 8px;
}

.spec-label {
    font-weight: 600;
    color: #374151;
}

.spec-value {
    color: var(--accent-orange);
    font-weight: 600;
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.modal-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn.primary {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.modal-btn.secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--accent-orange);
    border: 2px solid var(--accent-orange);
}

.modal-btn.tertiary {
    background: rgba(0, 0, 0, 0.1);
    color: #374151;
}

.modal-btn:hover {
    transform: translateY(-2px);
}

/* Responsive Design for Facilities */
@media (max-width: 768px) {
    .services-filter {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .services-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .services-filter {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .services-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .facility-card {
        min-height: 400px;
    }
    
    .facility-image {
        height: 180px;
    }
    
    .facility-content {
        padding: 1rem;
    }
    
    .facility-header h3 {
        font-size: 1.1rem;
    }
    
    .facility-category {
        padding: 0.375rem 0.75rem;
        font-size: 0.7rem;
    }
    
    .facility-actions {
        padding-top: 0.75rem;
    }
    
    .facility-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .facility-features li {
        padding: 0.375rem 0.5rem;
        font-size: 0.8rem;
    }
}

.member-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-orange);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.member-image:hover {
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info h3 {
    color: #000000;
    margin-bottom: 0.5rem;
}

.position {
    color: #000000;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.position:hover {
    color: #000000;
}

.bio {
    color: #000000;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--secondary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
}

/* Services Section */
.services-section {
    padding: var(--section-padding);
    background: var(--secondary-bg);
}

/* Facilities Filter */
.services-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--border-light);
    border-radius: 25px;
    color: #374151;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.filter-btn:hover {
    background: var(--accent-orange);
    color: white;
    border-color: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
    color: white;
    border-color: var(--accent-orange);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* Facilities Stats */
.services-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    color: #374151;
    font-weight: 600;
    font-size: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.facility-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    opacity: 1;
    transform: translateY(0);
    min-height: 450px;
    display: flex;
    flex-direction: column;
}


.facility-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 138, 101, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.facility-card:hover::before {
    opacity: 1;
}

.facility-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-orange);
}

.facility-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.facility-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
}

.facility-card:hover .facility-overlay {
    opacity: 1;
}

.facility-overlay .view-details-btn {
    background: rgba(255, 255, 255, 0.95);
    color: var(--accent-orange);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.facility-overlay .view-details-btn:hover {
    background: var(--accent-orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1) contrast(1);
}

.facility-card:hover .facility-image img {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.1);
}

.facility-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.facility-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.facility-header h3 {
    color: #000000;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.facility-category {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.facility-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.facility-card:hover .facility-category::before {
    left: 100%;
}

.facility-card:hover .facility-content {
    transform: translateY(-1px);
}

.facility-content h3 {
    color: #000000;
    margin-bottom: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.facility-card:hover .facility-content h3 {
    color: #000000;
}

.facility-content p {
    color: #374151;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.facility-features h4 {
    color: #000000;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.facility-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.facility-features li {
    color: #374151;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 6px;
    position: relative;
    padding-left: 2rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.facility-features li:hover {
    background: rgba(255, 107, 53, 0.1);
    transform: translateX(5px);
}

.facility-features li::before {
    content: "✓";
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-orange);
    font-weight: bold;
    font-size: 0.9rem;
}

.facility-actions {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding-top: 1rem;
    margin-top: 1.5rem;
}

.facility-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.facility-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6);
}

.facility-btn:hover .icon {
    transform: translateX(5px);
}

.facility-btn .icon {
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.facility-card:hover .facility-content p {
    color: #000000;
}

.facility-features {
    list-style: none;
    padding: 0;
}

.facility-features li {
    color: #000000;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    transform: translateX(0);
}

.facility-card:hover .facility-features li {
    color: #000000;
}

.facility-features h4 {
    color: #000000;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.facility-card:hover .facility-features h4 {
    color: #000000;
}

.facility-features p {
    color: #000000;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

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

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.zoom-icon {
    font-size: 2rem;
    color: white;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    display: block !important;
    max-width: 90vw;
    max-height: 80vh;
    margin: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: #000000;
}

/* Footer */
.footer {
    background: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #000000;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #000000;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #000000;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #000000;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #000000;
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--accent-orange);
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.newsletter-form button:hover {
    background: linear-gradient(135deg, var(--accent-orange-dark), var(--accent-orange));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.newsletter-form button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.1s ease;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: #000000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary-bg);
        padding: 2rem;
        transform: translateY(-100%);
        transition: var(--transition);
        flex-direction: column;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        height: 80vh;
        padding-top: 80px;
    }

    .slide-content {
        padding: 1rem;
    }

    .prev-btn,
    .next-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .prev-btn {
        left: 1rem;
    }

    .next-btn {
        right: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cyber-icons {
        grid-template-columns: 1fr;
    }

    .activities-row {
        flex-direction: column;
        align-items: center;
    }

    .activities-row .activity-card {
        min-width: 280px;
        max-width: 100%;
    }

    .news-item {
        min-width: 280px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }

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

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

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Cybersecurity Animations */
@keyframes shieldPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(255, 107, 53, 0.2));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.4));
    }
}

@keyframes networkFlow {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes dataScan {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes securityGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 107, 53, 0.3);
        border-color: rgba(255, 107, 53, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.8);
        border-color: rgba(255, 107, 53, 0.8);
    }
}

@keyframes codeTyping {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes matrixRain {
    0% {
        transform: translateY(-100vh);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes threatDetection {
    0% {
        transform: scale(1) rotate(0deg);
        filter: hue-rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(90deg);
        filter: hue-rotate(90deg);
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        filter: hue-rotate(180deg);
    }
    75% {
        transform: scale(1.1) rotate(270deg);
        filter: hue-rotate(270deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
        filter: hue-rotate(360deg);
    }
}

@keyframes encryption {
    0% {
        transform: rotateY(0deg);
        opacity: 1;
    }
    50% {
        transform: rotateY(180deg);
        opacity: 0.5;
    }
    100% {
        transform: rotateY(360deg);
        opacity: 1;
    }
}

@keyframes firewall {
    0%, 100% {
        transform: scaleX(1);
        background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.3), transparent);
    }
    50% {
        transform: scaleX(1.2);
        background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.8), transparent);
    }
}

@keyframes facilityCardEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

.shield-pulse {
    animation: shieldPulse 5s ease-in-out infinite;
}

.network-flow {
    animation: networkFlow 4s linear infinite;
}

.data-scan {
    animation: dataScan 3s linear infinite;
}

.security-glow {
}

.code-typing {
    animation: codeTyping 3s ease-in-out;
}

.matrix-rain {
    animation: matrixRain 5s linear infinite;
}

.threat-detection {
}

.encryption {
    animation: encryption 2s ease-in-out infinite;
}

.firewall {
    animation: firewall 3s ease-in-out infinite;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================================
   PARTICLE NETWORK BACKGROUND
   =========================================== */

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -10;
    pointer-events: none;
}

/* Ensure all content is above particle network */
body > *:not(#particles-js) {
    position: relative;
    z-index: 10;
}

/* Specific sections need higher z-index */
.hero,
.about,
.activities,
.team,
.facilities,
.news,
.footer {
    position: relative;
    z-index: 20;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Navigation needs highest z-index */
.navbar {
    position: relative;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
}

/* Ensure section content is visible */
.about .container,
.activities .container,
.team .container,
.facilities .container,
.news .container {
    position: relative;
    z-index: 25;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Cards and content within sections */
.activity-card,
.team-member,
.facility-card,
.news-item {
    position: relative;
    z-index: 30;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
}

/* Section headers */
.section-header {
    position: relative;
    z-index: 30;
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Activities Section */
.activities-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    z-index: 20;
}

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

.activity-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
    border-radius: 15px 15px 0 0;
}

.activity-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.activity-icon .icon {
    font-size: 1.5rem;
    color: white;
}

.activity-content h3 {
    color: #2c3e50;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.activity-content p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.activity-image {
    margin-top: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

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

.activity-card:hover .activity-image img {
    transform: scale(1.05);
}

/* Responsive design for activities */
@media (max-width: 768px) {
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .activity-card {
        padding: 1.5rem;
    }
    
    .activity-icon {
        width: 50px;
        height: 50px;
    }
    
    .activity-icon .icon {
        font-size: 1.25rem;
    }
}