/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ========================================
   CSS Variables - Brand Colors
   Light & Balanced Color Palette
   ======================================== */
:root {
    /* Primary Colors - Lighter */
    --primary-navy: #3b5a7a;
    --primary-orange: #fb923c;
    
    /* Secondary Colors */
    --secondary-gray: #94a3b8;
    --light-gray: #f8fafc;
    
    /* Neutral Colors - Lighter */
    --white: #ffffff;
    --text-dark: #334155;
    --text-medium: #64748b;
    --text-light: #cbd5e1;
    
    /* Background Colors - Lighter */
    --neutral-light: #f8fafc;
    --neutral-gray: #94a3b8;
    --border-color: #e2e8f0;
    
    /* Accent Colors - Softer */
    --success: #34d399;
    --warning: #fbbf24;
    --error: #f87171;
    
    /* Legacy compatibility (keeping for existing styles) */
    --text-light: #FFFFFF;
    
    /* Shadows - Lighter */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ========================================
   Base Styles
   ======================================== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #ea580c;
    opacity: 0.9;
}

/* ========================================
   Layout
   ======================================== */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--neutral-light);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    background-color: var(--primary-navy);
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Add padding to body to compensate for fixed header */
body {
    padding-top: 90px; /* Adjust based on navbar height */
}

/* Scrolled state - enhanced shadow and slight background change */
.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background-color: rgba(59, 90, 122, 0.98);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
}

/* Smooth logo size transition when scrolled */
.navbar.scrolled .brand-logo {
    height: 60px;
    transition: height 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light) !important;
}

.brand-logo {
    height: 70px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-light);
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--primary-orange);
    font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--primary-orange);
}

.navbar .btn-primary {
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #ea580c;
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

.btn-outline-primary:hover {
    background-color: var(--primary-orange);
    color: var(--text-light);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-outline-light:hover {
    background-color: var(--text-light);
    color: var(--primary-navy);
}

.btn-light {
    background-color: var(--text-light);
    color: var(--primary-navy);
}

.btn-light:hover {
    background-color: var(--neutral-light);
    color: var(--primary-navy);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: var(--primary-navy);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-brand .brand-name {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.footer-brand .brand-subtitle {
    font-size: 0.9rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-heading {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.footer-contact .contact-icon {
    margin-right: 0.5rem;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-legal {
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal a:hover {
    color: var(--primary-orange);
}

.footer-legal .separator {
    margin: 0 0.75rem;
}

/* ========================================
   Hero Section - Modern Design
   ======================================== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #2d4a6a 50%, #1a2f4a 100%);
    color: var(--text-light);
    padding: 7rem 0 6rem;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(251, 146, 60, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 90, 122, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title-highlight {
    color: var(--primary-orange);
    position: relative;
    display: inline-block;
}

.hero-title-highlight::after {
    content: '';
    position: absolute;
    bottom: 0.2rem;
    left: 0;
    right: 0;
    height: 0.3rem;
    background: linear-gradient(90deg, var(--primary-orange), rgba(251, 146, 60, 0.3));
    border-radius: 2px;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-cta-primary,
.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-cta-primary {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ea580c 100%);
    color: var(--text-light);
    border: none;
}

.hero-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 146, 60, 0.4);
    background: linear-gradient(135deg, #ea580c 0%, var(--primary-orange) 100%);
}

.hero-cta-primary svg {
    transition: transform 0.3s ease;
}

.hero-cta-primary:hover svg {
    transform: translateX(4px);
}

.hero-cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.hero-cta-secondary svg {
    transition: transform 0.3s ease;
}

.hero-cta-secondary:hover svg {
    transform: rotate(15deg);
}

.hero-image-wrapper {
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s both;
}

/* ========================================
   Hero Slider Component
   ======================================== */
.hero-slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: var(--primary-navy);
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.hero-slide.prev {
    opacity: 0;
    transform: scale(0.95);
    z-index: 1;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Navigation Arrows */
.hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    margin: 0;
}

.hero-slider-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.hero-slider-prev {
    left: 20px;
}

.hero-slider-next {
    right: 20px;
}

.hero-slider-nav svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

/* Dots Indicator */
.hero-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 30px;
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    margin: 0;
}

.hero-slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.hero-slider-dot.active {
    background: var(--primary-orange);
    width: 32px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(251, 146, 60, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   Section Components
   ======================================== */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.section-divider {
    width: 80px;
    height: 4px;
    background-color: var(--primary-orange);
    margin: 0 auto;
    border-radius: 2px;
}

/* ========================================
   Animated Background Elements
   ======================================== */
.services-overview-section {
    position: relative;
    overflow: hidden;
}

.services-overview-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(251, 146, 60, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: backgroundFloat 25s ease-in-out infinite;
    z-index: 0;
}

.services-overview-section::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: -3%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(59, 90, 122, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: backgroundFloat 20s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes backgroundFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(20px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-15px, 20px) scale(0.9);
    }
}

.services-overview-section .container {
    position: relative;
    z-index: 1;
}

/* ========================================
   Service Cards - Original (for backward compatibility)
   ======================================== */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

/* ========================================
   Animated Service Cards - Interactive & Kinetic
   ======================================== */
.service-card-animated {
    perspective: 1000px;
    height: 100%;
    margin-bottom: 1.5rem;
}

.service-card-inner {
    position: relative;
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(59, 90, 122, 0.08);
    transform-style: preserve-3d;
}

.service-card-animated:hover .service-card-inner {
    transform: translateY(-12px) rotateX(2deg);
    box-shadow: 0 20px 60px rgba(59, 90, 122, 0.15),
                0 10px 30px rgba(251, 146, 60, 0.1);
    border-color: var(--primary-orange);
}

.service-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    width: 100px;
    height: 100px;
}

.service-icon-animated {
    position: relative;
    font-size: 3.5rem;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.service-card-animated:hover .service-icon-animated {
    transform: scale(1.15) rotateY(10deg) rotateZ(-5deg);
    filter: drop-shadow(0 8px 16px rgba(251, 146, 60, 0.3));
}

.service-icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-orange), #fb923c);
    border-radius: 50%;
    opacity: 0;
    filter: blur(20px);
    transition: all 0.5s ease;
    z-index: 1;
    animation: iconPulse 3s ease-in-out infinite;
}

.service-card-animated:hover .service-icon-glow {
    opacity: 0.4;
    width: 140px;
    height: 140px;
}

@keyframes iconPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.2;
    }
}

.service-name-animated {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-card-animated:hover .service-name-animated {
    color: var(--primary-orange);
    transform: translateY(-2px);
}

.service-description-animated {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-card-animated:hover .service-description-animated {
    color: var(--text-dark);
}

.btn-service-animated {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #fb923c 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(251, 146, 60, 0.3);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.btn-service-animated::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.5s ease;
}

.btn-service-animated:hover {
    transform: translateX(5px) translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 146, 60, 0.4);
    color: white;
    text-decoration: none;
}

.btn-service-animated:hover::before {
    left: 100%;
}

.btn-service-animated svg {
    width: 18px;
    height: 18px;
    stroke: white;
    transition: transform 0.3s ease;
}

.btn-service-animated:hover svg {
    transform: translateX(5px);
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.03) 0%, rgba(59, 90, 122, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 20px;
    pointer-events: none;
}

.service-card-animated:hover .service-card-overlay {
    opacity: 1;
}

/* Scroll Reveal Animation */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ========================================
   Animated Service Showcase Section
   ======================================== */
.services-showcase-animated {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--neutral-light) 0%, white 100%);
}

.services-showcase-animated::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(251, 146, 60, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.services-showcase-animated::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 90, 122, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Kinetic Service Icons Animation */
@keyframes serviceIconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.service-icon-animated {
    animation: serviceIconFloat 3s ease-in-out infinite;
}

.service-card-animated:nth-child(1) .service-icon-animated {
    animation-delay: 0s;
}

.service-card-animated:nth-child(2) .service-icon-animated {
    animation-delay: 0.2s;
}

.service-card-animated:nth-child(3) .service-icon-animated {
    animation-delay: 0.4s;
}

.service-card-animated:nth-child(4) .service-icon-animated {
    animation-delay: 0.6s;
}

.service-card-animated:nth-child(5) .service-icon-animated {
    animation-delay: 0.8s;
}

.service-card-animated:nth-child(6) .service-icon-animated {
    animation-delay: 1s;
}

.service-card-animated:nth-child(7) .service-icon-animated {
    animation-delay: 1.2s;
}

.service-card-animated:nth-child(8) .service-icon-animated {
    animation-delay: 1.4s;
}

/* Hover kinetic effect - card tilt */
.service-card-animated {
    transition: transform 0.3s ease;
}

.service-card-animated:hover {
    transform: perspective(1000px) rotateY(5deg) rotateX(-5deg);
}

/* Animated gradient background on hover */
.service-card-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(251, 146, 60, 0.05) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.service-card-animated:hover .service-card-inner::before {
    animation: shimmer 1.5s ease-in-out;
    opacity: 1;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Pulse effect for service cards */
@keyframes cardPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }
    50% {
        box-shadow: 0 8px 30px rgba(251, 146, 60, 0.15);
    }
}

.service-card-animated:nth-child(odd) .service-card-inner {
    animation: cardPulse 4s ease-in-out infinite;
}

.service-card-animated:nth-child(even) .service-card-inner {
    animation: cardPulse 4s ease-in-out infinite 2s;
}

/* Staggered entrance animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card-animated {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

/* Section header animations */
.section-header {
    position: relative;
    overflow: hidden;
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), #fb923c);
    transition: width 0.8s ease;
}

.section-header:hover .section-title::after {
    width: 100%;
}

/* Animated section divider */
.section-divider {
    position: relative;
    overflow: hidden;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: dividerShine 3s ease-in-out infinite;
}

@keyframes dividerShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Interactive hover states for service cards */
.service-card-animated:active {
    transform: scale(0.98);
}

/* Loading skeleton animation */
@keyframes skeleton {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

/* Enhanced button animations */
.btn-service-animated:active {
    transform: translateX(2px) translateY(0);
}

/* Mobile optimizations for animations */
@media (max-width: 767px) {
    .service-card-animated:hover .service-card-inner {
        transform: translateY(-8px);
    }

    .service-card-animated:hover .service-icon-animated {
        transform: scale(1.1);
    }

    [data-aos] {
        opacity: 1;
        transform: none;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .service-card-animated,
    .service-icon-animated,
    .service-card-inner,
    [data-aos] {
        animation: none !important;
        transition: none !important;
    }
}

/* ========================================
   Kinetic Particle Effects
   ======================================== */
.service-card-inner {
    position: relative;
}

.service-card-inner::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 8px;
    height: 8px;
    background: var(--primary-orange);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.5s ease;
    box-shadow: 0 0 10px rgba(251, 146, 60, 0.5);
}

.service-card-animated:hover .service-card-inner::after {
    opacity: 1;
    animation: particleFloat 2s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-10px, -10px) scale(1.2);
    }
}

/* Animated border on hover */
.service-card-inner {
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.service-card-animated:hover .service-card-inner {
    border-color: rgba(251, 146, 60, 0.3);
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary-orange), var(--primary-navy)) border-box;
}

/* Ripple effect on click */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.service-card-animated:active .service-card-inner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: rgba(251, 146, 60, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
}

/* Floating particles background */
.services-overview-section {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(251, 146, 60, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 90, 122, 0.05) 0%, transparent 50%);
    background-size: 100% 100%;
    animation: backgroundShift 30s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% {
        background-position: 0% 0%, 100% 100%;
    }
    50% {
        background-position: 100% 100%, 0% 0%;
    }
}

/* Enhanced icon animations for different service types */
.service-icon-animated {
    position: relative;
    display: inline-block;
}

/* Construction/Installation icon animation */
.service-card-animated:nth-child(1) .service-icon-animated,
.service-card-animated:nth-child(5) .service-icon-animated {
    animation: constructionPulse 2s ease-in-out infinite;
}

@keyframes constructionPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
}

/* Electrical/Plumbing icon animation */
.service-card-animated:nth-child(2) .service-icon-animated,
.service-card-animated:nth-child(6) .service-icon-animated {
    animation: electricalSpark 2.5s ease-in-out infinite;
}

@keyframes electricalSpark {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(251, 146, 60, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(251, 146, 60, 0.8));
    }
}

/* Design/Decoration icon animation */
.service-card-animated:nth-child(3) .service-icon-animated,
.service-card-animated:nth-child(7) .service-icon-animated {
    animation: designFlow 3s ease-in-out infinite;
}

@keyframes designFlow {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.05);
    }
}

/* Comfort/Garden icon animation */
.service-card-animated:nth-child(4) .service-icon-animated,
.service-card-animated:nth-child(8) .service-icon-animated {
    animation: comfortBreathe 2.8s ease-in-out infinite;
}

@keyframes comfortBreathe {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.9;
    }
}

/* ========================================
   Feature List
   ======================================== */
.feature-list {
    margin: 2rem 0;
}

.features {
    list-style: none;
    padding: 0;
}

.feature-item {
    display: flex;
    align-items: start;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background-color: var(--neutral-light);
    border-radius: 8px;
}

.feature-icon {
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 1.25rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.feature-text {
    flex: 1;
    line-height: 1.6;
}

/* ========================================
   Testimonial Cards
   ======================================== */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.testimonial-rating {
    color: var(--primary-orange);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-quote {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    border-top: 2px solid var(--neutral-light);
    padding-top: 1rem;
}

.author-name {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.author-role {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin: 0;
}

/* ========================================
   Featured Service Cards
   ======================================== */
.featured-service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.featured-service-card:hover {
    box-shadow: var(--shadow-lg);
}

.featured-service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.featured-service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.featured-service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.featured-service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.featured-service-features li:before {
    content: "✓";
    color: var(--primary-orange);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ea580c 100%);
    color: var(--text-light);
    padding: 4rem 0;
}

.cta-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.95;
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #4a6a8a 100%);
    color: var(--text-light);
    padding: 4rem 0 3rem;
}

.page-header h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.page-header .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Service List Cards
   ======================================== */
.service-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.category-divider {
    border: none;
    height: 3px;
    background: linear-gradient(to right, var(--primary-orange), transparent);
    margin-bottom: 2rem;
}

.service-list-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

.service-list-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon-large {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-short-desc {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ========================================
   Service Detail Page
   ======================================== */
.service-detail-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-icon-header {
    font-size: 2.5rem;
}

.service-content {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.service-full-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.use-cases-list {
    list-style: none;
    padding: 0;
}

.use-cases-list li {
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    border-bottom: 1px solid var(--neutral-light);
}

.use-cases-list li:before {
    content: "→";
    color: var(--primary-orange);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-sidebar .sidebar-card {
    background: var(--neutral-light);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.sidebar-card h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.sidebar-features {
    list-style: none;
    padding: 0;
}

.sidebar-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.sidebar-features li:before {
    content: "✓";
    color: var(--primary-orange);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.related-services-list {
    list-style: none;
    padding: 0;
}

.related-services-list li {
    margin-bottom: 0.75rem;
}

.related-services-list a {
    color: var(--text-dark);
    transition: var(--transition);
}

.related-services-list a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

/* ========================================
   About Page
   ======================================== */
.about-feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    height: 100%;
}

.feature-icon-large {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.process-step {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    height: 100%;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-orange), #ea580c);
    color: white;
    font-size: 2rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.area-list {
    list-style: none;
    padding: 0;
}

.area-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.area-list li:before {
    content: "✓";
    color: var(--primary-orange);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ========================================
   Projects Page
   ======================================== */
.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-orange));
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-tags {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-tag {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-navy);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-location {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.location-icon {
    margin-right: 0.25rem;
}

.project-description {
    color: var(--text-dark);
    line-height: 1.6;
}

.project-date {
    color: var(--text-medium);
    font-size: 0.85rem;
    margin: 0;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.contact-form .form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-form .form-control,
.contact-form .form-select {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
    outline: none;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--neutral-light);
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-details p {
    margin-bottom: 0.25rem;
}

.contact-benefit {
    padding: 1.5rem;
}

.contact-benefit h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.emergency-notice {
    border-left: 4px solid var(--primary-orange);
}

.emergency-notice h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* ========================================
   Legal Pages
   ======================================== */
.legal-content-section h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    color: var(--primary-navy);
}

.legal-content-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content-section ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* ========================================
   Form Validation
   ======================================== */
.text-danger,
.validation-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.invalid {
    border-color: #dc2626 !important;
}

.valid.modified:not([type=checkbox]) {
    border-color: #16a34a !important;
}

/* ========================================
   Spinner
   ======================================== */
.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   Alert Messages
   ======================================== */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #dc2626;
}

/* ========================================
   Error UI
   ======================================== */
#blazor-error-ui {
    background: #fee2e2;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: #991b1b;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #fee2e2;
    padding: 1rem 1rem 1rem 3.7rem;
    color: #991b1b;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

/* ========================================
   Featured Services - Modern Design
   ======================================== */

.featured-service-modern-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(59, 90, 122, 0.08);
}

.featured-service-modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-orange), #fb923c, #fdba74);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.featured-service-modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(249, 115, 22, 0.2),
                0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-orange);
}

.featured-service-modern-card:hover::before {
    opacity: 1;
}

/* Header with Icon and Badge */
.featured-service-header {
    padding: 2rem 2rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05) 0%, rgba(249, 115, 22, 0.02) 100%);
}

.featured-service-icon-large {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #fb923c 100%);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
    transition: all 0.4s ease;
    position: relative;
}

/* Glow effect on icon */
.featured-service-icon-large::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--primary-orange), #fb923c);
    border-radius: 25px;
    opacity: 0;
    z-index: -1;
    filter: blur(15px);
    transition: opacity 0.4s ease;
}

.featured-service-modern-card:hover .featured-service-icon-large {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.4);
}

.featured-service-modern-card:hover .featured-service-icon-large::after {
    opacity: 0.7;
}

.featured-service-badge {
    background: var(--primary-navy);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(59, 90, 122, 0.15);
}

/* Body Content */
.featured-service-body {
    padding: 1.5rem 2rem;
    flex-grow: 1;
}

.featured-service-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.featured-service-modern-card:hover .featured-service-title {
    color: var(--primary-orange);
}

.featured-service-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Modern Features List */
.featured-service-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item-modern:hover {
    background-color: rgba(249, 115, 22, 0.05);
    padding-left: 0.75rem;
}

.feature-check {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.feature-item-modern span {
    color: var(--primary-navy);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Footer with CTA Button */
.featured-service-footer {
    padding: 1.5rem 2rem 2rem;
    margin-top: auto;
}

.btn-featured-service {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #fb923c 100%);
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-featured-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-featured-service:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
    color: white;
}

.btn-featured-service:hover::before {
    left: 100%;
}

.btn-featured-service svg {
    transition: transform 0.3s ease;
}

.btn-featured-service:hover svg {
    transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .featured-service-icon-large {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .featured-service-header {
        padding: 1.75rem 1.75rem 0.75rem;
    }

    .featured-service-body {
        padding: 1.25rem 1.75rem;
    }

    .featured-service-footer {
        padding: 1.25rem 1.75rem 1.75rem;
    }

    .featured-service-title {
        font-size: 1.35rem;
    }
}

@media (max-width: 767px) {
    .featured-service-modern-card {
        margin-bottom: 1.5rem;
    }

    .featured-service-header {
        padding: 1.5rem 1.5rem 0.75rem;
        flex-direction: column-reverse;
        gap: 1rem;
    }

    .featured-service-badge {
        align-self: flex-start;
    }

    .featured-service-icon-large {
        width: 70px;
        height: 70px;
        font-size: 2.25rem;
        border-radius: 18px;
    }

    .featured-service-body {
        padding: 1rem 1.5rem;
    }

    .featured-service-footer {
        padding: 1rem 1.5rem 1.5rem;
    }

    .featured-service-title {
        font-size: 1.25rem;
    }

    .featured-service-description {
        font-size: 0.9rem;
    }

    .btn-featured-service {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }

    .feature-item-modern span {
        font-size: 0.85rem;
    }
}

/* ========================================
   Why Choose Cards - Modern Design
   ======================================== */
.why-choose-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(249, 115, 22, 0.1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Animated background gradient on hover */
.why-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), #fb923c, var(--primary-orange));
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-choose-card:hover::before {
    opacity: 1;
    animation: gradient-slide 2s ease infinite;
}

@keyframes gradient-slide {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.why-choose-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.15),
                0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-orange);
}

.why-choose-icon-wrapper {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-flex;
}

.why-choose-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #fb923c 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
    position: relative;
}

/* Icon glow effect */
.why-choose-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-orange), #fb923c);
    border-radius: 22px;
    opacity: 0;
    z-index: -1;
    filter: blur(10px);
    transition: opacity 0.4s ease;
}

.why-choose-card:hover .why-choose-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.4);
}

.why-choose-card:hover .why-choose-icon::after {
    opacity: 0.6;
}

.why-choose-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.why-choose-card:hover .why-choose-card-title {
    color: var(--primary-orange);
}

.why-choose-card-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .why-choose-card {
        padding: 2rem 1.5rem;
    }

    .why-choose-icon {
        width: 70px;
        height: 70px;
        font-size: 2.25rem;
    }
}

@media (max-width: 767px) {
    .why-choose-card {
        padding: 1.75rem 1.25rem;
        margin-bottom: 1rem;
    }

    .why-choose-icon {
        width: 65px;
        height: 65px;
        font-size: 2rem;
        border-radius: 16px;
    }

    .why-choose-card-title {
        font-size: 1.15rem;
    }

    .why-choose-card-description {
        font-size: 0.9rem;
    }
}

/* ========================================
   Mobile Side Menu (App-style)
   ======================================== */

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Side Menu */
.mobile-side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background-color: var(--primary-navy);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.mobile-side-menu.active {
    left: 0;
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #4a6a8a 100%);
    border-bottom: 2px solid var(--primary-orange);
}

.mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-brand-logo {
    height: 45px;
    width: auto;
}

.mobile-brand-text {
    display: flex;
    flex-direction: column;
}

.mobile-brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-light);
}

.mobile-brand-subtitle {
    font-size: 0.7rem;
    color: var(--primary-orange);
    font-weight: 500;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0.25rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.mobile-menu-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu Content */
.mobile-menu-content {
    padding: 1rem 0;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-item {
    margin: 0;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-menu-link:hover {
    background-color: rgba(249, 115, 22, 0.1);
    border-left-color: var(--primary-orange);
    color: var(--primary-orange);
    padding-left: 1.75rem;
}

.mobile-menu-icon {
    font-size: 1.25rem;
    width: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    padding: 1.5rem 1rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-footer .btn-primary {
    margin-bottom: 1.5rem;
}

.mobile-contact-info {
    text-align: center;
}

.mobile-contact-info p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.mobile-contact-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-contact-info a:hover {
    color: var(--primary-orange);
}

/* Mobile Menu Toggle Button (Hamburger) */
.mobile-menu-toggle {
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover .hamburger-line {
    background-color: var(--primary-orange);
}

/* Hide mobile menu on desktop */
@media (min-width: 992px) {
    .mobile-menu-overlay,
    .mobile-side-menu,
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet and below (991px) */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.25rem;
        line-height: 1.3;
    }

    .hero-section {
        padding: 3rem 0;
        min-height: auto;
    }

    .section-padding {
        padding: 3rem 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    /* Cards */
    .service-card,
    .featured-service-card,
    .testimonial-card {
        margin-bottom: 1.5rem;
    }

    /* Featured services */
    .featured-service-card {
        padding: 2rem;
    }

    .featured-service-icon {
        font-size: 3rem;
    }

    /* Process steps */
    .process-step {
        margin-bottom: 1.5rem;
    }

    /* Project cards */
    .project-image {
        height: 220px;
    }
}

/* Tablet devices (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        line-height: 1.7;
    }

    .hero-section {
        padding: 4rem 0;
        min-height: 550px;
    }

    .hero-slider-container {
        height: 400px;
    }

    .hero-buttons {
        gap: 1rem;
    }

    .hero-cta-primary,
    .hero-cta-secondary {
        padding: 1rem 1.9rem;
        font-size: 1.05rem;
    }
}

/* Mobile devices (767px and below) */
@media (max-width: 767px) {
    /* Typography */
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.7;
        margin-bottom: 2rem;
    }

    .hero-section {
        padding: 3rem 0;
        min-height: auto;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-cta-primary,
    .hero-cta-secondary {
        padding: 1rem 1.75rem;
        font-size: 1rem;
    }

    .hero-image-wrapper {
        margin-top: 2rem;
    }

    .hero-slider-container {
        height: 350px;
        border-radius: 15px;
    }

    .hero-slider-nav {
        width: 40px;
        height: 40px;
    }

    .hero-slider-prev {
        left: 10px;
    }

    .hero-slider-next {
        right: 10px;
    }

    .hero-slider-nav svg {
        width: 20px;
        height: 20px;
    }

    .hero-slider-dots {
        bottom: 15px;
        padding: 8px 12px;
        gap: 8px;
    }

    .hero-slider-dot {
        width: 10px;
        height: 10px;
    }

    .hero-slider-dot.active {
        width: 24px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.125rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header .lead {
        font-size: 1.1rem;
    }

    /* Navbar */
    .navbar {
        padding: 0.75rem 0;
    }

    /* Adjust body padding for smaller navbar on mobile */
    body {
        padding-top: 70px;
    }

    .navbar.scrolled {
        padding: 0.5rem 0;
    }

    .brand-logo {
        height: 50px;
    }

    .navbar.scrolled .brand-logo {
        height: 45px;
    }

    .brand-name {
        font-size: 1.1rem;
        letter-spacing: 0.5px;
    }

    .brand-subtitle {
        font-size: 0.65rem;
    }

    .navbar-collapse {
        background-color: rgba(59, 90, 122, 0.98);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 8px;
        box-shadow: var(--shadow-lg);
    }

    .navbar-nav {
        gap: 0.5rem;
    }

    .navbar-dark .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 6px;
        transition: background-color 0.3s;
    }

    .navbar-dark .navbar-nav .nav-link:hover {
        background-color: rgba(249, 115, 22, 0.1);
    }

    .navbar .btn-primary {
        width: 100%;
        margin-top: 0.5rem;
    }

    /* Spacing */
    .section-padding {
        padding: 2.5rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    /* Buttons */
    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }

    .btn-lg {
        padding: 1rem 1.5rem;
        font-size: 1.05rem;
    }

    /* Cards */
    .service-card,
    .featured-service-card,
    .about-feature-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .service-icon,
    .featured-service-icon {
        font-size: 2.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .service-list-card {
        padding: 1.5rem;
    }

    /* Service detail page */
    .service-content {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .service-detail-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        text-align: left;
    }

    .service-icon-header {
        font-size: 2rem;
    }

    .sidebar-card {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    /* Projects */
    .project-image {
        height: 200px;
    }

    .project-card {
        margin-bottom: 1.5rem;
    }

    /* Contact form */
    .contact-form-container {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .contact-info-item {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }

    .contact-icon {
        font-size: 1.75rem;
    }

    .contact-benefit {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    /* CTA Section */
    .cta-section {
        padding: 2.5rem 0;
        text-align: center;
    }

    .cta-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .cta-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
        text-align: center;
    }

    .footer-brand .brand-name {
        font-size: 1.5rem;
    }

    .footer-heading {
        font-size: 1rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .footer-links,
    .footer-contact {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .footer-links a:hover,
    .footer-contact a:hover {
        padding-left: 0;
        color: var(--primary-orange);
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-legal .separator {
        display: none;
    }

    /* Process steps */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    /* Legal pages */
    .legal-content-section {
        padding: 2rem 0;
    }

    .legal-content-section h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }

    /* Feature lists */
    .feature-item {
        padding: 0.5rem;
        font-size: 0.95rem;
    }

    .feature-icon {
        font-size: 1.1rem;
    }

    /* Hide images on very small screens if needed */
    .hero-image {
        margin-top: 2rem;
    }

    /* Breadcrumb */
    .breadcrumb {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }

    /* Category titles */
    .category-title {
        font-size: 1.5rem;
    }

    /* Better touch targets */
    a, button, .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Improve readability */
    p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .service-description,
    .service-short-desc,
    .project-description {
        font-size: 0.95rem;
    }
}

/* Extra small mobile devices (480px and below) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-section {
        padding: 2.5rem 0;
    }

    .hero-slider-container {
        height: 300px;
        border-radius: 12px;
    }

    .hero-cta-primary,
    .hero-cta-secondary {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .brand-logo {
        height: 40px;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-subtitle {
        font-size: 0.6rem;
    }

    .service-card,
    .featured-service-card,
    .testimonial-card,
    .about-feature-card {
        padding: 1.25rem;
    }

    .service-icon,
    .featured-service-icon,
    .feature-icon-large {
        font-size: 2.25rem;
    }

    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .btn-lg {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }

    .container {
        padding: 0 0.75rem;
    }

    .cta-title {
        font-size: 1.25rem;
    }

    .cta-subtitle {
        font-size: 0.95rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    h3 {
        font-size: 1.1rem;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center {
    text-align: center;
}

.text-start {
    text-align: left;
}

.text-end {
    text-align: right;
}

.w-100 {
    width: 100%;
}

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.me-2 { margin-right: 0.5rem; }
.me-3 { margin-right: 1rem; }

.p-4 { padding: 1.5rem; }

.rounded {
    border-radius: 8px;
}

.shadow {
    box-shadow: var(--shadow-md);
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* ========================================
   WhatsApp Floating Button
   ======================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4),
                0 8px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: visible;
    cursor: pointer;
    padding: 0;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5),
                0 12px 40px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: white;
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.whatsapp-icon svg {
    width: 100%;
    height: 100%;
    fill: white;
}

/* Pulse Animation */
.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.8;
    animation: whatsapp-pulse 2s infinite;
    z-index: 1;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 12px;
        right: 12px;
    }

    .whatsapp-icon {
        width: 26px;
        height: 26px;
    }
}

/* ========================================
   WhatsApp Dialog
   ======================================== */
.whatsapp-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
    padding: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.whatsapp-dialog {
    background: white;
    border-radius: 20px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(0, 0, 0, 0.05);
    animation: slideUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.whatsapp-dialog-header {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.whatsapp-dialog-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.whatsapp-dialog-icon svg {
    width: 100%;
    height: 100%;
    fill: white;
}

.whatsapp-dialog-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    padding: 0;
}

.whatsapp-dialog-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.whatsapp-dialog-close svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

.whatsapp-dialog-body {
    padding: 2rem;
    text-align: center;
}

.whatsapp-dialog-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.whatsapp-dialog-text {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.whatsapp-dialog-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.whatsapp-dialog-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--neutral-light);
    border-radius: 12px;
}

.info-icon {
    font-size: 1.25rem;
}

.info-text {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.whatsapp-dialog-footer {
    padding: 1.5rem;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.whatsapp-dialog-button {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.whatsapp-dialog-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
}

.whatsapp-dialog-button:active {
    transform: translateY(0);
}

.whatsapp-dialog-button svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.whatsapp-dialog-cancel {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-medium);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.whatsapp-dialog-cancel:hover {
    background: var(--neutral-light);
    border-color: var(--text-light);
    color: var(--text-dark);
}

/* Responsive Dialog */
@media (max-width: 480px) {
    .whatsapp-dialog {
        max-width: 100%;
        border-radius: 16px;
        margin: 0.5rem;
    }

    .whatsapp-dialog-header {
        padding: 1.25rem;
    }

    .whatsapp-dialog-body {
        padding: 1.5rem;
    }

    .whatsapp-dialog-title {
        font-size: 1.25rem;
    }

    .whatsapp-dialog-text {
        font-size: 0.9rem;
    }

    .whatsapp-dialog-footer {
        padding: 1.25rem;
        padding-top: 0;
    }

    .whatsapp-dialog-button {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}
