/* Compald - Global Software Company Styles */

/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    --primary-color: #0066cc;
    --primary-dark: #004499;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    --gradient-hero: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #0066cc 100%);
    --gradient-text: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
    
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --shadow-xl: 0 2rem 4rem rgba(0, 0, 0, 0.2);
    
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.text-white-25 {
    color: rgba(255, 255, 255, 0.25) !important;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    padding: 1rem 0;
}

/* Logo Styles */
.logo-img {
    height: 40px;
    width: auto;
    max-width: 200px;
    transition: var(--transition);
    margin-right: 2rem;
}

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

.footer-logo-img {
    height: 50px;
    width: auto;
    max-width: 250px;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.footer-logo-img:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(0, 102, 204, 0.5));
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    padding-right: 1rem;
    margin-right: 1rem;
}

.nav-link {
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.75rem 1rem !important;
    margin: 0 0.25rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

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

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: var(--transition-fast);
    font-weight: 500;
}

.dropdown-item:hover {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    background: var(--gradient-hero);
    opacity: 0.9;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    opacity: 0.3;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
    margin-top: 2rem;
}

.hero-image-container {
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-main-image {
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.hero-main-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.3);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 60%;
    right: -10%;
    animation-delay: 1s;
}

.floating-card.card-3 {
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

/* Scroll Indicator */
.scroll-indicator {
    animation: bounce 2s infinite;
}

/* Global Presence Section */
.office-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.office-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.global-stats {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

/* Awards Section */
.award-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.award-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.certifications {
    background: var(--light-color);
    border-radius: var(--border-radius-lg);
}

.cert-item {
    transition: var(--transition);
}

.cert-item:hover {
    transform: scale(1.05);
}

/* Team Section */
.team-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-photo img {
    object-fit: cover;
    border: 4px solid rgba(0, 102, 204, 0.1);
    transition: var(--transition);
}

.team-card:hover .team-photo img {
    border-color: var(--primary-color);
}

.team-social a {
    transition: var(--transition-fast);
}

.team-social a:hover {
    color: var(--primary-color) !important;
    transform: scale(1.2);
}

.team-stats {
    background: var(--light-color);
    border-radius: var(--border-radius-lg);
}

/* Microsoft Cards */
.microsoft-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.microsoft-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.microsoft-grid-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.microsoft-grid-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.microsoft-testimonial-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.microsoft-testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Technology Stack */
.tech-item {
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-item i {
    transition: var(--transition);
}

.tech-item:hover i {
    transform: scale(1.2);
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: rgba(0, 102, 204, 0.2);
    transform: scale(1.1);
}

.service-card:hover .service-icon i {
    animation: pulse 0.6s ease-in-out;
}

/* Industry Cards */
.industry-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: slideInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.industry-card:nth-child(1) { animation-delay: 0.1s; }
.industry-card:nth-child(2) { animation-delay: 0.2s; }
.industry-card:nth-child(3) { animation-delay: 0.3s; }

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.industry-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: var(--transition);
}

.industry-card:hover .industry-icon {
    background: rgba(0, 102, 204, 0.2);
    transform: scale(1.1);
}

.industry-card:hover .industry-icon i {
    animation: wiggle 0.5s ease-in-out;
}

/* Feature Items */
.feature-item {
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(5px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background: rgba(0, 102, 204, 0.2);
    transform: scale(1.1);
}

.feature-item:hover .feature-icon i {
    animation: pulse 0.6s ease-in-out;
}

/* Timeline Styles */
.story-timeline {
    position: relative;
    padding-left: 2rem;
}

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

.timeline-item {
    position: relative;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-year {
    position: absolute;
    left: -3rem;
    top: 0;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.875rem;
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Mission Cards */
.mission-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.mission-card:nth-child(1) { animation-delay: 0.1s; }
.mission-card:nth-child(2) { animation-delay: 0.2s; }
.mission-card:nth-child(3) { animation-delay: 0.3s; }

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: var(--transition);
}

.mission-card:hover .mission-icon {
    background: rgba(0, 102, 204, 0.2);
    transform: scale(1.1);
}

.mission-card:hover .mission-icon i {
    animation: pulse 0.6s ease-in-out;
}

/* Value Cards */
.value-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: slideInUp 0.8s ease-out;
    animation-fill-mode: both;
}

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

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background: rgba(0, 102, 204, 0.2);
    transform: scale(1.1);
}

.value-card:hover .value-icon i {
    animation: wiggle 0.5s ease-in-out;
}

/* Advantage Cards */
.advantage-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: zoomIn 0.8s ease-out;
    animation-fill-mode: both;
}

.advantage-card:nth-child(1) { animation-delay: 0.1s; }
.advantage-card:nth-child(2) { animation-delay: 0.2s; }
.advantage-card:nth-child(3) { animation-delay: 0.3s; }
.advantage-card:nth-child(4) { animation-delay: 0.4s; }
.advantage-card:nth-child(5) { animation-delay: 0.5s; }
.advantage-card:nth-child(6) { animation-delay: 0.6s; }

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: var(--transition);
}

.advantage-card:hover .advantage-icon {
    background: rgba(0, 102, 204, 0.2);
    transform: scale(1.1);
}

.advantage-card:hover .advantage-icon i {
    animation: bounceIn 0.6s ease-in-out;
}

/* Portfolio Styles */
.portfolio-filter {
    margin-bottom: 2rem;
}

.portfolio-filter .btn {
    transition: var(--transition);
}

.portfolio-filter .btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.portfolio-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.portfolio-card:nth-child(1) { animation-delay: 0.1s; }
.portfolio-card:nth-child(2) { animation-delay: 0.2s; }
.portfolio-card:nth-child(3) { animation-delay: 0.3s; }
.portfolio-card:nth-child(4) { animation-delay: 0.4s; }
.portfolio-card:nth-child(5) { animation-delay: 0.5s; }
.portfolio-card:nth-child(6) { animation-delay: 0.6s; }

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 102, 204, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

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

.portfolio-content {
    text-align: center;
    padding: 1rem;
}

.portfolio-info {
    background: white;
}

.portfolio-stats .badge {
    font-size: 0.75rem;
}

.portfolio-metrics {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    margin-top: 1rem;
}

.metric h6 {
    font-size: 1.25rem;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: slideInUp 0.8s ease-out;
    animation-fill-mode: both;
}

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

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card img {
    object-fit: cover;
}

/* Blog Cards */
.blog-card {
    transition: var(--transition);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card .card-img-top {
    transition: var(--transition);
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
}

.blog-card:hover .card-img-top {
    transform: scale(1.05);
}

/* Footer */
.footer-brand {
    animation: fadeInUp 1s ease-out;
}

.social-link {
    transition: var(--transition-fast);
}

.social-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.office-info {
    transition: var(--transition);
}

.office-info:hover {
    transform: translateX(5px);
}

.cert-badge {
    border-radius: 4px;
    transition: var(--transition-fast);
}

.cert-badge:hover {
    transform: scale(1.1);
}

/* Buttons */
.btn {
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    margin: 0 0.25rem;
}

.btn::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: var(--transition);
}

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

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
    border: none;
    color: #000;
    font-weight: 700;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

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

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

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

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

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

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

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

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

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

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

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes zoomOut {
    from {
        opacity: 0;
        transform: scale(1.2);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.8);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes flipInX {
    from {
        opacity: 0;
        transform: perspective(400px) rotateX(90deg);
    }
    to {
        opacity: 1;
        transform: perspective(400px) rotateX(0deg);
    }
}

@keyframes flipInY {
    from {
        opacity: 0;
        transform: perspective(400px) rotateY(90deg);
    }
    to {
        opacity: 1;
        transform: perspective(400px) rotateY(0deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(1deg);
    }
    50% {
        transform: translateY(-15px) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

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

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

@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);
    }
}

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

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

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 102, 204, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 102, 204, 0.8), 0 0 30px rgba(0, 102, 204, 0.6);
    }
}

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

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

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

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.1);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.1);
    }
    70% {
        transform: scale(1);
    }
}

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

@keyframes morphing {
    0%, 100% {
        border-radius: 50% 20% 50% 20%;
    }
    25% {
        border-radius: 20% 50% 20% 50%;
    }
    50% {
        border-radius: 50% 20% 50% 20%;
    }
    75% {
        border-radius: 20% 50% 20% 50%;
    }
}

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

/* Animation Utility Classes */
.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fadeInDown {
    animation: fadeInDown 0.8s ease-out;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.8s ease-out;
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease-out;
}

.animate-slideInUp {
    animation: slideInUp 1s ease-out;
}

.animate-slideInDown {
    animation: slideInDown 1s ease-out;
}

.animate-slideInLeft {
    animation: slideInLeft 1s ease-out;
}

.animate-slideInRight {
    animation: slideInRight 1s ease-out;
}

.animate-zoomIn {
    animation: zoomIn 0.6s ease-out;
}

.animate-zoomOut {
    animation: zoomOut 0.6s ease-out;
}

.animate-rotateIn {
    animation: rotateIn 0.8s ease-out;
}

.animate-flipInX {
    animation: flipInX 0.8s ease-out;
}

.animate-flipInY {
    animation: flipInY 0.8s ease-out;
}

.animate-bounceIn {
    animation: bounceIn 0.8s ease-out;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-floatSlow {
    animation: floatSlow 4s ease-in-out infinite;
}

.animate-pulseSlow {
    animation: pulseSlow 3s ease-in-out infinite;
}

.animate-shake {
    animation: shake 0.5s ease-in-out;
}

.animate-wiggle {
    animation: wiggle 0.5s ease-in-out;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

.animate-shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.animate-typewriter {
    overflow: hidden;
    border-right: 2px solid;
    white-space: nowrap;
    animation: typewriter 3s steps(40, end), blink 0.75s step-end infinite;
}

.animate-wave {
    animation: wave 1s ease-in-out infinite;
}

.animate-heartbeat {
    animation: heartbeat 1.5s ease-in-out infinite;
}

.animate-gradientShift {
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.animate-morphing {
    animation: morphing 4s ease-in-out infinite;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Enhanced Element Animations */
.microsoft-card {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.microsoft-card:nth-child(1) { animation-delay: 0.1s; }
.microsoft-card:nth-child(2) { animation-delay: 0.2s; }
.microsoft-card:nth-child(3) { animation-delay: 0.3s; }
.microsoft-card:nth-child(4) { animation-delay: 0.4s; }

.office-card {
    animation: zoomIn 0.8s ease-out;
    animation-fill-mode: both;
}

.award-card {
    animation: flipInY 0.8s ease-out;
    animation-fill-mode: both;
}

.award-card:nth-child(1) { animation-delay: 0.1s; }
.award-card:nth-child(2) { animation-delay: 0.2s; }
.award-card:nth-child(3) { animation-delay: 0.3s; }
.award-card:nth-child(4) { animation-delay: 0.4s; }

.tech-item {
    animation: rotateIn 0.8s ease-out;
    animation-fill-mode: both;
}

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

.blog-card {
    animation: slideInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }

/* Enhanced Hover Animations */
.microsoft-card:hover {
    animation: pulse 0.6s ease-in-out;
}

.office-card:hover {
    animation: bounceIn 0.6s ease-in-out;
}

.award-card:hover {
    animation: wiggle 0.5s ease-in-out;
}

.tech-item:hover {
    animation: shake 0.5s ease-in-out;
}

.blog-card:hover {
    animation: glow 0.6s ease-in-out;
}

/* Floating Elements Enhanced */
.floating-card.card-1 {
    animation: float 3s ease-in-out infinite, glow 2s ease-in-out infinite;
    animation-delay: 0s, 1s;
}

.floating-card.card-2 {
    animation: float 3s ease-in-out infinite, glow 2s ease-in-out infinite;
    animation-delay: 1s, 2s;
}

.floating-card.card-3 {
    animation: float 3s ease-in-out infinite, glow 2s ease-in-out infinite;
    animation-delay: 2s, 0s;
}

/* Hero Section Enhanced */
.hero-content {
    animation: fadeInLeft 1s ease-out;
    margin-top: 2rem;
}

.hero-image-container {
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-main-image {
    animation: zoomIn 1.2s ease-out 0.5s both;
}

/* Button Enhancements */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    animation: pulse 0.6s ease-in-out;
}

.btn-warning:hover {
    animation: bounceIn 0.6s ease-in-out;
}

/* Icon Animations */
.fas, .fab {
    transition: var(--transition);
}

.microsoft-card:hover .fas,
.microsoft-card:hover .fab {
    animation: wiggle 0.5s ease-in-out;
}

.office-card:hover .fas {
    animation: pulse 0.6s ease-in-out;
}

.award-card:hover .fas {
    animation: rotateIn 0.6s ease-in-out;
}

/* Text Animations */
.text-gradient {
    background: var(--gradient-text);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

/* Scroll Indicator Enhanced */
.scroll-indicator {
    animation: bounce 2s infinite, pulse 2s infinite;
}

/* Utility Classes */
.section-xxl {
    padding: 6rem 0;
}

.section-xl {
    padding: 5rem 0;
}

.section-alt {
    background: var(--light-color);
}

/* Enhanced Mobile Design */
@media (max-width: 992px) {
    /* Tablet and smaller */
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .hero-content {
        margin-top: 1rem;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .display-6 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Mobile landscape and portrait */
    
    /* Navigation improvements */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    /* Logo responsive styles */
    .logo-img {
        height: 35px;
        max-width: 150px;
        margin-right: 1rem;
    }
    
    .footer-logo-img {
        height: 40px;
        max-width: 180px;
    }
    
    /* Navbar responsive spacing */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem !important;
        margin: 0 0.125rem;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 0.5rem;
        margin-top: 0.5rem;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        border: none;
        background: rgba(0, 102, 204, 0.05);
        margin: 0.5rem 0;
        border-radius: 0.5rem;
    }
    
    /* Hero section improvements */
    .hero-section {
        min-height: 100vh;
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-content {
        margin-top: 0.5rem;
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-content .btn {
        width: 100%;
        margin-bottom: 1rem;
        padding: 0.875rem 1.5rem;
    }
    
    .hero-content .d-flex.gap-3 {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .hero-content .d-flex.gap-3 .btn {
        width: 100%;
    }
    
    /* Hide floating elements on mobile */
    .floating-card {
        display: none;
    }
    
    .floating-elements {
        display: none;
    }
    
    /* Typography improvements */
    .display-1 { font-size: 2.5rem; }
    .display-2 { font-size: 2.25rem; }
    .display-3 { font-size: 2rem; }
    .display-4 { font-size: 1.75rem; }
    .display-5 { font-size: 1.5rem; }
    .display-6 { font-size: 1.25rem; }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.125rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.875rem; }
    
    /* Section spacing */
    .section-xxl {
        padding: 3rem 0;
    }
    
    .section-xl {
        padding: 2.5rem 0;
    }
    
    /* Card improvements */
    .microsoft-card,
    .office-card,
    .award-card,
    .team-card,
    .blog-card {
        margin-bottom: 1.5rem;
    }
    
    /* Button improvements */
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-group-vertical .btn {
        margin-bottom: 0.5rem;
    }
    
    /* Form improvements */
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Footer improvements */
    .footer-brand {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    /* Small mobile devices */
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.125rem;
    }
    
    /* Logo responsive styles for small mobile */
    .logo-img {
        height: 30px;
        max-width: 120px;
        margin-right: 0.75rem;
    }
    
    .footer-logo-img {
        height: 35px;
        max-width: 150px;
    }
    
    /* Navbar responsive spacing for small mobile */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-link {
        padding: 0.5rem 0.5rem !important;
        margin: 0 0.125rem;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
    }
    
    /* Hero section */
    .hero-section {
        padding: 1rem 0;
    }
    
    .hero-content {
        padding: 0.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Typography */
    .display-1 { font-size: 2rem; }
    .display-2 { font-size: 1.75rem; }
    .display-3 { font-size: 1.5rem; }
    .display-4 { font-size: 1.25rem; }
    .display-5 { font-size: 1.125rem; }
    .display-6 { font-size: 1rem; }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.125rem; }
    
    /* Spacing improvements */
    .py-5 {
        padding: 2rem 0 !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .mt-5 {
        margin-top: 2rem !important;
    }
    
    /* Card improvements */
    .microsoft-card,
    .office-card,
    .award-card,
    .team-card,
    .blog-card {
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    /* Button improvements */
    .btn-lg {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn {
        margin-bottom: 0.5rem;
        border-radius: 0.375rem !important;
    }
    
    /* Container improvements */
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Text improvements */
    .text-center {
        text-align: center !important;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Image improvements */
    .img-fluid {
        max-width: 100%;
        height: auto;
    }
    
    /* List improvements */
    .list-unstyled li {
        margin-bottom: 0.5rem;
    }
    
    /* Badge improvements */
    .badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
}

/* Extra small devices (portrait phones) */
@media (max-width: 375px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .display-3 {
        font-size: 1.25rem;
    }
    
    .btn-lg {
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
    }
    
    .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
    /* Force carousel images to be visible on mobile */
    .carousel-slide .carousel-image {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .carousel-slide .carousel-image img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        height: auto !important;
        max-height: 250px;
        object-fit: cover;
    }
    
    /* Touch-friendly interactions */
    .btn, .nav-link, .dropdown-item {
        min-height: 44px; /* Apple's recommended touch target size */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Improved scrolling */
    .services-carousel-container {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Better spacing for touch */
    .d-flex.gap-3 {
        gap: 1rem !important;
    }
    
    .d-flex.gap-2 {
        gap: 0.75rem !important;
    }
    
    /* Card touch improvements */
    .microsoft-card,
    .office-card,
    .award-card,
    .team-card,
    .blog-card {
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .microsoft-card:active,
    .office-card:active,
    .award-card:active,
    .team-card:active,
    .blog-card:active {
        transform: scale(0.98);
    }
    
    /* Form improvements */
    .form-control,
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.75rem 1rem;
    }
    
    /* Better text selection */
    .text-muted {
        color: #6c757d !important;
    }
    
    /* Improved focus states for accessibility */
    .btn:focus,
    .nav-link:focus,
    .form-control:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
    
    /* Better image handling */
    .img-fluid {
        max-width: 100%;
        height: auto;
        border-radius: 0.5rem;
        display: block;
    }
    
    /* Ensure carousel images are visible on mobile */
    .carousel-image {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .carousel-image img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Improved list spacing */
    .list-unstyled li {
        padding: 0.25rem 0;
    }
    
    /* Better badge visibility */
    .badge {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
        border-radius: 0.375rem;
    }
    
    /* Improved table responsiveness */
    .table-responsive {
        border-radius: 0.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Better modal handling */
    .modal-dialog {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    /* Improved dropdown positioning */
    .dropdown-menu {
        max-height: 50vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .hero-content {
        margin-top: 0;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .services-carousel {
        min-height: 300px;
    }
    
    .carousel-slide {
        padding: 1rem 0.75rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .navbar-brand,
    .btn,
    .nav-link {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Performance Optimizations */
.microsoft-card,
.microsoft-grid-card,
.microsoft-testimonial-card,
.office-card,
.award-card,
.team-card,
.blog-card {
    will-change: transform;
}

.floating-card {
    will-change: transform;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
.btn:focus,
.nav-link:focus,
.dropdown-item:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Services Carousel Styles */
.services-carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-xl);
    background: white;
    box-shadow: var(--shadow-lg);
    margin: 2rem 0;
}

.services-carousel {
    position: relative;
    width: 100%;
    height: 500px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    padding: 3rem;
    display: flex;
    align-items: center;
}

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

.carousel-content {
    animation: fadeInLeft 0.8s ease-out;
}

.carousel-image {
    animation: fadeInRight 0.8s ease-out;
}

.carousel-image img {
    transition: var(--transition);
}

.carousel-image img:hover {
    transform: scale(1.05);
}

.carousel-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow);
}

.carousel-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.carousel-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-indicators {
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 102, 204, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

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

.indicator:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.service-icon {
    animation: pulse 2s infinite;
}

/* Carousel Auto-rotation */
.services-carousel-container:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.services-carousel-container:hover .carousel-btn {
    opacity: 1;
}

/* Enhanced Mobile Carousel */
@media (max-width: 992px) {
    .services-carousel-container {
        margin: 1rem 0;
    }
    
    .carousel-slide {
        padding: 2rem 1.5rem;
    }
    
    .carousel-content h3 {
        font-size: 1.75rem;
    }
    
    .carousel-content .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .services-carousel {
        height: auto;
        min-height: 450px;
    }
    
    .carousel-slide {
        padding: 2rem 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .carousel-content {
        margin-bottom: 2rem;
        order: 1;
    }
    
    .carousel-image {
        order: 2;
        margin-bottom: 1rem;
        display: block !important;
        width: 100%;
    }
    
    .carousel-image img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-height: 250px;
        object-fit: cover;
        border-radius: 0.5rem;
    }
    
    .carousel-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .carousel-content .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .carousel-content ul {
        text-align: left;
        margin-bottom: 1.5rem;
    }
    
    .carousel-content .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
    
    .carousel-controls {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 2rem;
        justify-content: center;
        background: rgba(255, 255, 255, 0.9);
        padding: 0.5rem 1rem;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 576px) {
    .services-carousel {
        min-height: 400px;
    }
    
    .carousel-slide {
        padding: 1.5rem 0.75rem;
    }
    
    .carousel-image {
        display: block !important;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .carousel-image img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-height: 200px;
        object-fit: cover;
        border-radius: 0.5rem;
    }
    
    .carousel-content h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .carousel-content .lead {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .carousel-content ul {
        margin-bottom: 1rem;
    }
    
    .carousel-content ul li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .carousel-content .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .service-icon {
        margin-bottom: 1rem;
    }
    
    .service-icon i {
        font-size: 2.5rem !important;
    }
    
    .carousel-controls {
        margin-top: 1.5rem;
        padding: 0.5rem 0.75rem;
    }
    
    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 375px) {
    .services-carousel {
        min-height: 350px;
    }
    
    .carousel-slide {
        padding: 1rem 0.5rem;
    }
    
    .carousel-image {
        display: block !important;
        width: 100%;
        margin-bottom: 0.75rem;
    }
    
    .carousel-image img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-height: 180px;
        object-fit: cover;
        border-radius: 0.375rem;
    }
    
    .carousel-content h3 {
        font-size: 1.125rem;
    }
    
    .carousel-content .lead {
        font-size: 0.875rem;
    }
    
    .carousel-content ul li {
        font-size: 0.8rem;
    }
    
    .service-icon i {
        font-size: 2rem !important;
    }
    
    .carousel-content .btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.8rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .floating-elements,
    .scroll-indicator,
    .btn,
    .carousel-controls {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
    }
    
    .carousel-slide {
        position: static !important;
        opacity: 1 !important;
        page-break-inside: avoid;
    }
}