/* 
   GMR Tech - Data Luminosity Theme
   Redesign focused on high-tech consultacy aesthetic.
*/

:root {
    /* Color Palette - Data Luminosity */
    --bg-dark: #020b16;
    --bg-void: #050a14;
    --bg-panel: rgba(11, 18, 33, 0.7);
    --primary: #00f0ff;
    /* Neon Cyan */
    --secondary: #4361ee;
    /* Electric Indigo */
    --accent: #7209b7;
    /* Deep Purple accent */
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --white: #ffffff;
    --success: #00ffa3;
    --error: #ff4d4d;

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --header-height: 90px;
    --container-width: 1300px;
    --section-padding: 120px 0;

    /* Effects */
    --glass: blur(12px) saturate(180%);
    --border: 1px solid rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 20px rgba(0, 240, 255, 0.2);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

/* Typography Enhancements */
h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Utility Classes */
.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3rem;
    background: linear-gradient(to right, var(--white), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-dark);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: rgba(0, 240, 255, 0.05);
    box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.2);
}

/* Header & Nav */
header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: var(--border);
    background: rgba(2, 11, 22, 0.95);
    -webkit-backdrop-filter: var(--glass);
    backdrop-filter: var(--glass);
}

header.scrolled {
    background: rgba(2, 11, 22, 0.85);
    -webkit-backdrop-filter: var(--glass);
    backdrop-filter: var(--glass);
    height: 75px;
    border-bottom: var(--border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

header .container {
    max-width: 100%;
    width: 100%;
    padding: 0 50px;
}

nav {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.hamburger {
    display: none;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

header.scrolled .logo-img {
    height: 40px;
}

.logo span {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.4rem;
    margin-left: 12px;
}

.nav-links {
    display: flex;
    gap: 40px;
    margin-left: auto;
}

.nav-links li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section - Typographic Brutalism */
#home {
    height: calc(100vh - var(--header-height));
    margin-top: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at center, rgba(10, 40, 80, 0.4) 0%, var(--bg-dark) 80%);
    background-image: url('assets/img/hero-bg.png');
    /* The generated image */
    background-size: cover;
    background-position: center;
}

#home::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--bg-dark) 0%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.1;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: var(--white);
}

.hero-title span {
    display: block;
    color: var(--primary);
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.4;
}

/* About Section */
#about {
    padding: var(--section-padding);
    background-image: radial-gradient(circle at 10% 20%, rgba(67, 97, 238, 0.05) 0%, transparent 40%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stat-item {
    background: var(--bg-panel);
    border: var(--border);
    padding: 40px 30px;
    border-radius: 8px;
    -webkit-backdrop-filter: var(--glass);
    backdrop-filter: var(--glass);
    transition: var(--transition);
}

.stat-item:hover {
    border-color: var(--primary);
    transform: scale(1.02);
}

.stat-number {
    font-size: 3rem;
    display: block;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 800;
}

.stat-label {
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
}

/* Services Section */
#services {
    padding: var(--section-padding);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--bg-panel);
    border: var(--border);
    padding: 40px 30px;
    border-radius: 4px;
    -webkit-backdrop-filter: var(--glass);
    backdrop-filter: var(--glass);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
    opacity: 1;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 30px;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--primary);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Methodology */
#methodology {
    padding: var(--section-padding);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--bg-dark);
    border: 2px solid var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 30px;
    box-shadow: 0 0 30px rgba(67, 97, 238, 0.2);
}

.step:hover .step-number {
    background: var(--secondary);
    box-shadow: 0 0 50px rgba(67, 97, 238, 0.4);
}

/* Technologies */
#technologies {
    padding: var(--section-padding);
    background: #000;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 24px;
}

.tech-item {
    background: rgba(255, 255, 255, 0.02);
    border: var(--border);
    padding: 30px 20px;
    border-radius: 4px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.tech-item i {
    font-size: 2rem;
    color: var(--text-muted);
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.tech-item:hover i {
    color: var(--primary);
}

/* Differentiators */
#differentiators {
    padding: var(--section-padding);
}

.diff-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.diff-content h2 {
    margin-bottom: 40px;
}

.diff-list li {
    font-size: 1.25rem;
    margin-bottom: 24px;
    display: flex;
    gap: 20px;
}

.diff-list i {
    color: var(--primary);
    margin-top: 5px;
}

.diff-placeholder-img {
    height: 500px;
    background: linear-gradient(45deg, #050a14, #1a2333);
    border: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--primary);
    opacity: 0.3;
}

/* Contact */
#contact {
    padding: var(--section-padding);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
}

.info-item {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
}

.info-item i {
    width: 54px;
    height: 54px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-form-box {
    background: var(--bg-panel);
    padding: 50px;
    border: var(--border);
    -webkit-backdrop-filter: var(--glass);
    backdrop-filter: var(--glass);
    border-radius: 8px;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: var(--border);
    color: var(--white);
    padding: 15px;
    border-radius: 4px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    padding: 80px 0;
    border-bottom: var(--border);
}

footer {
    background: #010409;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Responsive */
@media (max-width: 992px) {

    .about-grid,
    .diff-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    header .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: var(--transition);
        background-color: var(--white);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: var(--bg-dark);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        justify-content: center;
        z-index: 1000;
        -webkit-backdrop-filter: var(--glass);
        backdrop-filter: var(--glass);
    }

    .nav-links.open {
        left: 0;
    }

    .nav-links li {
        margin: 16px 0;
    }

    .hamburger.toggle .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.toggle .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.toggle .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Missing Utility Classes */
.about-title {
    text-align: left;
    margin-bottom: 30px;
}

.about-tag {
    margin: 0;
    text-align: left;
    color: var(--primary);
}

.about-btn {
    margin-top: 20px;
}

.contact-title {
    text-align: left;
}