:root {
    /* Primary Color Palette */
    --primary-bg: #0A192F;
    --secondary-bg: #112240;
    --accent-indigo: #6366F1;
    --accent-cyan: #22D3EE;
    --text-main: #E6F1FF;
    --text-muted: #8892B0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Spacing */
    --section-padding: 100px 5%;
}

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

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.heading-font {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Glassmorphism Utility */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-indigo);
}

/* Hero Carousel */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 400%;
    /* 4 images */
    height: 100%;
    display: flex;
    animation: scrollHero 20s infinite ease-in-out;
    z-index: -1;
}

.carousel-slide {
    width: 25%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* No fading overlays per user request */

@keyframes scrollHero {

    0%,
    20% {
        transform: translateX(0);
    }

    25%,
    45% {
        transform: translateX(-25%);
    }

    50%,
    70% {
        transform: translateX(-50%);
    }

    75%,
    95% {
        transform: translateX(-75%);
    }

    100% {
        transform: translateX(0);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 100px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

.hero-content h1 {
    text-shadow: 0 4px 15px rgba(0, 0, 0, 1);
}

.hero-content p {
    background: rgba(10, 25, 47, 0.4);
    padding: 1rem;
    border-radius: 8px;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-cyan));
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-indigo);
    color: var(--accent-indigo);
}

.btn:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 5%;
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: linear-gradient(90deg, #fff, var(--accent-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav ul li a:hover {
    color: var(--accent-cyan);
}

/* Main Spacing */
main {
    padding-bottom: 100px;
}

/* Footer */
footer {
    padding: 80px 5% 40px;
    background: var(--secondary-bg);
    margin-top: 100px;
}

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

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Single View Layout for About Page */
.single-view-main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    padding-bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.about-hero {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 2rem 5%;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.compact-h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.compact-h2 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--accent-cyan);
}

.compact-p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.expertise-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-indigo);
}

.compact-card {
    padding: 0 !important;
    overflow: hidden;
    border: none !important;
}

.compact-img {
    width: 100%;
    height: 300px;
    /* Reduced from 400px */
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}

.card-text {
    padding: 1.5rem;
}

.compact-h3 {
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.compact-gallery {
    padding: 1rem 5% 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-img {
    width: 100%;
    height: 150px;
    /* Reduced from 300px */
    object-fit: cover;
    border-radius: 10px;
}

/* Override footer for about page or just keep it minimal */
.single-view-main+footer {
    margin-top: 0;
    padding: 1rem 5%;
}

.single-view-main+footer .footer-bottom {
    margin-top: 0;
    padding-top: 10px;
}

@media (max-height: 800px) {
    .compact-h1 {
        font-size: 2.2rem;
    }

    .compact-img {
        height: 220px;
    }

    .gallery-img {
        height: 100px;
    }
}

/* Existing Scroll Animations */
[data-anime] {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

[data-anime].visible {
    opacity: 1;
    transform: translateY(0);
}