/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Advanced CSS Variables */
:root {
    --primary-color: #e63946;
    --primary-dark: #c1121f;
    --primary-light: #f77f85;
    --secondary-color: #2d3436;
    --accent-gold: #f39c12;
    --text-white: #ffffff;
    --text-dark: #2d3436;
    --text-gray: #636e72;
    --bg-light: #f8f9fa;
    --bg-dark: #1e2124;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
    --shadow-heavy: rgba(0, 0, 0, 0.4);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    --border-radius: 16px;
    --border-radius-large: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

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

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

body {
    font-family: 'Inter', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Modern Header Design */
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.modern-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px var(--shadow-light);
}

.navbar-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    height: 80px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    font-weight: 500;
}

.nav-item i {
    font-size: 0.9rem;
    opacity: 0.7;
}

.nav-item:hover,
.nav-item.active {
    background: var(--glass-bg);
    color: var(--primary-color);
    backdrop-filter: blur(10px);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-primary.btn-normal-size {
    display: inline-flex;
    width: auto;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 1px;
    transition: var(--transition);
}

/* Revolutionary Hero Section */
.hero-revolution {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 80px;
}

/* Advanced Background System */
.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    animation: kenBurns 20s infinite alternate;
}

@keyframes kenBurns {
    0% { transform: scale(1.1) rotate(0deg); }
    100% { transform: scale(1.2) rotate(1deg); }
}

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

/* Multi-Layer Overlay System */
.hero-overlay-system {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.gradient-overlay.primary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(230, 57, 70, 0.8) 0%,
        rgba(193, 18, 31, 0.6) 50%,
        rgba(45, 52, 54, 0.4) 100%);
}

.gradient-overlay.secondary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px;
    animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
    0% { background-position: 0 0, 40px 40px; }
    100% { background-position: 60px 60px, 100px 100px; }
}

.light-rays {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 60s linear infinite;
    opacity: 0.3;
}

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

/* Floating Elements - Removed for cleaner design */

/* Main Hero Content */
.hero-main {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: calc(100vh - 160px);
}

/* Left Content */
.hero-content-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 500;
    width: fit-content;
    animation: slideInLeft 1s ease-out;
}

.hero-badge i {
    color: var(--accent-gold);
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title-modern {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-white);
    text-shadow: 2px 2px 4px var(--shadow-medium);
}

.title-line {
    display: block;
    animation: slideInUp 1s ease-out;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

.title-line.highlight {
    background: linear-gradient(135deg, var(--accent-gold), #f1c40f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-modern {
    font-size: 1.3rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    max-width: 500px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
}

.stat-item {
    text-align: center;
    color: var(--text-white);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.btn-hero {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-hero.primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.3);
}

.btn-hero.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(230, 57, 70, 0.4);
}

.btn-hero.secondary {
    background: var(--glass-bg);
    color: var(--text-white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-hero.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Right Content - Logo */
.hero-content-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 600px;
    animation: slideInRight 1s ease-out 0.5s both;
}

.hero-logo {
    width: 500px !important;
    height: 500px !important;
    max-width: 500px !important;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition-slow);
    filter: drop-shadow(0 10px 20px rgba(255, 255, 255, 0.1));
    object-fit: cover;
}

.hero-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Hide mobile logo on desktop */
.hero-logo-mobile {
    display: none;
}

/* Hero Cards - Removed for cleaner design with logo */

/* Scroll Indicator */
.scroll-indicator {
    position: absolute !important;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-white);
    animation: fadeInUp 1s ease-out 1.5s both;
    z-index: 100 !important;
    width: auto;
    text-align: center;
}

.scroll-text {
    font-size: 0.9rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-arrow {
    animation: bounce 2s infinite;
}

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

/* Animations */
@keyframes slideInLeft {
    0% { opacity: 0; transform: translateX(-50px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    0% { opacity: 0; transform: translateX(50px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content-wrapper {
        gap: 2rem;
    }
    
    .hero-title-modern {
        font-size: 3.5rem;
    }
    
    .hero-logo {
        width: 400px;
        height: 400px;
        max-width: 400px;
    }
}

@media (max-width: 900px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-title-modern {
        font-size: 3rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-logo {
        width: 350px;
        height: 350px;
        max-width: 350px;
    }
    
    .scroll-indicator {
        bottom: 25px !important;
    }
}

@media (max-width: 600px) {
    .navbar-modern {
        padding: 1rem;
    }
    
    .hero-main {
        padding: 0 1rem;
    }
    
    .hero-title-modern {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-logo {
        width: 250px;
        height: 250px;
        max-width: 250px;
    }
    
    .hero-cards-container {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .brand-text {
        display: none;
    }
    
    .scroll-indicator {
        bottom: 20px !important;
    }
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('../images/preloader.png') center center no-repeat;
    background-size: cover;
    z-index: 9999;
    transition: transform 1.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    transform: translateY(0);
    cursor: pointer;
}

.preloader.loaded {
    transform: translateY(-100%);
}

/* Preloader states */
/*body.preloader-active {
    overflow: hidden;
}*/

.main-content {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    height: 74px;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}

.logo img {
    height: 50px;
    filter: brightness(1.2);
    transition: all 0.3s ease;
}

.navbar.scrolled .logo img {
    filter: brightness(1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.navbar.scrolled .nav-links a {
    color: #333;
}

.nav-links a:hover {
    color: #e63946;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #e63946;
    transition: width 0.3s ease;
}

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

.cta-button {
    background: linear-gradient(135deg, #e63946, #c1121f);
    color: white !important;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 74px; /* Account for fixed navbar */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 3s ease-in-out;
    transform: scale(1.05);
    animation: heroSlideZoom 20s infinite linear alternate;
}

@keyframes heroSlideZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.1); }
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(230, 57, 70, 0.8) 0%, 
        rgba(230, 57, 70, 0.6) 25%, 
        rgba(193, 18, 31, 0.5) 50%, 
        rgba(139, 69, 19, 0.3) 75%, 
        rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 4rem;
    padding: 2rem 0;
}

.hero-left {
    flex: 1;
    max-width: 600px;
    color: white;
}

.hero-logo {
    width: 500px !important;
    height: 500px !important;
    max-width: 500px !important;
    border-radius: 50%;
    margin-bottom: 2rem;
    filter: brightness(1.2) contrast(1.1) drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
    animation: heroLogoFloat 4s ease-in-out infinite;
    object-fit: cover;
}

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

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-style: italic;
    line-height: 1.2;
    letter-spacing: 1px;
}

.hero-tagline {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.4;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.hero-cta-container {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-cta {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    color: #e63946;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.hero-cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #e63946;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-right {
    flex: 1;
    max-width: 600px;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.hero-feature {
    text-align: center;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-feature i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    display: block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-feature h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-feature p {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 300;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        gap: 2rem;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-subtitle {
        font-size: 2rem;
    }
}

@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-left {
        max-width: 100%;
    }
    
    .hero-right {
        max-width: 100%;
    }
    
    .hero-features {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
}

@media (max-width: 600px) {
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-feature {
        padding: 1.5rem 1rem;
    }
    
    .hero-cta, .hero-cta-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(230, 57, 70, 0.1) 0%, 
        rgba(193, 18, 31, 0.05) 100%);
    z-index: 3;
    pointer-events: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 3s ease-in-out;
    transform: scale(1.05);
    animation: heroSlideZoom 20s infinite linear alternate;
}

@keyframes heroSlideZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.1); }
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(230, 57, 70, 0.85) 0%, 
        rgba(230, 57, 70, 0.7) 25%, 
        rgba(193, 18, 31, 0.6) 50%, 
        rgba(139, 69, 19, 0.4) 75%, 
        rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
    margin-top: 74px;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

/* Featured Projects */
.featured-projects {
    padding: 5rem 5%;
    background-color: #f8f9fa;
}

.featured-projects h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.project-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h3 {
    color: #e63946;
    margin-bottom: 1rem;
}

.learn-more {
    display: inline-block;
    margin-top: 1rem;
    color: #e63946;
    text-decoration: none;
}

/* Why Choose Us */
.why-choose-us {
    padding: 5rem 5%;
}

.why-choose-us h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature {
    text-align: center;
    padding: 2rem;
}

.feature i {
    font-size: 2.5rem;
    color: #e63946;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    position: relative;
    background-color: #333;
    color: white;
    padding: 3rem 5% 1rem;
    overflow: hidden;
}

/* Footer Background with Red Filter and Fading Effect */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero background/pexels-alex-qian-1180283-2343465.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(230, 57, 70, 0.8) 0%,
        rgba(193, 18, 31, 0.7) 50%,
        rgba(45, 52, 54, 0.9) 100%);
    z-index: 2;
}

footer * {
    position: relative;
    z-index: 3;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Footer Logo Styles */
.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

.footer-brand-text h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-brand-text p {
    margin: 0.2rem 0 0 0;
    font-size: 0.9rem;
    opacity: 0.8;
    color: #ffd700;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: white;
    text-decoration: none;
}

.social-links {
    margin: 1rem 0;
}

.social-links a {
    margin-right: 1rem;
    font-size: 1.5rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .navbar {
        padding: 1rem 3%;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-logo-img {
        width: 100px;
        height: 40px;
        object-fit: contain;
    }
    
    .footer-brand-text {
        text-align: center;
    }
    
    .hero-overlay {
        background: linear-gradient(to right, 
            rgba(230, 57, 70, 0.85) 0%, 
            rgba(230, 57, 70, 0.7) 40%, 
            rgba(230, 57, 70, 0.5) 70%, 
            rgba(230, 57, 70, 0.3) 100%);
    }
    
    .hero-content {
        max-width: 90%;
        padding: 3rem 5%;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
        letter-spacing: 0.5px;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }
    
    .hero-logo {
        width: 350px;
        height: 350px;
        max-width: 350px;
    }
    
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-bottom: 2.5rem;
        max-width: 100%;
    }
    
    .hero-feature {
        text-align: center;
    }
    
    .hero-feature i {
        font-size: 2rem;
    }
    
    .hero-feature h4 {
        font-size: 1rem;
    }
    
    .hero-feature p {
        font-size: 0.9rem;
    }
    
    .hero-cta-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-cta,
    .hero-cta-secondary {
        padding: 1.1rem 2rem;
        font-size: 1rem;
        letter-spacing: 1px;
        width: 250px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 2rem 3%;
        margin-top: 60px;
        height: calc(100vh - 60px);
    }
    
    .hero-overlay {
        margin-top: 60px;
        background: linear-gradient(to bottom, 
            rgba(230, 57, 70, 0.9) 0%, 
            rgba(230, 57, 70, 0.7) 50%, 
            rgba(230, 57, 70, 0.5) 100%);
    }
    
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 0px;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-logo {
        width: 180px;
        height: 180px;
        max-width: 180px;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .hero-feature i {
        font-size: 1.8rem;
    }
    
    .hero-cta,
    .hero-cta-secondary {
        width: 100%;
        max-width: 280px;
    }
}

/* Additional Hero Enhancements */
.hero-content::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: calc(100% + 100px);
    height: calc(100% + 100px);
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Particle Effect */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 200px 200px;
    animation: particleFloat 20s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.6;
    }
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-feature {
        padding: 1rem;
    }
    
    .hero-feature i {
        font-size: 2rem;
    }
    
    .hero-cta, .hero-cta-secondary {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 2rem 3%;
        max-width: 95%;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for hero features */
.hero-feature {
    animation: slideInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.hero-feature:nth-child(1) { animation-delay: 0.2s; }
.hero-feature:nth-child(2) { animation-delay: 0.4s; }
.hero-feature:nth-child(3) { animation-delay: 0.6s; }
.hero-feature:nth-child(4) { animation-delay: 0.8s; }

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ENHANCED HOMEPAGE STYLES ===== */

/* Common Styles */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header.text-center {
    text-align: center;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

/* Button Styles */
.btn-secondary, .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--text-gray);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* About Section - Enhanced */
.about-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top left, rgba(230, 57, 70, 0.03) 0%, transparent 50%),
                radial-gradient(ellipse at bottom right, rgba(193, 18, 31, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.about-section .container {
    position: relative;
    z-index: 2;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    animation: fadeInUp 1s ease-out;
}

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

.about-content {
    position: relative;
}

.about-content::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: -2rem;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(193, 18, 31, 0.1));
    border-radius: 50%;
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

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

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    position: relative;
    animation: slideInRight 0.8s ease-out 0.3s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.milestone-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.milestone {
    text-align: center;
    padding: 3rem 1.5rem;
    background: white;
    border-radius: var(--border-radius-large);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.milestone::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.1), transparent);
    transition: left 0.6s ease;
}

.milestone:hover::before {
    left: 100%;
}

.milestone:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(230, 57, 70, 0.15);
}

.milestone-number {
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), #c1121f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
    animation: countUp 2s ease-out;
    line-height: 1.1;
    word-break: keep-all;
    white-space: nowrap;
    overflow: visible;
    min-width: fit-content;
    padding-right: 5px;
}

@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

.milestone-label {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.about-visual {
    position: relative;
    animation: slideInLeft 1s ease-out 0.5s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.image-grid {
    position: relative;
}

.main-image {
    position: relative;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.6s ease;
}

.main-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 0 35px 100px rgba(230, 57, 70, 0.2);
}

.main-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: var(--transition-slow);
    filter: brightness(1.1) contrast(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.8), rgba(193, 18, 31, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(2px);
}

.main-image:hover .image-overlay {
    opacity: 1;
}

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

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: white;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.main-image:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content i {
    font-size: 3rem;
    animation: pulse 2s infinite;
}

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

.overlay-content h3 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.overlay-content p {
    margin: 0;
    opacity: 0.9;
}

.secondary-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.main-image:hover + .secondary-images {
    opacity: 1;
}

.secondary-images img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: all 0.4s ease;
    filter: grayscale(20%);
}

.secondary-images img:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    filter: grayscale(0%);
}

/* Featured Projects Enhanced */
.featured-projects-enhanced {
    padding: 8rem 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.featured-projects-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.featured-projects-enhanced::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(193, 18, 31, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.featured-projects-enhanced .container {
    position: relative;
    z-index: 2;
}

.projects-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    animation: staggerFadeIn 1.2s ease-out;
}

@keyframes staggerFadeIn {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card-enhanced {
    background: white;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    transform: translateY(0);
    animation: projectCardEntrance 0.8s ease-out both;
}

@keyframes projectCardEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.project-card-enhanced:nth-child(2) {
    animation-delay: 0.2s;
}

.project-card-enhanced:nth-child(3) {
    animation-delay: 0.4s;
}

.project-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.03), rgba(193, 18, 31, 0.03));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.project-card-enhanced:hover::before {
    opacity: 1;
}

.project-card-enhanced:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 100px rgba(230, 57, 70, 0.15);
}

.project-status {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10;
    animation: bounceIn 1s ease-out 0.5s both;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.status-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s infinite;
}

.status-badge.ongoing {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    box-shadow: 0 4px 20px rgba(243, 156, 18, 0.4);
}

.status-badge.completed {
    background: linear-gradient(135deg, #27ae60, #229954);
    box-shadow: 0 4px 20px rgba(39, 174, 96, 0.4);
}

.status-badge.ready {
    background: linear-gradient(135deg, #3498db, #2980b9);
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.4);
}

.status-badge.upcoming {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    box-shadow: 0 4px 20px rgba(155, 89, 182, 0.4);
}

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

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(1.1) contrast(1.05) saturate(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom, 
        transparent 0%, 
        rgba(0, 0, 0, 0.1) 20%,
        rgba(0, 0, 0, 0.6) 70%,
        rgba(0, 0, 0, 0.9) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 2.5rem;
    opacity: 0;
    transition: all 0.5s ease;
    transform: translateY(20px);
}

.project-card-enhanced:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-card-enhanced:hover .project-image img {
    transform: scale(1.15);
    filter: brightness(0.9) contrast(1.2) saturate(1.2);
}

.overlay-content {
    color: white;
    transform: translateY(30px);
    transition: transform 0.5s ease 0.1s;
}

.project-card-enhanced:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.overlay-content p {
    margin-bottom: 1.2rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.view-project {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.view-project:hover {
    background: rgba(230, 57, 70, 0.9);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(230, 57, 70, 0.4);
}

.view-project i {
    transition: transform 0.3s ease;
}

.view-project:hover i {
    transform: translateX(3px);
}

.project-details {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
}

.project-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.project-location i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.feature-tag {
    background: linear-gradient(135deg, var(--bg-light), #e9ecef);
    color: var(--text-dark);
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 57, 70, 0.1);
}

.feature-tag:hover {
    background: linear-gradient(135deg, var(--primary-color), #c1121f);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

.project-price {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.price-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), #c1121f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.projects-cta {
    text-align: center;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.projects-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
    transition: all 0.4s ease;
    max-width: 250px;
    width: auto;
    margin: 0 auto;
}

.projects-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.4);
}

.feature-tag {
    background: linear-gradient(135deg, var(--bg-light), #e9ecef);
    color: var(--text-dark);
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 57, 70, 0.1);
}

.feature-tag:hover {
    background: linear-gradient(135deg, var(--primary-color), #c1121f);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

.project-price {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

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

.price-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.projects-cta {
    text-align: center;
}

/* Why Choose Enhanced */
.why-choose-enhanced {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-enhanced::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(230, 57, 70, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 70%, rgba(193, 18, 31, 0.03) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 100%, rgba(255, 215, 0, 0.02) 0%, transparent 50%);
    animation: backgroundMove 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes backgroundMove {
    0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
    33% { transform: translateX(-20px) translateY(-10px) rotate(1deg); }
    66% { transform: translateX(20px) translateY(10px) rotate(-1deg); }
}

.why-choose-enhanced .container {
    position: relative;
    z-index: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    animation: gridFadeIn 1.2s ease-out;
}

@keyframes gridFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.feature-card {
    background: white;
    padding: 3.5rem;
    border-radius: var(--border-radius-large);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.06);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    animation: featureCardSlide 0.8s ease-out both;
}

@keyframes featureCardSlide {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.feature-card:nth-child(2) { animation-delay: 0.15s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.45s; }
.feature-card:nth-child(5) { animation-delay: 0.6s; }
.feature-card:nth-child(6) { animation-delay: 0.75s; }

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.02), rgba(193, 18, 31, 0.02));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.6s ease;
    transform: scale(0);
    z-index: 1;
}

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

.feature-card:hover::after {
    opacity: 1;
    transform: scale(1);
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 35px 120px rgba(230, 57, 70, 0.12);
}

.feature-card > * {
    position: relative;
    z-index: 2;
}

.feature-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #c1121f);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
    color: white;
    font-size: 2.2rem;
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.3);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

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

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

.feature-card:hover .feature-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 20px 60px rgba(230, 57, 70, 0.4);
}

.feature-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
    transition: color 0.3s ease;
}

.feature-content h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), #c1121f);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.feature-card:hover .feature-content h3::after {
    width: 60px;
}

.feature-content p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-content p {
    color: #495057;
}

.feature-points {
    list-style: none;
    text-align: left;
    margin-top: 1.5rem;
}

.feature-points li {
    padding: 0.8rem 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.feature-points li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.8rem;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(230, 57, 70, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-points li {
    opacity: 1;
    transform: translateX(5px);
}

.feature-card:hover .feature-points li:before {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Services Overview - Enhanced */
.services-overview {
    padding: 8rem 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.services-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 10% 20%, rgba(230, 57, 70, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(193, 18, 31, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.services-overview .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    animation: serviceGridSlide 1.2s ease-out;
}

@keyframes serviceGridSlide {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.services-content {
    animation: slideInLeft 1s ease-out 0.3s both;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-light), #ffffff);
    border-radius: var(--border-radius-large);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(230, 57, 70, 0.05);
    animation: serviceItemFade 0.8s ease-out both;
}

.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.4s; }

@keyframes serviceItemFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.05), transparent);
    transition: left 0.6s ease;
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    background: white;
    box-shadow: 0 20px 60px rgba(230, 57, 70, 0.1);
    transform: translateX(15px) scale(1.02);
    border-color: rgba(230, 57, 70, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-large);
    background: linear-gradient(135deg, var(--primary-color), #c1121f);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.service-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-item:hover .service-icon::after {
    transform: translateX(100%);
}

.service-item:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.4);
}

.service-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 700;
    transition: color 0.3s ease;
}

.service-item:hover .service-info h4 {
    color: var(--primary-color);
}

.service-info p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.service-item:hover .service-info p {
    color: #495057;
}

.services-visual {
    position: relative;
    animation: slideInRight 1s ease-out 0.5s both;
}

.image-stack {
    position: relative;
    height: 500px;
    width: 100%;
    max-width: 550px;
    margin-left: auto;
}

.stack-image-1, .stack-image-2 {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--border-radius-large);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.2);
    transition: all 0.6s ease;
    position: absolute;
    border: 3px solid white;
}

.stack-image-1 {
    top: 0;
    left: 0;
    z-index: 1;
    filter: brightness(1.1) contrast(1.1) saturate(1.05);
    width: 90%;
    transform: rotate(-3deg);
}

.stack-image-2 {
    top: 80px;
    right: 0;
    width: 80%;
    height: 300px;
    z-index: 2;
    filter: brightness(1.15) contrast(1.1) saturate(1.15);
    transform: rotate(3deg);
}

.services-visual:hover .stack-image-1 {
    transform: translateY(-15px) rotate(-5deg) scale(1.02);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.25);
    filter: brightness(1.2) contrast(1.15) saturate(1.1);
}

.services-visual:hover .stack-image-2 {
    transform: translateY(-20px) rotate(5deg) scale(1.08);
    box-shadow: 0 45px 140px rgba(230, 57, 70, 0.3);
    filter: brightness(1.25) contrast(1.15) saturate(1.2);
}

.service-stats {
    position: absolute;
    bottom: -4rem;
    left: 1rem;
    display: flex;
    gap: 2.5rem;
    z-index: 3;
    animation: statsSlideUp 1s ease-out 1s both;
}

@keyframes statsSlideUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat {
    background: linear-gradient(135deg, white, #f8f9fa);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    text-align: center;
    min-width: 140px;
    transition: all 0.4s ease;
    border: 2px solid rgba(230, 57, 70, 0.1);
    backdrop-filter: blur(10px);
}

.stat:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 30px 80px rgba(230, 57, 70, 0.2);
    border-color: rgba(230, 57, 70, 0.3);
    background: linear-gradient(135deg, white, #ffffff);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), #c1121f, var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(230, 57, 70, 0.1);
    transition: all 0.3s ease;
}

.stat:hover .stat-number {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.stat-label {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Testimonials Section - Enhanced */
.testimonials-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(230, 57, 70, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 215, 0, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    animation: testimonialGridFade 1.2s ease-out;
}

@keyframes testimonialGridFade {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card {
    background: white;
    padding: 3.5rem;
    border-radius: var(--border-radius-large);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.06);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    animation: testimonialSlide 0.8s ease-out both;
    border: 1px solid rgba(230, 57, 70, 0.05);
}

.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.4s; }

@keyframes testimonialSlide {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.02), rgba(255, 215, 0, 0.02));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 6rem;
    color: rgba(230, 57, 70, 0.1);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    z-index: 1;
    transition: all 0.4s ease;
}

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

.testimonial-card:hover::after {
    color: rgba(230, 57, 70, 0.15);
    transform: scale(1.1);
}

.testimonial-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 35px 120px rgba(230, 57, 70, 0.1);
    border-color: rgba(230, 57, 70, 0.1);
}

.testimonial-card > * {
    position: relative;
    z-index: 2;
}

.testimonial-rating {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 2rem;
    justify-content: center;
    animation: ratingPop 0.6s ease-out 0.5s both;
}

@keyframes ratingPop {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.testimonial-rating i {
    color: var(--accent-gold);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}

.testimonial-card:hover .testimonial-rating i {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.5));
}

.testimonial-rating i:nth-child(1) { animation-delay: 0.6s; }
.testimonial-rating i:nth-child(2) { animation-delay: 0.7s; }
.testimonial-rating i:nth-child(3) { animation-delay: 0.8s; }
.testimonial-rating i:nth-child(4) { animation-delay: 0.9s; }
.testimonial-rating i:nth-child(5) { animation-delay: 1s; }

.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    font-style: italic;
    position: relative;
    text-align: center;
    transition: color 0.3s ease;
}

.testimonial-text::before {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.testimonial-card:hover .testimonial-text::before {
    width: 100px;
}

.testimonial-card:hover .testimonial-text {
    color: #495057;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    justify-content: center;
    animation: authorSlide 0.8s ease-out 0.7s both;
}

@keyframes authorSlide {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
    transition: all 0.4s ease;
}

.testimonial-card:hover .author-avatar {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(230, 57, 70, 0.4);
}

.author-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.testimonial-card:hover .author-info h4 {
    color: var(--primary-color);
}

.author-info span {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.testimonial-card:hover .author-info span {
    color: #6c757d;
}

/* CTA Section - Enhanced */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #c1121f 50%, #8b1538 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    animation: ctaBackgroundMove 15s ease-in-out infinite;
    z-index: 1;
}

@keyframes ctaBackgroundMove {
    0%, 100% { transform: translateX(0) translateY(0); }
    33% { transform: translateX(-10px) translateY(-5px); }
    66% { transform: translateX(10px) translateY(5px); }
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: ctaFloat 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes ctaFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
    animation: ctaContentSlide 1.2s ease-out;
}

@keyframes ctaContentSlide {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-text {
    animation: slideInLeft 1s ease-out 0.3s both;
}

.cta-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cta-text h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-gold), #ffc107);
    border-radius: 2px;
    animation: lineGrow 1s ease-out 0.8s both;
}

@keyframes lineGrow {
    0% { width: 0; }
    100% { width: 100px; }
}

.cta-text p {
    font-size: 1.3rem;
    opacity: 0.95;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-actions {
    display: flex;
    gap: 2rem;
    animation: slideInRight 1s ease-out 0.5s both;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
    padding: 1.3rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cta-section .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.1), transparent);
    transition: left 0.6s ease;
}

.cta-section .btn-primary:hover::before {
    left: 100%;
}

.cta-section .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.cta-section .btn-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
    padding: 1.3rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.cta-section .btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: white;
    transition: width 0.4s ease;
    z-index: -1;
}

.cta-section .btn-outline:hover::before {
    width: 100%;
}

.cta-section .btn-outline:hover {
    color: var(--primary-color);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

/* Floating Elements for CTA */
.cta-section .floating-element {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    font-size: 2rem;
    animation: ctaElementFloat 8s ease-in-out infinite;
    z-index: 1;
}

.cta-section .floating-element:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.cta-section .floating-element:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.cta-section .floating-element:nth-child(3) {
    bottom: 15%;
    left: 15%;
    animation-delay: 4s;
}

@keyframes ctaElementFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.2;
    }
}

/* Responsive Design - Enhanced */
@media (max-width: 1200px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .about-grid, .services-grid {
        gap: 4rem;
    }
    
    .projects-showcase {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 900px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .about-grid, .services-grid, .cta-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .milestone-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .projects-showcase {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .image-stack {
        height: 400px;
    }
    
    .stack-image-1 {
        height: 280px;
    }
    
    .stack-image-2 {
        height: 220px;
        top: 60px;
    }
    
    .service-stats {
        position: static;
        justify-content: center;
        margin-top: 2rem;
    }
    
    .main-image {
        transform: none;
    }
    
    .main-image img {
        height: 350px;
    }
}

@media (max-width: 600px) {
    .about-section, .featured-projects-enhanced, .why-choose-enhanced, .services-overview, .testimonials-section {
        padding: 4rem 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .project-card-enhanced, .feature-card, .testimonial-card {
        padding: 2rem;
    }
    
    .milestone {
        padding: 2rem 1rem;
        min-height: 140px;
    }
    
    .milestone-number {
        font-size: 2.2rem;
        line-height: 1;
        margin-bottom: 0.8rem;
    }
    
    .milestone-label {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    .cta-text h2 {
        font-size: 2rem;
    }
    
    .cta-text p {
        font-size: 1rem;
    }
    
    .cta-actions {
        gap: 1rem;
    }
    
    .cta-section .btn-primary, .cta-section .btn-outline {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .service-item:hover {
        transform: translateY(-5px);
    }
    
    .projects-showcase {
        gap: 2rem;
    }
    
    .features-grid {
        gap: 2rem;
    }
    
    .testimonials-grid {
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2.5rem;
    }
    
    .testimonial-card {
        padding: 2.5rem;
    }
    
    .project-details {
        padding: 2rem;
    }
    
    .image-stack {
        height: 300px;
    }
    
    .stack-image-1 {
        height: 200px;
    }
    
    .stack-image-2 {
        height: 160px;
        top: 40px;
        width: 60%;
    }
    
    .video-modal-content {
        width: 95%;
        padding: 1.5rem;
    }
    
    .video-modal-title {
        font-size: 1.2rem;
    }
    
    .video-controls {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .video-volume {
        display: none;
    }
}

/* Animation Performance Optimization */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Scroll-triggered animations - preparation for JavaScript */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

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

/* Additional hover effects for better interactivity */
.btn-primary, .btn-secondary, .btn-outline {
    position: relative;
    overflow: hidden;
}

.btn-primary::before, .btn-secondary::before, .btn-outline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    pointer-events: none;
}

.btn-primary:hover::before, .btn-secondary:hover::before, .btn-outline:hover::before {
    width: 300px;
    height: 300px;
}

/* Enhanced loading states */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Video Modal - Glassmorphism */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.video-modal-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.video-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-modal-close:hover {
    background: rgba(230, 57, 70, 0.8);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(230, 57, 70, 0.4);
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(45deg, 
        rgba(230, 57, 70, 0.8) 0%, 
        rgba(193, 18, 31, 0.9) 50%, 
        rgba(139, 69, 19, 0.8) 100%);
    backdrop-filter: blur(5px);
}

.video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero background/pexels-alex-qian-1180283-2343465.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    z-index: 2;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover .video-controls {
    opacity: 1;
}

.video-play-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-play-btn:hover {
    background: rgba(230, 57, 70, 0.8);
    transform: scale(1.1);
}

.video-progress {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.video-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
}

.video-time {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.video-volume {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-volume-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.video-volume-btn:hover {
    color: var(--primary-color);
}

.video-volume-slider {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.video-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

.video-volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

.video-fullscreen-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.video-fullscreen-btn:hover {
    color: var(--primary-color);
}

/* Video fallback content */
.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3;
    border-radius: 15px;
}

.video-fallback-content {
    text-align: center;
    padding: 2rem;
}

/* Video Preview Styles */
.video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    z-index: 2;
}

.video-preview-content {
    text-align: center;
    padding: 2rem;
    max-width: 400px;
}

.video-preview-content .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    border: none;
    cursor: pointer;
}

.video-preview-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

/* Video loading state */
.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    animation: spin 1s linear infinite;
    z-index: 4;
}

/* Responsive video modal */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        padding: 1.5rem;
    }
    
    .video-modal-title {
        font-size: 1.2rem;
    }
    
    .video-controls {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .video-volume {
        display: none;
    }
}

/* ==========================================
   ABOUT PAGE STYLES
   ========================================== */

/* About Hero Section - Enhanced */
.about-hero-revolution {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    margin-top: 80px;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.about-hero-bg .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    transition: opacity 2s ease-in-out;
    filter: brightness(0.8) contrast(1.1);
    animation: heroBackgroundPulse 8s ease-in-out infinite;
}

@keyframes heroBackgroundPulse {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(0.8) contrast(1.1);
    }
    50% { 
        transform: scale(1.05);
        filter: brightness(0.9) contrast(1.2);
    }
}

.about-hero-bg .hero-slide.active {
    opacity: 0.4;
}

.about-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    text-align: center;
    color: white;
    animation: aboutHeroFadeIn 1.5s ease-out;
}

@keyframes aboutHeroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.about-hero-text .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 2.5rem;
    animation: badgeFloat 4s ease-in-out infinite;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    letter-spacing: 0.5px;
}

@keyframes badgeFloat {
    0%, 100% { 
        transform: translateY(0) scale(1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    }
    50% { 
        transform: translateY(-15px) scale(1.05);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }
}

.about-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    animation: titleSlideUp 1.2s ease-out 0.4s both;
    line-height: 1.1;
    background: linear-gradient(45deg, #ffffff, #f8f9fa, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: titleSlideUp 1.2s ease-out 0.4s both, shimmer 3s ease-in-out infinite;
}

@keyframes titleSlideUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.about-hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3.5rem;
    font-weight: 300;
    opacity: 0.95;
    animation: subtitleFadeIn 1.2s ease-out 0.8s both;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

@keyframes subtitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 0.95;
        transform: translateY(0);
    }
}

.hero-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    animation: taglineFadeIn 1.2s ease-out 1.2s both;
}

@keyframes taglineFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.tagline-item {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.tagline-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.tagline-separator {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.8rem;
    font-weight: 300;
}

/* Company Mission Section */
.company-mission-enhanced {
    padding: 8rem 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.company-mission-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 10%, rgba(230, 57, 70, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 90%, rgba(193, 18, 31, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.mission-content {
    animation: slideInLeft 1s ease-out 0.3s both;
}

.mission-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

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

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--bg-light), #ffffff);
    border-radius: var(--border-radius);
    border: 1px solid rgba(230, 57, 70, 0.05);
    transition: all 0.4s ease;
    animation: highlightFadeIn 0.6s ease-out both;
}

.highlight-item:nth-child(2) { animation-delay: 0.1s; }
.highlight-item:nth-child(3) { animation-delay: 0.2s; }
.highlight-item:nth-child(4) { animation-delay: 0.3s; }
.highlight-item:nth-child(5) { animation-delay: 0.4s; }
.highlight-item:nth-child(6) { animation-delay: 0.5s; }

@keyframes highlightFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.highlight-item:hover {
    background: white;
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.1);
    transform: translateX(10px);
    border-color: rgba(230, 57, 70, 0.1);
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.highlight-item span {
    font-weight: 600;
    color: var(--text-dark);
}

.mission-visual {
    animation: slideInRight 1s ease-out 0.5s both;
}

.mission-images-grid {
    position: relative;
    height: 600px;
    width: 100%;
}

.mission-img-1, .mission-img-2 {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    transition: all 0.6s ease;
    border: 3px solid white;
    filter: brightness(1.1) contrast(1.05);
    position: absolute;
}

.mission-img-1 {
    top: 30px;
    left: 20px;
    z-index: 2;
}

.mission-img-2 {
    bottom: 30px;
    right: 20px;
    z-index: 1;
}

.mission-visual:hover .mission-img-1 {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.2);
}

.mission-visual:hover .mission-img-2 {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 35px 100px rgba(230, 57, 70, 0.2);
}



/* Core Values Section */
.core-values-enhanced {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--bg-light), #f8f9fa);
    position: relative;
    overflow: hidden;
}

.core-values-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(230, 57, 70, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(193, 18, 31, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.values-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.value-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius-large);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(230, 57, 70, 0.05);
    animation: valueCardFadeIn 0.8s ease-out both;
}

.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.4s; }
.value-card:nth-child(4) { animation-delay: 0.6s; }

@keyframes valueCardFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.03), transparent);
    transition: left 0.6s ease;
}

.value-card:hover::before {
    left: 100%;
}

.value-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 80px rgba(230, 57, 70, 0.15);
    border-color: rgba(230, 57, 70, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--border-radius-large);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.3);
    transition: all 0.6s ease;
    position: relative;
    overflow: hidden;
}

.value-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.value-card:hover .value-icon::after {
    transform: translateX(100%);
}

.value-card:hover .value-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 20px 50px rgba(230, 57, 70, 0.4);
}

.value-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.value-card:hover .value-content h3 {
    color: var(--primary-color);
}

.value-content p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.value-card:hover .value-content p {
    color: #495057;
}

.value-decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.05), rgba(193, 18, 31, 0.05));
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
}

.value-card:hover .value-decoration {
    opacity: 1;
    transform: scale(1.2);
}

/* Company Description Section */
.company-description-enhanced {
    padding: 8rem 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.company-description-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 10% 30%, rgba(230, 57, 70, 0.02) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 70%, rgba(193, 18, 31, 0.02) 0%, transparent 50%);
    z-index: 1;
}

.description-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.description-visual {
    position: relative;
    animation: slideInLeft 1s ease-out 0.3s both;
    position: sticky;
    top: 2rem;
}

.description-images-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    height: 100%;
}

.description-image-container {
    position: relative;
    height: 350px;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.15);
}

.description-image-secondary {
    height: 350px;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.description-image-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

.description-second-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
    filter: brightness(1.1) contrast(1.05);
}

.description-image-secondary:hover .description-second-image {
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.1);
}

.description-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
    filter: brightness(1.1) contrast(1.05);
}

.description-image-container:hover .description-main-image {
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.1);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-stat {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: floatAnimation 3s ease-in-out infinite;
}

.floating-stat:first-child {
    top: 2rem;
    right: 2rem;
}

.floating-stat:last-child {
    bottom: 2rem;
    left: 2rem;
    animation-delay: 1.5s;
}

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

.floating-stat i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.floating-stat span {
    font-weight: 600;
    color: var(--text-dark);
}

.description-content {
    animation: slideInRight 1s ease-out 0.5s both;
}

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

.description-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-light), #ffffff);
    border-radius: var(--border-radius);
    border: 1px solid rgba(230, 57, 70, 0.05);
    transition: all 0.4s ease;
    animation: featureSlideIn 0.6s ease-out both;
}

.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.4s; }

@keyframes featureSlideIn {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature-item:hover {
    background: white;
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.1);
    transform: translateX(10px);
    border-color: rgba(230, 57, 70, 0.1);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: var(--text-gray);
    font-size: 1rem;
    margin: 0;
}

/* About CTA Section */
.about-cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    position: relative;
    overflow: hidden;
}

.about-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 2;
    animation: ctaFadeIn 1s ease-out;
}

@keyframes ctaFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 2rem;
    flex-shrink: 0;
}

.cta-actions .btn-primary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.cta-actions .btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-actions .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-actions .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

/* Responsive Design for About Page */
@media (max-width: 1024px) {
    .mission-grid,
    .description-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .description-visual {
        position: relative;
        top: auto;
    }
    
    .values-grid-enhanced {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .mission-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2.8rem;
    }
    
    .hero-tagline {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mission-images-grid {
        height: 400px;
    }
    
    .mission-img-1, .mission-img-2 {
        width: 180px;
        height: 180px;
    }
    
    .mission-img-1 {
        top: 20px;
        left: 15px;
    }
    
    .mission-img-2 {
        bottom: 20px;
        right: 15px;
    }
    
    .description-images-grid {
        gap: 2rem;
    }
    
    .description-image-container {
        height: 280px;
    }
    
    .description-image-secondary {
        height: 280px;
    }
    
    .values-grid-enhanced {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .company-mission-enhanced,
    .core-values-enhanced,
    .company-description-enhanced {
        padding: 4rem 0;
    }
    
    .value-card {
        padding: 2rem 1.5rem;
    }
    
    .floating-stat {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .description-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .highlight-item {
        padding: 1.2rem;
    }
    
    .tagline-item {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Projects Page - Enhanced Styling */

/* Projects Hero Section - Matching About Page Style */
.projects-hero-revolution {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    margin-top: 80px;
}

.projects-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.projects-hero-bg .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    filter: brightness(0.7) contrast(1.1);
    animation: heroBackgroundPulse 8s ease-in-out infinite;
}

.projects-hero-bg .hero-slide.active {
    opacity: 0.6;
}

@keyframes heroBackgroundPulse {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(0.7) contrast(1.1);
    }
    50% { 
        transform: scale(1.05);
        filter: brightness(0.8) contrast(1.2);
    }
}

.projects-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    text-align: center;
    color: white;
    animation: projectsHeroFadeIn 1.5s ease-out;
}

@keyframes projectsHeroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.projects-hero-text .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 2.5rem;
    animation: badgeFloat 4s ease-in-out infinite;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    letter-spacing: 0.5px;
}

@keyframes badgeFloat {
    0%, 100% { 
        transform: translateY(0) scale(1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    }
    50% { 
        transform: translateY(-15px) scale(1.05);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }
}

.projects-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    animation: titleSlideUp 1.2s ease-out 0.4s both;
    line-height: 1.1;
    background: linear-gradient(45deg, #ffffff, #f8f9fa, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: titleSlideUp 1.2s ease-out 0.4s both, shimmer 3s ease-in-out infinite;
}

@keyframes titleSlideUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.projects-hero-subtitle {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    animation: subtitleFadeIn 1.5s ease-out 0.8s both;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

@keyframes subtitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 0.95;
        transform: translateY(0);
    }
}

.hero-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    animation: taglineFadeIn 1.8s ease-out 1.2s both;
    flex-wrap: wrap;
}

@keyframes taglineFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.tagline-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: taglineItemFloat 3s ease-in-out infinite;
}

.tagline-item:nth-child(1) { animation-delay: 0s; }
.tagline-item:nth-child(3) { animation-delay: 1s; }
.tagline-item:nth-child(5) { animation-delay: 2s; }

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

.tagline-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.tagline-separator {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    font-weight: 300;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    animation: scrollIndicatorPulse 2s ease-in-out infinite;
    z-index: 3;
    cursor: pointer;
}

.scroll-indicator:hover {
    color: white;
}

.scroll-text {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.scroll-arrow {
    font-size: 1.2rem;
    animation: scrollArrowBounce 2s ease-in-out infinite;
}

@keyframes scrollIndicatorPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes scrollArrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Enhanced Project Navigation */
.project-navigation-enhanced {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.project-navigation-enhanced:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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(230,57,74,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.nav-tabs-container {
    position: relative;
    z-index: 2;
}

.nav-tabs-wrapper {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.tab-btn-enhanced {
    background: white;
    border: none;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-width: 250px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.tab-btn-enhanced.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 60px rgba(230, 57, 74, 0.3);
}

.tab-btn-enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.tab-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tab-btn-enhanced.active .tab-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.tab-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tab-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    transition: color 0.3s ease;
}

.tab-btn-enhanced.active .tab-title {
    color: white;
}

.tab-subtitle {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.tab-btn-enhanced.active .tab-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.tab-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    min-width: 30px;
    text-align: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tab-btn-enhanced.active .tab-badge {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.tab-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s ease;
}

.tab-btn-enhanced:hover .tab-glow {
    left: 100%;
}

/* Project Sections */
.project-section {
    display: none;
    padding: 4rem 0;
}

.project-section.active {
    display: block;
    animation: fadeInUp 0.6s ease-out;
}

/* Project Sections Always Visible */
.project-section-visible {
    display: block;
    padding: 4rem 0;
    animation: fadeInUp 0.6s ease-out;
}

/* Project Cards Premium */
.project-card-premium {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
}

.project-card-premium.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.project-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.project-status-ribbon {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: #e6394a;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(230, 57, 74, 0.3);
}

.project-status-ribbon.completed {
    background: #28a745;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.project-status-ribbon.upcoming {
    background: #ffc107;
    color: #333;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

/* Project Gallery */
.project-gallery {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
}

.main-project-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: block;
    border-radius: 15px;
}

.main-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    display: block;
}

.project-card-premium:hover .main-project-image img {
    transform: scale(1.05);
}

.project-card-premium .project-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(230, 57, 74, 0.3), rgba(193, 18, 31, 0.2)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
    z-index: 15 !important;
    border-radius: 15px !important;
}

/* Universal overlay fix for all project cards */
.project-gallery .project-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 15px !important;
    z-index: 15 !important;
}

/* Highly specific override for project card overlays */
.project-card-premium .project-gallery .main-project-image .project-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(230, 57, 74, 0.3), rgba(193, 18, 31, 0.2)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
    z-index: 15 !important;
    border-radius: 15px !important;
    transform: none !important;
    padding: 0 !important;
}

.project-card-premium:hover .project-overlay {
    opacity: 1 !important;
}

.project-card-premium:hover .project-gallery .main-project-image .project-overlay {
    opacity: 1 !important;
    transform: none !important;
}

.overlay-content {
    text-align: center;
    color: white;
}

.overlay-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.project-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    transform: scale(1.1);
}

/* Project Info */
.project-info {
    padding: 3rem;
}

.project-header {
    margin-bottom: 2rem;
}

.project-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 1rem;
}

.project-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e6394a;
    font-size: 1.1rem;
    font-weight: 600;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 2.5rem;
}

/* Project Highlights */
.project-highlights {
    margin-bottom: 2.5rem;
}

.project-highlights h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

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

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: #e6394a;
    color: white;
    transform: translateX(5px);
}

.highlight-item i {
    color: #e6394a;
    font-size: 1.2rem;
}

.highlight-item:hover i {
    color: white;
}

/* Detailed Specifications */
.specifications-detailed {
    margin-bottom: 3rem;
    background: #f8f9fa;
    border-radius: 20px;
    padding: 2.5rem;
}

.specifications-detailed h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.spec-category {
    margin-bottom: 2rem;
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    border-left: 4px solid #e6394a;
}

.spec-category h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.spec-category h5 i {
    color: #e6394a;
}

.spec-category ul {
    list-style: none;
    padding: 0;
}

.spec-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
}

.spec-category li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.spec-category li:last-child {
    border-bottom: none;
}

/* Location Highlights */
.location-highlights {
    margin-bottom: 3rem;
}

.location-highlights h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

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

.location-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, #e6394a, #c1121f);
    color: white;
    border-radius: 12px;
    font-weight: 600;
}

.location-item i {
    font-size: 1.2rem;
}

/* Project Progress */
.project-progress {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2.5rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 600;
}

.progress-percentage {
    color: #e6394a;
    font-size: 1.2rem;
    font-weight: 700;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e6394a, #c1121f);
    border-radius: 6px;
    transition: width 2s ease;
}

/* Additional progress styles for different HTML structures */
.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 600;
}

.progress-track {
    width: 100%;
    height: 12px;
    background: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-note {
    color: #666;
    font-size: 0.95rem;
    margin-top: 1rem;
}

.expected-completion {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.95rem;
}

/* Sitemap Section */
.sitemap-section {
    margin-bottom: 3rem;
    background: #f8f9fa;
    border-radius: 20px;
    padding: 2.5rem;
}

.sitemap-section h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.sitemap-description {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.sitemap-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.sitemap-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sitemap-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.sitemap-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.sitemap-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 57, 74, 0.9), rgba(193, 18, 31, 0.7));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.sitemap-overlay i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.sitemap-overlay span {
    font-weight: 600;
    text-align: center;
}

.sitemap-benefits h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

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

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 12px;
}

.benefit-item i {
    color: #28a745;
    font-size: 1.1rem;
}

/* Project Timeline */
.project-timeline {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2.5rem;
}

.project-timeline h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:not(:last-child):after {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    width: 2px;
    height: 30px;
    background: #e0e0e0;
}

.timeline-item.active:not(:last-child):after {
    background: #e6394a;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.timeline-icon.completed {
    background: #28a745;
}

.timeline-icon.current {
    background: #e6394a;
}

.timeline-content h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.25rem;
}

.timeline-content p {
    color: #666;
    margin: 0;
}

/* Early Bird Offer */
.early-bird-offer {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #333;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2.5rem;
}

.offer-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.offer-header i {
    font-size: 1.5rem;
}

.offer-header h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.offer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offer-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.offer-list li:before {
    content: '★';
    position: absolute;
    left: 0;
    color: #333;
    font-weight: bold;
}

/* Project Actions */
.project-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.project-actions .btn-primary,
.project-actions .btn-outline {
    flex: 1;
    text-align: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

/* Sitemap Modal */
.sitemap-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.sitemap-modal.active {
    opacity: 1;
    visibility: visible;
}

.sitemap-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transform: scale(0.9);
    transition: all 0.4s ease;
}

.sitemap-modal.active .sitemap-modal-content {
    transform: scale(1);
}

.sitemap-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.sitemap-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.sitemap-modal-close {
    background: #e6394a;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sitemap-modal-close:hover {
    background: #c1121f;
    transform: scale(1.1);
}

.sitemap-image-container {
    padding: 2rem;
    text-align: center;
    max-height: 70vh;
    overflow: auto;
}

.sitemap-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

/* Responsive Design for Projects Page */
@media (max-width: 768px) {
    .projects-hero-title {
        font-size: 2.5rem;
    }
    
    .projects-hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .hero-tagline {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-tabs-wrapper {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .tab-btn-enhanced {
        min-width: auto;
        padding: 1.5rem;
    }
    
    .tab-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .tab-title {
        font-size: 1.1rem;
    }
    
    .project-info {
        padding: 2rem;
    }
    
    .project-title {
        font-size: 2rem;
    }
    
    .highlights-grid,
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .sitemap-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
    }
    
    .projects-hero-revolution {
        min-height: 100vh;
        padding-top: 100px;
    }
    
    .projects-hero-text .hero-badge {
        padding: 1rem 1.5rem;
        font-size: 0.85rem;
    }
}

/* Contact Page Enhanced Styles with Advanced Animations */
.contact-main-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    margin-top: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-info-section {
    position: relative;
    opacity: 0;
    animation: slideInLeft 1.2s ease-out 0.5s forwards;
}

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

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

.contact-info-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: cardFadeIn 0.8s ease-out forwards;
}

.contact-info-card:nth-child(1) { animation-delay: 0.7s; }
.contact-info-card:nth-child(2) { animation-delay: 0.9s; }
.contact-info-card:nth-child(3) { animation-delay: 1.1s; }
.contact-info-card:nth-child(4) { animation-delay: 1.3s; }

@keyframes cardFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #e63946, #f77f00, #e63946);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.contact-info-card:hover::before {
    opacity: 1;
}

.contact-info-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.05), rgba(247, 127, 0, 0.05));
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.contact-info-card:hover::after {
    opacity: 1;
}

.contact-info-card:hover {
    transform: translateY(-15px) scale(1.05) rotateX(5deg);
    box-shadow: 0 25px 80px rgba(230, 57, 70, 0.25);
    border-color: rgba(230, 57, 70, 0.3);
}

.contact-info-card .contact-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #e63946, #f77f00);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.contact-info-card .contact-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.8s ease;
}

.contact-info-card:hover .contact-icon::before {
    left: 100%;
}

.contact-info-card .contact-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(45deg, #e63946, #f77f00, #e63946, #f77f00);
    background-size: 400% 400%;
    border-radius: 25px;
    z-index: -1;
    animation: gradientRotate 6s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-info-card:hover .contact-icon::after {
    opacity: 1;
}

@keyframes gradientRotate {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
}

.contact-info-card:hover .contact-icon {
    transform: rotate(10deg) scale(1.2);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.6);
}

.contact-info-card .contact-icon i {
    font-size: 2.2rem;
    color: white;
    z-index: 1;
    position: relative;
    animation: iconPulse 2s ease-in-out infinite;
}

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

.contact-info-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    position: relative;
    overflow: hidden;
}

.contact-info-card h3::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    color: #e63946;
    overflow: hidden;
    transition: width 0.6s ease;
}

.contact-info-card:hover h3::before {
    width: 100%;
}

.contact-info-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(135deg, #e63946, #f77f00);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.contact-info-card:hover h3::after {
    transform: scaleX(1);
}

.contact-info-card p {
    color: #7f8c8d;
    line-height: 1.8;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info-card:hover p {
    color: #5a6c7d;
}

/* Ultra-Enhanced Contact Form Styles */
.contact-form-section {
    position: relative;
    opacity: 0;
    animation: slideInRight 1.2s ease-out 0.7s forwards;
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(80px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-form-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 4rem;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateX(5deg);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-form-wrapper:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(135deg, #e63946, #f77f00, #e63946);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

.contact-form-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(230, 57, 70, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(247, 127, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(230, 57, 70, 0.05) 0%, transparent 50%);
    pointer-events: none;
    animation: backgroundFloat 8s ease-in-out infinite;
}

@keyframes backgroundFloat {
    0%, 100% { 
        background-position: 20% 80%, 80% 20%, 40% 40%;
    }
    33% { 
        background-position: 80% 70%, 30% 80%, 70% 30%;
    }
    66% { 
        background-position: 30% 20%, 70% 60%, 20% 70%;
    }
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: headerFadeIn 1s ease-out 1s forwards;
}

@keyframes headerFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.form-header h2 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    position: relative;
    background: linear-gradient(135deg, #2c3e50, #e63946);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 4s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% { 
        background-position: 0% 50%;
    }
    50% { 
        background-position: 100% 50%;
    }
}

.form-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(135deg, #e63946, #f77f00);
    border-radius: 3px;
    animation: underlineGrow 2s ease-out 1.2s forwards;
    transform-origin: center;
    scale: 0;
}

@keyframes underlineGrow {
    0% {
        scale: 0;
    }
    100% {
        scale: 1;
    }
}

.form-header p {
    color: #7f8c8d;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-top: 2rem;
    animation: textFadeIn 1s ease-out 1.4s both;
}

@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    opacity: 0;
    animation: rowSlideIn 0.8s ease-out forwards;
}

.form-row:nth-child(1) { animation-delay: 1.6s; }
.form-row:nth-child(2) { animation-delay: 1.8s; }
.form-row:nth-child(3) { animation-delay: 2s; }

@keyframes rowSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
    opacity: 0;
    animation: fullWidthFadeIn 0.8s ease-out 2.2s forwards;
}

@keyframes fullWidthFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group label {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.form-group label::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #e63946, #f77f00);
    transition: width 0.6s ease;
}

.form-group:focus-within label::before {
    width: 100%;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1.5rem 4rem 1.5rem 1.5rem;
    border: 3px solid #e9ecef;
    border-radius: 20px;
    font-size: 1.1rem;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    font-family: inherit;
    outline: none;
    font-weight: 500;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Enhanced Custom Select Styling */
.custom-select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 1.5rem 4rem 1.5rem 1.5rem !important;
    border: 3px solid #e9ecef;
    border-radius: 20px;
    font-size: 1.1rem;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    font-family: inherit;
    outline: none;
    font-weight: 500;
    cursor: pointer;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

.custom-select:focus {
    border-color: #e63946;
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
    box-shadow: 
        0 0 0 5px rgba(230, 57, 70, 0.15),
        inset 0 2px 4px rgba(0, 0, 0, 0.05),
        0 10px 25px rgba(230, 57, 70, 0.1);
    transform: translateY(-5px) scale(1.02);
}

.select-arrow {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    font-size: 1.2rem;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    z-index: 3;
}

.custom-select:focus + .select-arrow {
    color: #e63946;
    transform: translateY(-50%) rotate(180deg) scale(1.2);
    filter: drop-shadow(0 4px 8px rgba(230, 57, 70, 0.3));
}

.custom-select option {
    padding: 1.2rem 1.5rem;
    background: white;
    color: #2c3e50;
    font-weight: 500;
    border: none;
    margin: 2px 0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.custom-select option:hover {
    background: linear-gradient(135deg, #e63946, #f77f00);
    color: white;
}

.custom-select option:checked,
.custom-select option:selected {
    background: linear-gradient(135deg, #e63946, #f77f00);
    color: white;
    font-weight: 700;
}

.custom-select option:disabled {
    color: #adb5bd;
    background: #f8f9fa;
    cursor: not-allowed;
}

/* Custom Select Animation Effects */
.custom-select-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(45deg, #e63946, #f77f00, #e63946, #f77f00);
    background-size: 400% 400%;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.6s ease;
    animation: gradientRotate 6s ease-in-out infinite;
    padding: 3px;
}

.custom-select:focus ~ .custom-select-wrapper::before,
.custom-select-wrapper:hover::before {
    opacity: 1;
}

.custom-select-wrapper::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: white;
    border-radius: 17px;
    z-index: 1;
}

/* Enhanced Form Group Positioning */
.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-group .form-icon {
    right: 4rem;
    z-index: 4;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #e63946;
    background: white;
    box-shadow: 
        0 0 0 5px rgba(230, 57, 70, 0.15),
        inset 0 2px 4px rgba(0, 0, 0, 0.05),
        0 10px 25px rgba(230, 57, 70, 0.1);
    transform: translateY(-5px) scale(1.02);
}

.form-group input:focus + .form-icon,
.form-group select:focus + .form-icon,
.form-group textarea:focus + .form-icon {
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1.1); }
    75% { transform: scale(1.2); }
}

.form-group .form-icon {
    position: absolute;
    right: 1.5rem;
    top: 3.5rem;
    color: #7f8c8d;
    font-size: 1.4rem;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.form-group textarea + .form-icon {
    top: 4.5rem;
}

.form-group:focus-within .form-icon {
    color: #e63946;
    transform: scale(1.3) rotate(10deg);
    filter: drop-shadow(0 4px 8px rgba(230, 57, 70, 0.3));
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #adb5bd;
    font-style: italic;
    font-weight: 400;
    transition: all 0.3s ease;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: transparent;
    transform: translateY(-10px);
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
    opacity: 0;
    animation: buttonFadeIn 1s ease-out 2.4s forwards;
}

@keyframes buttonFadeIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.btn-submit {
    background: linear-gradient(135deg, #e63946, #f77f00);
    color: white;
    border: none;
    padding: 1.8rem 5rem;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

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

.btn-submit::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(45deg, #e63946, #f77f00, #e63946, #f77f00);
    background-size: 400% 400%;
    border-radius: 50px;
    z-index: -1;
    animation: gradientRotate 6s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover::after {
    opacity: 1;
}

.btn-submit:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 20px 50px rgba(230, 57, 70, 0.5);
    letter-spacing: 2px;
}

.btn-submit:active {
    transform: translateY(-4px) scale(1.05);
}

.btn-submit i {
    font-size: 1.4rem;
    animation: iconFloat 2s ease-in-out infinite;
}

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

.form-note {
    margin-top: 2rem;
    color: #7f8c8d;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-weight: 500;
    opacity: 0;
    animation: noteFadeIn 1s ease-out 2.6s forwards;
}

@keyframes noteFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Validation States */
.form-group.error input,
.form-group.error select,
.form-group.error textarea,
.form-group.error .custom-select {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
    animation: errorShake 0.5s ease-in-out;
}

.form-group.error .form-icon,
.form-group.error .select-arrow {
    color: #dc3545;
    animation: errorIconShake 0.5s ease-in-out;
}

.form-group.error label {
    color: #dc3545;
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea,
.form-group.success .custom-select {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
    animation: successPulse 0.6s ease-in-out;
}

.form-group.success .form-icon,
.form-group.success .select-arrow {
    color: #28a745;
    animation: successBounce 0.6s ease-in-out;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); box-shadow: 0 0 20px rgba(40, 167, 69, 0.3); }
    100% { transform: scale(1); }
}

@keyframes successBounce {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1.1); }
    75% { transform: scale(1.2); }
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes errorIconShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

/* Form Notifications */
.form-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: notificationSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.form-notification.success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.95), rgba(32, 201, 151, 0.95));
    border-left: 5px solid #28a745;
    color: white;
}

.form-notification.error {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.95), rgba(255, 99, 132, 0.95));
    border-left: 5px solid #dc3545;
    color: white;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.notification-content i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification-content span {
    flex: 1;
    font-weight: 500;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

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

/* Button Loading State */
.btn-submit:disabled {
    cursor: not-allowed;
    opacity: 0.8;
    transform: none !important;
}

.btn-submit:disabled:hover {
    transform: none !important;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4) !important;
}

/* Responsive Design for Form */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1.2rem 3.5rem 1.2rem 1.2rem;
        font-size: 1rem;
    }
    
    .form-group .form-icon {
        right: 1.2rem;
        top: 3.2rem;
        font-size: 1.2rem;
    }
    
    .form-group textarea + .form-icon {
        top: 4rem;
    }
    
    .btn-submit {
        padding: 1.5rem 3rem;
        font-size: 1.1rem;
        gap: 1rem;
    }
    
    .form-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

@keyframes noteFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-note i {
    color: #28a745;
    font-size: 1.2rem;
    animation: shieldPulse 2s ease-in-out infinite;
}

@keyframes shieldPulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(40, 167, 69, 0.3));
    }
    50% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 10px rgba(40, 167, 69, 0.5));
    }
}

/* Ultra-Enhanced Social Media Cards */
.social-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    opacity: 0;
    animation: gridFadeIn 1.2s ease-out 0.8s forwards;
}

@keyframes gridFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 3.5rem;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    transform: translateY(30px);
    opacity: 0;
    animation: socialCardSlideIn 1s ease-out forwards;
}

.social-card:nth-child(1) { animation-delay: 1s; }
.social-card:nth-child(2) { animation-delay: 1.2s; }
.social-card:nth-child(3) { animation-delay: 1.4s; }
.social-card:nth-child(4) { animation-delay: 1.6s; }

@keyframes socialCardSlideIn {
    0% {
        opacity: 0;
        transform: translateY(50px) rotateX(20deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    transition: all 0.5s ease;
    opacity: 0;
    transform: scaleX(0);
}

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

.social-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.social-card:hover::after {
    opacity: 1;
}

.social-card:hover {
    transform: translateY(-20px) scale(1.08) rotateX(10deg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.social-card.facebook::before {
    background: linear-gradient(135deg, #1877f2, #42a5f5, #1877f2);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

.social-card.facebook::after {
    background: 
        radial-gradient(circle at 30% 70%, rgba(24, 119, 242, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(66, 165, 245, 0.1) 0%, transparent 50%);
}

.social-card.instagram::before {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background-size: 300% 100%;
    animation: instagramGradient 4s ease-in-out infinite;
}

@keyframes instagramGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.social-card.instagram::after {
    background: 
        radial-gradient(circle at 30% 70%, rgba(240, 148, 51, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(225, 48, 108, 0.1) 0%, transparent 50%);
}

.social-card.linkedin::before {
    background: linear-gradient(135deg, #0077b5, #00a0dc, #0077b5);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

.social-card.linkedin::after {
    background: 
        radial-gradient(circle at 30% 70%, rgba(0, 119, 181, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(0, 160, 220, 0.1) 0%, transparent 50%);
}

.social-card.whatsapp::before {
    background: linear-gradient(135deg, #25d366, #128c7e, #25d366);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

.social-card.whatsapp::after {
    background: 
        radial-gradient(circle at 30% 70%, rgba(37, 211, 102, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(18, 140, 126, 0.1) 0%, transparent 50%);
}

.social-icon {
    width: 100px;
    height: 100px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

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

.social-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 25px;
    z-index: -1;
    background-size: 400% 400%;
    animation: gradientRotate 8s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.social-card:hover .social-icon::before {
    left: 100%;
}

.social-card:hover .social-icon::after {
    opacity: 1;
}

.social-card:hover .social-icon {
    transform: rotate(15deg) scale(1.2);
    animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: rotate(15deg) scale(1.2) translateY(0); }
    50% { transform: rotate(15deg) scale(1.2) translateY(-5px); }
}

.social-card.facebook .social-icon {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.social-card.facebook .social-icon::after {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #1877f2, #42a5f5);
}

.social-card.instagram .social-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-card.instagram .social-icon::after {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888, #f09433);
}

.social-card.linkedin .social-icon {
    background: linear-gradient(135deg, #0077b5, #00a0dc);
}

.social-card.linkedin .social-icon::after {
    background: linear-gradient(45deg, #0077b5, #00a0dc, #0077b5, #00a0dc);
}

.social-card.whatsapp .social-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.social-card.whatsapp .social-icon::after {
    background: linear-gradient(45deg, #25d366, #128c7e, #25d366, #128c7e);
}

.social-icon i {
    font-size: 2.5rem;
    color: white;
    z-index: 1;
    position: relative;
    animation: iconPulse 3s ease-in-out infinite;
}

.social-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.2rem;
    font-family: 'Playfair Display', serif;
    position: relative;
    overflow: hidden;
}

.social-content h3::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    overflow: hidden;
    transition: width 0.8s ease;
    z-index: 1;
}

.social-card.facebook .social-content h3::before {
    color: #1877f2;
}

.social-card.instagram .social-content h3::before {
    background: linear-gradient(45deg, #f09433, #e1306c);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-card.linkedin .social-content h3::before {
    color: #0077b5;
}

.social-card.whatsapp .social-content h3::before {
    color: #25d366;
}

.social-card:hover .social-content h3::before {
    width: 100%;
}

.social-content h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.8s ease;
}

.social-card:hover .social-content h3::after {
    transform: scaleX(1);
}

.social-card.facebook .social-content h3::after {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.social-card.instagram .social-content h3::after {
    background: linear-gradient(45deg, #f09433, #e1306c);
}

.social-card.linkedin .social-content h3::after {
    background: linear-gradient(135deg, #0077b5, #00a0dc);
}

.social-card.whatsapp .social-content h3::after {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.social-content p {
    color: #7f8c8d;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-card:hover .social-content p {
    color: #5a6c7d;
    transform: translateY(-2px);
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    border: 3px solid;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.8s ease;
    z-index: -1;
}

.social-link::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50px;
    z-index: -2;
    background-size: 400% 400%;
    animation: gradientRotate 6s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover::after {
    opacity: 1;
}

.social-card.facebook .social-link {
    background: rgba(24, 119, 242, 0.1);
    color: #1877f2;
    border-color: #1877f2;
}

.social-card.facebook .social-link::before {
    background: linear-gradient(90deg, transparent, rgba(24, 119, 242, 0.3), transparent);
}

.social-card.facebook .social-link::after {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #1877f2, #42a5f5);
}

.social-card.facebook .social-link:hover {
    background: #1877f2;
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(24, 119, 242, 0.4);
}

.social-card.instagram .social-link {
    background: rgba(225, 48, 108, 0.1);
    color: #e1306c;
    border-color: #e1306c;
}

.social-card.instagram .social-link::before {
    background: linear-gradient(90deg, transparent, rgba(225, 48, 108, 0.3), transparent);
}

.social-card.instagram .social-link::after {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888, #f09433);
}

.social-card.instagram .social-link:hover {
    background: linear-gradient(45deg, #f09433, #e1306c);
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(225, 48, 108, 0.4);
}

.social-card.linkedin .social-link {
    background: rgba(0, 119, 181, 0.1);
    color: #0077b5;
    border-color: #0077b5;
}

.social-card.linkedin .social-link::before {
    background: linear-gradient(90deg, transparent, rgba(0, 119, 181, 0.3), transparent);
}

.social-card.linkedin .social-link::after {
    background: linear-gradient(45deg, #0077b5, #00a0dc, #0077b5, #00a0dc);
}

.social-card.linkedin .social-link:hover {
    background: #0077b5;
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 119, 181, 0.4);
}

.social-card.whatsapp .social-link {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
    border-color: #25d366;
}

.social-card.whatsapp .social-link::before {
    background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.3), transparent);
}

.social-card.whatsapp .social-link::after {
    background: linear-gradient(45deg, #25d366, #128c7e, #25d366, #128c7e);
}

.social-card.whatsapp .social-link:hover {
    background: #25d366;
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.social-stats {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 3px solid #f0f0f0;
    text-align: center;
    position: relative;
}

.social-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #e63946, #f77f00);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.social-card:hover .social-stats::before {
    opacity: 1;
}

.social-stats span {
    color: #7f8c8d;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    animation: statsCounter 2s ease-out;
}

@keyframes statsCounter {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ultra-Enhanced Project Locations */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    opacity: 0;
    animation: locationsGridFadeIn 1.2s ease-out 1s forwards;
}

@keyframes locationsGridFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.location-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform: translateY(30px);
    opacity: 0;
    animation: locationCardSlideIn 1s ease-out forwards;
}

.location-card:nth-child(1) { animation-delay: 1.2s; }
.location-card:nth-child(2) { animation-delay: 1.4s; }
.location-card:nth-child(3) { animation-delay: 1.6s; }
.location-card:nth-child(4) { animation-delay: 1.8s; }

@keyframes locationCardSlideIn {
    0% {
        opacity: 0;
        transform: translateY(50px) rotateX(20deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(135deg, #e63946, #f77f00);
    transform: scaleX(0);
    transition: transform 0.8s ease;
}

.location-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(230, 57, 70, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(247, 127, 0, 0.08) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

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

.location-card:hover::after {
    opacity: 1;
}

.location-card:hover {
    transform: translateY(-15px) scale(1.05) rotateX(8deg);
    box-shadow: 0 25px 70px rgba(230, 57, 70, 0.2);
}

.location-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #e63946, #f77f00);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

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

.location-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(45deg, #e63946, #f77f00, #e63946, #f77f00);
    background-size: 400% 400%;
    border-radius: 25px;
    z-index: -1;
    animation: gradientRotate 8s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.location-card:hover .location-icon::before {
    left: 100%;
}

.location-card:hover .location-icon::after {
    opacity: 1;
}

.location-card:hover .location-icon {
    transform: rotate(10deg) scale(1.15);
    animation: locationIconFloat 2s ease-in-out infinite;
}

@keyframes locationIconFloat {
    0%, 100% { transform: rotate(10deg) scale(1.15) translateY(0); }
    50% { transform: rotate(10deg) scale(1.15) translateY(-5px); }
}

.location-icon i {
    font-size: 2.2rem;
    color: white;
    z-index: 1;
    position: relative;
    animation: iconPulse 3s ease-in-out infinite;
}

.location-info h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.2rem;
    font-family: 'Playfair Display', serif;
    position: relative;
    overflow: hidden;
}

.location-info h3::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    color: #e63946;
    overflow: hidden;
    transition: width 0.8s ease;
}

.location-card:hover .location-info h3::before {
    width: 100%;
}

.location-info p {
    color: #7f8c8d;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.location-card:hover .location-info p {
    color: #5a6c7d;
    transform: translateY(-2px);
}

.location-status {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

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

.location-card:hover .location-status::before {
    left: 100%;
}

.location-card:hover .location-status {
    transform: translateY(-3px) scale(1.05);
}

.location-status.completed {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: 2px solid #28a745;
}

.location-status.completed:hover {
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.4);
}

.location-status.ongoing {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: white;
    border: 2px solid #ffc107;
}

.location-status.ongoing:hover {
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.4);
}

.location-status.upcoming {
    background: linear-gradient(135deg, #17a2b8, #6f42c1);
    color: white;
    border: 2px solid #17a2b8;
}

.location-status.upcoming:hover {
    box-shadow: 0 10px 25px rgba(23, 162, 184, 0.4);
}

/* Contact Page Responsive Design */
@media (max-width: 768px) {
    .contact-main-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .social-media-grid,
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .form-header h2 {
        font-size: 1.6rem;
    }
}

/* Enhanced Contact Section Styles */
.enhanced-contact-section {
    padding: 6rem 0 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    position: relative;
    overflow: hidden;
}

.enhanced-contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(230, 57, 70, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(247, 127, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(44, 62, 80, 0.02) 0%, transparent 70%);
    animation: backgroundFloat 15s ease-in-out infinite;
    z-index: 1;
}

@keyframes backgroundFloat {
    0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
    33% { transform: translateX(-15px) translateY(-8px) rotate(1deg); }
    66% { transform: translateX(15px) translateY(8px) rotate(-1deg); }
}

.enhanced-contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-flex {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
    opacity: 0;
    animation: contactSectionFadeIn 1.2s ease-out 0.3s forwards;
}

@keyframes contactSectionFadeIn {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-details-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(44, 62, 80, 0.1);
    padding: 3.5rem 2.5rem;
    position: relative;
    overflow: hidden;
    transform: translateX(-30px);
    opacity: 0;
    animation: slideInLeft 1s ease-out 0.5s forwards;
    border: 2px solid transparent;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.contact-details-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #e63946, #f77f00, #e63946);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.contact-details-card:hover::before {
    opacity: 1;
}

.contact-details-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(230, 57, 70, 0.15);
}

.contact-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    position: relative;
    animation: titleSlideIn 0.8s ease-out 0.7s both;
}

@keyframes titleSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #e63946, #f77f00);
    border-radius: 2px;
    animation: titleUnderline 1s ease-out 1.2s forwards;
}

@keyframes titleUnderline {
    0% { width: 0; }
    100% { width: 60px; }
}

.contact-details-list {
    animation: detailsListFadeIn 1s ease-out 0.9s both;
}

@keyframes detailsListFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-details-list p {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1rem;
    line-height: 1.8;
    position: relative;
    padding-left: 1rem;
    opacity: 0;
    animation: listItemSlide 0.6s ease-out both;
}

.contact-details-list p:nth-child(1) { animation-delay: 1.1s; }
.contact-details-list p:nth-child(2) { animation-delay: 1.3s; }
.contact-details-list p:nth-child(3) { animation-delay: 1.5s; }
.contact-details-list p:nth-child(4) { animation-delay: 1.7s; }

@keyframes listItemSlide {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-details-list p::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 8px;
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, #e63946, #f77f00);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.7; 
    }
    50% { 
        transform: scale(1.3); 
        opacity: 1; 
    }
}

.contact-details-list a {
    color: #e63946;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 600;
}

.contact-details-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #e63946, #f77f00);
    transition: width 0.3s ease;
}

.contact-details-list a:hover {
    color: #f77f00;
    transform: translateY(-1px);
}

.contact-details-list a:hover::after {
    width: 100%;
}

.contact-social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: socialLinksSlideUp 0.8s ease-out 1.9s forwards;
}

@keyframes socialLinksSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-social-links a {
    font-size: 1.4rem;
    color: #fff;
    background: linear-gradient(135deg, #e63946, #f77f00);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform: translateY(10px);
    opacity: 0;
    animation: socialIconFloat 0.6s ease-out both;
}

.contact-social-links a:nth-child(1) { animation-delay: 2.1s; }
.contact-social-links a:nth-child(2) { animation-delay: 2.3s; }
.contact-social-links a:nth-child(3) { animation-delay: 2.5s; }

@keyframes socialIconFloat {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

.contact-social-links a:hover::before {
    left: 100%;
}

.contact-social-links a:hover {
    transform: translateY(-5px) rotate(15deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.5);
    background: linear-gradient(135deg, #f77f00, #e63946);
}

.contact-form-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(44, 62, 80, 0.1);
    padding: 3.5rem 2.5rem;
    position: relative;
    overflow: hidden;
    transform: translateX(30px);
    opacity: 0;
    animation: slideInRight 1s ease-out 0.7s forwards;
    border: 2px solid transparent;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(230, 57, 70, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(247, 127, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(230, 57, 70, 0.03) 0%, transparent 50%);
    pointer-events: none;
    animation: formBackgroundFloat 10s ease-in-out infinite;
    z-index: 1;
}

@keyframes formBackgroundFloat {
    0%, 100% { 
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.5;
    }
    50% { 
        transform: translateX(10px) translateY(-5px) rotate(1deg);
        opacity: 0.8;
    }
}

.contact-form-card .form-header,
.contact-form-card .modern-contact-form {
    position: relative;
    z-index: 2;
}

.contact-form-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 30px 80px rgba(230, 57, 70, 0.12);
}

.enhanced-form .form-header {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    animation: formHeaderFadeIn 1s ease-out 0.9s forwards;
}

@keyframes formHeaderFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.enhanced-form .form-header h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    position: relative;
}

.enhanced-form .form-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #e63946, #f77f00);
    border-radius: 2px;
    animation: headerUnderline 1s ease-out 1.4s forwards;
}

@keyframes headerUnderline {
    0% { width: 0; }
    100% { width: 80px; }
}

.enhanced-form .form-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

.enhanced-form .form-row {
    gap: 2rem;
    opacity: 0;
    animation: formRowSlideIn 0.8s ease-out both;
    margin-bottom: 2rem;
}

.enhanced-form .form-row:nth-child(2) { animation-delay: 1.1s; }
.enhanced-form .form-row:nth-child(3) { animation-delay: 1.3s; }
.enhanced-form .form-row:nth-child(4) { animation-delay: 1.5s; }

@keyframes formRowSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.enhanced-form .form-group {
    position: relative;
    transition: all 0.3s ease;
}

.enhanced-form .form-group:hover {
    transform: translateY(-2px);
}

.enhanced-form .form-group.full-width {
    grid-column: 1 / -1;
}

.enhanced-form .form-group label {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    display: block;
}

.enhanced-form .form-group label::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #e63946, #f77f00);
    transition: width 0.6s ease;
}

.enhanced-form .form-group:focus-within label::before {
    width: 30px;
}

.enhanced-form .form-group input,
.enhanced-form .form-group select,
.enhanced-form .form-group textarea {
    border-radius: 18px;
    border: 3px solid #e9ecef;
    background: #f8f9fa;
    font-size: 1.1rem;
    padding: 1.3rem 1.5rem;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    font-family: inherit;
}

.enhanced-form .form-group input:focus,
.enhanced-form .form-group select:focus,
.enhanced-form .form-group textarea:focus {
    border-color: #e63946;
    background: #fff;
    box-shadow: 
        0 0 0 4px rgba(230, 57, 70, 0.1),
        0 8px 25px rgba(230, 57, 70, 0.15);
    transform: translateY(-3px) scale(1.01);
    outline: none;
}

.enhanced-form .form-group input::placeholder,
.enhanced-form .form-group textarea::placeholder {
    color: #adb5bd;
    font-style: italic;
    transition: all 0.3s ease;
}

.enhanced-form .form-group input:focus::placeholder,
.enhanced-form .form-group textarea:focus::placeholder {
    color: transparent;
    transform: translateY(-10px);
}

.enhanced-form .form-actions {
    margin-top: 3rem;
    text-align: center;
    opacity: 0;
    animation: formActionsSlideUp 0.8s ease-out 1.7s forwards;
}

@keyframes formActionsSlideUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.enhanced-form .btn-submit {
    background: linear-gradient(135deg, #e63946, #f77f00);
    color: #fff;
    border: none;
    padding: 1.4rem 3.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.enhanced-form .btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.8s ease;
}

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

.enhanced-form .btn-submit:hover::before {
    left: 100%;
}

.enhanced-form .btn-submit:hover::after {
    width: 300px;
    height: 300px;
}

.enhanced-form .btn-submit:hover {
    background: linear-gradient(135deg, #f77f00, #e63946);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.5);
}

.enhanced-form .btn-submit:active {
    transform: translateY(-2px) scale(1.02);
}

.enhanced-form .btn-submit i {
    font-size: 1.1rem;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* Enhanced Contact Responsive Design */
@media (max-width: 1024px) {
    .contact-flex {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-details-card,
    .contact-form-card {
        transform: none;
        animation: fadeInUpContact 1s ease-out 0.3s forwards;
    }
    
    @keyframes fadeInUpContact {
        0% {
            opacity: 0;
            transform: translateY(30px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (max-width: 768px) {
    .enhanced-contact-section {
        padding: 4rem 0 6rem 0;
    }
    
    .contact-details-card,
    .contact-form-card {
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
    }
    
    .enhanced-form .form-header h2 {
        font-size: 1.8rem;
    }
    
    .enhanced-form .form-row {
        gap: 1.5rem;
    }
    
    .enhanced-form .form-group input,
    .enhanced-form .form-group select,
    .enhanced-form .form-group textarea {
        padding: 1.1rem 1.3rem;
        font-size: 1rem;
    }
    
    .enhanced-form .btn-submit {
        padding: 1.2rem 2.5rem;
        font-size: 1rem;
    }
    
    .contact-social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-details-card,
    .contact-form-card {
        padding: 2rem 1.2rem;
    }
    
    .contact-title {
        font-size: 1.6rem;
    }
    
    .enhanced-form .form-header h2 {
        font-size: 1.6rem;
    }
    
    .enhanced-form .btn-submit {
        width: 100%;
        justify-content: center;
    }
}

/* ===============================================
   COMPREHENSIVE MOBILE OPTIMIZATION
   =============================================== */

/* General mobile improvements */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-overflow-scrolling: touch;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent mobile menu from affecting body scroll */
body.menu-open {
    overflow: hidden;
}

/* Tablet and Small Desktop */
@media (max-width: 1024px) {
    .modern-header {
        padding: 0 2rem;
    }
    
    .nav-brand {
        gap: 1rem;
    }
    
    .brand-logo {
        width: 100px;
        height: 40px; /* Maintain 250x100 aspect ratio but larger */
        object-fit: contain;
    }
    
    .brand-name {
        font-size: 1.4rem;
    }
    
    .brand-tagline {
        font-size: 0.75rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-item span {
        font-size: 0.9rem;
    }
}

/* Large Mobile/Small Tablet */
@media (max-width: 768px) {
    /* Header Adjustments */
    .modern-header {
        padding: 0 1.5rem;
    }
    
    .navbar-modern {
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-brand {
        flex: 1;
        justify-content: flex-start;
    }
    
    .brand-logo {
        width: 85px;
        height: 34px; /* Maintain aspect ratio but larger */
        object-fit: contain;
    }
    
    .brand-name {
        font-size: 1.2rem;
    }
    
    .brand-tagline {
        font-size: 0.7rem;
    }
    
    /* Hide navigation menu on mobile */
    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-bottom: 2px solid var(--primary-color);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu .nav-item {
        padding: 1rem 2rem;
        width: 90%;
        text-align: center;
        border-radius: 10px;
        margin: 0.5rem 0;
        transition: all 0.3s ease;
    }
    
    .nav-menu .nav-item:hover {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white;
        transform: translateY(-2px);
    }
    
    .nav-menu .nav-item.active {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white;
    }
    
    /* Center nav actions but hide book appointment button */
    .nav-actions {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    
    .nav-actions .btn-primary {
        display: none; /* Hide book appointment button on mobile */
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        background: none;
        border: none;
        cursor: pointer;
        gap: 4px;
        z-index: 1001;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
        background: var(--primary-color);
        transition: all 0.3s ease;
        border-radius: 1px;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Center all main content */
    .main-content {
        text-align: center;
    }
    
    /* Touch-friendly improvements */
    .btn-primary,
    .btn-outline,
    .btn-submit {
        min-height: 48px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Improve touch targets */
    .nav-item,
    .project-card-enhanced,
    .service-card,
    .testimonial-card {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Prevent zoom on form inputs */
    input, select, textarea {
        font-size: 16px !important;
    }
    
    /* Hero section mobile adjustments */
    .hero-revolution {
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    /* Hide scroll indicator on mobile */
    .scroll-indicator {
        display: none;
    }
    
    .hero-content-wrapper {
        text-align: center;
        padding: 0 1.5rem;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    /* Center hero content on mobile */
    .hero-content-left {
        width: 100%;
        text-align: center;
        order: 1;
    }
    
    .hero-content-right {
        width: 100%;
        text-align: center;
        order: 2;
        margin-top: 0; /* Remove margin since logo will be moved */
    }
    
    /* Center and properly organize hero elements */
    .hero-badge {
        text-align: center;
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    
    .hero-badge span {
        text-align: center;
    }
    
    /* Move hero logo after the badge */
    .hero-logo-container {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 1.5rem 0;
    }
    
    /* Hide desktop logo on mobile, show mobile logo */
    .hero-content-right .hero-logo-container {
        display: none;
    }
    
    .hero-logo-mobile {
        display: flex !important;
    }
    
    .hero-logo {
        width: 200px !important;
        height: 200px !important;
        max-width: 200px;
        max-height: 200px;
        object-fit: contain;
    }
    
    /* Reorganize hero content for mobile */
    .hero-content-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-text-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .hero-text-content .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .hero-text-content p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    /* Center hero stats */
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-actions .btn-primary,
    .hero-actions .btn-outline {
        width: 80%;
        max-width: 280px;
        justify-content: center;
        padding: 1rem 2rem;
    }
    
    /* Section spacing adjustments */
    .section-spacing {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    /* Cards and content centering */
    .project-grid,
    .services-grid,
    .testimonials-grid,
    .about-stats,
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        justify-items: center;
        text-align: center;
    }
    
    .project-card-enhanced,
    .service-card,
    .testimonial-card,
    .feature-card {
        max-width: 400px;
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }
    
    /* Project card specific centering */
    .project-card-enhanced .card-header,
    .project-card-enhanced .card-content,
    .project-card-enhanced .card-footer {
        text-align: center;
    }
    
    .project-card-enhanced .card-badges {
        justify-content: center;
        text-align: center;
        display: flex;
        align-items: center;
    }
    
    .project-card-enhanced .card-badges .badge {
        text-align: center;
        margin: 0 auto;
    }
    
    .project-card-enhanced .project-details {
        text-align: center;
    }
    
    .project-card-enhanced .detail-item {
        text-align: center;
        justify-content: center;
    }
    
    .project-card-enhanced .project-location,
    .project-card-enhanced .project-type,
    .project-card-enhanced .project-amenities,
    .project-card-enhanced .project-price {
        text-align: center;
    }
    
    /* Section headers */
    .section-header {
        text-align: center;
        margin-bottom: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-top: 0.8rem;
    }
    
    /* Contact page specific */
    .enhanced-contact-section {
        padding: 3rem 0;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-details-card,
    .contact-form-card {
        text-align: center;
    }
    
    /* Footer adjustments */
    .modern-footer {
        text-align: center;
    }
    
    footer {
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* Reorder footer sections for mobile */
    .footer-logo-section {
        order: 1;
        text-align: center;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .footer-section:not(.footer-logo-section) {
        order: 2;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        display: flex;
    }
    
    .footer-logo-img {
        margin: 0 auto;
        display: block;
        width: 85px;
        height: 34px;
        object-fit: contain;
    }
    
    .footer-brand-text {
        text-align: center;
        width: 100%;
    }
    
    .footer-brand-text h3 {
        text-align: center;
        margin: 0;
    }
    
    .footer-brand-text p {
        text-align: center;
        margin: 0;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
        gap: 1rem;
        margin: 1rem 0;
    }
    
    .footer-bottom {
        text-align: center;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* Center feature card icons on mobile (About/Services pages) */
    .feature-card {
        text-align: center;
    }
    
    .feature-card .feature-icon {
        margin: 0 auto 2.5rem;
    }
    
    /* Center value card icons on mobile (About/Services - Our Foundation/Construction Specifications) */
    .value-card {
        text-align: center;
    }
    
    .value-card .value-icon {
        margin: 0 auto 1.5rem;
    }
    
    /* Center contact info card icons on mobile */
    .contact-info-card {
        text-align: center;
    }
    
    .contact-info-card .contact-icon {
        margin: 0 auto 1.5rem;
    }
    
    /* Fix contact title underline centering - Override the animation */
    .contact-title {
        text-align: center;
    }
    
    .contact-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
        animation: titleUnderlineCentered 1s ease-out 1.2s forwards !important;
    }
    
    @keyframes titleUnderlineCentered {
        0% { width: 0; }
        100% { width: 60px; }
    }
}

/* Standard Mobile */
@media (max-width: 480px) {
    /* Further header compression */
    .modern-header {
        padding: 0 1rem;
        height: 70px;
    }
    
    .nav-brand {
        gap: 0.5rem;
    }
    
    .brand-logo {
        width: 70px;
        height: 28px; /* Maintain aspect ratio but larger */
        object-fit: contain;
    }
    
    .brand-name {
        font-size: 1.1rem;
    }
    
    .brand-tagline {
        font-size: 0.65rem;
    }
    
    /* Adjust mobile menu position */
    .nav-menu {
        top: 70px;
        padding: 1.5rem 0;
    }
    
    .nav-menu .nav-item {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Hero section for small mobile */
    .hero-revolution {
        min-height: 60vh;
        padding: 1.5rem 0;
    }
    
    .hero-content-wrapper {
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    /* Smaller hero logo for small screens */
    .hero-logo {
        width: 180px !important;
        height: 180px !important;
        max-width: 180px;
        max-height: 180px;
    }
    
    .hero-text-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-text-content .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-text-content p {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    /* Hero stats spacing */
    .hero-stats {
        gap: 1rem;
        margin: 1rem 0;
    }
    
    .hero-actions .btn-primary,
    .hero-actions .btn-outline {
        width: 90%;
        max-width: 260px;
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Tighter spacing */
    .section-spacing {
        padding: 2.5rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Smaller section headers */
    .section-header h2 {
        font-size: 1.7rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    /* Cards adjustments */
    .project-card-enhanced,
    .service-card,
    .testimonial-card,
    .feature-card {
        padding: 1.5rem;
        max-width: 350px;
    }
    
    /* Contact form mobile optimization */
    .contact-container {
        max-width: 400px;
        gap: 1.5rem;
    }
    
    .contact-details-card,
    .contact-form-card {
        padding: 1.5rem;
    }
    
    .contact-title {
        font-size: 1.4rem;
    }
    
    .enhanced-form .form-group input,
    .enhanced-form .form-group select,
    .enhanced-form .form-group textarea {
        font-size: 0.9rem;
        padding: 1rem;
    }
    
    .enhanced-form .btn-submit {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
    
    /* Footer mobile */
    footer {
        padding: 1.5rem 1rem;
        text-align: center;
    }
    
    .footer-content {
        gap: 1.5rem;
        max-width: 350px;
        text-align: center;
        display: flex;
        flex-direction: column;
    }
    
    .footer-logo-section {
        order: 1;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        text-align: center;
    }
    
    .footer-section p,
    .footer-section li {
        font-size: 0.85rem;
        line-height: 1.4;
        text-align: center;
    }
    
    .footer-logo {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }
    
    .footer-logo-img {
        width: 85px;
        height: 34px;
        margin: 0 auto;
        object-fit: contain;
    }
    
    .footer-brand-text {
        text-align: center;
        width: 100%;
    }
    
    .footer-brand-text h3,
    .footer-brand-text p {
        text-align: center;
        margin: 0;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    /* Even smaller hero logo */
    .hero-logo {
        width: 160px !important;
        height: 160px !important;
        max-width: 160px;
        max-height: 160px;
    }
    
    .hero-text-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-text-content .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .hero-actions .btn-primary,
    .hero-actions .btn-outline {
        width: 95%;
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .project-card-enhanced,
    .service-card,
    .testimonial-card,
    .feature-card {
        padding: 1rem;
        max-width: 320px;
    }
    
    .contact-container {
        max-width: 350px;
    }
    
    .contact-details-card,
    .contact-form-card {
        padding: 1rem;
    }
    
    /* Footer extra small */
    footer {
        padding: 1rem;
        text-align: center;
    }
    
    .footer-content {
        max-width: 320px;
        text-align: center;
        display: flex;
        flex-direction: column;
    }
    
    .footer-logo-section {
        order: 1;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .footer-logo {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.3rem;
    }
    
    .footer-logo-img {
        width: 70px;
        height: 28px;
        margin: 0 auto;
        object-fit: contain;
    }
    
    .footer-brand-text {
        text-align: center;
        width: 100%;
    }
    
    .footer-brand-text h3 {
        font-size: 1rem;
        text-align: center;
        margin: 0;
    }
    
    .footer-brand-text p {
        font-size: 0.8rem;
        text-align: center;
        margin: 0;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-revolution {
        min-height: 50vh;
        padding: 1rem 0;
    }
    
    .hero-content-wrapper {
        flex-direction: row;
        gap: 2rem;
        align-items: center;
    }
    
    .hero-content-left {
        flex: 1;
        order: 1;
    }
    
    .hero-content-right {
        flex: 0 0 auto;
        order: 2;
        margin-top: 0;
    }
    
    .hero-logo {
        width: 150px !important;
        height: 150px !important;
        max-width: 150px;
        max-height: 150px;
    }
    
    .hero-text-content h1 {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }
    
    .hero-actions .btn-primary,
    .hero-actions .btn-outline {
        width: auto;
        min-width: 150px;
    }
}
