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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.navbar-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.navbar-brand .brand-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.navbar-brand .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    transition: width 0.3s ease;
}

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

.language-switcher .lang-link {
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    color: #64748b;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.language-switcher .lang-link:hover {
    background: #e2e8f0;
    color: #2563eb;
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #64748b;
    transition: all 0.3s ease;
}

/* Main Content */
/* .page-content {
    width: 1800px;
    margin-top: 80px;
    min-height: calc(100vh - 80px);
} */

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero .wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1e293b, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: white;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-secondary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

/* Hero Visual Styles */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-animation {
    position: relative;
    width: 400px;
    height: 400px;
}

.ai-nodes {
    position: relative;
    width: 100%;
    height: 100%;
    animation: pulse 4s ease-in-out infinite;
}

.node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.node-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.node-2 {
    top: 20%;
    right: 20%;
    animation-delay: 0.5s;
}

.node-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

.node-4 {
    bottom: 20%;
    right: 20%;
    animation-delay: 1.5s;
}

.node-5 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 2s;
}

.connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2563eb, transparent);
    animation: flow 3s ease-in-out infinite;
}

.conn-1 {
    top: 25%;
    left: 25%;
    width: 50%;
    transform: rotate(0deg);
    animation-delay: 0s;
}

.conn-2 {
    top: 50%;
    left: 25%;
    width: 50%;
    transform: rotate(90deg);
    animation-delay: 0.75s;
}

.conn-3 {
    bottom: 25%;
    left: 25%;
    width: 50%;
    transform: rotate(0deg);
    animation-delay: 1.5s;
}

.conn-4 {
    top: 50%;
    right: 25%;
    width: 50%;
    transform: rotate(90deg);
    animation-delay: 2.25s;
}

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

@keyframes flow {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: #f8fafc;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.feature-description {
    color: #64748b;
    line-height: 1.6;
}

/* Projects Grid */
.recent-projects {
    padding: 4rem 0;
    background: #f8fafc;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.section-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.section-link:hover {
    color: #7c3aed;
}

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

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 1.5rem;
}

.project-title a {
    color: #1e293b;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.project-title a:hover {
    color: #2563eb;
}

.project-description {
    color: #64748b;
    margin: 0.5rem 0 1rem;
    line-height: 1.6;
}

.project-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
}

.status-active {
    background: #dcfce7;
    color: #166534;
}

.status-development {
    background: #fef3c7;
    color: #92400e;
}

.status-completed {
    background: #dbeafe;
    color: #1e40af;
}

/* Team Grid */
.team-preview {
    padding: 4rem 0;
    background: white;
}

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

.team-member {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: #f8fafc;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.member-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #e2e8f0;
}

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

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.member-name a {
    color: #1e293b;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.member-name a:hover {
    color: #2563eb;
}

.member-position {
    color: #64748b;
    margin-top: 0.5rem;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1e293b, #2563eb);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Styles */
.page-wrapper {
    padding: 4rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.page-subtitle {
    font-size: 1.25rem;
    color: #64748b;
}

.page-content {
    max-width: 1800px;
    margin: 0 auto;
    line-height: 1.8;
}

.page-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #1e293b;
}

.page-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    color: #1e293b;
}

.page-content p {
    margin-bottom: 1rem;
    color: #4b5563;
}

.page-content ul, .page-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

/* Footer */
.site-footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #60a5fa;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: #334155;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* About Page Styles */
.about-page {
    margin-top: 80px;
}

/* Home Page Styles */
.home {
    margin-top: 80px;
}

/* People Page Styles */
.people-page {
    margin-top: 80px;
}

/* Projects Page Styles */
.projects-page {
    margin-top: 80px;
}

/* Contact Page Styles */
.contact-page {
    margin-top: 80px;
}

/* Videos Page Styles */
.videos-page {
    margin-top: 80px;
}

/* Images Page Styles */
.images-page {
    margin-top: 80px;
}

.about-hero,
.people-hero,
.projects-hero,
.contact-hero,
.videos-hero,
.images-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.about-hero .wrapper,
.people-hero .wrapper,
.projects-hero .wrapper,
.contact-hero .wrapper,
.videos-hero .wrapper,
.images-hero .wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-hero-title,
.people-hero-title,
.projects-hero-title,
.contact-hero-title,
.videos-hero-title,
.images-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1e293b, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero-subtitle,
.people-hero-subtitle,
.projects-hero-subtitle,
.contact-hero-subtitle,
.videos-hero-subtitle,
.images-hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    line-height: 1.6;
}

.about-animation,
.people-animation,
.projects-animation,
.contact-animation,
.videos-animation,
.images-animation {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

/* People Page Animation */
.team-nodes {
    position: relative;
    width: 100%;
    height: 100%;
    animation: pulse 4s ease-in-out infinite;
}

.team-node {
    position: absolute;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
    animation: pulse 2.5s ease-in-out infinite;
}

.team-1 {
    top: 30%;
    left: 30%;
    animation-delay: 0s;
}

.team-2 {
    top: 30%;
    right: 30%;
    animation-delay: 0.6s;
}

.team-3 {
    bottom: 30%;
    left: 30%;
    animation-delay: 1.2s;
}

.team-4 {
    bottom: 30%;
    right: 30%;
    animation-delay: 1.8s;
}

.team-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #10b981, transparent);
    animation: flow 3.5s ease-in-out infinite;
}

.team-conn-1 {
    top: 35%;
    left: 35%;
    width: 30%;
    animation-delay: 0s;
}

.team-conn-2 {
    bottom: 35%;
    left: 35%;
    width: 30%;
    animation-delay: 1.2s;
}

.team-conn-3 {
    top: 50%;
    left: 35%;
    width: 30%;
    transform: rotate(90deg);
    animation-delay: 2.4s;
}

/* Projects Page Animation */
.project-nodes {
    position: relative;
    width: 100%;
    height: 100%;
    animation: pulse 4s ease-in-out infinite;
}

.project-node {
    position: absolute;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
    animation: pulse 2.2s ease-in-out infinite;
}

.project-1 {
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.project-2 {
    top: 40%;
    left: 25%;
    animation-delay: 0.4s;
}

.project-3 {
    top: 40%;
    right: 25%;
    animation-delay: 0.8s;
}

.project-4 {
    bottom: 30%;
    left: 35%;
    animation-delay: 1.2s;
}

.project-5 {
    bottom: 30%;
    right: 35%;
    animation-delay: 1.6s;
}

.project-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f59e0b, transparent);
    animation: flow 3.2s ease-in-out infinite;
}

.project-conn-1 {
    top: 25%;
    left: 45%;
    width: 20%;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.project-conn-2 {
    top: 25%;
    right: 45%;
    width: 20%;
    transform: rotate(-45deg);
    animation-delay: 0.8s;
}

.project-conn-3 {
    bottom: 35%;
    left: 40%;
    width: 20%;
    animation-delay: 1.6s;
}

.project-conn-4 {
    bottom: 35%;
    right: 40%;
    width: 20%;
    animation-delay: 2.4s;
}

/* Contact Page Animation */
.contact-nodes {
    position: relative;
    width: 100%;
    height: 100%;
    animation: pulse 4s ease-in-out infinite;
}

.contact-node {
    position: absolute;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-radius: 50%;
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.5);
    animation: pulse 2.8s ease-in-out infinite;
}

.contact-1 {
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.contact-2 {
    bottom: 35%;
    left: 35%;
    animation-delay: 0.9s;
}

.contact-3 {
    bottom: 35%;
    right: 35%;
    animation-delay: 1.8s;
}

.contact-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
    animation: flow 3.8s ease-in-out infinite;
}

.contact-conn-1 {
    top: 50%;
    left: 40%;
    width: 25%;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.contact-conn-2 {
    top: 50%;
    right: 40%;
    width: 25%;
    transform: rotate(-45deg);
    animation-delay: 1.9s;
}

.mission-nodes {
    position: relative;
    width: 100%;
    height: 100%;
}

.mission-node {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.mission-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.mission-2 {
    top: 20%;
    right: 20%;
    animation-delay: 0.5s;
}

.mission-3 {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1s;
}

.mission-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    opacity: 0.6;
    animation: glow 3s ease-in-out infinite;
}

.mission-conn-1 {
    top: 50%;
    left: 35%;
    width: 30%;
    transform: rotate(-30deg);
}

.mission-conn-2 {
    top: 60%;
    left: 35%;
    width: 30%;
    transform: rotate(30deg);
}

.identity-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.identity-description {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mission-section {
    padding: 4rem 0;
    background: #fff;
}

.mission-description {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.values-section {
    padding: 4rem 0;
    background: #f8fafc;
}

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

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.value-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.value-description {
    color: #64748b;
    line-height: 1.6;
}

.focus-areas-section {
    padding: 4rem 0;
    background: #fff;
}

.focus-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.focus-area-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
    transition: all 0.3s ease;
}

.focus-area-card:hover {
    background: #f1f5f9;
    border-left-color: #7c3aed;
}

.focus-area-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.25rem;
}

.focus-area-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.focus-area-description {
    color: #64748b;
    line-height: 1.6;
}

.impact-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1e293b, #2563eb);
    color: white;
}

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

.impact-stat {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #e2e8f0;
}

.stat-description {
    color: #cbd5e1;
    font-size: 0.875rem;
}

.about-cta {
    padding: 4rem 0;
    background: #f8fafc;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.cta-description {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Large Screen Optimizations (16" and above) */
@media (min-width: 1600px) {
    .wrapper {
        max-width: 1800px;
        padding: 0 40px;
    }
    
    .hero .wrapper {
        gap: 8rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 3rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .hero-animation {
        width: 500px;
        height: 500px;
    }
    
    .about-hero .wrapper,
    .people-hero .wrapper,
    .projects-hero .wrapper,
    .contact-hero .wrapper,
    .videos-hero .wrapper,
    .images-hero .wrapper {
        gap: 8rem;
    }
    
    .about-hero-title,
    .people-hero-title,
    .projects-hero-title,
    .contact-hero-title,
    .videos-hero-title,
    .images-hero-title {
        font-size: 4rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
    
    .focus-areas-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .impact-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
    
    .videos-grid,
    .images-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2rem;
    }
}

@media (min-width: 1920px) {
    .wrapper {
        max-width: 2000px;
        padding: 0 60px;
    }
    
    .hero .wrapper {
        gap: 10rem;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.75rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 4rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 4rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 4rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
    
    .hero-animation {
        width: 600px;
        height: 600px;
    }
    
    .about-hero .wrapper,
    .people-hero .wrapper,
    .projects-hero .wrapper,
    .contact-hero .wrapper,
    .videos-hero .wrapper,
    .images-hero .wrapper {
        gap: 10rem;
    }
    
    .about-hero-title,
    .people-hero-title,
    .projects-hero-title,
    .contact-hero-title,
    .videos-hero-title,
    .images-hero-title {
        font-size: 4.5rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 4rem;
    }
    
    .focus-areas-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 4rem;
    }
    
    .impact-stats {
        grid-template-columns: repeat(5, 1fr);
        gap: 4rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 4rem;
    }
    
    .videos-grid,
    .images-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 4rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 2.5rem;
    }
}

/* 27" Screen Optimizations (2560x1440 and similar) */
@media (min-width: 2560px) {
    .wrapper {
        max-width: 2400px;
        padding: 0 80px;
    }
    
    .hero .wrapper {
        gap: 12rem;
    }
    
    .hero-title {
        font-size: 5.5rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 2rem;
        line-height: 1.5;
    }
    
    .features-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 5rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 5rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 5rem;
    }
    
    .section-title {
        font-size: 4rem;
        margin-bottom: 4rem;
    }
    
    .hero-animation {
        width: 700px;
        height: 700px;
    }
    
    .about-hero .wrapper,
    .people-hero .wrapper,
    .projects-hero .wrapper,
    .contact-hero .wrapper {
        gap: 12rem;
    }
    
    .about-hero-title,
    .people-hero-title,
    .projects-hero-title,
    .contact-hero-title {
        font-size: 5.5rem;
        line-height: 1.1;
    }
    
    .values-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 5rem;
    }
    
    .focus-areas-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 5rem;
    }
    
    .impact-stats {
        grid-template-columns: repeat(6, 1fr);
        gap: 5rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 5rem;
    }
    
    .videos-grid,
    .images-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
        gap: 3rem;
    }
    
    .feature-card,
    .project-card,
    .team-member,
    .value-card,
    .focus-area-card,
    .video-card,
    .image-card,
    .category-card {
        padding: 3rem;
    }
    
    .feature-title,
    .project-title a,
    .member-name a,
    .value-title,
    .focus-area-title,
    .video-title,
    .image-title,
    .category-title {
        font-size: 1.5rem;
    }
    
    .feature-description,
    .project-description,
    .value-description,
    .focus-area-description,
    .video-description,
    .image-description,
    .category-description {
        font-size: 1.125rem;
        line-height: 1.7;
    }
    
    .cta-title {
        font-size: 4rem;
    }
    
    .cta-description {
        font-size: 1.5rem;
    }
    
    .page-title {
        font-size: 4rem;
    }
    
    .page-subtitle {
        font-size: 1.5rem;
    }
}

/* Ultra-wide Screen Optimizations (3440x1440 and similar) */
@media (min-width: 3440px) {
    .wrapper {
        max-width: 3200px;
        padding: 0 100px;
    }
    
    .hero .wrapper {
        gap: 15rem;
    }
    
    .hero-title {
        font-size: 6.5rem;
        line-height: 1.05;
    }
    
    .hero-subtitle {
        font-size: 2.25rem;
        line-height: 1.4;
    }
    
    .features-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 6rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 6rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(8, 1fr);
        gap: 6rem;
    }
    
    .section-title {
        font-size: 4.5rem;
        margin-bottom: 5rem;
    }
    
    .hero-animation {
        width: 800px;
        height: 800px;
    }
    
    .about-hero .wrapper,
    .people-hero .wrapper,
    .projects-hero .wrapper,
    .contact-hero .wrapper {
        gap: 15rem;
    }
    
    .about-hero-title,
    .people-hero-title,
    .projects-hero-title,
    .contact-hero-title {
        font-size: 6.5rem;
        line-height: 1.05;
    }
    
    .values-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 6rem;
    }
    
    .focus-areas-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 6rem;
    }
    
    .impact-stats {
        grid-template-columns: repeat(7, 1fr);
        gap: 6rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6rem;
    }
    
    .videos-grid,
    .images-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 6rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
        gap: 4rem;
    }
    
    .feature-card,
    .project-card,
    .team-member,
    .value-card,
    .focus-area-card,
    .video-card,
    .image-card,
    .category-card {
        padding: 4rem;
    }
    
    .feature-title,
    .project-title a,
    .member-name a,
    .value-title,
    .focus-area-title,
    .video-title,
    .image-title,
    .category-title {
        font-size: 1.75rem;
    }
    
    .feature-description,
    .project-description,
    .value-description,
    .focus-area-description,
    .video-description,
    .image-description,
    .category-description {
        font-size: 1.25rem;
        line-height: 1.8;
    }
    
    .cta-title {
        font-size: 4.5rem;
    }
    
    .cta-description {
        font-size: 1.75rem;
    }
    
    .page-title {
        font-size: 4.5rem;
    }
    
    .page-subtitle {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 4rem;
    }
    
    .stat-label {
        font-size: 1.5rem;
    }
    
    .stat-description {
        font-size: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero .wrapper,
    .about-hero .wrapper,
    .people-hero .wrapper,
    .projects-hero .wrapper,
    .contact-hero .wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual,
    .people-hero-visual,
    .projects-hero-visual,
    .contact-hero-visual {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .hero-animation,
    .people-animation,
    .projects-animation,
    .contact-animation {
        width: 250px;
        height: 250px;
    }
    
    .hero-title,
    .about-hero-title,
    .people-hero-title,
    .projects-hero-title,
    .contact-hero-title {
        font-size: 2.5rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .projects-grid,
    .features-grid,
    .team-grid,
    .values-grid,
    .focus-areas-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .impact-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .wrapper {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    
    .hero {
        padding: 1.5rem 0;
    }
    
    .wrapper {
        padding: 0 10px;
    }
}

/* Videos Page Specific Styles */
.video-categories,
.image-categories {
    padding: 4rem 0;
    background: white;
}

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

.category-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: #f8fafc;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.category-description {
    color: #64748b;
    line-height: 1.6;
}

.featured-videos,
.featured-images {
    padding: 4rem 0;
    background: #f8fafc;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 3rem;
}

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

.video-card,
.image-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.video-card:hover,
.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-card.featured,
.image-card.featured {
    grid-column: span 2;
}

.video-thumbnail,
.image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.video-placeholder,
.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 3rem;
    position: relative;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.video-overlay,
.image-overlay,
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay,
.image-card:hover .image-overlay,
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.play-button,
.view-button,
.gallery-play-btn,
.gallery-view-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover,
.view-button:hover,
.gallery-play-btn:hover,
.gallery-view-btn:hover {
    background: white;
    transform: scale(1.1);
}

.video-info,
.image-info {
    padding: 1.5rem;
}

.video-title,
.image-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.video-description,
.image-description {
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.video-meta,
.image-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.video-category,
.image-category {
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.video-date,
.image-date {
    color: #64748b;
    font-size: 0.875rem;
}

.video-gallery,
.image-gallery {
    padding: 4rem 0;
    background: white;
}

.gallery-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: #f1f5f9;
    color: #64748b;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #2563eb;
    color: white;
}

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

.gallery-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.gallery-thumbnail {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.gallery-info {
    padding: 1rem;
}

.gallery-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.gallery-category {
    color: #64748b;
    font-size: 0.875rem;
}

.videos-cta,
.images-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1e293b, #2563eb);
    color: white;
    text-align: center;
}

/* Video Matrix (Masonry) */
.video-matrix {
    padding: 4rem 0;
    background: #fff;
}

.video-masonry {
    column-count: 4;
    column-gap: 1.5rem;
}

.video-tile {
    break-inside: avoid;
    display: inline-block;
    width: 100%;
    margin: 0 0 1.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(0,0,0,0.12);
}

.video-tile.wide .tile-media { height: 240px; }
.video-tile.tall .tile-media { height: 420px; }

.tile-media {
    position: relative;
    width: 100%;
    height: 320px;
    background: #000;
}

.tile-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tile-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(0deg, rgba(0,0,0,0.45), rgba(0,0,0,0.15));
    opacity: 0;
    color: #fff;
    font-size: 2rem;
    transition: opacity 0.2s ease;
}

.video-tile:hover .tile-overlay { opacity: 1; }

.tile-meta {
    padding: 0.875rem 1rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.tile-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.tile-badges { display: flex; gap: 0.5rem; }
.badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
}

@media (max-width: 1280px) {
    .video-masonry { column-count: 3; }
}

@media (max-width: 992px) {
    .video-masonry { column-count: 2; }
}

@media (max-width: 640px) {
    .video-masonry { column-count: 1; }
    .tile-media { height: 240px; }
}

/* Video and Image Animations */
.video-nodes,
.image-nodes {
    position: relative;
    width: 100%;
    height: 100%;
    animation: pulse 4s ease-in-out infinite;
}

.video-node,
.image-node {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.video-node {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.image-node {
    background: linear-gradient(135deg, #10b981, #059669);
}

.video-1, .image-1 {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.video-2, .image-2 {
    top: 15%;
    right: 15%;
    animation-delay: 0.5s;
}

.video-3, .image-3 {
    bottom: 15%;
    left: 15%;
    animation-delay: 1s;
}

.video-4, .image-4 {
    bottom: 15%;
    right: 15%;
    animation-delay: 1.5s;
}

.video-5, .image-5 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 2s;
}

.video-connection,
.image-connection {
    position: absolute;
    height: 2px;
    animation: flow 3s ease-in-out infinite;
}

.video-connection {
    background: linear-gradient(90deg, transparent, #ef4444, transparent);
}

.image-connection {
    background: linear-gradient(90deg, transparent, #10b981, transparent);
}

.video-conn-1, .image-conn-1 {
    top: 20%;
    left: 20%;
    width: 60%;
    animation-delay: 0s;
}

.video-conn-2, .image-conn-2 {
    bottom: 20%;
    left: 20%;
    width: 60%;
    animation-delay: 1s;
}

.video-conn-3, .image-conn-3 {
    top: 50%;
    left: 20%;
    width: 60%;
    transform: rotate(90deg);
    animation-delay: 2s;
}

.video-conn-4, .image-conn-4 {
    top: 50%;
    right: 20%;
    width: 60%;
    transform: rotate(90deg);
    animation-delay: 2.5s;
}

/* Modal Styles */
.video-modal,
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: 5% auto;
    width: 90%;
    max-width: 1000px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    animation: slideIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

.modal-video-container,
.modal-image-container {
    width: 100%;
    height: 500px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-video-container video,
.modal-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.modal-video-info,
.modal-image-info {
    padding: 2rem;
}

.modal-video-info h3,
.modal-image-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.modal-video-info p,
.modal-image-info p {
    color: #64748b;
    line-height: 1.6;
}

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

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

/* Responsive Design for Videos and Images Pages */
@media (max-width: 768px) {
    .videos-grid,
    .images-grid {
        grid-template-columns: 1fr;
    }
    
    .video-card.featured,
    .image-card.featured {
        grid-column: span 1;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .gallery-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-video-container,
    .modal-image-container {
        height: 300px;
    }
}