/* ============================================
   OPEN DOORS - DESIGN SYSTEM & STYLES
   Premium Institutional Website
   ============================================ */

/* --- CSS VARIABLES (DESIGN TOKENS) --- */
:root {
    /* Brand Colors */
    --primary: #4A0E85;
    --primary-dark: #2E004F;
    --primary-light: #6B1FAB;
    --accent: #FFC300;
    --accent-orange: #FF8C00;
    --white: #FFFFFF;
    --black: #050505;
    --gray: #888888;
    --gray-light: #F5F5F5;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-orange) 100%);
    --gradient-hero: radial-gradient(circle at center, var(--primary-dark) 0%, var(--black) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);

    /* Typography */
    --font-display: 'Syncopate', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 10rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(255, 195, 0, 0.3);
    --shadow-purple: 0 0 60px rgba(74, 14, 133, 0.4);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    /* Ensure the body covers the hero gradient */
    min-height: 100vh;
}

/* Selection */
::selection {
    background: var(--accent);
    color: var(--black);
}

/* --- CUSTOM CURSOR --- */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, opacity 0.15s ease;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    background: rgba(255, 195, 0, 0.1);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
    transform: translate(-50%, -50%);
}

.cursor.hover {
    transform: translate(-50%, -50%) scale(1.5);
    background: rgba(255, 195, 0, 0.2);
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    background: rgba(255, 195, 0, 0.15);
}

/* Hide custom cursor on mobile */
@media (max-width: 768px) {

    .cursor,
    .cursor-follower {
        display: none;
    }
}

/* --- PRELOADER --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--black);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 1.5s ease-in-out infinite;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    margin-top: var(--space-md);
    overflow: hidden;
}

.preloader-progress {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    animation: loading 2s ease-in-out forwards;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes loading {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 6vw, 4.5rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}

p {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    opacity: 0.9;
}

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

.text-accent {
    color: var(--accent);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--black);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 60px rgba(255, 195, 0, 0.5);
}

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

.btn-outline:hover {
    background: var(--accent);
    color: var(--black);
    transform: translateY(-3px);
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* --- SECTION STYLES --- */
section {
    position: relative;
    padding: var(--space-xl) var(--space-md);
    /* Ensure sections cover the entire viewport width on mobile */
    width: 100%;
    margin: 0;
}

/* Mobile: Make sure sections have no margins that could expose the hero */
@media (max-width: 768px) {
    section {
        margin-left: 0;
        margin-right: 0;
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
    }
}

.section-dark {
    background: var(--black);
}

.section-purple {
    background: var(--gradient-primary);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-header .label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 195, 0, 0.15);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* --- HERO SECTION (DOOR ANIMATION) --- */
.site-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gradient-hero);
    opacity: 0;
    transform: scale(0.8);
    padding: var(--space-md);
}

.site-content h1 {
    margin-bottom: var(--space-sm);
}

.site-content .tagline {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: var(--space-md);
    opacity: 0.8;
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
}

.scroll-indicator .arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(45deg);
}

@keyframes bounce {

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

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

/* --- MOBILE SWIPE INDICATOR --- */
.mobile-swipe-indicator {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 101;
    padding: var(--space-md);
    padding-bottom: calc(var(--space-md) + env(safe-area-inset-bottom));
    text-align: center;
    pointer-events: none;
}

.mobile-swipe-indicator .swipe-content {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 195, 0, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-sm) var(--space-md);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mobile-swipe-indicator .swipe-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: swipe-bounce 1.5s ease-in-out infinite;
}

.mobile-swipe-indicator .swipe-icon::before {
    content: '';
    width: 20px;
    height: 20px;
    border-left: 3px solid var(--accent);
    border-top: 3px solid var(--accent);
    transform: rotate(45deg);
}

.mobile-swipe-indicator .swipe-text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
}

@keyframes swipe-bounce {

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

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

@media (max-width: 768px) {
    .mobile-swipe-indicator {
        display: block;
    }

    .scroll-indicator {
        display: none;
    }
}

.mobile-swipe-indicator.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* --- DOOR OVERLAY --- */
.overlay-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 100;
    pointer-events: none;
}

.door {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 5px solid var(--accent);
}

.door.left {
    left: 0;
    justify-content: flex-end;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: inset -10px 0 30px rgba(0, 0, 0, 0.4);
}

.door.right {
    right: 0;
    justify-content: flex-start;
    border-left: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: inset 10px 0 30px rgba(0, 0, 0, 0.4);
}

.door-text {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(3rem, 10vw, 10rem);
    color: var(--accent);
    white-space: nowrap;
    line-height: 1;
    padding: 0 10px;
    text-shadow: 0 0 40px rgba(255, 195, 0, 0.3);
}

.door.right .door-text {
    color: var(--white);
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
}

/* Scroll Spacer */
.scroll-spacer {
    height: 250vh;
    width: 100%;
    position: relative;
    z-index: 0;
}

@media (max-width: 768px) {
    .scroll-spacer {
        height: 200vh;
    }
}

/* --- MARQUEE SECTION --- */
.marquee-section {
    background: var(--accent);
    padding: var(--space-sm) 0;
    overflow: hidden;
    position: relative;
    z-index: 200;
    /* Add box-shadow to hide any hero gradient peeking from behind */
    box-shadow: 0 -20px 40px var(--black), 0 20px 40px var(--black);
}

@media (max-width: 768px) {
    .marquee-section {
        padding: var(--space-xs) 0;
    }

    .marquee-item {
        font-size: 0.9rem !important;
    }

    .marquee-item .number {
        font-size: 1.2rem !important;
    }
}

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee-content {
    display: flex;
    gap: var(--space-lg);
    padding-right: var(--space-lg);
    flex-shrink: 0;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--black);
    white-space: nowrap;
}

.marquee-item .number {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- ABOUT SECTION --- */
.about-section {
    background: var(--black);
    position: relative;
    z-index: 200;
    min-height: auto;
}

@media (max-width: 768px) {
    .about-section {
        min-height: 100vh;
        padding-top: var(--space-lg);
        padding-bottom: var(--space-lg);
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.about-content h2 {
    margin-bottom: var(--space-md);
}

.about-content p {
    margin-bottom: var(--space-sm);
    font-size: 1.1rem;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-card {
    background: var(--gradient-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--accent), transparent 30%);
    animation: rotate 8s linear infinite;
    opacity: 0.1;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.about-card-content {
    position: relative;
    z-index: 1;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.differentials {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.differential-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: rgba(255, 195, 0, 0.1);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.differential-item:hover {
    background: rgba(255, 195, 0, 0.2);
    transform: translateX(10px);
}

.differential-item .icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* --- SERVICES SECTION --- */
.services-section {
    background: var(--gradient-primary);
    position: relative;
    z-index: 200;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    font-size: 2.5rem;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-base);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.2rem;
}

.service-card p {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* --- PROCESS SECTION --- */
.process-section {
    background: var(--black);
    position: relative;
    z-index: 200;
}

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    position: relative;
    padding-left: var(--space-lg);
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent), var(--primary));
}

.process-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    opacity: 0.5;
    transition: var(--transition-base);
}

.process-step.active {
    opacity: 1;
}

.step-number {
    position: absolute;
    left: calc(-1 * var(--space-lg) - 5px);
    width: 40px;
    height: 40px;
    background: var(--black);
    border: 3px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent);
    z-index: 1;
    transition: var(--transition-base);
}

.process-step.active .step-number {
    background: var(--accent);
    color: var(--black);
    box-shadow: var(--shadow-glow);
}

.step-content h3 {
    margin-bottom: var(--space-xs);
    font-size: 1.3rem;
}

.step-content p {
    opacity: 0.7;
}

@media (min-width: 768px) {
    .process-timeline {
        flex-direction: row;
        justify-content: space-between;
        padding-left: 0;
        padding-top: var(--space-lg);
    }

    .process-timeline::before {
        left: 0;
        top: 15px;
        width: 100%;
        height: 2px;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
        flex: 1;
    }

    .step-number {
        position: absolute;
        top: calc(-1 * var(--space-lg) - 5px);
        left: 50%;
        transform: translateX(-50%);
    }
}

/* --- PORTFOLIO SECTION --- */
.portfolio-section {
    background: var(--primary-dark);
    position: relative;
    z-index: 200;
    overflow: hidden;
}

/* Portfolio Carousel Wrapper */
.portfolio-carousel-wrapper {
    position: relative;
    padding: var(--space-md) 0;
}

.portfolio-carousel {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right,
            transparent,
            black 10%,
            black 90%,
            transparent);
    -webkit-mask-image: linear-gradient(to right,
            transparent,
            black 10%,
            black 90%,
            transparent);
}

.carousel-track {
    display: flex;
    gap: var(--space-lg);
    animation: carousel-scroll 40s linear infinite;
    width: max-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes carousel-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Carousel Item (Logo Card) */
.carousel-item {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    background: var(--white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm);
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
    border: 3px solid transparent;
    overflow: hidden;
}

.carousel-item:hover {
    transform: scale(1.1) translateY(-10px);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(0%);
    transition: var(--transition-base);
}

.carousel-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: rgba(255, 195, 0, 0.1);
    color: var(--accent);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--accent);
    color: var(--black);
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-md);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dot.active,
.carousel-dot:hover {
    background: var(--accent);
    transform: scale(1.2);
}

/* Responsive - Tablet */
@media (max-width: 968px) {
    .carousel-item {
        width: 130px;
        height: 130px;
    }

    .carousel-track {
        gap: var(--space-md);
    }
}

/* Responsive - Mobile */
@media (max-width: 600px) {
    .carousel-item {
        width: 100px;
        height: 100px;
        padding: 0.5rem;
        border-radius: var(--radius-md);
    }

    .carousel-track {
        gap: var(--space-sm);
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .portfolio-carousel {
        mask-image: linear-gradient(to right,
                transparent,
                black 5%,
                black 95%,
                transparent);
        -webkit-mask-image: linear-gradient(to right,
                transparent,
                black 5%,
                black 95%,
                transparent);
    }
}


/* --- CTA SECTION --- */
.cta-section {
    background: var(--gradient-primary);
    position: relative;
    z-index: 200;
    text-align: center;
    padding: var(--space-2xl) var(--space-md);
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 195, 0, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: var(--space-sm);
}

.cta-content p {
    margin-bottom: var(--space-lg);
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* --- CONTACT SECTION --- */
.contact-section {
    background: var(--black);
    position: relative;
    z-index: 200;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info h3 {
    margin-bottom: var(--space-md);
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-item a:hover {
    color: var(--accent);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-size: 0.9rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(255, 195, 0, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* --- FOOTER --- */
.footer {
    background: var(--primary-dark);
    position: relative;
    z-index: 200;
    padding: var(--space-lg) var(--space-md) var(--space-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    opacity: 0.7;
    margin-bottom: var(--space-md);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

@media (max-width: 768px) {
    .social-links {
        justify-content: center;
    }
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--accent);
    color: var(--black);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
    color: var(--accent);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* --- ANIMATION UTILITIES --- */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Stagger delays */
.delay-1 {
    transition-delay: 0.1s !important;
}

.delay-2 {
    transition-delay: 0.2s !important;
}

.delay-3 {
    transition-delay: 0.3s !important;
}

.delay-4 {
    transition-delay: 0.4s !important;
}

.delay-5 {
    transition-delay: 0.5s !important;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 480px) {
    section {
        padding: var(--space-lg) var(--space-sm);
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .testimonial-card {
        min-width: 280px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* --- ICON STYLES --- */
.icon-sm {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

/* Lucide Icons Styling */
[data-lucide] {
    stroke-width: 1.5px;
}

.service-icon [data-lucide],
.service-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white) !important;
}

.differential-item .icon [data-lucide],
.differential-item .icon svg {
    width: 24px;
    height: 24px;
    color: var(--white) !important;
}

.contact-item .icon svg,
.contact-item .icon [data-lucide] {
    width: 24px;
    height: 24px;
    color: var(--white) !important;
}

.social-link svg,
.social-link [data-lucide] {
    width: 20px;
    height: 20px;
    color: var(--white) !important;
}

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

.contact-link-hover:hover {
    color: var(--accent);
}

.btn svg,
.btn .icon-sm {
    margin-right: 10px;
}