/* ==================================================
   TRP Suppliers & Service — Premium Multi-Page CSS
   ================================================== */

/* ========================
   Custom Fonts
   ======================== */
@font-face {
    font-family: 'BlackMolding';
    src: url('../fonts/BlackMolding-BLZGl.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BlackMolding';
    src: url('../fonts/BlackMoldingItalic-R9j0l.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

/* ========================
   CSS Variables & Tokens 
   ======================== */
:root {
    /* Colors */
    --color-navy-dark: #000000;
    --color-navy: #111111;
    --color-slate: #3f3f46;
    --color-slate-light: #71717a;

    --color-orange: #dc2626;
    --color-orange-hover: #b91c1c;
    --color-orange-glow: rgba(220, 38, 38, 0.4);
    --color-yellow: #2563eb;

    --color-white: #ffffff;
    --color-offwhite: #f4f4f5;
    --color-gray: #e4e4e7;
    --color-dark-card: rgba(0, 0, 0, 0.6);

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'BlackMolding', var(--font-main);

    /* Layout */
    --max-width: 1200px;
    --section-padding: clamp(3rem, 5vw + 1.5rem, 6rem) clamp(0.85rem, 2vw + 0.5rem, 2rem);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-orange: 0 10px 25px -5px rgba(220, 38, 38, 0.4);
    --shadow-glow: 0 0 30px rgba(220, 38, 38, 0.15);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================
   Custom Scrollbar
   ======================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-navy-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-orange), var(--color-orange-hover));
    border-radius: 10px;
    border: 2px solid var(--color-navy-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-yellow), var(--color-orange));
    width: 14px;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-orange) var(--color-navy-dark);
}

/* ========================
   Loading Screen
   ======================== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.loader-logo span {
    color: var(--color-orange);
}

.loader-tagline {
    color: var(--color-slate);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.loader-crane {
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
    position: relative;
}

.crane-arm {
    position: absolute;
    top: 20px;
    left: 50%;
    width: 60px;
    height: 4px;
    background: var(--color-orange);
    transform-origin: left center;
    animation: craneSwing 2s ease-in-out infinite;
    border-radius: 2px;
}

.crane-cable {
    position: absolute;
    right: 0;
    top: 4px;
    width: 2px;
    height: 40px;
    background: var(--color-slate-light);
    animation: cableExtend 2s ease-in-out infinite;
}

.crane-hook {
    position: absolute;
    bottom: -10px;
    right: -6px;
    width: 14px;
    height: 14px;
    border: 3px solid var(--color-orange);
    border-radius: 0 0 50% 50%;
    border-top: none;
}

.crane-tower {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 100px;
    background: linear-gradient(to top, var(--color-slate), var(--color-orange));
    border-radius: 2px;
}

.crane-base {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 8px;
    background: var(--color-slate);
    border-radius: 4px;
}

.loader-progress-wrap {
    width: 250px;
    height: 4px;
    background: var(--color-gray);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loader-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-orange), var(--color-yellow));
    border-radius: 10px;
    transition: width 0.1s linear;
}

.loader-percent {
    color: var(--color-orange);
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 1rem;
    letter-spacing: 1px;
}

@keyframes craneSwing {

    0%,
    100% {
        transform: rotate(-15deg);
    }

    50% {
        transform: rotate(15deg);
    }
}

@keyframes cableExtend {

    0%,
    100% {
        height: 40px;
    }

    50% {
        height: 55px;
    }
}

/* ========================
   Page Transition
   ======================== */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    z-index: 9998;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.page-transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.page-content {
    opacity: 0;
    transform: translateY(20px);
    animation: pageEnter 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.1s;
}

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

/* ========================
   Reset & Base Styles
   ======================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--color-slate);
    background-color: var(--color-navy-dark);
    line-height: 1.7;
    overflow-x: hidden;
    overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-navy-dark);
    font-weight: normal;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================
   Utility Classes
   ======================== */
.gradient-text {
    background: linear-gradient(135deg, var(--color-orange), var(--color-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-white {
    color: var(--color-white) !important;
}

.text-orange {
    color: var(--color-orange) !important;
}

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

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

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

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

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

.stagger-6 {
    transition-delay: 0.6s !important;
}

/* ========================
   Typography
   ======================== */
.section-title { font-size: clamp(1.5rem, 4vw + 0.5rem, 2.75rem);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-yellow));
    border-radius: 2px;
}

.section-title.text-left {
    text-align: left;
}

.section-title.text-left::after {
    left: 0;
    transform: none;
}

.section-subtitle {
    text-align: center;
    color: var(--color-slate-light);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

/* ========================
   Buttons
   ======================== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    font-family: var(--font-main);
    font-size: 1rem;
}

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

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-hover));
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-orange);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-orange);
    color: var(--color-orange);
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-hover));
    color: var(--color-white) !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-orange);
    border-color: transparent;
}

.btn-white {
    background: var(--color-white);
    color: var(--color-navy-dark);
    border-color: var(--color-white);
}

.btn-white:hover {
    background: transparent;
    color: var(--color-white);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
}

/* ========================
   Navbar (Glassmorphism)
   ======================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-yellow));
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 0.7rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-navy-dark);
}

.logo-highlight {
    color: var(--color-orange);
}

.nav-links ul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a:not(.btn) {
    font-weight: 600;
    color: var(--color-navy);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
    color: var(--color-orange);
    background: rgba(220, 38, 38, 0.05);
}


.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
    width: 30px;
}

.nav-links .btn-outline {
    color: var(--color-orange);
    border-color: var(--color-orange);
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-navy-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

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

/* Hero Slider & Ken Burns Effect */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    animation: kenBurns 20s linear infinite;
    will-change: transform;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.6));
    z-index: 2;
    pointer-events: none;
}

/* Floating Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--color-orange);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-duration: 12s;
    animation-delay: 0s;
    width: 4px;
    height: 4px;
}

.particle:nth-child(2) {
    left: 25%;
    animation-duration: 15s;
    animation-delay: 2s;
    width: 6px;
    height: 6px;
}

.particle:nth-child(3) {
    left: 40%;
    animation-duration: 10s;
    animation-delay: 4s;
    width: 3px;
    height: 3px;
}

.particle:nth-child(4) {
    left: 55%;
    animation-duration: 18s;
    animation-delay: 1s;
    width: 5px;
    height: 5px;
}

.particle:nth-child(5) {
    left: 70%;
    animation-duration: 13s;
    animation-delay: 3s;
    width: 4px;
    height: 4px;
}

.particle:nth-child(6) {
    left: 85%;
    animation-duration: 16s;
    animation-delay: 5s;
    width: 7px;
    height: 7px;
}

.particle:nth-child(7) {
    left: 15%;
    animation-duration: 14s;
    animation-delay: 6s;
    width: 3px;
    height: 3px;
}

.particle:nth-child(8) {
    left: 60%;
    animation-duration: 11s;
    animation-delay: 2.5s;
    width: 5px;
    height: 5px;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

.hero-content {
    color: var(--color-white);
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title { font-size: clamp(1.65rem, 6vw + 1rem, 5.5rem);
    color: var(--color-white);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: slideUpFade 0.8s ease forwards 0.6s;
    line-height: 1.1;
}

.hero-title span {
    background: linear-gradient(135deg, var(--color-orange), var(--color-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    font-size: clamp(1.2rem, 8vw, 4.5rem);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: slideUpFade 0.8s ease forwards 0.9s;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideUpFade 0.8s ease forwards 1.2s;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: var(--color-orange);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: slideUpFade 0.8s ease forwards 0.3s;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

/* ========================
   Page Hero (Inner Pages)
   ======================== */
.page-hero {
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.7)), var(--bg-image) center/cover no-repeat;
    padding: 10rem 2rem 5rem;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--color-orange);
}

/* Professional Architectural Grid Pattern */
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(220, 38, 38, 0.1) 0%, transparent 80%);
    z-index: 1;
}

/* Subtle Orange Accent Glow */
.page-hero::after {
    display: none;
}

.page-hero .hero-content {
    position: relative;
    z-index: 2;
    padding: 0;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.page-hero h1 { font-size: clamp(1.5rem, 5vw, 4rem);
    color: var(--color-white);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
}

.page-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0;
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.6s;
}

.breadcrumb a {
    color: var(--color-orange);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--color-orange-hover);
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--color-slate-light);
}

/* ========================
   Stats Section
   ======================== */
.stats {
    padding: 4rem 2rem;
    background: var(--color-offwhite);
    position: relative;
    z-index: 5;
    margin-top: -4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-top: 4px solid transparent;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-top-color: var(--color-orange);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(220, 38, 38, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-hover));
    transform: scale(1.1);
}

.stat-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-orange);
    fill: none;
    stroke-width: 2;
    transition: var(--transition);
}

.stat-card:hover .stat-icon svg {
    stroke: var(--color-white);
}

.stat-number {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    color: var(--color-navy-dark);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--color-slate-light);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ========================
   About Section Layout
   ======================== */
.about {
    padding: var(--section-padding);
    background-color: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--color-slate);
}

.highlight-box {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(220, 38, 38, 0.02));
    padding: 1.75rem;
    border-left: 4px solid var(--color-orange);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 2rem 0;
}

.highlight-box h4 {
    color: var(--color-orange);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--color-navy), var(--color-navy-dark));
    color: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-xl);
    border-bottom: 4px solid var(--color-orange);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-orange), var(--color-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
}

/* ========================
   Services Section (Grid)
   ======================== */
.services {
    padding: var(--section-padding);
    background-color: var(--color-offwhite);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-top: 4px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(220, 38, 38, 0.02) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before {
    opacity: 1;
}

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

.service-icon {
    width: 65px;
    height: 65px;
    background: rgba(220, 38, 38, 0.1);
    color: var(--color-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-hover));
    color: var(--color-white);
    transform: scale(1.1) rotate(5deg);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-slate-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.7;
}

.service-link {
    color: var(--color-navy);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card:hover .service-link {
    color: var(--color-orange);
}

.service-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.service-card:hover .service-link svg {
    transform: translateX(5px);
}

/* Service Detail Cards (Services Page) */
.service-detail-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin-bottom: 3rem;
}

.service-detail-card:nth-child(even) {
    direction: rtl;
}

.service-detail-card:nth-child(even)>* {
    direction: ltr;
}

.service-detail-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.service-detail-img {
    height: 100%;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-detail-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), transparent);
}

.service-detail-body {
    padding: 3rem;
}

.service-detail-body h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--color-navy-dark);
}

.service-detail-body p {
    color: var(--color-slate-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--color-slate);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-features li svg {
    width: 20px;
    height: 20px;
    color: var(--color-orange);
    flex-shrink: 0;
}

/* Process Section */
.process {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--color-navy-dark), var(--color-navy));
    color: var(--color-white);
}

.process .section-title {
    color: var(--color-white);
}

.process .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-yellow));
    opacity: 0.3;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-number {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: var(--color-dark-card);
    border: 2px solid rgba(220, 38, 38, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-orange);
    transition: var(--transition);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.process-step:hover .process-number {
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-hover));
    color: var(--color-white);
    border-color: var(--color-orange);
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(220, 38, 38, 0.3);
}

.process-step h4 {
    color: var(--color-white);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* ========================
   Why Choose Us & Projects 
   ======================== */
.features-projects {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--color-navy-dark), var(--color-navy));
    color: var(--color-white);
}

.features-projects .section-title {
    color: var(--color-white);
}

.fp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.core-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, ), 1fr));
    gap: 1.25rem;
}

.value-item {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    border-left: 3px solid var(--color-orange);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.value-item:hover {
    transform: translateX(8px);
    background: rgba(51, 65, 85, 0.6);
    border-left-color: var(--color-yellow);
    box-shadow: var(--shadow-glow);
}

.value-item svg {
    width: 24px;
    height: 24px;
    fill: var(--color-orange);
    flex-shrink: 0;
}

.value-item span {
    font-weight: 500;
}

.projects-list {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.projects-list h3 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.projects-list ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.projects-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.projects-list li:hover {
    padding-left: 0.5rem;
}

.projects-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.project-loc {
    display: inline-block;
    background: rgba(220, 38, 38, 0.15);
    color: var(--color-orange);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ========================
   Project Gallery (Projects Page)
   ======================== */
.project-gallery {
    padding: var(--section-padding);
    background: var(--color-offwhite);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--color-gray);
    background: var(--color-white);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    color: var(--color-slate);
    transition: var(--transition);
    font-family: var(--font-main);
    font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-orange);
    border-color: var(--color-orange);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.project-card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.project-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 60%);
}

.project-card-img .project-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-orange);
    color: var(--color-white);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.project-card-body {
    padding: 1.75rem;
}

.project-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.project-card-body p {
    color: var(--color-slate-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--color-slate-light);
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.project-meta svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-orange);
    fill: none;
}

/* ========================
   Equipment Section
   ======================== */
.equipment-section {
    padding: var(--section-padding);
    background: var(--color-offwhite);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
}

.equipment-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.equipment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.equipment-card-img {
    height: 200px;
    background: linear-gradient(135deg, var(--color-navy-dark), var(--color-navy));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.equipment-card-img svg {
    width: 80px;
    height: 80px;
    stroke: var(--color-orange);
    fill: none;
    stroke-width: 1.5;
    opacity: 0.8;
    transition: var(--transition);
}

.equipment-card:hover .equipment-card-img svg {
    transform: scale(1.15);
    opacity: 1;
}

.equipment-card-body {
    padding: 1.75rem;
}

.equipment-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.equipment-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.equipment-specs span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-slate-light);
}

.equipment-specs span svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-orange);
    fill: none;
}

.equipment-status {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.equipment-status.available {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.equipment-status.rented {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* ========================
   Timeline (About Page)
   ======================== */
.timeline-section {
    padding: var(--section-padding);
    background: var(--color-white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-orange), var(--color-yellow), var(--color-orange));
    border-radius: 3px;
}

.timeline-item {
    display: flex;
    width: 100%;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
    padding-right: calc(50% + 30px);
    text-align: right;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: calc(50% + 30px);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--color-orange);
    border-radius: 50%;
    border: 4px solid var(--color-white);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.2);
    z-index: 2;
    transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.15);
}

.timeline-content {
    background: var(--color-offwhite);
    padding: 1.75rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-item:hover .timeline-content {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-hover));
    color: var(--color-white);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-navy-dark);
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--color-slate-light);
}

/* ========================
   Contact Section
   ======================== */
.contact-section {
    padding: var(--section-padding);
    background: var(--color-offwhite);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form-wrap {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form-wrap h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.contact-form-wrap>p {
    color: var(--color-slate-light);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--color-navy-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border: 2px solid var(--color-gray);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--color-navy-dark);
    transition: var(--transition);
    background: var(--color-offwhite);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-orange);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
    background: var(--color-white);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.contact-info-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--color-orange);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-info-card:hover .contact-info-icon {
    background: var(--color-orange);
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-orange);
    fill: none;
    stroke-width: 2;
    transition: var(--transition);
}

.contact-info-card:hover .contact-info-icon svg {
    stroke: var(--color-white);
}

.contact-info-text h4 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
    color: var(--color-navy-dark);
}

.contact-info-text p,
.contact-info-text a {
    color: var(--color-slate-light);
    font-size: 0.95rem;
}

.contact-info-text a:hover {
    color: var(--color-orange);
}

/* Map */
.map-section {
    padding: 0 2rem 4rem;
    background: var(--color-offwhite);
}

.map-wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-white);
}

.map-wrap iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
}

/* ========================
   FAQ Accordion
   ======================== */
.faq-section {
    padding: var(--section-padding);
    background: var(--color-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-offwhite);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--color-gray);
}

.faq-item:hover {
    border-color: rgba(220, 38, 38, 0.3);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-navy-dark);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--color-orange);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-orange);
    fill: none;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--color-slate-light);
    line-height: 1.7;
}

/* ========================
   CTA Section
   ======================== */
.cta-section-wrap {
    padding: 6rem 2rem;
    background: transparent;
    position: relative;
}

.cta-block {
    max-width: var(--max-width);
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.9) 0%, rgba(5, 5, 5, 0.95) 100%);
    padding: 5rem 3rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(220, 38, 38, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(220, 38, 38, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.cta-block::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.15), transparent 70%);
    pointer-events: none;
}

.cta-block::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15), transparent 70%);
    pointer-events: none;
}

.cta-block h2 {
    color: var(--color-white);
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    margin-bottom: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

.cta-block p {
    color: var(--color-slate-light);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.15rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.cta-block .btn {
    position: relative;
    z-index: 2;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.3);
}

/* ========================
   Footer
   ======================== */
.footer {
    background: #080808;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    border-top: 1px solid rgba(220, 38, 38, 0.15);
}

/* ── Top section ── */
.footer-top {
    padding: 5rem 0 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
    gap: 3.5rem;
}

/* ── Brand column ── */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-logo-link {
    display: inline-block;
    transition: var(--transition);
}

.footer-logo-link:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.footer-logo-img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-brand-desc {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    line-height: 1.75;
    max-width: 320px;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.footer-badge {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border: 1px solid rgba(220, 38, 38, 0.4);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ff5252;
    letter-spacing: 0.3px;
    background: rgba(220, 38, 38, 0.06);
}

/* ── Nav columns ── */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-col-title {
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 0.25rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--color-orange);
    border-radius: 2px;
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    list-style: none;
}

.footer-nav-list a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-nav-list a::before {
    content: '›';
    color: var(--color-orange);
    font-size: 1rem;
    line-height: 1;
    opacity: 0;
    transform: translateX(-6px);
    transition: var(--transition);
}

.footer-nav-list a:hover {
    color: var(--color-white);
    transform: translateX(6px);
}

.footer-nav-list a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* ── Contact list ── */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    list-style: none;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}

.footer-contact-list svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    stroke: var(--color-orange);
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition);
}

.footer-contact-list a:hover {
    color: var(--color-orange);
}

/* ── Bottom bar ── */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1.25rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-copy {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-copy a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-copy a:hover {
    color: var(--color-orange);
}

.footer-dev-credit {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.3px;
}

.footer-dev-credit span {
    color: var(--color-orange);
    font-weight: 600;
    transition: var(--transition);
}

.footer-dev-credit span:hover {
    color: var(--color-white);
}

/* ========================
   Back to Top Button
   ======================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-hover));
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-orange);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

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

.back-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.5);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-white);
    fill: none;
    stroke-width: 2.5;
}

/* ========================
   Redesigned Core Values (About Page)
   ======================== */
.core-values-section {
    padding: var(--section-padding);
    background: var(--color-navy-dark);
    position: relative;
    overflow: hidden;
}

.core-values-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(220, 38, 38, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.core-values-header {
    text-align: center;
    position: relative;
    z-index: 2;
    margin-bottom: 4rem;
}

.core-values-header .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.cv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, ), 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.cv-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cv-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cv-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--color-orange-glow) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.5s ease;
    border-radius: 50%;
    pointer-events: none;
}

.cv-card:hover {
    transform: translateY(-10px);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(220, 38, 38, 0.1);
}

.cv-card:hover::before {
    opacity: 1;
}

.cv-card:hover .cv-glow {
    opacity: 1;
    transform: scale(1.5);
}

.cv-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.cv-card:hover .cv-icon-wrapper {
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-hover));
    transform: scale(1.1) rotate(5deg);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.3);
}

.cv-icon-wrapper svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-orange);
    fill: none;
    transition: all 0.5s ease;
}

.cv-card:hover .cv-icon-wrapper svg {
    stroke: var(--color-white);
}

.cv-card h3 {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.cv-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.cv-number {
    position: absolute;
    bottom: -10px;
    right: 10px;
    font-size: 6rem;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
    transition: all 0.5s ease;
    z-index: 1;
}

.cv-card:hover .cv-number {
    color: rgba(220, 38, 38, 0.1);
    transform: translateY(-10px) translateX(-10px);
}

/* ========================
   Animations & Keyframes
   ======================== */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }

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

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }

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

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

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

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

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(220, 38, 38, 0);
    }
}

/* Scroll-triggered animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.scrolled {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate.slide-left {
    transform: translateX(-40px);
}

.scroll-animate.slide-left.scrolled {
    transform: translateX(0);
}

.scroll-animate.slide-right {
    transform: translateX(40px);
}

.scroll-animate.slide-right.scrolled {
    transform: translateX(0);
}

.scroll-animate.scale-in {
    transform: scale(0.85);
}

.scroll-animate.scale-in.scrolled {
    transform: scale(1);
}

/* ========================
   Media Queries — Full Responsive
   ======================== */

/* ── Large Desktop ≥ 1440px ── */
@media (min-width: 1440px) {
    :root {
        --max-width: 1320px;
    }

    .hero-title { font-size: clamp(1.65rem, 6vw + 1rem, 5.5rem);
    }

    .cta-block {
        padding: 6rem 4rem;
    }
}

/* ── Desktop / Tablet-Landscape ≤ 1200px ── */
@media (max-width: 1200px) {
    .hero-title { font-size: clamp(1.65rem, 6vw + 1rem, 5.5rem);
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 2.5rem;
    }

    .fp-grid {
        gap: 2.5rem;
    }

    .about-grid {
        gap: 2.5rem;
    }
}

/* ── Tablet ≤ 1024px ── */
@media (max-width: 1024px) {
    :root {
        --section-padding: clamp(3rem, 5vw + 1.5rem, 6rem) clamp(0.85rem, 2vw + 0.5rem, 2rem);
    }

    .about-grid,
    .fp-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .service-detail-card {
        grid-template-columns: 1fr;
    }

    .service-detail-card:nth-child(even) {
        direction: ltr;
    }

    .service-detail-img {
        min-height: 280px;
    }

    .service-detail-body {
        padding: 2.5rem 2rem;
    }

    .hero-title { font-size: clamp(1.65rem, 6vw + 1rem, 5.5rem);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .process-grid::before {
        display: none;
    }

    .project-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, ), 1fr));
    }

    .cv-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-block {
        padding: 4rem 2.5rem;
    }

    .cta-block h2 {
        font-size: 2.25rem;
    }

    .page-hero {
        padding: 9rem 2rem 4rem;
    }

    .page-hero h1 { font-size: clamp(1.5rem, 5vw, 4rem);
    }

    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }

    .experience-badge {
        right: 0;
    }

    .container {
        padding: 0 1rem;
    }
}

/* ── Tablet Portrait ≤ 768px ── */
@media (max-width: 768px) {
    :root {
        --section-padding: clamp(3rem, 5vw + 1.5rem, 6rem) clamp(0.85rem, 2vw + 0.5rem, 2rem);
    }

    /* Nav */
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateX(100%);
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links ul {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        align-items: center;
    }

    .nav-links a:not(.btn) {
        font-size: 1.25rem;
        padding: 0.75rem 1.5rem;
    }

    .nav-links .btn {
        font-size: 1.1rem;
        padding: 0.85rem 2rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Hero */
    .hero-title { font-size: clamp(1.65rem, 6vw + 1rem, 5.5rem);
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* Page Hero */
    .page-hero {
        min-height: 38vh;
        padding: 8rem 1.5rem 3.5rem;
    }

    .page-hero h1 { font-size: clamp(1.5rem, 5vw, 4rem);
    }

    .page-hero p {
        font-size: 1rem;
    }

    /* Section titles */
    .section-title { font-size: clamp(1.5rem, 4vw + 0.5rem, 2.75rem);
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1.75rem 1rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    /* About */
    .about-image {
        max-width: 100%;
    }

    .experience-badge {
        bottom: -15px;
        right: 0;
        padding: 1.25rem;
    }

    .experience-badge .years {
        font-size: 2rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Features / Projects */
    .fp-grid {
        grid-template-columns: 1fr;
    }

    .core-values {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .value-item {
        padding: 1.25rem;
    }

    /* Project grid */
    .project-grid {
        grid-template-columns: 1fr;
    }

    /* Equipment */
    .equipment-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, ), 1fr));
    }

    /* Process */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Core Values (About) */
    .cv-grid {
        grid-template-columns: 1fr;
    }

    /* Timeline */
    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 55px;
        padding-right: 0;
        text-align: left;
        justify-content: flex-start;
    }

    .timeline-dot {
        left: 20px;
        transform: none;
    }

    .timeline-item:hover .timeline-dot {
        transform: scale(1.3);
    }

    /* Contact */
    .contact-form-wrap {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    /* Map */
    .map-wrap iframe {
        height: 280px;
    }

    /* CTA */
    .cta-section-wrap {
        padding: 4rem 1.25rem;
    }

    .cta-block {
        padding: 3rem 1.75rem;
        border-radius: var(--radius-lg);
    }

    .cta-block h2 {
        font-size: 1.75rem;
    }

    .cta-block p {
        font-size: 1rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Service Detail */
    .service-detail-body {
        padding: 2rem 1.5rem;
    }

    .service-detail-body h3 {
        font-size: 1.4rem;
    }

    /* FAQ */
    .faq-question {
        font-size: 0.95rem;
        padding: 1.1rem 1.25rem;
    }

    /* Back to top */
    .back-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 44px;
        height: 44px;
    }
}

/* ── Large Mobile ≤ 576px ── */
@media (max-width: 576px) {
    :root {
        --section-padding: clamp(3rem, 5vw + 1.5rem, 6rem) clamp(0.85rem, 2vw + 0.5rem, 2rem);
    }

    .hero-title { font-size: clamp(1.65rem, 6vw + 1rem, 5.5rem);
    }

    .hero-subtitle {
        font-size: 0.975rem;
    }

    .page-hero {
        padding: 7.5rem 1rem 3rem;
    }

    .page-hero h1 { font-size: clamp(1.5rem, 5vw, 4rem);
    }

    .section-title { font-size: clamp(1.5rem, 4vw + 0.5rem, 2.75rem);
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .stat-card {
        padding: 1.5rem 0.85rem;
    }

    .stat-number {
        font-size: 2rem;
    }

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

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

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

    .core-values {
        grid-template-columns: 1fr;
    }

    .cv-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .cv-card {
        padding: 2rem 1.5rem;
    }

    .highlight-box {
        padding: 1.25rem;
    }

    .contact-form-wrap {
        padding: 1.75rem 1.25rem;
    }

    .contact-info-card {
        padding: 1.5rem;
        gap: 1rem;
    }

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

    .process-number {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }

    .timeline-content {
        padding: 1.25rem;
    }

    .cta-block {
        padding: 2.5rem 1.25rem;
    }

    .cta-block h2 {
        font-size: 1.5rem;
    }

    .cta-block .btn {
        padding: 0.85rem 2rem;
        font-size: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer {
        padding-top: 3.5rem;
    }

    .filter-buttons {
        gap: 0.6rem;
    }

    .filter-btn {
        padding: 0.5rem 1.1rem;
        font-size: 0.875rem;
    }

    .btn-large {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .hero-actions .btn {
        max-width: 100%;
        width: 100%;
    }

    .page-hero .breadcrumb {
        font-size: 0.85rem;
    }
}

/* ── Small Mobile ≤ 420px ── */
@media (max-width: 420px) {
    .hero-title { font-size: clamp(1.65rem, 6vw + 1rem, 5.5rem);
    }

    .hero-badge {
        font-size: 0.78rem;
        padding: 0.35rem 0.85rem;
    }

    .page-hero h1 { font-size: clamp(1.5rem, 5vw, 4rem);
    }

    .section-title { font-size: clamp(1.5rem, 4vw + 0.5rem, 2.75rem);
    }

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

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.9rem;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .navbar-container {
        padding: 0 1rem;
    }

    .logo img {
        height: 40px !important;
    }

    .experience-badge {
        padding: 1rem;
    }

    .experience-badge .years {
        font-size: 1.75rem;
    }

    .cta-block h2 {
        font-size: 1.35rem;
    }

    .cv-card {
        padding: 1.75rem 1.25rem;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 1rem;
        right: 1rem;
    }
}

/* ── Tiny Mobile ≤ 320px ── */
@media (max-width: 320px) {
    html {
        font-size: 14px;
    }

    :root {
        --section-padding: clamp(3rem, 5vw + 1.5rem, 6rem) clamp(0.85rem, 2vw + 0.5rem, 2rem);
    }

    .hero-title { font-size: clamp(1.65rem, 6vw + 1rem, 5.5rem);
    }

    .page-hero h1 { font-size: clamp(1.5rem, 5vw, 4rem);
    }

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

    .contact-form-wrap {
        padding: 1.5rem 1rem;
    }

    .cta-block {
        padding: 2rem 1rem;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 45px;
    }
}

/* ── Touch devices — disable heavy hover animations ── */
@media (hover: none) {

    .service-card:hover,
    .project-card:hover,
    .equipment-card:hover,
    .stat-card:hover,
    .timeline-item:hover .timeline-content,
    .contact-info-card:hover {
        transform: none;
    }

    .scroll-animate.slide-left,
    .scroll-animate.slide-right {
        transform: translateY(30px);
    }
}

/* ========================
   Contact Form — Alert Banner & Spinner
   ======================== */
.form-alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.97rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    animation: alertSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

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

.form-alert--success {
    background: rgba(22, 163, 74, 0.12);
    border: 1px solid rgba(22, 163, 74, 0.35);
    color: #16a34a;
}

.form-alert--error {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.35);
    color: var(--color-orange);
}

/* Submit button loading spinner */
.btn-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spinnerRotate 0.7s linear infinite;
    vertical-align: middle;
    display: inline-block;
}

@keyframes spinnerRotate {
    to {
        transform: rotate(360deg);
    }
}

/* Navigation Dropdown Support */
.nav-dropdown {
    position: relative;
    padding: 0.5rem 0; /* Increase hit area for hover */
}

.nav-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown > a svg {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-dropdown:hover > a svg,
.nav-dropdown:focus-within > a svg {
    transform: rotate(180deg);
}

.nav-links .dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    min-width: 330px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 12px;
    border-top: 4px solid var(--color-orange);
    padding: 12px 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(20px);
    transform-origin: top center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Invisible bridge so mouse doesn't lose hover */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-links .dropdown-menu li {
    padding: 4px 12px;
    margin: 0;
    width: 100%;
    display: block;
}

.dropdown-menu li a:not(.btn) {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    color: var(--color-navy-dark) !important;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: transparent;
    position: relative;
    overflow: hidden;
}

/* Reset the pseudo element width animation for dropdown items */
.nav-links .dropdown-menu li a:not(.btn)::after {
    display: none !important;
}

.dropdown-menu li a:not(.btn):hover {
    background: linear-gradient(90deg, rgba(220, 38, 38, 0.08), transparent);
    color: var(--color-orange) !important;
    padding-left: 28px;
}

.dropdown-menu li a:not(.btn)::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0%;
    background: var(--color-orange);
    border-radius: 4px;
    transition: height 0.3s ease;
}

.dropdown-menu li a:not(.btn):hover::before {
    height: 50%;
}

/* For mobile nav styling */
@media (max-width: 991px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: transparent;
        padding-left: 10px;
        border-top: none;
        backdrop-filter: none;
        margin-top: 10px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        min-width: 100%;
    }
    
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown:focus-within .dropdown-menu {
        display: block;
        animation: slideDownFade 0.3s ease forwards;
    }
    
    .dropdown-menu li a:not(.btn):hover {
        padding-left: 20px;
        background: transparent;
    }
}

@keyframes slideDownFade {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}