/* =========================================
   1. EXTERNAL COMPONENT IMPORTS
   ========================================= */
@import url("/css/all-css-files/nav.css");
@import url("/css/all-css-files/footer.css");
@import url("/css/all-css-files/buttons.css");
@import url("/css/all-css-files/cert-slider.css");
@import url("/css/all-css-files/blogs-common.css");
@import url("/css/all-css-files/preloader.css");
@import url("/css/all-css-files/experience.css");
@import url("/css/all-css-files/testimonials.css");
@import url("/css/all-css-files/hero-redesign.css");
@import url("/css/all-css-files/premium-slider.css");

/* =========================================
   2. DESIGN SYSTEM & VARIABLES
   ========================================= */
:root {
    /* Colors */
    --primary-bg: #050505;
    --secondary-bg: #0a0a0a;
    --tertiary-bg: #0f0f0f;
    --card-bg: rgba(25, 25, 25, 0.4);
    --accent-color: #ff5757;
    --accent-glow: rgba(255, 87, 87, 0.4);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;

    /* Borders & Shadows */
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);

    /* Liquid Glassmorphism Tokens */
    --liquid-glass: blur(30px) saturate(180%);
    --liquid-border: 1px solid rgba(255, 255, 255, 0.1);
    --liquid-highlight: inset 0 1px 1px rgba(255, 255, 255, 0.1);

    /* Utilities */
    --transition-fast: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    --transition: var(--transition-smooth);
}

/* =========================================
   3. GLOBAL RESET & BASE STYLES
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

/* Global Glass Class */
.liquid-glass {
    backdrop-filter: var(--liquid-glass);
    -webkit-backdrop-filter: var(--liquid-glass);
    border: var(--liquid-border);
    box-shadow: var(--liquid-highlight), var(--box-shadow);
    border-radius: var(--border-radius-lg);
}

/* Shared Utility Classes */
.hover-scale {
    transition: var(--transition-smooth);
}

.hover-scale:hover {
    transform: scale(1.02);
}

.hover-lift {
    transition: var(--transition-fast);
}

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

.text-center {
    text-align: center !important;
}

.text-lg-start {
    text-align: left;
}

/* =========================================
   4. TYPOGRAPHY
   ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #fff;
    text-align: center;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
}

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

.text-gradient {
    background: linear-gradient(to right, #fff, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   5. SHARED LAYOUT COMPONENTS
   ========================================= */
.container {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-hero,
.container-wide,
.container-premium {
    max-width: 1950px !important;
}

.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

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

/* =========================================
   6. PREMIUM SECTION HEADINGS
   ========================================= */
.section-heading-premium,
.premium-section-header {
    position: relative;
    margin-bottom: 60px;
    text-align: left;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-heading-premium.text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.heading-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    background: rgba(255, 87, 87, 0.1);
    border: 1px solid rgba(255, 87, 87, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.heading-title-large {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    text-align: left;
    background: linear-gradient(to bottom right, #fff 20%, #ff5757);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    letter-spacing: -2px;
    margin: 0 0 15px 0;
}

.heading-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    line-height: 1.6;
    margin: 0;
}

.heading-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    width: 100%;
}

/* =========================================
   7. COMPACT PREMIUM PROJECT SLIDER
   ========================================= */
.compact-projects-section {
    padding: 80px 0;
    background: #080808;
    position: relative;
    overflow: hidden;
}

.compact-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.compact-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.c-slide-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    height: 100%;
    background: #111;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.c-slide-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #111;
}

.c-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.1;
}

/* =========================================
   8. REVEAL ANIMATIONS
   ========================================= */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: var(--transition-slow);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: var(--transition-slow);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

/* =========================================
   9. CONSOLIDATED RESPONSIVE QUERIES
   ========================================= */

/* Laptops & Small Desktops */
@media (max-width: 992px) {
    .section {
        padding: 80px 0;
    }

    .text-lg-start {
        text-align: center;
    }

    .c-slide-inner {
        grid-template-columns: 1fr;
        grid-template-rows: 250px 1fr;
    }

    .c-slide-content {
        padding: 40px;
    }

    .exp-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .certification-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* Tablets & Large Phones */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .heading-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .heading-title-large {
        text-align: center;
    }

    .btn {
        width: 100%;
        min-width: 180px;
    }
}

/* Small Phones */
@media (max-width: 480px) {
    .heading-title-large {
        font-size: 2.5rem;
    }

    .c-title {
        font-size: 2.2rem;
    }

    .hero-title-main {
        font-size: 2.8rem;
    }
}