/* Ridiculous Games Presentation Deck Styles */

:root {
    --primary-cyan: #00e5ff;
    --primary-magenta: #ff00d4;
    --primary-yellow: #ffd700;
    --primary-green: #39ff14;
    --bg-dark: #0a0a12;
    --bg-darker: #050508;
    --bg-card: rgba(20, 20, 35, 0.9);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b5;
    --gradient-cyber: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    --gradient-gold: linear-gradient(135deg, #ffd700, #ff8c00);
    --glow-cyan: 0 0 30px rgba(0, 229, 255, 0.4);
    --glow-magenta: 0 0 30px rgba(255, 0, 212, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated background grid */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.bg-gradient-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-cyan);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--primary-magenta);
    bottom: -150px;
    left: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--primary-yellow);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
    opacity: 0.15;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(10, 10, 18, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    max-width: 1400px;
    margin: 0 auto;
}

nav a {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

nav a:hover {
    color: var(--primary-cyan);
    border-color: var(--primary-cyan);
    text-shadow: var(--glow-cyan);
}

/* Main content */
main {
    position: relative;
    z-index: 1;
}

section {
    padding: 100px 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.logo-container {
    position: relative;
    margin-bottom: 2rem;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
}

.logo-rid {
    color: var(--primary-yellow);
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
}

.logo-i {
    color: var(--primary-magenta);
    text-shadow: 0 0 40px rgba(255, 0, 212, 0.6);
}

.logo-culous {
    color: var(--primary-cyan);
    text-shadow: 0 0 40px rgba(0, 229, 255, 0.6);
}

.logo-games {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--primary-magenta);
    text-transform: lowercase;
    letter-spacing: 0.5em;
    margin-top: -0.5rem;
    text-shadow: 0 0 30px rgba(255, 0, 212, 0.4);
}

.tagline {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-top: 2rem;
    padding: 1rem 2rem;
    border: 1px solid rgba(0, 229, 255, 0.3);
    background: rgba(0, 229, 255, 0.05);
}

.hero-stats {
    display: flex;
    gap: 4rem;
    margin-top: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator::before {
    content: '↓';
    font-size: 2rem;
    color: var(--primary-cyan);
    text-shadow: var(--glow-cyan);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(15px); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.divider {
    width: 100px;
    height: 3px;
    background: var(--gradient-cyber);
    margin: 1.5rem auto;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 229, 255, 0.1);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-cyber);
}

.about-card:hover {
    border-color: var(--primary-cyan);
    transform: translateY(-5px);
    box-shadow: var(--glow-cyan);
}

.about-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: var(--primary-cyan);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

/* Platform & Engine Badges */
.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.badge {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid;
    transition: all 0.3s ease;
}

.badge-cyan {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.badge-magenta {
    border-color: var(--primary-magenta);
    color: var(--primary-magenta);
}

.badge-yellow {
    border-color: var(--primary-yellow);
    color: var(--primary-yellow);
}

.badge:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

.capability {
    background: var(--bg-card);
    border: 1px solid rgba(255, 0, 212, 0.1);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.capability:hover {
    border-color: var(--primary-magenta);
    box-shadow: var(--glow-magenta);
}

.capability-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.capability h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--primary-magenta);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.capability p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Products Section */
.products-grid {
    display: grid;
    gap: 3rem;
}

.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    background: var(--bg-card);
    border: 1px solid rgba(0, 229, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-cyber);
}

.product:nth-child(even) {
    direction: rtl;
}

.product:nth-child(even) > * {
    direction: ltr;
}

.product-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--primary-yellow);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.product-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.product-meta span {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.product-meta span strong {
    color: var(--primary-cyan);
}

.product-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.product-visual {
    height: 300px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 229, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.product-visual video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-gold);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Key Personnel Section */
.personnel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.person-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 215, 0, 0.1);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.person-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-gold);
}

.person-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-5px);
}

.person-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-magenta));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    overflow: hidden;
}

.person-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.person-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: var(--primary-yellow);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.person-title {
    color: var(--primary-cyan);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.person-bio {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Team Roster Section */
.team-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--text-secondary);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(0, 229, 255, 0.1);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.team-stat {
    text-align: center;
    padding: 1rem;
    border-right: 1px solid rgba(0, 229, 255, 0.1);
}

.team-stat:last-child {
    border-right: none;
}

.team-stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-cyan);
}

.team-stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Discipline Breakdown Cards */
.discipline-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.discipline-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.discipline-card:hover {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

.discipline-header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.discipline-total {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-cyan);
}

.discipline-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.discipline-details {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.sub-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.sub-count {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    color: var(--primary-magenta);
    min-width: 1.5rem;
}

/* Phase Sections */
.phase-section {
    margin-bottom: 4rem;
}

.phase-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.phase-badge {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-cyber);
    color: var(--bg-dark);
}

.phase-badge.phase-a { background: linear-gradient(135deg, #00ff88, #00cc6a); }
.phase-badge.phase-b { background: linear-gradient(135deg, #00e5ff, #0099cc); }
.phase-badge.phase-c { background: linear-gradient(135deg, #ffaa00, #ff8800); }
.phase-badge.phase-d { background: linear-gradient(135deg, #ff00d4, #cc00aa); }

.phase-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.phase-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Department Groups */
.department-group {
    margin-bottom: 2rem;
}

.department-header {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: var(--primary-magenta);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.5rem 1rem;
    background: rgba(255, 0, 212, 0.1);
    border-left: 3px solid var(--primary-magenta);
    margin-bottom: 1rem;
}

/* Team Table */
.team-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.team-table th {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    text-align: left;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid var(--primary-cyan);
}

.team-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top;
}

.team-table tr:hover td {
    background: rgba(0, 229, 255, 0.03);
}

.team-table tr.leader td {
    background: rgba(255, 215, 0, 0.05);
}

.team-table tr.leader:hover td {
    background: rgba(255, 215, 0, 0.1);
}

.employee-name {
    font-weight: 600;
    color: var(--text-primary);
}

.employee-name.is-leader {
    color: var(--primary-yellow);
}

.employee-name.is-leader::after {
    content: '★';
    margin-left: 0.5rem;
    color: var(--primary-yellow);
}

.level-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 2px;
}

.level-4 { background: rgba(100, 100, 150, 0.3); color: #9999cc; border: 1px solid #666699; }
.level-5 { background: rgba(0, 150, 255, 0.2); color: #66ccff; border: 1px solid #0099cc; }
.level-6 { background: rgba(255, 0, 212, 0.2); color: #ff66e5; border: 1px solid #cc00aa; }
.level-7 { background: rgba(255, 215, 0, 0.2); color: #ffd700; border: 1px solid #ccaa00; }

.bio-link {
    color: var(--primary-cyan);
    font-size: 0.85rem;
}

.bio-projects {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.bio-project {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid rgba(57, 255, 20, 0.3);
    color: var(--primary-green);
}

.bio-project a {
    color: var(--primary-green);
    text-decoration: none;
}

.bio-project a:hover {
    text-decoration: underline;
}

.location {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: var(--bg-card);
    border: 1px solid rgba(0, 229, 255, 0.1);
    padding: 2.5rem;
    position: relative;
}

.testimonial::before {
    content: '"';
    font-family: 'Orbitron', sans-serif;
    font-size: 6rem;
    color: rgba(0, 229, 255, 0.1);
    position: absolute;
    top: -20px;
    left: 20px;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-text strong {
    color: var(--primary-cyan);
    font-style: normal;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-cyber);
    border-radius: 50%;
}

.testimonial-author-info h5 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.testimonial-author-info span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Softology Section */
.softology-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.softology-intro p {
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.softology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
}

.softology-item {
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.softology-item:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    background: rgba(57, 255, 20, 0.05);
}

.softology-item a {
    color: inherit;
    text-decoration: none;
}

/* Contact Section */
.contact-section {
    text-align: center;
    padding: 100px 2rem;
    background: linear-gradient(to bottom, transparent, rgba(0, 229, 255, 0.03));
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.contact-card {
    padding: 2rem 3rem;
    background: var(--bg-card);
    border: 1px solid rgba(0, 229, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--primary-cyan);
    box-shadow: var(--glow-cyan);
}

.contact-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--primary-yellow);
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--primary-green);
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
}

.contact-card a:hover {
    text-decoration: underline;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(0, 229, 255, 0.1);
}

footer p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

/* Large Desktop / Presentation (1920x1080) */
@media (min-width: 1920px) {
    section {
        max-width: 1600px;
    }

    .personnel-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .discipline-breakdown {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Standard Desktop (1200px - 1919px) */
@media (min-width: 1200px) and (max-width: 1919px) {
    .personnel-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet Landscape / Small Desktop (900px - 1199px) */
@media (max-width: 1199px) {
    .product {
        grid-template-columns: 1fr;
    }

    .product:nth-child(even) {
        direction: ltr;
    }

    .personnel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Portrait (768px - 899px) */
@media (max-width: 899px) {
    nav ul {
        gap: 0.5rem;
    }

    nav a {
        font-size: 0.65rem;
        padding: 0.5rem;
    }

    .hero-stats {
        gap: 2rem;
    }

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

    .team-table {
        font-size: 0.8rem;
    }

    .team-table th,
    .team-table td {
        padding: 0.5rem;
    }

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

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

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
    section {
        padding: 60px 1rem;
    }

    nav {
        padding: 0.5rem 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    nav a {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .discipline-breakdown {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-cards {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Print styles */
@media print {
    .bg-grid, .bg-gradient-orbs, nav {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}
