:root {
    --bg-color: #0c0c0e;
    --surface-color: #161618;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --accent-color: #00bcd4;
    /* Teal/Cyan for a modern tech look */
    --accent-glow: rgba(0, 188, 212, 0.3);
    --gold: #d4af37;
    /* Subtle metallic gold for 'Excellence' */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    /* Subtle mesh gradient background */
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 0.1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 0.1) 0, transparent 50%);
    background-attachment: fixed;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    /* Metallic gradient for dark theme */
    background: linear-gradient(to right, #fff, #a0a0a0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    /* Init hidden for animation */
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

h2.show {
    opacity: 1;
    transform: translateY(0);
}

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

/* Navigation */
/* Navigation */
.navbar {
    height: 80px;
    /* Initial larger height */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(12, 12, 14, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: height 0.3s ease, background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    height: 60px;
    /* Scrolled smaller height */
    background: rgba(12, 12, 14, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.logo-link {
    display: flex;
    align-items: center;
}

/* Logo Common Styles */
.logo-img {
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    filter: invert(1) brightness(2);
}

/* Navbar Logo Specifics */
/* Navbar Logo Specifics */
.navbar .logo-img {
    height: 160px;
    position: relative;
    top: 20px;
    /* Hangs down significantly initially */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.navbar.scrolled .logo-img {
    height: 80px;
    /* Shrinks by half */
    top: 0;
    /* Returns to normal position */
}

/* Footer Logo Specifics */
footer .logo-img {
    height: 120px;
    /* Slightly smaller for footer */
    margin-bottom: 20px;
    filter: invert(1) brightness(2);
}


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

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

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

.cta-btn {
    padding: 14px 32px;
    background: transparent;
    color: var(--text-primary);
    font-weight: 500;
    font-family: var(--font-heading);
    border-radius: 0;
    /* Sharp edges for prestige */
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(5px);
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--text-primary);
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.cta-btn:hover::before {
    width: 100%;
}

.cta-btn:hover {
    color: #000;
    border-color: var(--text-primary);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--nav-height);
    background: #000;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 20%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    z-index: 1;
    transform: scale(1.1);
    animation: zoomOut 20s infinite alternate linear;
}

@keyframes zoomOut {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1.0);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding-left: 5%;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

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

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Services */
.section {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card-link {
    display: block;
}

.service-card {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    opacity: 0;
    /* Init hidden */
    transform: translateY(30px);
}

.service-card.show {
    opacity: 1;
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background: var(--accent-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 188, 212, 0.1);
    background: #1a1a1d;
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    text-shadow: 0 0 15px var(--accent-glow);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* About & Process (Split Layout) */
.split-section {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-content {
    flex: 1;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

.split-content.show {
    opacity: 1;
    transform: translateX(0);
}

.split-image {
    flex: 1;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.split-image.show {
    opacity: 1;
    transform: translateX(0);
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.split-image:hover img {
    transform: scale(1.05);
}

/* Gallery (Grid) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.gallery-item.show {
    opacity: 1;
    transform: scale(1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Contact */
.contact-section {
    background: linear-gradient(to bottom, transparent, #000);
    position: relative;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--surface-color);
    padding: 50px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-form.show {
    opacity: 1;
    transform: translateY(0);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-main);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.1);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}



.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

footer .logo-link {
    justify-content: center;
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
}

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

.copyright {
    color: #555;
    font-size: 0.85rem;
}

/* Responsive */
/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(12, 12, 14, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

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

    .hero h1 {
        font-size: 2.5rem;
    }

    .split-section {
        flex-direction: column;
    }

    .split-image {
        width: 100%;
        height: 300px;
        order: -1;
        /* Image first on mobile */
    }
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-color);
    color: #000;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background: #fff;
    transform: translateY(-5px);
}