/* 
 * WebWorks Studio - Optimized CSS
 * Performance optimized stylesheet with critical CSS prioritization
 * Version: 2.0
 * Last Updated: November 2025
 */

/* Custom CSS Variables - Updated with 2025 Design Trends */
:root {
    /* 2025 Premium Palette - Earth & Innovation */
    --mocha-mousse: #8D7B68;
    --warm-clay: #A4907C;
    --soft-earth: #C8B6A6;
    --warm-stone: #F1DEC9;
    --natural-wood: #5C4B43;

    /* Modern Accent Colors */
    --primary-blue: #2563EB;
    /* Vibrant Royal Blue */
    --secondary-blue: #1E40AF;
    /* Deep Blue */
    --accent-gold: #D4AF37;
    /* Metallic Gold */
    --accent-green: #10B981;
    /* Emerald */
    --accent-orange: #F97316;
    /* Burnt Orange */

    /* Typography - Sophisticated Pairing */
    --luxury-font: 'Cormorant Garamond', serif;
    --body-font: 'Inter', sans-serif;
    --display-font: 'Space Grotesk', sans-serif;

    /* Backgrounds - Deep & Rich */
    --dark-bg: #0F172A;
    /* Slate 900 */
    --darker-bg: #020617;
    /* Slate 950 */
    --card-bg: rgba(30, 41, 59, 0.7);
    /* Glassy Slate */
    --warm-bg: #F8FAFC;
    --light-text: #F1F5F9;
    --dark-text: #0F172A;
    --gray-text: #94A3B8;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2563EB, #06B6D4);
    --gradient-luxury: linear-gradient(135deg, #D4AF37, #F1DEC9);
    --gradient-dark: linear-gradient(135deg, #0F172A, #1E293B);

    /* Effects */
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing */
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
}

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

html {
    scroll-behavior: smooth;
    /* Prevent horizontal scrolling */
    overflow-x: hidden;
    /* Enable smooth scrolling on iOS */
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--light-text);
    background-color: var(--darker-bg);
    overflow-x: hidden;
    /* Improve text rendering on mobile */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Enable touch scrolling */
    touch-action: pan-y;
    /* Prevent text size adjustment on mobile */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

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

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: #334155;
    /* Slate 700 */
    border-radius: 5px;
    border: 2px solid var(--darker-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* Container responsive utility */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Touch-friendly button sizing */
button,
.btn,
.hero-btn,
.featured-btn,
.service-link,
.cta-button,
.submit-btn {
    min-height: 44px;
    /* iOS recommended touch target */
    min-width: 44px;
    touch-action: manipulation;
    /* Prevent double-tap zoom */
}

/* Improve tap targets on mobile and fix navigation padding */
@media (max-width: 768px) {

    a,
    button,
    input,
    select,
    textarea {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Fix navigation container padding for mobile */
    #navbar .container,
    #mobile-menu .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .nav-link,
    .mobile-nav-link {
        padding: 12px 0;
        min-height: 44px;
    }

    .carousel-btn {
        min-width: 44px;
        min-height: 44px;
    }
}

@media (max-width: 480px) {

    /* Even smaller padding for very small screens */
    #navbar .container,
    #mobile-menu .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    /* Improve form elements on very small screens */
    .form-input,
    .form-textarea,
    .form-select {
        font-size: 16px;
        /* Prevent zoom on iOS */
        padding: 0.875rem 1rem;
    }

    /* Ensure buttons are properly sized */
    .btn,
    .hero-btn,
    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    /* Fix newsletter input on small screens */
    .newsletter-input-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .newsletter-input,
    .newsletter-button {
        border-radius: 12px;
        width: 100%;
    }
}

/* Typography */
.section-title {
    font-family: var(--luxury-font);
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    color: var(--light-text);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.luxury-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-text);
}

.title-divider {
    width: 100px;
    height: 2px;
    background: var(--gradient-primary);
    margin: 0 auto 3rem;
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(46, 134, 171, 0.2);
}

/* Logo Styles */
.logo img {
    transition: all 0.3s ease;
    border-radius: 0;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: none !important;
    background-color: transparent !important;
}

.logo a:hover img {
    transform: scale(1.05);
    border: none !important;
}

/* Ensure logo container maintains proper spacing */
.logo {
    display: flex;
    align-items: center;
    min-height: 64px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    background: none !important;
}

/* Remove any potential background from logo image */
.logo img {
    border: none !important;
    box-shadow: none;
    background-image: none !important;
}

.logo a:hover img {
    border: none !important;
}

#navbar.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.logo a {
    font-family: var(--luxury-font);
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.logo a:hover {
    color: var(--secondary-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Navigation Bar */
#navbar {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(46, 134, 171, 0.2);
}

#navbar.scrolled .logo img {
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--bright-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bright-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Services Dropdown */
.services-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(46, 134, 171, 0.3);
    border-radius: 12px;
    padding: 0.5rem 0;
    min-width: 320px;
    max-width: 380px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(46, 134, 171, 0.1);
    margin-top: 0.5rem;
}

.group:hover .services-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.services-dropdown a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: var(--light-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.4;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.services-dropdown a:last-child {
    border-bottom: none;
}

.services-dropdown a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.services-dropdown a:hover {
    color: var(--bright-blue);
    background: rgba(46, 134, 171, 0.1);
    padding-left: 2rem;
}

.services-dropdown a:hover::before {
    transform: scaleY(1);
}

/* Add icons to dropdown items */
.services-dropdown a::after {
    content: '\2192';
    margin-left: auto;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--bright-blue);
    font-weight: bold;
}

.services-dropdown a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(46, 134, 171, 0.3);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 0;
    color: var(--light-text);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--bright-blue);
    padding-left: 1rem;
    background: rgba(0, 188, 212, 0.1);
}

/* Mobile Services Dropdown */
.mobile-services-section {
    position: relative;
}

.mobile-services-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}

.mobile-chevron {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.mobile-services-toggle.active .mobile-chevron {
    transform: rotate(180deg);
}

.mobile-services-dropdown {
    max-height: 0;
    overflow: hidden;
    background: rgba(46, 134, 171, 0.05);
    border-radius: 8px;
    margin: 0.5rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-services-dropdown.active {
    max-height: 600px;
    padding: 0.5rem 0;
}

.mobile-service-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--gray-text);
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.mobile-service-link:last-child {
    border-bottom: none;
}

.mobile-service-link::before {
    content: '\2192';
    position: absolute;
    left: 1rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--bright-blue);
}

.mobile-service-link:hover {
    color: var(--bright-blue);
    background: rgba(46, 134, 171, 0.1);
    padding-left: 2.5rem;
}

.mobile-service-link:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.95), rgba(25, 25, 25, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Network Background Canvas */
.network-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.9;
    /* Increased from 0.6 to make more visible */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
    /* Reduced darkness */
    z-index: 1;
    pointer-events: none;
    /* Allow touch events to pass through */
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-family: var(--luxury-font);
    font-size: 4.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: var(--light-text);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--bright-blue);
    margin-bottom: 3rem;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    color: var(--light-text);
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: fadeInUp 1s ease-out 0.6s both;
    box-shadow: 0 4px 15px rgba(46, 134, 171, 0.3);
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    transition: all 0.3s ease;
    z-index: -1;
}

.hero-btn:hover::before {
    left: 0;
}

.hero-btn:hover {
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
}

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

.scroll-line {
    width: 2px;
    height: 60px;
    background: var(--primary-gold);
    position: relative;
    animation: scrollPulse 2s infinite;
}

.scroll-line::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: -3px;
    width: 8px;
    height: 8px;
    border: 2px solid var(--primary-gold);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* Featured Section */
.featured-section {
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.featured-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.featured-slide.active {
    opacity: 1;
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
    pointer-events: none;
    /* Allow touch events to pass through */
}

.featured-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    max-width: 600px;
    padding: 0 2rem;
}

.featured-title {
    font-family: var(--luxury-font);
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.featured-description {
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.featured-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-gold);
    color: var(--darker-bg);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.featured-btn:hover {
    background: var(--secondary-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
}

.carousel-btn {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--primary-gold);
    color: var(--darker-bg);
    transform: scale(1.1);
}

.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-gold);
    transform: scale(1.2);
}

/* Luxury Section */
.luxury-section {
    background: var(--dark-bg);
    position: relative;
}

.luxury-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

/* About Section */
.about-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.luxury-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.stat-title {
    font-family: var(--luxury-font);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.stat-text {
    font-size: 0.9rem;
    color: var(--gray-text);
}

/* Services Section */
.services-section {
    background: var(--darker-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--dark-bg);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-gold);
}

.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

.service-content {
    padding: 2rem;
    position: relative;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.service-title {
    font-family: var(--luxury-font);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.service-description {
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--bright-blue);
    transform: translateX(5px);
}

/* Testimonials Section */
.testimonials-section {
    background: var(--dark-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-5px);
}

.testimonial-quote {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.author-name {
    font-family: var(--luxury-font);
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.author-role {
    color: var(--primary-gold);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    background: var(--darker-bg);
}

.contact-info-title {
    font-family: var(--luxury-font);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-gold);
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-label {
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 0.25rem;
}

.contact-value {
    color: var(--gray-text);
}

/* Enhanced Contact Form */
.contact-form-container {
    background: linear-gradient(135deg, rgba(46, 134, 171, 0.1), rgba(0, 188, 212, 0.05));
    border: 1px solid rgba(46, 134, 171, 0.3);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--bright-blue);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1.2rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(46, 134, 171, 0.2);
    border-radius: 12px;
    color: var(--light-text);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--bright-blue);
    background: rgba(0, 188, 212, 0.1);
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.2);
    transform: translateY(-2px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #6b7280 !important;
    opacity: 1;
    font-weight: 400;
}

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

.contact-form select {
    cursor: pointer;
    color: #374151 !important;
    background: white !important;
}

.contact-form select option {
    color: #374151 !important;
    background: white !important;
}

/* Form Validation States */
.contact-form input:valid,
.contact-form textarea:valid {
    border-color: var(--accent-green);
}

.contact-form input:invalid:not(:placeholder-shown),
.contact-form textarea:invalid:not(:placeholder-shown) {
    border-color: var(--accent-orange);
}

/* Form Group Enhancements */
.form-group.required .form-label::after {
    content: ' *';
    color: var(--accent-orange);
}

.form-group.focused .form-label {
    color: var(--bright-blue);
    transform: scale(0.9);
}

/* Input Icons */
.form-group.has-icon {
    position: relative;
}

.form-group.has-icon .form-icon {
    position: absolute;
    right: 1rem;
    bottom: 1.2rem;
    color: var(--gray-text);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.form-group.has-icon input:focus+.form-icon {
    color: var(--bright-blue);
}

/* Loading State */
.submit-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.submit-btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid var(--light-text);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

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

/* AI Chatbot Floating Button */
.ai-chatbot-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    pointer-events: auto;
    /* Ensure it's clickable */
}

@media (hover: hover) {
    .ai-chatbot-toggle:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 8px 30px rgba(59, 130, 246, 0.6);
        background: linear-gradient(135deg, #2563eb, #1e40af);
    }
}

.ai-chatbot-toggle.active {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
}

@media (hover: hover) {
    .ai-chatbot-toggle.active:hover {
        box-shadow: 0 8px 30px rgba(239, 68, 68, 0.6);
    }
}

/* AI Chatbot Window */
.ai-chatbot-window {
    position: fixed;
    bottom: 5rem;
    right: 2rem;
    width: 380px;
    height: 500px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ai-chatbot-window.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

/* Chatbot Header */
.chatbot-header {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-title {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.chatbot-status {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background 0.2s ease;
    margin-top: 1rem;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Chat Messages Area */
.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.3) transparent;
}

.chatbot-messages::-webkit-scrollbar {
    width: 4px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.3);
    border-radius: 2px;
}

/* Message Bubbles */
.message {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    animation: messageSlideIn 0.3s ease-out;
}

.message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.message.bot .message-avatar {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.message.user .message-avatar {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.message-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0.75rem 1rem;
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 250px;
    word-wrap: break-word;
}

.message.user .message-content {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: rgba(59, 130, 246, 0.3);
    color: white;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
    animation: typingDot 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

/* Chat Input Area */
.chatbot-input-area {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.chatbot-input-group {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
}

.chatbot-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 0.9rem;
    resize: none;
    min-height: 20px;
    max-height: 80px;
    transition: all 0.2s ease;
}

.chatbot-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.chatbot-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.chatbot-send {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.chatbot-send:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.chatbot-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.quick-action {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    color: #3b82f6;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-action:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
}

/* Animations */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@keyframes typingDot {

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

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

/* Theme Options Panel */
.theme-panel {
    position: fixed;
    bottom: 5rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 1.5rem;
    min-width: 250px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(46, 134, 171, 0.3);
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.theme-panel.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.theme-panel h4 {
    color: var(--light-text);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-align: center;
}

.theme-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.theme-option {
    padding: 0.8rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.theme-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.theme-option.active {
    border-color: var(--bright-blue);
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.4);
}

.theme-option .theme-name {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.theme-option .theme-colors {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
}

.theme-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Theme Variations */
.theme-option.blue {
    background: linear-gradient(135deg, rgba(46, 134, 171, 0.2), rgba(0, 188, 212, 0.1));
    color: #00BCD4;
}

.theme-option.green {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(38, 166, 154, 0.1));
    color: #4CAF50;
}

.theme-option.purple {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.2), rgba(103, 58, 183, 0.1));
    color: #9C27B0;
}

.theme-option.orange {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.2), rgba(255, 87, 34, 0.1));
    color: #FF9800;
}

/* Global Responsive Fixes */
img,
video,
canvas,
svg {
    max-width: 100%;
    height: auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .theme-switcher {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1rem;
        font-size: 1.2rem;
    }

    .ai-chatbot-toggle {
        width: 55px;
        height: 55px;
        bottom: 5rem;
        right: 1rem;
        font-size: 1.3rem;
    }

    .ai-chatbot-window {
        width: 100%;
        height: 100%;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        max-height: none;
        border-radius: 0;
        transform: translateY(100%);
        z-index: 9999;
    }

    .ai-chatbot-window.active {
        transform: translateY(0);
    }

    .theme-panel {
        right: 1rem;
        bottom: 5rem;
        left: 1rem;
        min-width: unset;
        width: auto;
    }

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

.chatbot-header {
    border-radius: 0;
    padding-top: env(safe-area-inset-top, 20px);
}

.chatbot-messages {
    height: calc(100vh - 140px);
    padding-bottom: 80px;
}

.chatbot-input-area {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1e293b;
}

.ai-chatbot-toggle {
    right: 1rem;
    bottom: 1rem;
    z-index: 9999;
}

.message-content {
    max-width: 240px;
    /* Increased slightly */
    font-size: 0.9rem;
}


/* Fix for Hero Section spacing on Mobile */
@media (max-width: 768px) {

    /* Increase top padding for hero sections to clear fixed navbar */
    section.pt-20,
    .hero-section {
        padding-top: 8rem !important;
    }
}

/* Team Page Styles */
.team-hero-section {
    background: linear-gradient(135deg, rgba(46, 134, 171, 0.9), rgba(0, 188, 212, 0.8), rgba(76, 175, 80, 0.7)),
        url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1920') center/cover;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 8rem 0 4rem;
}

.team-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.team-hero-title {
    font-family: var(--luxury-font);
    font-size: 4rem;
    font-weight: 300;
    color: var(--light-text);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.team-hero-subtitle {
    font-size: 1.3rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.team-section {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.expertise-tag {
    background: rgba(46, 134, 171, 0.2);
    color: var(--bright-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(46, 134, 171, 0.3);
}

/* Core Team Section */
.team-section-title {
    font-family: var(--luxury-font);
    font-size: 2.5rem;
    color: var(--light-text);
    text-align: center;
    margin-bottom: 3rem;
}

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

.team-card {
    perspective: 1000px;
    height: 400px;
}

.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.team-card:hover .team-card-inner {
    transform: rotateY(180deg);
}

.team-card-front,
.team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
}

.team-card-front {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(46, 134, 171, 0.2);
    backdrop-filter: blur(10px);
}

.team-card-back {
    background: var(--gradient-primary);
    transform: rotateY(180deg);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-image {
    height: 60%;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: 1.5rem;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-name {
    font-size: 1.3rem;
    color: var(--light-text);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.team-position {
    color: var(--bright-blue);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.team-social-link {
    width: 35px;
    height: 35px;
    background: rgba(46, 134, 171, 0.2);
    border: 1px solid rgba(46, 134, 171, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bright-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.team-social-link:hover {
    background: var(--bright-blue);
    color: var(--light-text);
    transform: translateY(-2px);
}

.team-details {
    text-align: center;
    color: var(--light-text);
}

.team-details h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.team-role {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.team-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--light-text);
    padding: 0.8rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-btn:hover {
    background: var(--light-text);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.contact-btn i {
    transition: all 0.3s ease;
}

.contact-btn:hover i {
    transform: scale(1.1);
}

/* Join Team Section */
.join-team-section {
    margin-top: 6rem;
}

.join-team-card {
    background: var(--gradient-accent);
    padding: 4rem 3rem;
    border-radius: 20px;
    color: var(--light-text);
    max-width: 800px;
    margin: 0 auto;
}

.join-team-title {
    font-family: var(--luxury-font);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.join-team-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.join-team-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
}

.benefit-item i {
    font-size: 1.2rem;
    color: var(--light-text);
}

.join-team-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--light-text);
    padding: 1.2rem 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.join-team-btn:hover {
    background: var(--light-text);
    color: var(--accent-orange);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Portfolio Page Styles */
.portfolio-hero {
    background: var(--dark-bg);
    padding: 8rem 0 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.portfolio-hero-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.portfolio-avatar {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.avatar-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-blue);
    box-shadow: 0 10px 30px rgba(46, 134, 171, 0.3);
    margin: 0 auto 1.5rem auto;
    display: block;
    flex-shrink: 0;
}

.avatar-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid var(--accent-green);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    color: var(--accent-green);
    font-size: 0.9rem;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.portfolio-intro {
    color: var(--light-text);
}

.portfolio-name {
    font-family: var(--luxury-font);
    font-size: 3rem;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.portfolio-title {
    font-size: 1.5rem;
    color: var(--bright-blue);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.portfolio-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-text);
    margin-bottom: 2rem;
}

.portfolio-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    gap: 0.5rem;
}

.detail-label {
    color: var(--bright-blue);
    font-weight: 500;
    min-width: 80px;
}

.detail-value {
    color: var(--gray-text);
}

.portfolio-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.download-cv-btn {
    background: var(--gradient-primary);
    color: var(--light-text);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.download-cv-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 134, 171, 0.4);
}

.portfolio-services {
    background: var(--darker-bg);
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(46, 134, 171, 0.2);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(46, 134, 171, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--light-text);
}

.service-title {
    font-size: 1.3rem;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--gray-text);
    line-height: 1.6;
}

.portfolio-skills {
    background: var(--dark-bg);
    padding: 6rem 0;
}

.skills-description {
    text-align: center;
    color: var(--gray-text);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(46, 134, 171, 0.2);
}

.category-title {
    color: var(--bright-blue);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skill-name {
    color: var(--light-text);
    font-weight: 500;
    font-size: 0.95rem;
}

.skill-percentage {
    color: var(--bright-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 1.5s ease-in-out;
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

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

.portfolio-resume {
    background: var(--darker-bg);
    padding: 6rem 0;
}

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

.resume-column-title {
    color: var(--bright-blue);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-blue);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    width: 18px;
    height: 18px;
    background: var(--primary-blue);
    border-radius: 50%;
    border: 4px solid var(--dark-bg);
}

.timeline-date {
    background: var(--gradient-primary);
    color: var(--light-text);
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}

.timeline-title {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-company {
    color: var(--bright-blue);
    font-weight: 500;
    display: block;
    margin-bottom: 1rem;
}

.timeline-description {
    color: var(--gray-text);
    line-height: 1.6;
}

.portfolio-projects {
    background: var(--dark-bg);
    padding: 6rem 0;
}

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

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-blue);
    color: var(--light-text);
}

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

.project-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(46, 134, 171, 0.2);
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46, 134, 171, 0.2);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(46, 134, 171, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-item:hover .project-image img {
    transform: scale(1.1);
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--light-text);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.project-link:hover {
    transform: scale(1.1);
}

.project-info {
    padding: 1.5rem;
}

.project-title {
    color: var(--light-text);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.project-category {
    color: var(--bright-blue);
    font-size: 0.9rem;
}

.portfolio-contact {
    background: var(--darker-bg);
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-title {
    color: var(--bright-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-description {
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 2rem;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    width: 20px;
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-label {
    color: var(--bright-blue);
    font-weight: 500;
    font-size: 0.9rem;
}

.contact-value {
    color: var(--gray-text);
}

.portfolio-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.portfolio-contact-form input,
.portfolio-contact-form textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(46, 134, 171, 0.3);
    border-radius: 8px;
    padding: 1rem;
    color: #ffffff !important;
    font-family: var(--body-font);
    font-weight: 500;
    transition: all 0.3s ease;
}

.portfolio-contact-form input:focus,
.portfolio-contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 10px rgba(46, 134, 171, 0.2);
}

.portfolio-contact-form input::placeholder,
.portfolio-contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 400;
}

.submit-message-btn {
    background: var(--gradient-primary);
    color: var(--light-text);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.submit-message-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 134, 171, 0.4);
}

/* Portfolio Tablet Styles */
@media (max-width: 1024px) and (min-width: 769px) {

    /* Tablet container padding */
    .portfolio-hero .container,
    .portfolio-services .container,
    .portfolio-skills .container,
    .portfolio-resume .container,
    .portfolio-projects .container,
    .portfolio-contact .container {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }

    /* Hero Section Tablet */
    .portfolio-hero {
        padding: 7rem 0 4rem;
    }

    .portfolio-hero-content {
        gap: 3rem;
    }

    .portfolio-avatar {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .avatar-image {
        width: 250px;
        height: 250px;
        margin: 0 auto 1.2rem auto;
    }

    .portfolio-name {
        font-size: 2.5rem;
    }

    .portfolio-title {
        font-size: 1.4rem;
    }

    .portfolio-description {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    /* Services Section Tablet */
    .portfolio-services {
        padding: 5rem 0;
    }

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

    .service-item {
        padding: 2.5rem 2rem;
    }

    /* Skills Section Tablet */
    .portfolio-skills {
        padding: 5rem 0;
    }

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

    /* Resume Section Tablet */
    .portfolio-resume {
        padding: 5rem 0;
    }

    .resume-grid {
        gap: 4rem;
    }

    /* Projects Section Tablet */
    .portfolio-projects {
        padding: 5rem 0;
    }

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

    .project-image {
        height: 250px;
    }

    /* Contact Section Tablet */
    .portfolio-contact {
        padding: 5rem 0;
    }

    .contact-grid {
        gap: 4rem;
    }

    .contact-item {
        padding: 1.2rem;
    }
}

/* Portfolio Mobile Styles */
@media (max-width: 768px) {

    /* Fix container padding for portfolio pages */
    .portfolio-hero .container,
    .portfolio-services .container,
    .portfolio-skills .container,
    .portfolio-resume .container,
    .portfolio-projects .container,
    .portfolio-contact .container {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    /* Hero Section Mobile */
    .portfolio-hero {
        padding: 6rem 0 3rem;
        min-height: auto;
    }

    .portfolio-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .portfolio-avatar {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .avatar-image {
        width: 180px;
        height: 180px;
        margin: 0 auto 1rem auto;
    }

    .portfolio-name {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .portfolio-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .portfolio-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        text-align: left;
    }

    .portfolio-details {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-bottom: 2rem;
    }

    .detail-item {
        padding: 0.8rem;
        text-align: left;
    }

    .portfolio-actions {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .download-cv-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Services Section Mobile */
    .portfolio-services {
        padding: 4rem 0;
    }

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

    .service-item {
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .service-icon {
        margin-bottom: 1.5rem;
    }

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

    .service-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Skills Section Mobile */
    .portfolio-skills {
        padding: 4rem 0;
    }

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

    .skill-category {
        padding: 0;
    }

    .category-title {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .skill-item {
        margin-bottom: 1.5rem;
        padding: 15px;
    }

    .skill-name {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    /* Resume Section Mobile */
    .portfolio-resume {
        padding: 4rem 0;
    }

    .resume-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .resume-column-title {
        font-size: 1.3rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .timeline-item {
        padding-left: 2rem;
        margin-bottom: 2rem;
    }

    .timeline-date {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .timeline-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .timeline-company {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    .timeline-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Projects Section Mobile */
    .portfolio-projects {
        padding: 4rem 0;
    }

    .projects-filter {
        gap: 0.5rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        min-width: auto;
    }

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

    .project-item {
        max-width: 100%;
    }

    .project-image {
        height: 220px;
    }

    .project-info {
        padding: 1.5rem;
    }

    .project-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .project-category {
        font-size: 0.9rem;
    }

    /* Contact Section Mobile */
    .portfolio-contact {
        padding: 4rem 0;
    }

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

    .contact-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .contact-description {
        font-size: 0.95rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .contact-details {
        gap: 1.5rem;
    }

    .contact-item {
        padding: 1rem;
        text-align: left;
    }

    .contact-item i {
        font-size: 1.2rem;
        margin-right: 1rem;
    }

    .contact-label {
        font-size: 0.9rem;
    }

    .contact-value {
        font-size: 0.95rem;
        word-break: break-word;
    }

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

    .portfolio-contact-form input,
    .portfolio-contact-form textarea {
        font-size: 1rem;
        padding: 1rem;
    }

    .submit-message-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Portfolio Extra Small Mobile Styles */
@media (max-width: 480px) {

    /* Extra small container padding */
    .portfolio-hero .container,
    .portfolio-services .container,
    .portfolio-skills .container,
    .portfolio-resume .container,
    .portfolio-projects .container,
    .portfolio-contact .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Hero Section Extra Small */
    .portfolio-hero {
        padding: 5rem 0 2rem;
    }

    .avatar-image {
        width: 150px;
        height: 150px;
    }

    .portfolio-name {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .portfolio-title {
        font-size: 1.1rem;
    }

    .portfolio-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .detail-item {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    .detail-label {
        font-size: 0.85rem;
    }

    .detail-value {
        font-size: 0.9rem;
    }

    .download-cv-btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Services Section Extra Small */
    .portfolio-services {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .service-item {
        padding: 1.5rem 1rem;
    }

    .service-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .service-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .service-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* Skills Section Extra Small */
    .portfolio-skills {
        padding: 3rem 0;
    }

    .skills-description {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .category-title {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }

    .skill-name {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }

    .skill-percentage {
        font-size: 0.8rem;
    }

    /* Resume Section Extra Small */
    .portfolio-resume {
        padding: 3rem 0;
    }

    .resume-column-title {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .timeline-date {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }

    .timeline-title {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .timeline-company {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }

    .timeline-description {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    /* Projects Section Extra Small */
    .portfolio-projects {
        padding: 3rem 0;
    }

    .projects-filter {
        gap: 0.3rem;
        margin-bottom: 1.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .projects-grid {
        gap: 1.5rem;
    }

    .project-image {
        height: 180px;
    }

    .project-info {
        padding: 1.2rem;
    }

    .project-title {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .project-category {
        font-size: 0.8rem;
    }

    /* Contact Section Extra Small */
    .portfolio-contact {
        padding: 3rem 0;
    }

    .contact-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .contact-description {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .contact-item {
        padding: 0.8rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .contact-item i {
        font-size: 1rem;
        margin-right: 0.8rem;
    }

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

    .contact-value {
        font-size: 0.85rem;
    }

    .portfolio-contact-form input,
    .portfolio-contact-form textarea {
        font-size: 0.9rem;
        padding: 0.8rem;
    }

    .submit-message-btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Enhanced Submit Button */
.submit-btn {
    background: var(--gradient-primary);
    color: var(--light-text);
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(46, 134, 171, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    transition: all 0.3s ease;
    z-index: -1;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.4);
}

.submit-btn:hover::before {
    left: 0;
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(46, 134, 171, 0.2);
}

.footer-title {
    font-family: var(--luxury-font);
    font-size: 1.5rem;
    color: var(--bright-blue);
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.footer-text {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-heading {
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(46, 134, 171, 0.1);
    border: 1px solid rgba(46, 134, 171, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bright-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--bright-blue);
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.4);
}

.social-link:hover i {
    color: var(--light-text);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-text);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes scrollPulse {

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

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

/* Enhanced Responsive Design */

/* Extra Large Screens (1440px and up) */
@media (min-width: 1440px) {
    .mobile-menu {
        display: none !important;
    }

    .container {
        max-width: 1400px;
        padding: 0 4rem;
    }

    .hero-title {
        font-size: 4rem;
    }

    .section-title {
        font-size: 3.5rem;
    }
}

/* Large Screens (1024px to 1439px) */
@media (max-width: 1439px) and (min-width: 1024px) {
    .mobile-menu {
        display: none !important;
    }

    .hero-title {
        font-size: 4rem;
    }

    .featured-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Medium Screens (768px to 1023px) - Tablets */
@media (max-width: 1023px) and (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
        line-height: 1.1;
    }

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

    .featured-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

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

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

    .stat-card {
        padding: 1rem;
    }

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

    .carousel-controls {
        padding: 0 2rem;
    }

    .process-timeline {
        gap: 2rem;
    }
}

/* Small Screens (481px to 767px) - Large Mobile/Small Tablets */
@media (max-width: 767px) and (min-width: 481px) {
    .container {
        padding: 0 2rem;
    }

    /* Mobile menu controlled by JavaScript - hidden by default */

    /* Tablet logo sizing */
    .logo img {
        height: 3.5rem;
        width: 3.5rem;
    }

    .hero-title {
        font-size: 2.8rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

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

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

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

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

    /* Ensure no horizontal overflow on very small screens */
    .service-card {
        min-width: 0;
        width: 100%;
    }

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

    .carousel-controls {
        padding: 0 1rem;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .stat-card {
        padding: 1rem;
        text-align: center;
    }

    .grid.lg\\:grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image-container {
        order: -1;
    }

    .contact-form-container {
        margin-top: 2rem;
    }
}

/* Extra Small Screens (320px to 480px) - Mobile Phones */
@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }

    /* Mobile logo sizing */
    .logo img {
        height: 3rem;
        width: 3rem;
    }

    .hero-section {
        height: 80vh;
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }

    .featured-content {
        padding: 0 1rem;
    }

    .featured-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .featured-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .luxury-section,
    .services-section,
    .testimonials-section,
    .contact-section {
        padding: 3rem 0;
    }

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

    .service-title {
        font-size: 1.2rem;
    }

    .service-description {
        font-size: 0.9rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .carousel-indicators {
        bottom: 1rem;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .stat-card {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }

    .stat-icon {
        font-size: 1.5rem;
    }

    .stat-title {
        font-size: 1rem;
    }

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

    .contact-form-container {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 1rem 0.8rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }

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

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

    .form-group.has-icon .form-icon {
        bottom: 1rem;
        right: 0.8rem;
    }

    /* Team Page Mobile Styles */
    .team-hero-title {
        font-size: 2.5rem;
    }


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

    .join-team-card {
        padding: 2.5rem 2rem;
    }

    .join-team-title {
        font-size: 2rem;
    }

    .join-team-benefits {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer {
        padding: 2rem 0;
    }

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

    .footer-title {
        font-size: 1.3rem;
    }

    .social-links {
        justify-content: center;
    }
}

/* Ultra Small Screens (below 320px) */
@media (max-width: 319px) {
    .hero-title {
        font-size: 1.8rem;
    }

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

    .section-title {
        font-size: 1.5rem;
    }

    .featured-title {
        font-size: 1.5rem;
    }

    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }

    .container {
        padding: 0 0.5rem;
    }
}

/* Landscape Mobile Orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        height: 100vh;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    /* Compact navigation in landscape */
    #navbar {
        padding: 0.5rem 0;
    }

    .hero-content {
        padding: 1rem 0;
    }

    .featured-section {
        height: 70vh;
        /* Ensure touch scrolling works on mobile */
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    /* Fix any overlay interference on mobile */
    .featured-overlay {
        pointer-events: none;
    }

    /* Ensure all sections allow vertical scrolling */
    section {
        touch-action: pan-y;
    }

    /* Mobile-specific network optimizations */
    .network-background {
        opacity: 0.8;
        /* Slightly reduced for mobile performance */
    }

    .hero-section {
        /* Optimize for mobile performance */
        will-change: transform;
        transform: translateZ(0);
        /* Force hardware acceleration */
    }

    /* Reduce network complexity on smaller screens */
    @media (max-width: 480px) {
        .network-background {
            opacity: 0.7;
        }

        .hero-overlay {
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
        }
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .luxury-image,
    .service-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for embedded videos and iframes */
iframe,
video,
embed,
object {
    max-width: 100%;
    height: auto;
}

/* Responsive tables */
@media (max-width: 768px) {
    table {
        font-size: 0.875rem;
    }

    /* Make tables horizontally scrollable on small screens */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .carousel-controls,
    .carousel-indicators,
    .scroll-indicator,
    .mobile-menu {
        display: none !important;
    }

    .hero-section {
        height: auto;
        padding: 2rem 0;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .section-title,
    .hero-title {
        color: black !important;
    }
}

/* Service Page Styles */
.service-hero {
    height: 60vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5)),
        url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1920') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 80px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--gray-text);
}

.breadcrumb a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--secondary-gold);
}

.breadcrumb span {
    color: var(--gray-text);
}

.service-overview-content .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.service-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--luxury-font);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-text);
    margin-top: 0.5rem;
}

.services-detail-section {
    background: var(--darker-bg);
}

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

.service-detail-card {
    background: var(--dark-bg);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-detail-icon {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.service-detail-title {
    font-family: var(--luxury-font);
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.service-detail-description {
    color: var(--gray-text);
    line-height: 1.6;
}

.why-choose-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-choose-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.why-choose-icon {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.why-choose-title {
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.why-choose-text {
    color: var(--gray-text);
    line-height: 1.6;
}

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

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 2rem;
    top: 4rem;
    width: 2px;
    height: 3rem;
    background: linear-gradient(180deg, var(--primary-gold), transparent);
}

.process-number {
    width: 4rem;
    height: 4rem;
    background: var(--primary-gold);
    color: var(--darker-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    flex-shrink: 0;
}

.process-title {
    font-family: var(--luxury-font);
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.process-description {
    color: var(--gray-text);
    line-height: 1.6;
}

.faq-section {
    background: var(--darker-bg);
}

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

.faq-item {
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-gold);
}

.faq-question {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    display: flex;
    justify-content: between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(212, 175, 55, 0.1);
}

.faq-question h4 {
    color: var(--light-text);
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.faq-icon {
    color: var(--primary-gold);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--gray-text);
    line-height: 1.6;
    margin: 0;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--darker-bg);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--luxury-font);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937 !important;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #374151 !important;
    font-weight: 500;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--gradient-accent);
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(46, 134, 171, 0.4);
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--light-text);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.3;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-info {
    margin-top: 0.75rem;
}

/* Footer specific contact detail styles to override conflicts */
.footer .contact-info {
    margin-top: 0.5rem !important;
}

.footer .contact-detail {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    color: var(--light-text) !important;
    margin-bottom: 0.4rem !important;
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
}

.footer .contact-detail:last-child {
    margin-bottom: 0 !important;
}

.footer .contact-detail i {
    color: var(--primary-gold) !important;
    width: 16px !important;
    font-size: 0.9rem !important;
    flex-shrink: 0 !important;
}

.contact-detail i {
    color: var(--primary-gold);
    width: 18px;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Enhanced Service Page Responsive */

/* Tablets (768px to 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .service-hero {
        height: 55vh;
    }

    .service-stats {
        flex-direction: row;
        justify-content: space-around;
        gap: 1rem;
    }

    .services-detail-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .process-step {
        gap: 1.5rem;
    }

    .why-choose-list {
        gap: 1.2rem;
    }

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

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

/* Large Mobile (481px to 767px) */
@media (max-width: 767px) and (min-width: 481px) {
    .service-hero {
        height: 50vh;
    }

    .service-stats {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .services-detail-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .process-step::after {
        display: none;
    }

    .why-choose-list {
        gap: 1rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .service-detail-card {
        padding: 1.5rem;
    }

    .breadcrumb {
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
    }
}

/* Mobile Phones (320px to 480px) */
@media (max-width: 480px) {
    .service-hero {
        height: 45vh;
        padding: 0 1rem;
    }

    .service-stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .stat-item {
        padding: 0.8rem;
    }

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

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

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

    .service-detail-card {
        padding: 1.2rem;
    }

    .service-detail-icon {
        font-size: 2.5rem;
    }

    .service-detail-title {
        font-size: 1.2rem;
    }

    .service-detail-description {
        font-size: 0.9rem;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .process-step::after {
        display: none;
    }

    .process-number {
        width: 3rem;
        height: 3rem;
        font-size: 1.2rem;
    }

    .process-title {
        font-size: 1.2rem;
    }

    .process-description {
        font-size: 0.9rem;
    }

    .why-choose-list {
        gap: 0.8rem;
    }

    .why-choose-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .why-choose-icon {
        font-size: 1.2rem;
    }

    .why-choose-title {
        font-size: 1rem;
    }

    .why-choose-text {
        font-size: 0.85rem;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .cta-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .faq-container {
        padding: 0;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-question h4 {
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 1rem;
    }

    .breadcrumb {
        font-size: 0.75rem;
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }

    .service-overview-content .section-title {
        font-size: 1.6rem;
        text-align: center;
    }

    .luxury-text {
        font-size: 0.95rem;
    }
}

/* Ultra Small Screens (below 320px) */
@media (max-width: 319px) {
    .service-hero {
        height: 40vh;
    }

    .cta-title {
        font-size: 1.4rem;
    }

    .service-detail-card {
        padding: 1rem;
    }

    .process-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
}

/* Mobile Touch Scrolling Fixes */
@media (max-width: 768px) {

    /* Ensure smooth touch scrolling on all mobile devices */
    html,
    body {
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    /* Fix overlay elements that might block touch events */
    .hero-overlay,
    .featured-overlay,
    .service-overlay {
        pointer-events: none !important;
    }

    /* Ensure sections allow vertical scrolling */
    section,
    .hero-section,
    .featured-section,
    .services-section,
    .luxury-section {
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
    }

    /* Fix any potential scrolling issues with positioned elements */
    .featured-slide {
        touch-action: pan-y;
    }

    /* Ensure content areas are scrollable */
    .container {
        touch-action: pan-y;
    }
}

/* ===== CLIENTS SECTION ===== */
.clients-section {
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
    position: relative;
    overflow: hidden;
}

.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(46, 134, 171, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 188, 212, 0.05) 0%, transparent 50%);
    animation: clientsBackground 20s ease-in-out infinite;
}

@keyframes clientsBackground {

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

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

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.client-logo-wrapper {
    position: relative;
    perspective: 1000px;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.client-logo-wrapper:nth-child(1) {
    animation-delay: 0.1s;
}

.client-logo-wrapper:nth-child(2) {
    animation-delay: 0.2s;
}

.client-logo-wrapper:nth-child(3) {
    animation-delay: 0.3s;
}

.client-logo-wrapper:nth-child(4) {
    animation-delay: 0.4s;
}

.client-logo-wrapper:nth-child(5) {
    animation-delay: 0.5s;
}

.client-logo-wrapper:nth-child(6) {
    animation-delay: 0.6s;
}

.client-logo-wrapper:nth-child(7) {
    animation-delay: 0.7s;
}

.client-logo-wrapper:nth-child(8) {
    animation-delay: 0.8s;
}

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

.client-logo {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    cursor: pointer;
    overflow: hidden;
}

.client-logo::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.6s;
}

.client-logo:hover::before {
    left: 100%;
}

.client-logo:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-blue);
    box-shadow:
        0 20px 40px rgba(46, 134, 171, 0.3),
        0 0 0 1px rgba(46, 134, 171, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.client-logo img {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.3s ease;
    object-fit: contain;
}

.client-logo:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

.client-placeholder {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-text);
    transition: all 0.3s ease;
}

.client-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.client-placeholder span {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.client-logo:hover .client-placeholder {
    color: var(--primary-blue);
    transform: scale(1.1);
}

.client-logo:hover .client-placeholder i {
    color: var(--bright-blue);
}

/* Floating Animation */
@keyframes float {

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

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

.client-logo-wrapper:nth-child(odd) .client-logo {
    animation: float 6s ease-in-out infinite;
}

.client-logo-wrapper:nth-child(even) .client-logo {
    animation: float 6s ease-in-out infinite reverse;
}

/* Responsive Design */
@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .client-logo {
        padding: 1.5rem;
        height: 100px;
    }

    .client-logo img {
        max-width: 100px;
        max-height: 50px;
    }

    .client-placeholder i {
        font-size: 2rem;
    }

    .client-placeholder span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .client-logo {
        padding: 1rem;
        height: 80px;
    }

    .client-logo img {
        max-width: 80px;
        max-height: 40px;
    }

    .client-placeholder i {
        font-size: 1.8rem;
    }

    .client-placeholder span {
        font-size: 0.8rem;
    }
}

/* Scroll-triggered animations */
@media (prefers-reduced-motion: no-preference) {
    .client-logo-wrapper {
        animation: none;
        opacity: 0;
        transform: translateY(50px);
        transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .client-logo-wrapper.animate {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Newsletter Subscription Section */
.newsletter-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 25% 75%, rgba(59, 130, 246, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 75% 25%, rgba(16, 185, 129, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    animation: newsletterBackground 25s ease-in-out infinite;
}

.newsletter-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

@keyframes newsletterBackground {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 1;
    }

    33% {
        transform: translateY(-15px) rotate(120deg) scale(1.05);
        opacity: 0.8;
    }

    66% {
        transform: translateY(10px) rotate(240deg) scale(0.95);
        opacity: 0.9;
    }
}

.newsletter-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 75%;
    margin: 0 auto;
}

.newsletter-text {
    position: relative;
}

.newsletter-text::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    opacity: 0.1;
    animation: newsletterFloat 6s ease-in-out infinite;
}

@keyframes newsletterFloat {

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

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

.newsletter-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    position: relative;
}

.newsletter-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 2px;
}

.newsletter-description {
    font-size: 1.2rem;
    color: #d1d5db;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.newsletter-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    padding: 2rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.newsletter-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /* World Map Dots Pattern */
        radial-gradient(circle at 15% 25%, rgba(59, 130, 246, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 25% 35%, rgba(16, 185, 129, 0.25) 1px, transparent 1px),
        radial-gradient(circle at 35% 20%, rgba(139, 92, 246, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 45% 40%, rgba(59, 130, 246, 0.25) 1px, transparent 1px),
        radial-gradient(circle at 55% 15%, rgba(16, 185, 129, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 65% 30%, rgba(139, 92, 246, 0.25) 1px, transparent 1px),
        radial-gradient(circle at 75% 45%, rgba(59, 130, 246, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 85% 25%, rgba(16, 185, 129, 0.25) 1px, transparent 1px),
        /* Continents outline */
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 2px, transparent 2px),
        radial-gradient(circle at 30% 25%, rgba(59, 130, 246, 0.15) 1.5px, transparent 1.5px),
        radial-gradient(circle at 40% 35%, rgba(59, 130, 246, 0.15) 2px, transparent 2px),
        radial-gradient(circle at 60% 20%, rgba(16, 185, 129, 0.15) 2px, transparent 2px),
        radial-gradient(circle at 70% 35%, rgba(16, 185, 129, 0.15) 1.5px, transparent 1.5px),
        radial-gradient(circle at 80% 30%, rgba(16, 185, 129, 0.15) 2px, transparent 2px);
    background-size:
        40px 40px, 35px 35px, 45px 45px, 38px 38px, 42px 42px, 36px 36px, 44px 44px, 39px 39px,
        80px 80px, 75px 75px, 85px 85px, 90px 90px, 78px 78px, 82px 82px;
    background-position:
        0 0, 10px 10px, 20px 5px, 15px 25px, 5px 15px, 25px 20px, 30px 10px, 35px 25px,
        0 0, 40px 20px, 20px 40px, 60px 10px, 50px 30px, 70px 25px;
    opacity: 0.6;
    border-radius: 24px;
    animation: worldMapFloat 20s ease-in-out infinite;
}

@keyframes worldMapFloat {

    0%,
    100% {
        transform: translateX(0px) translateY(0px);
        opacity: 0.6;
    }

    25% {
        transform: translateX(5px) translateY(-3px);
        opacity: 0.4;
    }

    50% {
        transform: translateX(-3px) translateY(5px);
        opacity: 0.7;
    }

    75% {
        transform: translateX(3px) translateY(-2px);
        opacity: 0.5;
    }
}

.newsletter-feature {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: #f8fafc;
    font-size: 1.05rem;
    font-weight: 500;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.newsletter-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    transition: left 0.6s ease;
}

.newsletter-feature:hover::before {
    left: 100%;
}

.newsletter-feature:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-color: rgba(16, 185, 129, 0.2);
    transform: translateY(-3px);
    box-shadow:
        0 10px 25px rgba(16, 185, 129, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.1);
}

.newsletter-feature i {
    color: #ffffff;
    font-size: 1.1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 12px;
    box-shadow:
        0 4px 12px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.newsletter-form-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(25px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    padding: 3.5rem;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 15px 35px rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.newsletter-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(59, 130, 246, 0.4) 25%,
            rgba(16, 185, 129, 0.4) 50%,
            rgba(139, 92, 246, 0.4) 75%,
            transparent 100%);
    border-radius: 28px 28px 0 0;
}

.newsletter-form-container::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
    animation: formGlow 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes formGlow {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: rotate(180deg) scale(1.1);
        opacity: 0.8;
    }
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 400;
}

.newsletter-input-group {
    display: flex;
    gap: 0;
    margin-bottom: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 1.5rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-right: none;
    border-radius: 20px 0 0 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(15px);
    position: relative;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.newsletter-input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    box-shadow:
        0 0 0 4px rgba(59, 130, 246, 0.15),
        0 8px 25px rgba(59, 130, 246, 0.1),
        inset 0 2px 4px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.newsletter-input:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.07) 100%);
}

.newsletter-button {
    padding: 1.5rem 2.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 30%, #1d4ed8 70%, #1e40af 100%);
    color: white;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-left: none;
    /* border-radius: 0 20px 20px 0; */
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 25px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    min-width: 140px;
    justify-content: center;
}

.newsletter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.newsletter-button:hover::before {
    left: 100%;
}

.newsletter-button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #1d4ed8 100%);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-3px);
    box-shadow:
        0 15px 35px rgba(59, 130, 246, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-button:active {
    transform: translateY(-1px);
    box-shadow:
        0 8px 20px rgba(59, 130, 246, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.1);
}

.newsletter-privacy {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    text-align: center;
    justify-content: center;
}

.newsletter-privacy i {
    color: #10b981;
}

.newsletter-success {
    text-align: center;
    color: white;
}

.newsletter-success i {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.newsletter-success h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.newsletter-success p {
    color: #cbd5e1;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .newsletter-content {
        max-width: 85%;
        gap: 4rem;
    }

    .newsletter-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        max-width: 90%;
    }

    .newsletter-text::before {
        display: none;
    }

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

    .newsletter-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .newsletter-description {
        font-size: 1.1rem;
    }

    .newsletter-features {
        gap: 1rem;
    }

    .newsletter-feature {
        justify-content: center;
        padding: 1rem;
        text-align: center;
    }

    .newsletter-feature:hover {
        transform: translateY(-2px);
    }

    .newsletter-input-group {
        flex-direction: column;
        gap: 1.5rem;
    }

    .newsletter-input {
        border-radius: 16px;
        border: 2px solid rgba(255, 255, 255, 0.15);
        text-align: center;
    }

    .newsletter-button {
        border-radius: 16px;
        justify-content: center;
        padding: 1.25rem 2rem;
    }

    .newsletter-form-container {
        padding: 2.5rem;
    }
}

@media (max-width: 480px) {
    .newsletter-content {
        max-width: 95%;
        gap: 2rem;
    }

    .newsletter-title {
        font-size: 1.8rem;
    }

    .newsletter-description {
        font-size: 1rem;
    }

    .newsletter-form-container {
        padding: 2rem;
    }

    .newsletter-input {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .newsletter-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* ===================================
   2025 MODERN DESIGN ENHANCEMENTS
   Based on Top 100 Websites Analysis
   =================================== */

/* Enhanced Micro-Interactions */
.modern-hover-effect {
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.modern-hover-effect::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.6s ease;
    z-index: 1;
}

.modern-hover-effect:hover::before {
    left: 100%;
}

.modern-hover-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Tactile Button Effects */
.tactile-button {
    background: var(--gradient-earth);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(160, 130, 109, 0.3);
}

.tactile-button::after {
    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;
}

.tactile-button:hover::after {
    width: 300px;
    height: 300px;
}

.tactile-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(160, 130, 109, 0.4);
}

.tactile-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(160, 130, 109, 0.3);
}


/* Enhanced Typography with Variable Fonts */
.display-text {
    font-family: var(--display-font);
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: var(--gradient-earth);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.warm-text {
    color: var(--warm-text);
    font-weight: 500;
}

/* Nature-Distilled Sections */
.nature-section {
    background: var(--warm-bg);
    color: var(--dark-text);
    padding: 5rem 0;
    position: relative;
}

.nature-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(160, 130, 109, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(196, 164, 132, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Organic Shapes */
.organic-shape {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    background: var(--gradient-warm);
    animation: morphing 8s ease-in-out infinite;
}

@keyframes morphing {

    0%,
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

/* Enhanced Cards with Depth */
.modern-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-earth);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

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

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.15),
        0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Sustainable Design - Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {

    .scroll-reveal,
    .scroll-reveal-left,
    .scroll-reveal-right,
    .modern-hover-effect,
    .tactile-button,
    .modern-card {
        transition: none;
        animation: none;
    }

    .organic-shape {
        animation: none;
    }
}

/* Enhanced Focus States for Accessibility */
*:focus-visible {
    outline: 2px solid var(--mocha-mousse);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .nature-section {
        background: var(--dark-bg);
        color: var(--light-text);
    }

    .modern-card {
        background: rgba(0, 0, 0, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Performance Optimizations */
.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
}

/* Improved Loading States */
.loading-shimmer {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.1) 25%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.1) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* ===================================
   ENHANCED TEAM PAGE STYLING
   Modern 2025 Design Elements
   =================================== */

/* Team Hero Section Enhancements */
.team-hero-section {
    position: relative;
    overflow: hidden;
}

.team-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(160, 130, 109, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 70% 30%, rgba(196, 164, 132, 0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.team-hero-content {
    position: relative;
    z-index: 2;
}

/* Enhanced Team Cards */
.team-card {
    transition: all var(--transition-normal);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-earth);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
    z-index: 3;
}

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

.team-card-inner {
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.team-card:hover .team-card-inner {
    transform: translateY(-8px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Team Image Enhancements */
.team-image {
    position: relative;
    overflow: hidden;
}

.team-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(160, 130, 109, 0.1) 0%,
            rgba(196, 164, 132, 0.05) 50%,
            transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.team-card:hover .team-image::after {
    opacity: 1;
}

.team-image img {
    transition: transform var(--transition-slow);
}

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

/* Team Social Links Enhancement */
.team-social-link {
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.team-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.team-social-link:hover::before {
    left: 100%;
}

.team-social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(160, 130, 109, 0.3);
}

/* Skill Tags Enhancement */
.skill-tag {
    background: var(--gradient-earth);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.skill-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
}

.skill-tag:hover::before {
    left: 100%;
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(160, 130, 109, 0.4);
}

/* Contact Button Enhancement */
.contact-btn {
    background: var(--gradient-earth);
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.contact-btn::after {
    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;
}

.contact-btn:hover::after {
    width: 300px;
    height: 300px;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(160, 130, 109, 0.4);
}

/* Join Team Section Enhancement */
.join-team-card {
    position: relative;
    padding: 3rem;
    border-radius: 24px;
    background: linear-gradient(135deg,
            rgba(160, 130, 109, 0.05) 0%,
            rgba(196, 164, 132, 0.03) 100%);
    border: 1px solid rgba(160, 130, 109, 0.1);
}

.join-team-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    transition: all var(--transition-normal);
    border: 1px solid rgba(160, 130, 109, 0.1);
}

.benefit-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 20px rgba(160, 130, 109, 0.15);
}

.benefit-item i {
    color: var(--mocha-mousse);
    font-size: 1.25rem;
}

/* Responsive Enhancements for Team Page */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-card:hover .team-card-inner {
        transform: translateY(-4px);
    }

    .join-team-benefits {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .join-team-card {
        padding: 2rem;
    }

    .benefit-item {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .team-hero-section {
        padding: 3rem 0;
    }

    .team-section {
        padding: 3rem 0;
    }

    .join-team-card {
        padding: 1.5rem;
    }
}



/* ============================================
   TEAM PAGE STYLES - MODERN & PROFESSIONAL
   ============================================ */

/* Team Hero Section */
.team-hero-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px 0;
}

.team-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 70% 30%, rgba(16, 185, 129, 0.12) 0%, transparent 60%);
    animation: heroBackground 25s ease-in-out infinite;
}

.team-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.team-hero-title {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.team-hero-subtitle {
    font-size: 1.5rem;
    color: #10b981;
    font-weight: 600;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.core-team-section {
    margin-bottom: 4rem;
}

.team-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.team-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 2px;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Team Card */
.team-card {
    perspective: 1000px;
    height: 500px;
}

.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.team-card:hover .team-card-inner {
    transform: rotateY(180deg);
}

.team-card-front,
.team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
}

.team-card-front {
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.team-card-back {
    background: linear-gradient(135deg, #1f2937, #374151);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Team Image */
.team-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

/* Team Info */
.team-info {
    padding: 2rem;
    text-align: center;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.team-position {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Team Social Links */
.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social-link {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.team-social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.team-social-link i {
    font-size: 1rem;
}

/* Team Card Back */
.team-details {
    color: white;
    text-align: center;
}

.team-details h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.team-role {
    font-size: 1rem;
    color: #10b981;
    margin-bottom: 1rem;
    font-weight: 600;
}

.team-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
}

/* Team Skills */
.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.skill-tag {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Team Contact Button */
.team-contact {
    margin-top: 1rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

/* Join Team Section */
.join-team-section {
    margin-top: 5rem;
}

.join-team-card {
    background: white;
    border-radius: 24px;
    padding: 4rem 3rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.join-team-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1f2937, #4b5563);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.join-team-description {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Join Team Benefits */
.join-team-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.benefit-item i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefit-item span {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.join-team-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.join-team-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.5);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .team-hero-title {
        font-size: 3rem;
    }

    .team-hero-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .team-hero-section {
        min-height: 50vh;
        padding: 100px 0 60px 0;
    }

    .team-hero-title {
        font-size: 2.5rem;
    }

    .team-hero-subtitle {
        font-size: 1.2rem;
    }

    .team-section {
        padding: 60px 0;
    }

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

    .team-card {
        height: auto;
        min-height: 500px;
    }

    /* Disable flip on mobile, show both sides stacked */
    .team-card:hover .team-card-inner {
        transform: none;
    }

    .team-card-inner {
        position: relative;
        height: auto;
    }

    .team-card-front,
    .team-card-back {
        position: relative;
        transform: none !important;
        backface-visibility: visible;
    }

    .team-card-back {
        margin-top: 1rem;
        border-radius: 24px;
    }

    .join-team-card {
        padding: 3rem 2rem;
    }

    .join-team-title {
        font-size: 2rem;
    }

    .join-team-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .team-hero-section {
        padding: 80px 0 40px 0;
    }

    .team-hero-title {
        font-size: 2rem;
    }

    .team-hero-subtitle {
        font-size: 1rem;
    }

    .team-section {
        padding: 40px 0;
    }

    .team-image {
        height: 250px;
    }

    .team-info {
        padding: 1.5rem;
    }

    .team-name {
        font-size: 1.3rem;
    }

    .team-position {
        font-size: 0.9rem;
    }

    .team-social-link {
        width: 35px;
        height: 35px;
    }

    .team-details h4 {
        font-size: 1.3rem;
    }

    .team-bio {
        font-size: 0.9rem;
    }

    .skill-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }

    .join-team-card {
        padding: 2rem 1.5rem;
    }

    .join-team-title {
        font-size: 1.8rem;
    }

    .join-team-description {
        font-size: 1rem;
    }

    .join-team-benefits {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .benefit-item i {
        font-size: 2rem;
    }

    .join-team-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}


/* ============================================
   SERVICE PAGES - ABOUT PAGE THEME
   ============================================ */

/* Service Hero Section */
.service-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%) !important;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px 0;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 70% 30%, rgba(16, 185, 129, 0.12) 0%, transparent 60%);
    animation: heroBackground 25s ease-in-out infinite;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #10b981;
    font-weight: 600;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    animation: fadeInUp 1s ease-out 0.1s both;
}

.breadcrumb a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #10b981;
}

.breadcrumb span {
    color: #6b7280;
}

.breadcrumb span:last-child {
    color: #10b981;
    font-weight: 600;
}

/* Service Overview Section */
.luxury-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 100px 0;
}

/* Service Details Section */
.service-details-section {
    background: white;
    padding: 100px 0;
}

/* Service Process Section */
.service-process-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 100px 0;
}

/* Service FAQ Section */
.service-faq-section {
    background: white;
    padding: 100px 0;
}

/* Service CTA Section */
.service-cta-section {
    background: linear-gradient(135deg, #1f2937, #374151);
    padding: 100px 0;
    color: white;
}

/* Mobile Responsive for Service Pages */
@media (max-width: 1024px) {
    .service-hero {
        min-height: 50vh;
        padding: 100px 0 60px 0;
    }

    .hero-title {
        font-size: 3rem;
    }

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

@media (max-width: 768px) {
    .service-hero {
        min-height: 40vh;
        padding: 80px 0 40px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .breadcrumb {
        font-size: 0.85rem;
    }

    .luxury-section,
    .service-details-section,
    .service-process-section,
    .service-faq-section,
    .service-cta-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .service-hero {
        padding: 70px 0 30px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .breadcrumb {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }

    .luxury-section,
    .service-details-section,
    .service-process-section,
    .service-faq-section,
    .service-cta-section {
        padding: 40px 0;
    }
}