﻿/* Enhanced Styles - Mobile-First Redesign
-------------------------------------------------- */

:root {
  --primary-color: #D2691E;
  --primary-hover: #B25616;
  --secondary-color: #6c757d;
  --dark-color: #343a40;
  --light-color: #f8f9fa;
  --background-color: #ffffff;
  --text-color: #212529;
  --border-radius: 8px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
  --transition-fast: all 0.2s ease;
}

/* Global Styles - Mobile First
-------------------------------------------------- */
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

section {
  position: relative;
  overflow: hidden;
}

.btn {
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover, 
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(210, 105, 30, 0.2);
}

/* Touch active state for buttons */
.btn.touch-active {
  transform: scale(0.97);
  opacity: 0.9;
  transition: var(--transition-fast);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:active {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.section-heading {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-heading:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 4px;
  background-color: var(--primary-color);
  transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: left;
}

/* Animation for section heading when scrolled into view */
.section-heading.aos-animate:after {
  width: 80px;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

/* Navbar - Mobile Optimized
-------------------------------------------------- */
.navbar {
  padding: 0.7rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.3rem;
}

.brand-icon, .brand-icon-white {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: var(--primary-color);
  position: relative;
}

.nav-link {
  font-weight: 600;
  color: var(--text-color);
  padding: 0.5rem 0.7rem !important;
  margin: 0 0.2rem;
  position: relative;
  transition: var(--transition);
}

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

.nav-link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.7rem;
  right: 0.7rem;
  height: 2px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after,
.nav-link.touch-active:after {
  transform: scaleX(1);
}
/* ============================================
           PREMIUM ELITE HERO STYLES
           ============================================ */

/* CSS Variables for Premium Theme */
:root {
    --hero-gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --hero-gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --hero-gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --hero-gradient-dark: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    --hero-gradient-premium: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --hero-accent: #E87A3D;
    --hero-accent-light: #FF9A5C;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gold-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
}

/* Premium Hero Base Styles */
.page-hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--hero-gradient-dark);
    padding: 140px 0 80px;
}

    /* Animated Gradient Background */
    .page-hero::before {
        content: '';
        position: absolute;
        width: 200%;
        height: 200%;
        top: -50%;
        left: -50%;
        background: linear-gradient( 45deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #16213e 75%, #1a1a2e 100% );
        animation: gradientShift 15s ease infinite;
        opacity: 0.9;
    }

@keyframes gradientShift {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    50% {
        transform: translate(-50%, -50%) rotate(180deg);
    }
}

/* Premium Particle Network Background */
.particle-network {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(232, 122, 61, 0.5);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(232, 122, 61, 0.3);
    animation: float 20s infinite;
}

    .particle:nth-child(1) {
        top: 20%;
        left: 10%;
        animation-duration: 25s;
        animation-delay: 0s;
    }

    .particle:nth-child(2) {
        top: 80%;
        left: 20%;
        animation-duration: 20s;
        animation-delay: 2s;
    }

    .particle:nth-child(3) {
        top: 40%;
        left: 60%;
        animation-duration: 28s;
        animation-delay: 4s;
    }

    .particle:nth-child(4) {
        top: 60%;
        left: 80%;
        animation-duration: 22s;
        animation-delay: 1s;
    }

    .particle:nth-child(5) {
        top: 10%;
        left: 90%;
        animation-duration: 30s;
        animation-delay: 3s;
    }

    .particle:nth-child(6) {
        top: 90%;
        left: 50%;
        animation-duration: 18s;
        animation-delay: 5s;
    }

    .particle:nth-child(7) {
        top: 30%;
        left: 30%;
        animation-duration: 24s;
        animation-delay: 2.5s;
    }

    .particle:nth-child(8) {
        top: 70%;
        left: 70%;
        animation-duration: 26s;
        animation-delay: 1.5s;
    }

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }

    10%, 90% {
        opacity: 1;
    }

    25% {
        transform: translate(100px, -100px) rotate(90deg);
    }

    50% {
        transform: translate(-100px, 100px) rotate(180deg);
    }

    75% {
        transform: translate(50px, 50px) rotate(270deg);
    }
}

/* Glassmorphism Container */
.hero-glass-container {
    position: relative;
    z-index: 10;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15), inset 0 2px 2px rgba(255, 255, 255, 0.1);
    animation: slideInUp 1s ease-out;
}

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

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

/* Premium Typography */
.page-hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #E87A3D 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradient 3s ease infinite;
    text-transform: uppercase;
    letter-spacing: -2px;
}

@keyframes textGradient {
    0%, 100% {
        background-position: 0% center;
    }

    50% {
        background-position: 200% center;
    }
}

.page-hero .lead {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 2rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.7;
    animation: fadeIn 1.2s ease-out 0.3s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Premium Buttons */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1.2s ease-out 0.5s both;
}

    .hero-buttons .btn {
        padding: 16px 40px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-radius: 50px;
        position: relative;
        overflow: hidden;
        transition: all 0.4s ease;
        font-size: 0.95rem;
    }

    .hero-buttons .btn-primary {
        background: linear-gradient(135deg, #E87A3D 0%, #D2691E 100%);
        border: none;
        color: white;
        box-shadow: 0 10px 30px rgba(232, 122, 61, 0.3);
    }

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

        .hero-buttons .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(232, 122, 61, 0.4);
        }

            .hero-buttons .btn-primary:hover::before {
                width: 300px;
                height: 300px;
            }

    .hero-buttons .btn-outline-light {
        background: transparent;
        border: 2px solid rgba(255, 255, 255, 0.3);
        color: white;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        position: relative;
        z-index: 1;
    }

        .hero-buttons .btn-outline-light::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
            border-radius: 50px;
            z-index: -1;
            transition: all 0.4s ease;
        }

        .hero-buttons .btn-outline-light:hover {
            transform: translateY(-3px);
            border-color: var(--hero-accent);
            color: var(--hero-accent);
            box-shadow: 0 10px 30px rgba(232, 122, 61, 0.2);
        }

/* Floating Elements */
.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: floatShape 20s infinite ease-in-out;
}

.floating-shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--hero-accent) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
    filter: blur(40px);
}

.floating-shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #667eea 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    border-radius: 50%;
    filter: blur(40px);
    animation-delay: -10s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Premium Breadcrumb */
.hero-breadcrumb {
    margin-top: 2rem;
    animation: fadeIn 1.2s ease-out 0.7s both;
}

    .hero-breadcrumb .breadcrumb {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 10px 20px;
        border-radius: 50px;
        display: inline-flex;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-breadcrumb .breadcrumb-item {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.9rem;
        font-weight: 500;
        letter-spacing: 0.5px;
    }

        .hero-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
            content: "→";
            color: var(--hero-accent);
            font-weight: bold;
        }

        .hero-breadcrumb .breadcrumb-item a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
        }

            .hero-breadcrumb .breadcrumb-item a::after {
                content: '';
                position: absolute;
                bottom: -2px;
                left: 0;
                width: 0;
                height: 1px;
                background: var(--hero-accent);
                transition: width 0.3s ease;
            }

            .hero-breadcrumb .breadcrumb-item a:hover {
                color: var(--hero-accent);
            }

                .hero-breadcrumb .breadcrumb-item a:hover::after {
                    width: 100%;
                }

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

    .scroll-indicator::before {
        content: '';
        display: block;
        width: 30px;
        height: 50px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 25px;
        position: relative;
    }

    .scroll-indicator::after {
        content: '';
        display: block;
        width: 6px;
        height: 10px;
        background: white;
        border-radius: 3px;
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        animation: scrollWheel 2s infinite;
    }

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

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

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

@keyframes scrollWheel {
    0% {
        opacity: 1;
        top: 10px;
    }

    100% {
        opacity: 0;
        top: 30px;
    }
}

/* Homepage Hero Special Styles */
.hero-primary {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 25%, #24243e 50%, #16213e 75%, #0f3460 100%);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}
.hero-primary {
    background: linear-gradient(135deg, #FAFAFA 0%, /* Light Grey */
    #FFFFF0 25%, /* Ivory */
    #F5F5F5 50%, /* White Smoke */
    #FFF8DC 75%, /* Cornsilk */
    #FAF0E6 100% /* Linen */
    );
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-primary h1 {
    font-size: clamp(2.5rem, 6.5vw, 4.5rem);
    animation: heroTitle 1.5s ease-out;
}

@keyframes heroTitle {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

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

/* Responsive Design */
@media (max-width: 768px) {
    .page-hero {
        min-height: 80vh;
        padding: 120px 0 60px;
    }

    .hero-glass-container {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .page-hero h1 {
        font-size: clamp(2rem, 6vw, 3rem);
        letter-spacing: -1px;
    }

    .page-hero .lead {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

        .hero-buttons .btn {
            width: 100%;
            max-width: 300px;
            margin: 0 auto;
        }

    .floating-shape-1,
    .floating-shape-2 {
        display: none;
    }
}

/* Additional Premium Effects */
.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--hero-accent) 0%, var(--hero-accent-light) 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease-out;
    box-shadow: 0 5px 15px rgba(232, 122, 61, 0.3);
}

/* Glowing Effect */
.glow-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at center, rgba(232, 122, 61, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.hero-about {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-services {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e57c2 100%);
}

.hero-portfolio {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
}

.hero-testimonials {
     background: linear-gradient(135deg, #3d2814 0%, #8b5a3c 50%, #daa520 100%); 
}

.hero-clients {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.hero-contact {
    background: linear-gradient(135deg, #11998e 0%, #1e6b7b 50%, #38495a 100%);
}

/* Shape animations optimized for mobile */
.shape {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  transform: translateZ(0); /* Hardware acceleration */
}

.shape-1 {
  background-color: rgba(210, 105, 30, 0.1);
  width: 300px;
  height: 300px;
  right: -150px;
  top: -50px;
  animation: floatAnimation 15s ease-in-out infinite;
}

.shape-2 {
  background-color: rgba(210, 105, 30, 0.05);
  width: 200px;
  height: 200px;
  left: -100px;
  bottom: -50px;
  animation: floatAnimation 18s ease-in-out infinite reverse;
}

@keyframes floatAnimation {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-10px, 10px) rotate(2deg); }
  50% { transform: translate(10px, 20px) rotate(-2deg); }
  75% { transform: translate(-15px, 10px) rotate(1deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* Project Cards - Touch Optimized
-------------------------------------------------- */
.project-card {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  position: relative;
}

/* Transform only on larger screens */
@media (min-width: 992px) {
  .project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
}

/* Touch/tap effect */
.project-card:active {
  transform: scale(0.98);
  transition: var(--transition-fast);
}

.card-img-container {
  overflow: hidden;
  position: relative;
}

.card-img-top {
  transition: transform 0.6s ease;
  width: 100%;
  height: auto;
}

/* Ripple effect for touch feedback */
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  width: 100px;
  height: 100px;
  margin-top: -50px;
  margin-left: -50px;
  animation: ripple 0.6s linear;
  pointer-events: none;
  z-index: 10;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.project-category {
  display: inline-block;
  background-color: rgba(210, 105, 30, 0.1);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

/* Scroll Progress Indicator
-------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background-color: var(--primary-color);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s;
}

/* Scroll-triggered Animations
-------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-in.show {
  opacity: 1;
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.show {
  opacity: 1;
  transform: scale(1);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.show {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.show {
  opacity: 1;
  transform: translateX(0);
}

/* Form elements with mobile touch animations
-------------------------------------------------- */
.form-control {
  border: 1px solid #e2e8f0;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.15);
}

.form-control.active-input {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Shake animation for form validation */
@keyframes shakeX {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.shake-once {
  animation: shakeX 0.5s;
}

/* Parallax backgrounds 
-------------------------------------------------- */
.parallax-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
  will-change: transform;
}

/* Mobile-specific adjustments
-------------------------------------------------- */
@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-heading {
    font-size: 1.8rem;
  }
  
  .experience-box {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  /* More visible mobile touch effects */
  .btn:active,
  .nav-link:active,
  .project-card:active {
    opacity: 0.7;
    transition: opacity 0.15s ease;
  }
  
  /* Subtle float animation for attention */
  .service-icon {
    animation: floatSmall 4s ease-in-out infinite;
  }
  
  @keyframes floatSmall {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }
}

@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .section-heading {
    font-size: 1.6rem;
  }
  
  .hero-buttons .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
  
  /* Smaller animation distances on mobile for better performance */
  [data-aos="fade-up"] {
    transform: translate3d(0, 20px, 0);
  }
  
  [data-aos="fade-down"] {
    transform: translate3d(0, -20px, 0);
  }
  
  [data-aos="fade-right"] {
    transform: translate3d(-20px, 0, 0);
  }
  
  [data-aos="fade-left"] {
    transform: translate3d(20px, 0, 0);
  }
}

/* Touch pulse animation for interactive elements
-------------------------------------------------- */
@keyframes touchPulse {
  0% { transform: scale(1); }
  50% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

.touch-pulse {
  animation: touchPulse 1.5s infinite;
}

/* Intersection observer animation classes with will-change for performance
-------------------------------------------------- */
[data-aos] {
  will-change: transform, opacity;
  backface-visibility: hidden;
}

[data-aos].aos-animate {
  will-change: auto;
}

/* Footer
-------------------------------------------------- */
footer {
  background-color: var(--dark-color);
}

.brand-icon-white {
  background-color: var(--primary-color);
}

.hover-white:hover {
  color: white !important;
}

/* Back to Top Button - Mobile Optimized
-------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease;
  z-index: 99;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:active {
  transform: scale(0.9);
  transition: transform 0.2s ease;
}

@media (min-width: 992px) {
  .back-to-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  }
} 