/* ===== CSS Variables ===== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #0f172a;
    --text: #1e293b;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --background: #ffffff;
    --background-alt: #f8fafc;
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Scroll Progress Indicator ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--gradient);
    width: 0%;
    transition: width 0.1s ease-out;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

/* ===== Section Navigation Dots ===== */
.section-dots {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.section-dots .dot::before {
    content: attr(aria-label);
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.section-dots .dot:hover::before {
    opacity: 1;
    visibility: visible;
}

.section-dots .dot:hover {
    background: var(--primary-light);
    transform: scale(1.2);
}

.section-dots .dot.active {
    background: var(--primary);
    border-color: var(--primary-light);
    transform: scale(1.3);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--secondary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 4px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-container {
    height: 64px;
}

.navbar.hidden {
    transform: translateY(-100%);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    transition: height 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

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

.nav-links a.active {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 80px;
    background: var(--background);
    overflow: hidden;
}

.hero-parallax-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 120%;
    background: var(--gradient);
    opacity: 0.07;
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero-particles span {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--gradient);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 15s infinite ease-in-out;
}

.hero-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 12s; }
.hero-particles span:nth-child(2) { left: 20%; top: 60%; animation-delay: 2s; animation-duration: 14s; }
.hero-particles span:nth-child(3) { left: 70%; top: 30%; animation-delay: 4s; animation-duration: 16s; }
.hero-particles span:nth-child(4) { left: 80%; top: 70%; animation-delay: 1s; animation-duration: 13s; }
.hero-particles span:nth-child(5) { left: 50%; top: 80%; animation-delay: 3s; animation-duration: 15s; }
.hero-particles span:nth-child(6) { left: 90%; top: 50%; animation-delay: 5s; animation-duration: 11s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.1; }
    50% { transform: translateY(-30px) rotate(180deg); opacity: 0.2; }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    will-change: transform, opacity;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-title .reveal-text {
    opacity: 0;
    transform: translateY(30px);
    animation: revealText 0.8s ease forwards;
    animation-delay: 0.5s;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0;
    animation: revealText 0.8s ease forwards;
    animation-delay: 0.7s;
}

@keyframes revealText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    opacity: 0;
    animation: revealText 0.8s ease forwards;
    animation-delay: 0.9s;
    position: relative;
    overflow: hidden;
}

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

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

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg);
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== Scroll Reveal Animations ===== */
.scroll-reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal[data-direction="up"] {
    transform: translateY(60px);
}

.scroll-reveal[data-direction="down"] {
    transform: translateY(-60px);
}

.scroll-reveal[data-direction="left"] {
    transform: translateX(-60px);
}

.scroll-reveal[data-direction="right"] {
    transform: translateX(60px);
}

.scroll-reveal:not([data-direction]) {
    transform: translateY(40px);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* ===== About Section ===== */
.about {
    padding: 120px 0;
    background: var(--background-alt);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, var(--background), var(--background-alt));
    pointer-events: none;
}

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

.about-card {
    background: var(--background);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.about-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.about-card:hover .about-icon {
    transform: scale(1.1) rotate(5deg);
}

.about-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
}

.about-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.about-date {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.about-card p:last-child {
    color: var(--text-light);
    font-size: 0.95rem;
    text-align: left;
    display: inline-block;
}

/* ===== Services Section ===== */
.services {
    padding: 120px 0;
    background: var(--background);
}

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

.service-item {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: transparent;
}

.service-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: var(--gradient-subtle);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-item:hover::before {
    opacity: 1;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--background-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-item:hover .service-icon {
    background: var(--gradient);
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.service-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--primary);
    transition: all 0.4s ease;
}

.service-item:hover .service-icon svg {
    stroke: white;
}

.service-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--secondary);
    position: relative;
    z-index: 1;
}

.service-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* ===== Stats Section ===== */
.stats {
    padding: 80px 0;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
    display: block;
}

/* ===== Projects Section ===== */
.projects {
    padding: 120px 0;
    background: var(--background-alt);
}

.projects-timeline {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
}

.projects-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--border));
    border-radius: 3px;
}

.project-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 2rem;
}

.project-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--border);
    border: 3px solid var(--background-alt);
    transition: all 0.3s ease;
    z-index: 1;
}

.project-item.revealed::before {
    transform: scale(1.2);
}

.project-item.completed::before {
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.project-item.in-progress::before {
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.1); }
}

.project-status {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.completed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.status-badge.in-progress {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.project-year {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.project-content {
    background: var(--background);
    padding: 1.75rem;
    border-radius: 16px;
    flex: 1;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-content:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.project-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

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

/* ===== Team Section ===== */
.team {
    padding: 120px 0;
    background: var(--background);
}

.team-content {
    max-width: 800px;
    margin: 3rem auto 0;
}

.ceo-profile {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    background: var(--background-alt);
    padding: 3rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.ceo-profile::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: var(--gradient);
    opacity: 0.05;
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.ceo-avatar {
    width: 130px;
    height: 130px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.3);
}

.ceo-avatar::after {
    content: '';
    position: absolute;
    inset: -6px;
    border: 2px dashed var(--primary-light);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.ceo-avatar span {
    font-size: 3rem;
    font-weight: 700;
    color: white;
}

.ceo-info h3 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
    color: var(--secondary);
}

.ceo-title {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.ceo-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.career-list h4 {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.career-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.career-list li {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: var(--background);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.career-list li:hover {
    border-color: var(--primary-light);
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.1);
}

.company-name {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.company-desc {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ===== Contact Section ===== */
.contact {
    padding: 120px 0;
    background: var(--secondary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    animation: contactBg 20s linear infinite;
}

@keyframes contactBg {
    to { transform: rotate(360deg); }
}

.contact .section-title {
    color: white;
    position: relative;
    z-index: 1;
}

.contact .section-title::after {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
}

.contact-text {
    color: var(--text-lighter);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    padding: 18px 36px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-link svg {
    width: 20px;
    height: 20px;
}

/* ===== Footer ===== */
.footer {
    padding: 2rem 0;
    background: #0a0f1a;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.footer p {
    color: var(--text-lighter);
    font-size: 0.875rem;
}

.footer-address {
    font-size: 0.75rem;
    color: var(--text-lighter);
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .section-dots {
        right: 15px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }
}

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

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--background);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        gap: 2rem;
    }

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

    .nav-links a {
        font-size: 1.5rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-subtitle br {
        display: none;
    }

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

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

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

    .stat-label {
        font-size: 0.875rem;
    }

    .ceo-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem;
    }

    .ceo-description {
        text-align: center;
    }

    .ceo-description br {
        display: none;
    }

    .career-list ul {
        grid-template-columns: 1fr;
    }

    .project-item {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .scroll-reveal[data-direction="left"],
    .scroll-reveal[data-direction="right"] {
        transform: translateY(40px);
    }
}

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

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

    .service-item {
        padding: 1.5rem;
    }

    .ceo-avatar {
        width: 100px;
        height: 100px;
    }

    .ceo-avatar span {
        font-size: 2.5rem;
    }

    .about-card {
        padding: 2rem 1.5rem;
    }

    .project-content {
        padding: 1.25rem;
    }

    .cta-button {
        padding: 14px 32px;
        font-size: 0.9rem;
    }
}

/* ===== Smooth Scroll Snap (Optional - uncomment to enable) ===== */
/*
html {
    scroll-snap-type: y proximity;
}

section {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}
*/

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
}

/* ===== Print Styles ===== */
@media print {
    .navbar,
    .scroll-progress,
    .section-dots,
    .scroll-indicator {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 2rem;
    }

    section {
        padding: 2rem 0;
    }
}
