/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace&family=Julius+Sans+One&family=AR+One+Sans:wght@400;500;600;700&display=swap');

/* Global Styles */
:root {
    --primary-blue: #2563eb;
    --secondary-cyan: #00BCD4;
    --accent-yellow: #FFD700;
    --dark-blue: #1e40af;
    --light-blue: #e3f2fd;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'AR One Sans', 'Inter', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Navbar Styles - Modern Design */
.navbar {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
    font-family: 'Bruno Ace', cursive;
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 40px;
    width: auto;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.05);
}

.navbar-brand i {
    color: var(--accent-yellow);
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
    font-family: 'AR One Sans', sans-serif;
}

.nav-link:hover {
    color: #60a5fa !important;
    transform: translateY(-2px);
}

/* Hero Section - Modern Full Screen Design */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    padding-top: 0;
    background: #000;
}

/* Hero Video Background - Only for Home Page */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

/* Default hero background image (will be overridden by specific pages) */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1687372985143-4ea2ba8f14f9?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1920');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* About Page Hero - Use local plane on ground image */
.hero-section[style*="60vh"]::before {
    background-image: url('/images/main_head.jpg');
    display: block !important;
}

/* Services Page Hero - Use service_plane image */
.hero-section.services-hero::before {
    background-image: url('/images/service_plane.jpg');
    background-position: center 70%;
    display: block !important;
}

/* Quote Page Hero - Use checklist image */
.hero-section.quote-hero::before {
    background-image: url('/images/checklist.jpg');
    background-position: center center;
    display: block !important;
}

/* Darker overlay for quote page */
.hero-section.quote-hero::after {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.65) 100%);
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-wave {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 6rem 0 2rem 0;
    max-width: 800px;
}

.hero-content h1 {
    font-family: 'Julius Sans One', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    font-weight: 700;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-family: 'AR One Sans', sans-serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.hero-logo i {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-indicator .scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 8px;
}

.scroll-indicator .scroll-wheel {
    width: 6px;
    height: 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 3px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.hero-image-placeholder {
    display: none;
}

.placeholder-box {
    display: none;
}

/* Feature Cards */
.features-section {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.95) 0%, rgba(26, 32, 44, 0.98) 100%);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

/* Add subtle pattern overlay */
.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.02) 35px, rgba(255,255,255,.02) 70px);
    pointer-events: none;
}

/* Professional heading with modern font */
.features-heading {
    color: #ffffff;
    font-family: 'Julius Sans One', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

/* Add subtle underline accent */
.features-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-cyan), var(--accent-yellow));
    border-radius: 2px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--secondary-cyan);
    background: rgba(255, 255, 255, 1);
}

.feature-icon i {
    color: var(--primary-blue);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Premium Services Section - Dark Elegant Background */
.premium-services-section {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

/* Subtle animated pattern overlay */
.premium-services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 188, 212, 0.05) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.01) 35px, rgba(255,255,255,.01) 70px);
    pointer-events: none;
    animation: subtleMove 20s ease-in-out infinite;
}

@keyframes subtleMove {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(20px) translateY(-20px); }
}

/* Premium heading styling */
.premium-heading {
    color: #ffffff;
    font-family: 'Julius Sans One', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.premium-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #00bcd4, #ffd700);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.5);
}

/* Premium service cards */
.premium-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-cyan));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: var(--secondary-cyan);
}

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

/* Premium icon styling with different colors */
.premium-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.consultancy-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.15));
    color: #3b82f6;
}

.charter-icon {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.15), rgba(0, 172, 193, 0.15));
    color: #00bcd4;
}

.mro-icon {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 193, 7, 0.15));
    color: #ffc107;
}

.security-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(124, 58, 237, 0.15));
    color: #8b5cf6;
}

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

/* Premium list styling */
.premium-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.premium-list li {
    padding: 8px 0;
    color: #475569;
    transition: all 0.2s ease;
}

.premium-list li i {
    color: var(--secondary-cyan);
    font-size: 0.9rem;
}

.premium-list li:hover {
    padding-left: 10px;
    color: var(--primary-blue);
}

/* Service details section */
.service-details h6 {
    font-size: 0.95rem;
    letter-spacing: 1px;
}

/* Core Services Section - Grey Background (Services Page) */
.core-services-section {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.95) 0%, rgba(26, 32, 44, 0.98) 100%);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.core-services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.02) 35px, rgba(255,255,255,.02) 70px);
    pointer-events: none;
}

.core-services-heading {
    color: #ffffff;
    font-family: 'Julius Sans One', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.core-services-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-cyan), var(--accent-yellow));
    border-radius: 2px;
}

.core-services-section .service-category h3 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Chairman Section Styling */
.chairman-card {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.chairman-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.chairman-image-wrapper {
    position: relative;
    display: inline-block;
}

.chairman-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-blue);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.chairman-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
}

/* Team Section Styling */
.team-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.team-image-container:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.team-image {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.4s ease;
}

.team-image-container:hover .team-image {
    transform: scale(1.05);
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    padding: 3rem 2rem 2rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.team-image-container:hover .team-overlay {
    transform: translateY(0);
    opacity: 1;
}

.team-overlay-content {
    text-align: center;
}

.team-overlay-content h3 {
    font-size: 1.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.team-overlay-content p {
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .chairman-image {
        width: 150px;
        height: 150px;
    }
    
    .chairman-card {
        padding: 2rem;
    }
    
    .team-overlay {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Airports Section */
.airports-section {
    background: linear-gradient(to bottom, #fff, var(--light-blue), #fff);
    padding: 4rem 0;
}

.section-wave-top,
.section-wave-bottom {
    position: absolute;
    width: 100%;
    left: 0;
}

.section-wave-top {
    top: 0;
}

.section-wave-bottom {
    bottom: 0;
}

.airport-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.airport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: var(--light-blue);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--light-blue), #fff);
}

.cta-content {
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.1), rgba(0, 188, 212, 0.1));
    border-radius: 30px;
    border: 2px solid var(--secondary-cyan);
}

/* Gallery Section */
.gallery-item {
    height: 100%;
}

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    min-height: 350px;
}

.gallery-image-wrapper img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    padding: 2rem;
}

.gallery-title {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: all 0.4s ease;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.gallery-subtitle {
    color: white;
    font-size: 1rem;
    margin: 0;
    transition: all 0.4s ease;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.gallery-image-wrapper:hover img {
    opacity: 0.8;
    transform: scale(1.05);
    filter: blur(3px);
}

.gallery-image-wrapper:hover .gallery-overlay {
    background: rgba(13, 71, 161, 0.9);
}

.gallery-image-wrapper:hover .gallery-title {
    color: #FFD700;
    transform: scale(1.15);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.gallery-image-wrapper:hover .gallery-subtitle {
    color: #ffffff;
    transform: scale(1.1);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.gallery-placeholder {
    background: #f8f9fa;
    border: 3px dashed #ddd;
    border-radius: 15px;
    padding: 4rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 350px;
}

.gallery-placeholder:hover {
    background: #e9ecef;
    border-color: var(--primary-blue);
    transform: scale(1.02);
}

.gallery-placeholder i {
    color: #6c757d;
}

/* Buttons - Modern Design */
.btn {
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-family: 'AR One Sans', sans-serif;
}

.btn-primary, .btn-warning {
    background: var(--primary-blue);
    border: none;
    color: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover, .btn-warning:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline-primary:hover {
    background: var(--primary-blue);
    color: #fff;
    transform: scale(1.05);
}

/* Footer - Modern Design */
.footer {
    position: relative;
    margin-top: 5rem;
    padding-top: 0;
}

.footer-logo {
    height: 45px;
    width: auto;
}

.footer-wave {
    display: none;
}

.footer-content {
    position: relative;
    background: var(--gray-900);
    color: #fff;
    z-index: 2;
    padding-top: 3rem !important;
    padding-bottom: 2rem !important;
}

.footer-content h5 {
    color: #fff;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'AR One Sans', sans-serif;
}

.footer-content p {
    line-height: 1.8;
    color: var(--gray-400);
}

.footer-content ul li {
    line-height: 2;
}

.footer-content a {
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    color: var(--gray-400);
}

.footer-content a:hover {
    color: #60a5fa !important;
    padding-left: 5px;
}

.footer-content .bi {
    color: #60a5fa;
}

/* Dev Studios Link Hover Effect */
.dev-studios-link {
    color: inherit;
    transition: color 0.3s ease;
}

.dev-studios-link:hover {
    color: #60a5fa !important;
    padding-left: 0 !important;
}

.social-icon {
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: #60a5fa !important;
}

.footer-content .text-white-50 {
    opacity: 0.8;
    color: var(--gray-400);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-400);
}

/* Services Page */
.services-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-cyan));
    color: #fff;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.service-category {
    margin-bottom: 3rem;
}

.service-category h3 {
    color: var(--primary-blue);
    border-bottom: 3px solid var(--accent-yellow);
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* Booking Form */
.booking-form {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.form-control,
.form-select {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary-cyan);
    box-shadow: 0 0 0 0.2rem rgba(0, 188, 212, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--primary-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navbar Brand - Fix for mobile text cutoff */
    .navbar-brand {
        font-size: 1.1rem;
        white-space: normal;
        line-height: 1.3;
        max-width: 70%;
    }

    .navbar-logo {
        height: 32px;
        margin-right: 8px;
    }

    .hero-section {
        min-height: auto;
        padding: 6rem 0 3rem;
    }

    /* Services Page Hero - Mobile Optimization */
    .hero-section.services-hero {
        min-height: 50vh !important;
        background-attachment: scroll !important;
    }

    .hero-section.services-hero::before {
        background-size: cover;
        background-position: center;
        will-change: transform;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .feature-card {
        margin-bottom: 1rem;
    }

    .btn-lg {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }

    /* Core Services Section - Mobile Fix */
    .core-services-section {
        padding: 2rem 0 !important;
    }

    .core-services-section::before {
        display: none; /* Remove pattern overlay on mobile */
    }

    /* Premium Services Section - Mobile Fix */
    .premium-services-section {
        padding: 2rem 0 !important;
    }

    .premium-services-section::before {
        animation: none; /* Disable animations on mobile */
        opacity: 0.5;
    }

    /* Premium Cards - Mobile Optimization */
    .premium-card {
        margin-bottom: 1.5rem;
    }

    .premium-card:hover {
        transform: none; /* Disable hover effects on mobile */
    }

    .premium-icon {
        width: 50px;
        height: 50px;
    }

    /* Service Images - AGGRESSIVE Mobile Optimization */
    .service-category img,
    .service-image {
        max-height: 200px !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: cover;
        /* Prevent white flash */
        background: #f0f0f0;
        /* Hardware acceleration */
        transform: translateZ(0);
        will-change: opacity;
        /* Smooth loading */
        transition: opacity 0.3s ease-in-out;
    }

    /* Add spacing between image sections to prevent simultaneous loading */
    .service-category {
        margin-bottom: 3rem !important;
        min-height: 100vh; /* Force sections to be spaced out */
    }

    /* Disable complex animations on mobile */
    .feature-card:hover,
    .premium-card:hover .premium-icon {
        transform: none !important;
    }

    /* Hero content mobile adjustments */
    .hero-content h1 {
        font-size: 2rem !important;
    }

    .hero-content p {
        font-size: 1.1rem !important;
    }

    /* CRITICAL: Prevent browser crashes */
    * {
        /* Disable expensive CSS features on mobile */
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Reduce rendering complexity */
    .core-services-section,
    .premium-services-section {
        background: rgba(45, 55, 72, 0.98) !important;
        backdrop-filter: none !important;
    }

    /* Image container optimization */
    .col-lg-5 img,
    .col-lg-7 img {
        max-height: 200px !important;
        width: 100% !important;
        object-fit: cover !important;
    }
}

/* Animations */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

/* Loading Animation */
.spinner-border-custom {
    border: 3px solid rgba(0, 188, 212, 0.3);
    border-top-color: var(--secondary-cyan);
}
