/* Variables */
:root {
    --bg-color: #ffffff;
    --surface-color: #f4f4f4;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --accent-color: #D9232D;
    /* VKS Red */
    --accent-hover: #b01c24;
    --border-color: #e0e0e0;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s ease;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-accent {
    color: var(--accent-color);
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn-primary,
.btn-outline {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--text-primary);
    color: var(--text-primary);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--text-primary);
    color: #fff;
    transform: translateY(-2px);
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.logo-group:hover {
    transform: translateY(-1px);
}

.logo-main {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    line-height: 1;
    font-weight: 700;
    display: flex;
    gap: 5px;
    align-items: center;
}

.text-vks {
    color: var(--accent-color);
    font-weight: 900;
    letter-spacing: -0.5px;
}

.text-org {
    color: var(--text-primary);
    font-weight: 600;
}

.logo-tagline {
    font-family: 'Inter', sans-serif;
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 3px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .logo-main {
        font-size: 2rem;
    }

    .logo-tagline {
        font-size: 0.6rem;
    }
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-primary);
    position: relative;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn .bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.1);
    animation: zoomOut 20s infinite alternate;
    filter: grayscale(100%) contrast(1.1) brightness(0.8);
}

@keyframes zoomOut {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3));
    z-index: -1;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #000;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.subtitle {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.features-list {
    margin-top: 30px;
}

.features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check {
    color: var(--accent-color);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--surface-color);
    padding: 30px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Leadership */
.leadership {
    background-color: var(--bg-color);
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
    margin-top: 40px;
}

.leader-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.leader-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.leader-img-container {
    height: 400px;
    overflow: hidden;
    position: relative;
}

.leader-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.leader-card:hover .leader-img {
    transform: scale(1.05);
}

.leader-content {
    padding: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.leader-content h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.leader-role {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 25px;
    font-weight: 600;
}

.leader-bio p {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Services */
.services {
    background-color: var(--surface-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    height: 400px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-info h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #fff;
}

.portfolio-info p {
    color: var(--accent-color);
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--surface-color);
    padding: 60px;
    border: 1px solid var(--border-color);
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info>p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item .label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.info-item p {
    font-size: 1.1rem;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color);
}

/* Footer */
footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-brand h3 {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-copyright {
    color: #555;
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
        /* Add JS toggle later */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--surface-color);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Lenis Smooth Scroll */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Tech Shimmer Animation */
@keyframes shimmer {
    0% {
        left: -100%;
    }

    10% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.btn-primary:hover::after {
    animation: shimmer 1s;
}

/* Staggered Delay Classes */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}


@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
    }

    .hero-btns {
        flex-direction: column;
    }
}

/* Full Width Nav */
.nav-full {
    width: 100%;
    max-width: none;
    padding: 0 50px;
}

.nav-home-icon {
    font-size: 4.5rem;
    transition: var(--transition);
}

.nav-home-icon:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .nav-full {
        padding: 0 20px !important;
    }

    .nav-home-icon {
        font-size: 2.5rem !important;
    }
}