/* ============================================
   MRDG GROUP - Professional Transport Website
   Clean, Elegant Design
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
    /* Primary Colors */
    --primary-dark: #1a2332;
    --primary-navy: #243447;
    --primary-blue: #2c4158;
    
    /* Accent - Elegant Gold */
    --accent: #c9a227;
    --accent-light: #dbb84d;
    --accent-dark: #a68820;
    
    /* Neutral */
    --white: #ffffff;
    --off-white: #f7f8fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Transitions */
    --transition: 0.3s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

body.custom-cursor,
body.custom-cursor * {
    cursor: none !important;
}

@media (max-width: 768px) {
    body.custom-cursor,
    body.custom-cursor * {
        cursor: auto !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.custom-cursor,
    body.custom-cursor * {
        cursor: auto !important;
    }
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--primary-dark);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(26, 35, 50, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--white);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.5px;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    border-radius: 6px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}

.nav-links a.active {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.nav-cta {
    background: var(--accent) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--accent-light) !important;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 12px;
    cursor: pointer;
    z-index: 10001;
    position: relative;
    background: transparent;
    border: none;
    border-radius: 8px;
}

.mobile-toggle:hover {
    background: rgba(255,255,255,0.1);
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    margin: 5px 0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

/* Hamburger to X animation */
.mobile-toggle.active {
    position: fixed;
    top: 12px;
    right: 24px;
    background: rgba(201, 162, 39, 0.2);
}

.mobile-toggle.active span:nth-child(1) {
    -webkit-transform: translateY(7px) rotate(45deg);
    transform: translateY(7px) rotate(45deg);
    background: var(--accent);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3) {
    -webkit-transform: translateY(-7px) rotate(-45deg);
    transform: translateY(-7px) rotate(-45deg);
    background: var(--accent);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary-dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(26, 35, 50, 0.92) 0%,
        rgba(26, 35, 50, 0.75) 50%,
        rgba(26, 35, 50, 0.5) 100%
    );
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 600;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 20px;
}

.hero h1 .highlight {
    color: var(--accent);
}

.hero-description {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn i, .btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
}

.btn-dark {
    background: var(--primary-dark);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--primary-navy);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 100px 0;
}

.section-light {
    background: var(--white);
}

.section-gray {
    background: var(--off-white);
}

.section-dark {
    background: var(--primary-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(201, 162, 39, 0.1);
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-dark .section-badge {
    background: rgba(201, 162, 39, 0.15);
    color: var(--accent-light);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-dark .section-title {
    color: var(--white);
}

.section-title .highlight {
    color: var(--accent);
}

.section-subtitle {
    font-size: 17px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.7);
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.services-grid-balanced {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.services-grid-balanced .service-card {
    flex: 1 1 calc(33.333% - 16px);
    min-width: 280px;
    max-width: calc(33.333% - 16px);
}

.services-grid-balanced .service-card:nth-child(4),
.services-grid-balanced .service-card:nth-child(5) {
    flex: 1 1 calc(50% - 12px);
    max-width: calc(50% - 12px);
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--off-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-dark);
}

.service-icon i, .service-icon svg {
    width: 26px;
    height: 26px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-dark);
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent);
    gap: 10px;
}

.service-link i, .service-link svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-placeholder {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    background: var(--gray-100);
    overflow: hidden;
}

.about-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 130px;
    height: 130px;
    padding: 16px;
    background: var(--accent);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.about-badge-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.about-badge-text {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 6px;
    line-height: 1.3;
}

.about-text h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 28px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--off-white);
    border-radius: 8px;
    transition: var(--transition);
}

.about-feature:hover {
    background: var(--gray-100);
}

.about-feature-icon {
    width: 32px;
    height: 32px;
    background: var(--white);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    flex-shrink: 0;
}

.about-feature-icon i, .about-feature-icon svg {
    width: 16px;
    height: 16px;
}

.about-feature span {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-800);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 200px 200px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--gray-100);
}

.gallery-item.gallery-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 35, 50, 0.8) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

/* ============================================
   FEATURES (Dark Section)
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(201, 162, 39, 0.2);
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(201, 162, 39, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent);
}

.feature-icon i, .feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

/* ============================================
   FLEET
   ============================================ */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.fleet-grid-balanced {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    margin: 0 auto;
}

.fleet-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.fleet-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.fleet-image {
    position: relative;
    height: 200px;
    background: var(--gray-100);
    overflow: hidden;
}

.fleet-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fleet-card:hover .fleet-image img {
    transform: scale(1.05);
}

.fleet-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fleet-info h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.fleet-info p {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 16px;
    flex-grow: 1;
}

.fleet-specs {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: auto;
    min-height: 24px;
}

.fleet-spec {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-600);
}

.fleet-spec i, .fleet-spec svg {
    width: 16px;
    height: 16px;
    color: var(--accent-dark);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 32px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 24px;
    right: 32px;
    font-family: var(--font-heading);
    font-size: 72px;
    color: var(--accent);
    opacity: 0.15;
    line-height: 1;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-stars i, .testimonial-stars svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    fill: var(--accent);
}

.testimonial-text {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

.testimonial-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
}

.testimonial-info span {
    font-size: 13px;
    color: var(--gray-500);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    position: relative;
    aspect-ratio: 1920 / 417;
    width: 100%;
    min-height: 240px;
    padding: clamp(40px, 5vw, 64px) 0;
    box-sizing: border-box;
    text-align: center;
    background-color: var(--primary-dark);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 35, 50, 0.52);
    z-index: 0;
}

.cta-banner .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.cta-banner h2 {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-banner h2 .highlight {
    color: var(--accent);
}

.cta-banner p {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.contact-info > p {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--off-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    flex-shrink: 0;
}

.contact-icon i, .contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-item-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.contact-item-text p,
.contact-item-text a {
    font-size: 14px;
    color: var(--gray-600);
    transition: var(--transition);
}

.contact-item-text a:hover,
.contact-map-link:hover {
    color: var(--accent-dark);
}

.contact-map-link {
    display: inline-block;
    font-size: 14px;
    color: var(--gray-600);
    text-decoration: none;
    transition: var(--transition);
}

.contact-map-link:hover {
    color: var(--accent-dark);
}

.contact-form-wrapper {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 32px;
}

.form-contact-person {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
}

.form-contact-person-avatar {
    width: 56px;
    height: 56px;
    background: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    flex-shrink: 0;
}

.form-contact-person-avatar i,
.form-contact-person-avatar svg {
    width: 24px;
    height: 24px;
}

.form-contact-person-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-dark);
    margin-bottom: 4px;
}

.form-contact-person-info h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.form-contact-person-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.form-contact-person-details a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--gray-600);
    transition: var(--transition);
}

.form-contact-person-details a i,
.form-contact-person-details a svg {
    width: 14px;
    height: 14px;
}

.form-contact-person-details a:hover {
    color: var(--accent-dark);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 44px;
}

.form-submit .btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
}

.form-message {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid #27ae60;
    color: #27ae60;
}

.form-message.error {
    display: block;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid #e74c3c;
    color: #e74c3c;
}

/* ============================================
   MAP
   ============================================ */
.map-section {
    height: 400px;
    background: var(--gray-100);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
    --collapse: 0;
    position: relative;
    padding: 108px 0 36px;
    min-height: clamp(360px, 38vw, 500px);
    background: var(--primary-dark);
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/optimized/page-hero.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    transform: translateY(calc(var(--collapse) * -60px)) scale(calc(1.06 + var(--collapse) * 0.06));
    will-change: transform;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26, 35, 50, 0.88) 0%,
        rgba(26, 35, 50, 0.55) 48%,
        rgba(26, 35, 50, 0.82) 100%
    );
    opacity: calc(1 - var(--collapse) * 0.35);
    z-index: 0;
}

.page-hero .container {
    position: relative;
    z-index: 1;
    transform: translateY(calc(var(--collapse) * -50px));
    opacity: calc(1 - var(--collapse));
    will-change: transform, opacity;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.page-hero h1 .highlight {
    color: var(--accent);
}

.page-hero .breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.page-hero .breadcrumb a {
    color: var(--accent);
    transition: var(--transition);
}

.page-hero .breadcrumb a:hover {
    color: var(--accent-light);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-dark);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--white);
}

.footer-social a i, .footer-social a svg {
    width: 18px;
    height: 18px;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 180px 180px 180px;
    }
    
    .gallery-item.gallery-large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        min-height: 100vh;
        background: linear-gradient(180deg, #1a2332 0%, #243447 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        opacity: 0;
        -webkit-transform: translateX(-20px);
        transform: translateX(-20px);
        -webkit-transition: opacity 0.3s ease, transform 0.3s ease;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav-links li:first-child {
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    
    .nav-links.active li {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    
    .nav-links.active li:nth-child(1) { transition-delay: 0.05s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.15s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.25s; }
    
    .nav-links a {
        display: block;
        font-size: 20px;
        font-weight: 500;
        padding: 20px 24px;
        color: rgba(255,255,255,0.9);
        text-align: center;
        -webkit-transition: all 0.2s ease;
        transition: all 0.2s ease;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        color: var(--accent);
        background: rgba(201, 162, 39, 0.1);
    }
    
    /* Remove underline effect on mobile */
    .nav-links a::after,
    .nav-links a::before {
        display: none !important;
    }
    
    .nav-links li:last-child {
        border-bottom: none;
        margin-top: 20px;
        padding: 0 24px;
    }
    
    .nav-links .nav-cta {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        font-size: 16px;
        font-weight: 600;
        padding: 16px 32px;
        background: var(--accent) !important;
        border-radius: 8px;
        color: var(--white) !important;
        text-align: center;
    }
    
    .nav-links .nav-cta:hover {
        background: var(--accent-light) !important;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-content {
        padding: 100px 0 60px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        max-width: none;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item,
    .gallery-item.gallery-large {
        grid-column: span 1;
        grid-row: span 1;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-badge {
        width: 110px;
        height: 110px;
        padding: 12px;
        bottom: -16px;
        right: -16px;
    }
    
    .about-badge-number {
        font-size: 28px;
    }
    
    .about-badge-text {
        font-size: 9px;
    }
    
    .page-hero {
        padding: 96px 0 28px;
        min-height: 300px;
    }

    .page-hero::before {
        background-position: 56% 60%;
    }
    
    .page-hero h1 {
        font-size: 28px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 24px;
    }
    
    .cta-banner {
        padding: 60px 0;
    }
    
    .cta-banner h2 {
        font-size: 22px;
    }
}

/* Extra fixes for tablets */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-grid-balanced .service-card {
        flex: 1 1 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
    
    .services-grid[style*="grid-template-columns: repeat(2"] {
        grid-template-columns: 1fr !important;
    }
    
    .features-grid[style*="grid-template-columns: repeat(3"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .fleet-grid-balanced {
        grid-template-columns: repeat(2, 1fr);
        max-width: none;
    }
}

@media (max-width: 600px) {
    .services-grid-balanced .service-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .features-grid,
    .features-grid[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    .fleet-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        gap: 30px;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 24px; }
.mt-4 { margin-top: 24px; }

/* ============================================
   MODERN EFFECTS & ANIMATIONS
   ============================================ */

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    z-index: 9999;
    transform-origin: left;
    transform: scaleX(0);
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    opacity: 0;
    visibility: hidden;
}

body.custom-cursor .cursor-dot,
body.custom-cursor .cursor-outline {
    visibility: visible;
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100002;
    transition: opacity 0.15s ease, transform 0.1s ease;
    transform: translate(-50%, -50%);
    left: 0;
    top: 0;
}

.cursor-dot.is-visible {
    opacity: 1;
}

.cursor-outline {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100001;
    transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease;
    opacity: 0;
    transform: translate(-50%, -50%);
    left: 0;
    top: 0;
}

.cursor-outline.is-visible {
    opacity: 0.5;
}

.cursor-outline.hover {
    transform: translate(-50%, -50%) scale(1.5);
    background: rgba(201, 162, 39, 0.1);
    opacity: 1;
}

/* Magnetic Button Effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Glowing Border Animation */
@keyframes borderGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(201, 162, 39, 0.3); }
    50% { box-shadow: 0 0 40px rgba(201, 162, 39, 0.5); }
}

.hero-badge {
    animation: borderGlow 3s ease-in-out infinite;
}

/* Text Reveal Animation */
.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.text-reveal.visible span {
    transform: translateY(0);
    opacity: 1;
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

/* Gradient Text Animation */
.gradient-text {
    background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 3s linear infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Card Tilt Effect */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg);
}

/* Smooth Image Zoom */
.image-zoom {
    overflow: hidden;
}

.image-zoom img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-zoom:hover img {
    transform: scale(1.1);
}

/* Blur Load Effect */
.blur-load {
    filter: blur(20px);
    transition: filter 0.5s ease;
}

.blur-load.loaded {
    filter: blur(0);
}

/* Staggered Children Animation */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

@keyframes staggerIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Service Cards */
.service-card {
    position: relative;
    background: var(--white);
    border: 1px solid transparent;
    background-image: linear-gradient(var(--white), var(--white)), 
                      linear-gradient(135deg, var(--gray-200) 0%, transparent 50%, var(--gray-200) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, transparent 0%, rgba(201, 162, 39, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    background-image: linear-gradient(var(--white), var(--white)), 
                      linear-gradient(135deg, var(--accent) 0%, transparent 50%, var(--accent) 100%);
}

/* Icon Spin on Hover */
.service-card:hover .service-icon {
    background: var(--accent);
    color: var(--white);
}

.service-card:hover .service-icon i,
.service-card:hover .service-icon svg {
    animation: iconPop 0.4s ease;
}

@keyframes iconPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.2) rotate(10deg); }
    100% { transform: scale(1); }
}

/* Feature Card Hover */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) translateY(-5px);
    background: rgba(201, 162, 39, 0.25);
}

.feature-icon {
    transition: transform 0.3s ease, background 0.3s ease;
}

/* Parallax Background */
.parallax-bg {
    position: absolute;
    inset: -20%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

/* Hero Content Initial States */
.hero .reveal {
    opacity: 0;
    -webkit-transform: translateY(30px);
    -moz-transform: translateY(30px);
    -ms-transform: translateY(30px);
    -o-transform: translateY(30px);
    transform: translateY(30px);
    -webkit-transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    -moz-transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    -o-transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    /* CSS fallback animation */
    -webkit-animation: heroRevealFallback 0.8s ease forwards;
    animation: heroRevealFallback 0.8s ease forwards;
    -webkit-animation-delay: 3s;
    animation-delay: 3s;
}

@-webkit-keyframes heroRevealFallback {
    to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}

@keyframes heroRevealFallback {
    to { opacity: 1; transform: translateY(0); }
}

.hero .reveal.visible {
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    -webkit-animation: none;
    -moz-animation: none;
    -o-animation: none;
    animation: none;
}

.hero .reveal:nth-child(1) { transition-delay: 0s; animation-delay: 3s; }
.hero .reveal:nth-child(2) { transition-delay: 0.15s; animation-delay: 3.1s; }
.hero .reveal:nth-child(3) { transition-delay: 0.3s; animation-delay: 3.2s; }
.hero .reveal:nth-child(4) { transition-delay: 0.45s; animation-delay: 3.3s; }
.hero .reveal:nth-child(5) { transition-delay: 0.6s; animation-delay: 3.4s; }

/* Scroll Indicator Animation */
.scroll-indicator {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 2s, transform 0.6s ease 2s;
}

.hero.loaded .scroll-indicator {
    opacity: 1;
    transform: translateY(0);
}

/* Modern Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
}

.hero .gradient-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    top: -20%;
    right: -10%;
    animation: orbFloat1 15s ease-in-out infinite;
}

.hero .gradient-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--primary-blue);
    bottom: -10%;
    left: -5%;
    animation: orbFloat2 20s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, 30px) scale(1.1); }
    66% { transform: translate(20px, -20px) scale(0.9); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -40px) scale(1.15); }
}

/* Stats Counter Glow */
.stat-number {
    position: relative;
}

.stat-number::after {
    content: attr(data-target);
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    filter: blur(20px);
    opacity: 0.5;
    z-index: -1;
}

/* Gallery Modern Overlay */
.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 35, 50, 0.9) 0%,
        rgba(26, 35, 50, 0.3) 40%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-overlay {
    z-index: 2;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Testimonial Card Shine */
.testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        transparent 45%,
        rgba(201, 162, 39, 0.03) 50%,
        transparent 55%
    );
    transform: rotate(30deg);
    transition: transform 0.8s ease;
}

.testimonial-card:hover::after {
    transform: rotate(30deg) translate(20%, 20%);
}

/* CTA Section hover effect */
.cta-banner:hover::before {
    background: rgba(26, 35, 50, 0.48);
}

/* Form Input Focus Animation */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    animation: inputFocus 0.3s ease;
}

@keyframes inputFocus {
    0% { transform: scale(1); }
    50% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

/* Logo Hover */
.logo:hover .logo-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
}

.logo-icon {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Nav Link Underline Animation */
.nav-links a {
    position: relative;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta).active::after {
    width: 100%;
    left: 0;
}

/* Smooth Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

.scroll-indicator:hover {
    color: var(--accent);
}

.scroll-indicator .mouse {
    width: 24px;
    height: 40px;
    border: 2px solid currentColor;
    border-radius: 12px;
    position: relative;
}

.scroll-indicator .mouse::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: currentColor;
    border-radius: 2px;
    animation: scrollMouse 1.5s ease-in-out infinite;
}

@keyframes scrollMouse {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

/* Reveal on Scroll - Enhanced */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Section Transitions */
.section {
    position: relative;
    --scroll-progress: 0;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
    transition: width 1s ease;
}

.section.in-view::before {
    width: 80%;
}

.section-dark::before {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

/* Section header special animation */
.section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.in-view .section-header {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Screen - Pure CSS solution with MRDG animation */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #1a2332 0%, #0d1219 50%, #1a2332 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    overflow: hidden;
    /* Pure CSS auto-hide - works without JS */
    -webkit-animation: loaderHide 3s ease-in-out forwards;
    -moz-animation: loaderHide 3s ease-in-out forwards;
    -o-animation: loaderHide 3s ease-in-out forwards;
    animation: loaderHide 3s ease-in-out forwards;
}

/* Animated background particles */
.loading-screen::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 80%, rgba(201, 162, 39, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(201, 162, 39, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 40% 40%, rgba(201, 162, 39, 0.03) 0%, transparent 30%);
    animation: particleFloat 4s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, -20px) rotate(5deg); }
}

@-webkit-keyframes loaderHide {
    0% { opacity: 1; visibility: visible; pointer-events: auto; }
    75% { opacity: 1; visibility: visible; pointer-events: auto; }
    99% { opacity: 0; visibility: visible; pointer-events: none; }
    100% { opacity: 0; visibility: hidden; pointer-events: none; z-index: -1; }
}

@keyframes loaderHide {
    0% { opacity: 1; visibility: visible; pointer-events: auto; }
    75% { opacity: 1; visibility: visible; pointer-events: auto; }
    99% { opacity: 0; visibility: visible; pointer-events: none; }
    100% { opacity: 0; visibility: hidden; pointer-events: none; z-index: -1; }
}

.loading-screen.fade-out,
.loading-screen.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.loading-logo-container {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 40px;
}

.loading-letters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.loading-letter {
    font-family: var(--font-heading);
    font-size: clamp(48px, 12vw, 80px);
    font-weight: 700;
    color: transparent;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    opacity: 0;
    transform: translateY(40px) rotateX(90deg);
    animation: letterReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards,
               letterGlow 2s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.12s), calc(0.8s + var(--i) * 0.12s);
    text-shadow: 0 0 40px rgba(201, 162, 39, 0.3);
    filter: drop-shadow(0 4px 20px rgba(201, 162, 39, 0.4));
}

@keyframes letterReveal {
    0% {
        opacity: 0;
        transform: translateY(40px) rotateX(90deg) scale(0.8);
    }
    60% {
        opacity: 1;
        transform: translateY(-10px) rotateX(-10deg) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg) scale(1);
    }
}

@keyframes letterGlow {
    0%, 100% {
        background-position: 0% 50%;
        filter: drop-shadow(0 4px 20px rgba(201, 162, 39, 0.4));
    }
    50% {
        background-position: 100% 50%;
        filter: drop-shadow(0 4px 30px rgba(201, 162, 39, 0.6));
    }
}

.loading-subtitle {
    font-family: var(--font-body);
    font-size: clamp(14px, 3vw, 18px);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 8px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    animation: subtitleReveal 0.6s ease forwards;
    animation-delay: 0.7s;
}

@keyframes subtitleReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
        letter-spacing: 4px;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 8px;
    }
}

.loading-bar {
    position: relative;
    z-index: 1;
    width: clamp(150px, 50vw, 280px);
    height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.loading-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: barShine 1.5s ease-in-out infinite;
}

@keyframes barShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.loading-bar-inner {
    height: 100%;
    background: linear-gradient(90deg, 
        var(--accent) 0%, 
        var(--accent-light) 50%, 
        var(--accent) 100%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: loadProgress 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards,
               barGradient 1s linear infinite;
    animation-delay: 0.5s, 0.5s;
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.5),
                0 0 30px rgba(201, 162, 39, 0.3);
}

@keyframes loadProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes barGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Number Ticker */
.number-ticker {
    display: inline-block;
    overflow: hidden;
    height: 1em;
}

.number-ticker span {
    display: inline-block;
    animation: tickerUp 0.5s ease forwards;
}

@keyframes tickerUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Disable animations on mobile for performance */
@media (max-width: 768px) {
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
    
    .gradient-orb {
        opacity: 0.15;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
}

/* ============================================
   SMART IMAGE LOADING
   ============================================ */
img.is-loaded {
    opacity: 1;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
