:root {
    --primary: #ff0000;
    --secondary: #0066ff;
    --dark: #0a0a0a;
    --light: #ffffff;
    --gray: #ffffff;
    --text: #333333;
    --gradient: linear-gradient(135deg, #0066ff, #00ccff);
    --gradient-alt: linear-gradient(135deg, #ff0066, #ff6600);
}

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

/* Performance optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Optimize animations for performance */
.floating-cards,
.hero-visual,
.portfolio-item,
.service-card {
    will-change: transform;
}

/* Reduce animation complexity for better performance */
/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Optimize animations for better performance */
@media (max-width: 768px) {
    .float-card {
        animation: none !important;
        transform: none !important;
    }
    
    .floating-cards {
        animation: none !important;
    }
    
    .containerPulse {
        animation: none !important;
    }
}

/* Reduce animation complexity on slower devices */
@media (max-width: 480px) {
    .hero-text h1,
    .hero-text p,
    .hero-buttons {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .service-card,
    .testimonial-card,
    .portfolio-item {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .testimonials {
        padding: 2rem 3%;
    }
    
    .testimonial-card {
        min-width: auto;
        max-width: none;
        width: 100%;
        padding: 1.25rem;
        border-radius: 15px;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .testimonial-text::before {
        font-size: 2rem;
        top: -0.6rem;
        left: -0.2rem;
    }
    
    .testimonial-author {
        font-size: 0.8rem;
    }
    
    .testimonial-author::before {
        width: 25px;
        margin-bottom: 0.4rem;
    }
    
    .testimonial-controls {
        margin-top: 1rem;
        gap: 0.8rem;
    }
    
    .testimonial-nav {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }
    
    .indicator {
        width: 6px;
        height: 6px;
    }
    
    .testimonial-rating {
        font-size: 0.7rem;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    overflow-x: hidden;
    background: #000000;
    position: relative;
}

/* Add padding for fixed header on mobile */
@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }
}

/* Confirmation Message Styles */
.confirmation-container {
    display: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    text-align: center;
    margin-top: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 0.6s ease-out, slideUp 0.6s ease-out;
}

.confirmation-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.confirmation-message h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.confirmation-message p {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 2rem;
}

.btn-back {
    background: var(--gradient);
    color: var(--light);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-back:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
    }
    to {
        transform: translateY(0);
    }
}

/* Rest of your existing CSS styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--light);
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

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

.nav-links a {
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

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

.hero {
    height: 100vh;
    background: transparent;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

#particles-js, #meteors-canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    top: 0;
    left: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 0, 102, 0.1) 0%, transparent 50%);
    animation: gradientShift 10s ease infinite;
}

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

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

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--light);
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 4;
}

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

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

.hero-text p {
    font-size: 1.3rem;
    color: #cccccc;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
    position: relative;
    z-index: 4;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.6s both;
    position: relative;
    z-index: 4;
}

.btn-primary {
    background: var(--gradient);
    color: var(--light);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

@media (max-width: 768px) {
  .btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}


.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    padding: 1rem 2rem;
    border: 2px solid var(--primary);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.2);
}

.hero-visual {
    position: relative;
    animation: fadeIn 1.5s ease-out;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.floating-cards {
    position: relative;
    height: 500px;
    padding: 20px;
    z-index: 4;
    animation: containerPulse 25s ease-in-out infinite;
}

@keyframes containerPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.01) rotate(0.2deg);
    }
    50% {
        transform: scale(1.02) rotate(-0.1deg);
    }
    75% {
        transform: scale(1.005) rotate(0.3deg);
    }
}

.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    color: var(--light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 120px;
    height: 120px;
    z-index: 5;
    cursor: pointer;
    animation-fill-mode: both;
}

.float-card i {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    transition: all 0.4s ease;
}

.float-card h4 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
}

.float-card p {
    font-size: 0.7rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.float-card:hover h4,
.float-card:hover p {
    color: #ffffff;
    opacity: 1;
}

/* Individual Card Positioning and Unique Animations */
.float-card:nth-child(1) {
    top: 60px;
    left: 10px;
    animation:
        float1 7.3s ease-in-out infinite,
        drift1 11.7s linear infinite,
        rotate1 13.2s ease-in-out infinite,
        pulse1 5.8s ease-in-out infinite,
        glow 6.2s ease-in-out infinite;
}

.float-card:nth-child(2) {
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    animation:
        float2 5.9s ease-in-out infinite,
        drift2 14.3s linear infinite,
        rotate2 9.1s ease-in-out infinite,
        glow 4.7s ease-in-out infinite;
    z-index: 0;
}

.float-card:nth-child(3) {
    top: 60%;
    left: -20px;
    transform: translateY(-50%);
    animation:
        float3 6.8s ease-in-out infinite,
        drift3 8.9s linear infinite,
        rotate3 12.4s ease-in-out infinite,
        wiggle1 3.2s ease-in-out infinite,
        glow 7.1s ease-in-out infinite;
}

.float-card:nth-child(4) {
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    animation:
        float4 8.4s ease-in-out infinite,
        drift4 12.1s linear infinite,
        rotate4 7.6s ease-in-out infinite,
        glow 5.9s ease-in-out infinite;
}

.float-card:nth-child(5) {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation:
        float5 4.7s ease-in-out infinite,
        drift5 10.3s linear infinite,
        rotate5 11.8s ease-in-out infinite,
        wiggle2 4.1s ease-in-out infinite,
        glow 5.3s ease-in-out infinite;
}

/* Floating Animations */
@keyframes float1 {
    0% { transform: translateY(0px) translateX(0px); }
    15% { transform: translateY(-18px) translateX(3px); }
    30% { transform: translateY(-8px) translateX(-2px); }
    45% { transform: translateY(-25px) translateX(5px); }
    60% { transform: translateY(-12px) translateX(-1px); }
    75% { transform: translateY(-30px) translateX(2px); }
    90% { transform: translateY(-5px) translateX(-3px); }
    100% { transform: translateY(0px) translateX(0px); }
}

@keyframes float2 {
    0% { transform: translateX(-50%) translateY(0px); }
    12% { transform: translateX(-50%) translateY(-22px); }
    25% { transform: translateX(-50%) translateY(-7px); }
    40% { transform: translateX(-50%) translateY(-35px); }
    55% { transform: translateX(-50%) translateY(-15px); }
    70% { transform: translateX(-50%) translateY(-28px); }
    85% { transform: translateX(-50%) translateY(-3px); }
    100% { transform: translateX(-50%) translateY(0px); }
}

@keyframes float3 {
    0% { transform: translateY(-50%) translateX(0px); }
    20% { transform: translateY(-50%) translateX(-15px); }
    35% { transform: translateY(-50%) translateX(8px); }
    50% { transform: translateY(-50%) translateX(-22px); }
    65% { transform: translateY(-50%) translateX(12px); }
    80% { transform: translateY(-50%) translateX(-8px); }
    100% { transform: translateY(-50%) translateX(0px); }
}

@keyframes float4 {
    0% { transform: translateY(-50%) translateX(0px); }
    18% { transform: translateY(-50%) translateX(-12px) translateY(-58%); }
    33% { transform: translateY(-50%) translateX(7px) translateY(-45%); }
    48% { transform: translateY(-50%) translateX(-20px) translateY(-42%); }
    63% { transform: translateY(-50%) translateX(15px) translateY(-55%); }
    78% { transform: translateY(-50%) translateX(-5px) translateY(-48%); }
    100% { transform: translateY(-50%) translateX(0px); }
}

@keyframes float5 {
    0% { transform: translateX(-50%) translateY(0px); }
    25% { transform: translateX(-50%) translateY(-28px); }
    45% { transform: translateX(-50%) translateY(-10px); }
    65% { transform: translateX(-50%) translateY(-32px); }
    85% { transform: translateX(-50%) translateY(-6px); }
    100% { transform: translateX(-50%) translateY(0px); }
}

/* Drift Animations */
@keyframes drift1 {
    0% { transform: translateX(0px); }
    20% { transform: translateX(12px); }
    40% { transform: translateX(-8px); }
    60% { transform: translateX(15px); }
    80% { transform: translateX(-5px); }
    100% { transform: translateX(0px); }
}

@keyframes drift2 {
    0% { transform: translateX(-50%); }
    15% { transform: translateX(calc(-50% + 10px)); }
    30% { transform: translateX(calc(-50% - 7px)); }
    45% { transform: translateX(calc(-50% + 14px)); }
    60% { transform: translateX(calc(-50% - 11px)); }
    75% { transform: translateX(calc(-50% + 6px)); }
    90% { transform: translateX(calc(-50% - 3px)); }
    100% { transform: translateX(-50%); }
}

@keyframes drift3 {
    0% { transform: translateY(-50%) translateX(0px); }
    25% { transform: translateY(-50%) translateX(10px); }
    50% { transform: translateY(-50%) translateX(-12px); }
    75% { transform: translateY(-50%) translateX(8px); }
    100% { transform: translateY(-50%) translateX(0px); }
}

@keyframes drift4 {
    0% { transform: translateY(-50%) translateX(0px); }
    30% { transform: translateY(-50%) translateX(-9px); }
    60% { transform: translateY(-50%) translateX(13px); }
    100% { transform: translateY(-50%) translateX(0px); }
}

@keyframes drift5 {
    0% { transform: translateX(-50%) translateX(0px); }
    35% { transform: translateX(-50%) translateX(-14px); }
    70% { transform: translateX(-50%) translateX(11px); }
    100% { transform: translateX(-50%) translateX(0px); }
}

/* Rotation Animations */
@keyframes rotate1 {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(2deg); }
    50% { transform: rotate(-1deg); }
    75% { transform: rotate(3deg); }
}

@keyframes rotate2 {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    20% { transform: translateX(-50%) rotate(-2deg); }
    40% { transform: translateX(-50%) rotate(1deg); }
    60% { transform: translateX(-50%) rotate(-3deg); }
    80% { transform: translateX(-50%) rotate(2deg); }
}

@keyframes rotate3 {
    0%, 100% { transform: translateY(-50%) rotate(0deg); }
    33% { transform: translateY(-50%) rotate(2deg); }
    66% { transform: translateY(-50%) rotate(-2deg); }
}

@keyframes rotate4 {
    0%, 100% { transform: translateY(-50%) rotate(0deg); }
    30% { transform: translateY(-50%) rotate(-1deg); }
    60% { transform: translateY(-50%) rotate(3deg); }
}

@keyframes rotate5 {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    40% { transform: translateX(-50%) rotate(2deg); }
    80% { transform: translateX(-50%) rotate(-1deg); }
}

/* Pulse and Wiggle Effects */
@keyframes pulse1 {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes wiggle1 {
    0%, 100% { transform: translateY(-50%) skew(0deg); }
    25% { transform: translateY(-50%) skew(1deg); }
    75% { transform: translateY(-50%) skew(-1deg); }
}

@keyframes wiggle2 {
    0%, 100% { transform: translateX(-50%) skew(0deg); }
    33% { transform: translateX(-50%) skew(-1deg); }
    66% { transform: translateX(-50%) skew(1deg); }
}

/* Glow Effect */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        filter: brightness(1);
    }
    20% {
        box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3), 0 0 20px rgba(0, 102, 255, 0.1);
        filter: brightness(1.1);
    }
    40% {
        box-shadow: 0 10px 30px rgba(255, 0, 102, 0.3), 0 0 25px rgba(255, 0, 102, 0.15);
        filter: brightness(1.05);
    }
    60% {
        box-shadow: 0 10px 30px rgba(0, 204, 255, 0.25), 0 0 15px rgba(0, 204, 255, 0.1);
        filter: brightness(1.08);
    }
    80% {
        box-shadow: 0 10px 30px rgba(102, 255, 102, 0.25), 0 0 20px rgba(102, 255, 102, 0.1);
        filter: brightness(1.06);
    }
}

.floating-cards {
    position: relative;
    height: 500px;
    animation: breathe 20s ease-in-out infinite;
}

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

/* Services Section - Enhanced with hero theme */
.services {
    padding: 5rem 5%;
    background: transparent;
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(0, 102, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 0, 102, 0.08) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
    z-index: 1;
}

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

.services .section-title h2 {
    color: var(--light);
}

.services .section-title p {
    color: #cccccc;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-card h3 {
    color: var(--light);
}

.service-features li {
    color: #cccccc;
}

.service-features li::before {
    color: var(--primary);
}

.about {
    padding: 5rem 5%;
    background: transparent;
    color: var(--light);
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

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

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Testimonials Section - Enhanced with hero theme */
.testimonials {
    padding: 5rem 5%;
    background: transparent;
    color: var(--light);
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 40% 60%, rgba(0, 102, 255, 0.07) 0%, transparent 50%),
        radial-gradient(circle at 60% 40%, rgba(255, 0, 102, 0.07) 0%, transparent 50%);
    animation: gradientShift 18s ease infinite;
    z-index: 1;
}

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

.testimonials .section-title h2 {
    color: var(--light);
}

.testimonials .section-title p {
    color: #cccccc;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-text {
    color: #cccccc;
}

.testimonial-author {
    color: var(--light);
}

/* FAQ Section - Enhanced with hero theme */
.faq {
    padding: 5rem 5%;
    background: transparent;
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 25% 75%, rgba(0, 102, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(255, 0, 102, 0.05) 0%, transparent 50%);
    animation: gradientShift 14s ease infinite reverse;
    z-index: 1;
}

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

.faq .section-title h2 {
    color: var(--light);
}

.faq .section-title p {
    color: #cccccc;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.faq-question {
    color: var(--light);
}

.faq-answer {
    color: #cccccc;
}

.contact {
    padding: 5rem 5%;
    background: var(--light);
}

    .contact-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start;
    }

    .space-animation-container {
        height: 500px;
    }

    .space-text h3 {
        font-size: 1.3rem;
    }

    .space-text p {
        font-size: 0.9rem;
    }

.contact-form-container {
    display: flex;
    flex-direction: column;
}

.contact-form {
    background: var(--gray);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Adventure Section Styles */
.adventure {
    padding: 5rem 5%;
    background: transparent;
    color: var(--light);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.adventure-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
}

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

.space-content {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Planets */
.planet {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(100, 100, 255, 0.6));
    box-shadow: 
        inset -10px -10px 20px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(100, 100, 255, 0.3);
    animation: planetFloat 8s ease-in-out infinite;
}

.planet-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.planet-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 25%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 200, 100, 0.8), rgba(255, 150, 50, 0.6));
    box-shadow: 
        inset -8px -8px 16px rgba(0, 0, 0, 0.3),
        0 0 16px rgba(255, 150, 50, 0.3);
    animation-delay: 2s;
}

.planet-3 {
    width: 40px;
    height: 40px;
    top: 30%;
    right: 15%;
    background: radial-gradient(circle at 30% 30%, rgba(100, 255, 100, 0.8), rgba(50, 200, 50, 0.6));
    box-shadow: 
        inset -6px -6px 12px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(50, 200, 50, 0.3);
    animation-delay: 4s;
}

/* Asteroids */
.asteroid {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #888, #aaa);
    border-radius: 50%;
    animation: asteroidMove 12s linear infinite;
}

.asteroid-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.asteroid-2 {
    top: 70%;
    left: 80%;
    animation-delay: 4s;
}

.asteroid-3 {
    top: 40%;
    left: 60%;
    animation-delay: 8s;
}

/* Stars */
.star-field {
    position: absolute;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    animation: starTwinkle 3s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.star-1 { top: 15%; left: 15%; animation-delay: 0s; }
.star-2 { top: 25%; left: 75%; animation-delay: 0.3s; }
.star-3 { top: 45%; left: 25%; animation-delay: 0.6s; }
.star-4 { top: 55%; left: 85%; animation-delay: 0.9s; }
.star-5 { top: 75%; left: 35%; animation-delay: 1.2s; }
.star-6 { top: 85%; left: 65%; animation-delay: 1.5s; }
.star-7 { top: 35%; left: 45%; animation-delay: 1.8s; }
.star-8 { top: 65%; left: 15%; animation-delay: 2.1s; }
.star-9 { top: 20%; left: 55%; animation-delay: 2.4s; }
.star-10 { top: 80%; left: 45%; animation-delay: 2.7s; }

/* Space Text */
.space-text {
    text-align: center;
    color: white;
    width: 100%;
    max-width: 500px;
}

.space-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.3);
    animation: textGlow 4s ease-in-out infinite;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.space-text p {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.95;
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 0.7),
        0 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.5rem;
    color: #ffffff;
}

/* Space Features */
.space-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.space-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: featureFloat 6s ease-in-out infinite;
}

.space-feature:nth-child(1) { animation-delay: 0s; }
.space-feature:nth-child(2) { animation-delay: 2s; }
.space-feature:nth-child(3) { animation-delay: 4s; }

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

.space-feature i {
    font-size: 1.5rem;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
}

.space-feature span {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
}

/* Space CTA */
.space-cta {
    text-align: center;
}

.space-cta p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.2px;
}

/* Space Stats */
.space-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.space-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.8rem 1.2rem;
    background: rgba(0, 102, 255, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(0, 102, 255, 0.3);
    transition: all 0.3s ease;
    animation: statPulse 4s ease-in-out infinite;
}

.space-stat:nth-child(1) { animation-delay: 0s; }
.space-stat:nth-child(2) { animation-delay: 1.3s; }
.space-stat:nth-child(3) { animation-delay: 2.6s; }

.space-stat:hover {
    transform: scale(1.05);
    background: rgba(0, 102, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
}

.space-stat .stat-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 
        0 0 15px rgba(0, 102, 255, 0.8),
        0 0 30px rgba(0, 102, 255, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.space-stat .stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 0.7),
        0 2px 4px rgba(0, 0, 0, 0.2);
}

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

@keyframes asteroidMove {
    0% { 
        transform: translateX(-100px) translateY(0px) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { 
        transform: translateX(calc(100vw + 100px)) translateY(100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes starTwinkle {
    0%, 100% { 
        opacity: 0.6;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.4);
    }
}

@keyframes textGlow {
    0%, 100% { 
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }
    50% { 
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(100, 100, 255, 0.5);
    }
}

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

@keyframes statPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 rgba(0, 102, 255, 0.3);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
    }
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: var(--light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    box-shadow: 0 2px 20px rgba(0, 102, 255, 0.2);
}

.submit-btn {
    background: var(--gradient);
    color: var(--light);
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
}

/* Footer - Enhanced with hero theme */
.footer {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    color: var(--light);
    position: relative;
    overflow: hidden;
    z-index: 2;
    padding: 3rem 0 1rem;
    overflow-x: hidden;
}

/* Override container styles for footer */
.footer .container {
    max-width: 100%;
    margin: 0;
    padding: 0 1.5rem;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(0, 102, 255, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 0, 102, 0.04) 0%, transparent 50%);
    animation: gradientShift 20s ease infinite;
    z-index: 1;
}

/* Footer Content Grid */
.footer-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Desktop Responsive Breakpoints */
@media (min-width: 1400px) {
    .footer-content {
        grid-template-columns: 2.5fr 1fr 1fr 1fr 1.5fr;
        gap: 3rem;
        max-width: 1600px;
    }
    
    .footer-section h3 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-section p {
        font-size: 1.1rem;
        line-height: 1.7;
    }
    
    .footer-logo h3 {
        font-size: 1.8rem;
    }
    
    .footer-logo-img {
        width: 50px;
        height: 50px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .social-link i {
        font-size: 1.3rem;
    }
    
    .footer-section ul li a {
        font-size: 1.05rem;
    }
    
    .contact-item {
        font-size: 1.05rem;
    }
    
    .newsletter-input-group input {
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }
    
    .newsletter-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
        gap: 2.5rem;
        max-width: 1400px;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 1.3rem;
    }
    
    .footer-section p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .footer-logo h3 {
        font-size: 1.6rem;
    }
    
    .footer-logo-img {
        width: 45px;
        height: 45px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
    }
    
    .social-link i {
        font-size: 1.25rem;
    }
    
    .footer-section ul li a {
        font-size: 1rem;
    }
    
    .contact-item {
        font-size: 1rem;
    }
    
    .newsletter-input-group input {
        padding: 0.9rem 1.1rem;
        font-size: 0.95rem;
    }
    
    .newsletter-btn {
        padding: 0.9rem 1.3rem;
        font-size: 0.95rem;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
        gap: 2rem;
        max-width: 1200px;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .footer-section p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .footer-logo h3 {
        font-size: 1.5rem;
    }
    
    .footer-logo-img {
        width: 42px;
        height: 42px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link i {
        font-size: 1.2rem;
    }
    
    .footer-section ul li a {
        font-size: 0.95rem;
    }
    
    .contact-item {
        font-size: 0.95rem;
    }
    
    .newsletter-input-group input {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .newsletter-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
        gap: 1.8rem;
        max-width: 1000px;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1.1rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .footer-logo h3 {
        font-size: 1.4rem;
    }
    
    .footer-logo-img {
        width: 40px;
        height: 40px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
    }
    
    .social-link i {
        font-size: 1.1rem;
    }
    
    .footer-section ul li a {
        font-size: 0.9rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    .newsletter-input-group input {
        padding: 0.7rem 0.9rem;
        font-size: 0.85rem;
    }
    
    .newsletter-btn {
        padding: 0.7rem 1.1rem;
        font-size: 0.85rem;
    }
}

/* Company Info Section */
.footer-section:first-child {
    grid-column: 1;
}

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

.footer-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo h3 {
    color: var(--light);
    font-size: 1.5rem;
    margin: 0;
}

.footer-section p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

.social-link i {
    font-size: 1.2rem;
    z-index: 1;
    position: relative;
}

/* Footer Sections */
.footer-section h3 {
    color: var(--light);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-section:hover h3::after {
    width: 50px;
}

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

.footer-section ul li {
    padding: 0.5rem 0;
    transition: transform 0.3s ease;
    margin-bottom: 0.2rem;
}

.footer-section ul li:hover {
    transform: translateX(5px);
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a::before {
    content: '→';
    color: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover::before {
    opacity: 1;
}

.footer-section ul li a:hover {
    color: var(--primary);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #cccccc;
    transition: color 0.3s ease;
    min-width: 0;
    flex-wrap: nowrap;
    flex-direction: row;
}

.contact-item span {
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
    white-space: nowrap;
    display: inline;
    margin-right: 1rem;
}

/* Desktop specific rules to ensure email stays next to icon */
@media (min-width: 769px) {
    .contact-item {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
    }
    
    .contact-item span {
        white-space: nowrap !important;
        display: inline !important;
    }
    
    /* Add right padding for footer in PC mode */
    .footer .container {
        padding-right: 4rem !important;
    }
}

.contact-item:hover {
    color: var(--primary);
}

.contact-item i {
    color: var(--primary);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Newsletter Section */
.newsletter-section {
    grid-column: 5;
}

.newsletter-form {
    margin: 1rem 0;
}

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

.newsletter-input-group input {
    flex: 1;
    padding: 0.8rem 1.2rem 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 0;
    box-sizing: border-box;
}

.newsletter-input-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-input-group input::placeholder {
    color: #cccccc;
}

.newsletter-btn {
    padding: 0.8rem 1rem;
    background: var(--primary);
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

.newsletter-btn i {
    font-size: 1rem;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cccccc;
    font-size: 0.9rem;
}

.trust-item i {
    color: #4CAF50;
    font-size: 1rem;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    width: 100%;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #cccccc;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #cccccc !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    padding: 0.5rem 1rem !important;
    border-radius: 4px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    display: inline-block !important;
    position: relative !important;
    z-index: 10 !important;
    pointer-events: auto !important;
}

.footer-bottom-links a:hover {
    color: var(--primary) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

/* Responsive Footer */
@media (max-width: 1200px) {
    .footer .container {
        padding: 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
        padding: 0;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        grid-row: 1;
    }
    
    .newsletter-section {
        grid-column: 1 / -1;
        grid-row: 4;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer .container {
        padding: 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
        padding: 0;
    }
    
    .footer-section:first-child {
        grid-column: 1;
        grid-row: auto;
    }
    
    .newsletter-section {
        grid-column: 1;
        grid-row: auto;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    
    .footer-logo-img {
        width: 50px;
        height: 50px;
    }
    
    .footer-logo h3 {
        font-size: 1.8rem;
    }
    
    .footer-section p {
        margin-bottom: 2rem;
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .social-links {
        justify-content: center;
        gap: 1.2rem;
        margin-top: 1.5rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .social-link i {
        font-size: 1.3rem;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-section ul {
        margin-bottom: 1rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0.8rem;
        padding: 0.3rem 0;
    }
    
    .footer-section ul li a {
        font-size: 0.95rem;
        justify-content: center;
    }
    
    .contact-info {
        align-items: center;
        gap: 1.2rem;
    }
    
    .contact-item {
        justify-content: center;
        margin-bottom: 1rem;
        font-size: 0.95rem;
    }
    
    .contact-item i {
        font-size: 1.2rem;
        width: 25px;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .newsletter-input-group input {
        padding: 1rem 1.2rem;
        font-size: 1rem;
        border-radius: 8px;
        box-sizing: border-box;
    }
    
    .newsletter-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    .newsletter-btn i {
        font-size: 1.2rem;
    }
    
    .trust-indicators {
        justify-content: center;
        gap: 2rem;
        margin-top: 1.5rem;
    }
    
    .trust-item {
        font-size: 0.9rem;
    }
    
    .trust-item i {
        font-size: 1.1rem;
        margin-right: 0.5rem;
    }
    
    .footer-bottom {
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-bottom p {
        font-size: 0.9rem;
        margin: 0;
    }
    
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .footer-bottom-links a {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        border-radius: 5px;
        background: rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .footer-bottom-links a:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }
}

@media (max-width: 480px) {
    .footer .container {
        padding: 0 1.5rem;
    }
    
    .footer-content {
        gap: 2rem;
        padding: 0;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .footer-logo h3 {
        font-size: 1.6rem;
    }
    
    .footer-logo-img {
        width: 45px;
        height: 45px;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link i {
        font-size: 1.1rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .footer-section ul li a {
        font-size: 0.9rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-item i {
        font-size: 1.1rem;
        width: 20px;
    }
    
    .newsletter-input-group input {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
        box-sizing: border-box;
    }
    
    .newsletter-btn {
        padding: 0.9rem;
        font-size: 0.95rem;
    }
    
    .trust-indicators {
        gap: 1.5rem;
    }
    
    .trust-item {
        font-size: 0.85rem;
    }
    
    .footer-bottom-links {
        gap: 1rem;
    }
    
    .footer-bottom-links a {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
        cursor: pointer;
    }
}

@media (max-width: 360px) {
    .footer .container {
        padding: 0 1.2rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-logo h3 {
        font-size: 1.4rem;
    }
    
    .footer-logo-img {
        width: 40px;
        height: 40px;
    }
    
    .social-links {
        gap: 0.8rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .social-link i {
        font-size: 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-section p {
        font-size: 0.85rem;
    }
    
    .footer-section ul li a {
        font-size: 0.85rem;
    }
    
    .contact-item {
        font-size: 0.85rem;
    }
    
    .newsletter-input-group input {
        padding: 0.8rem 1.1rem;
        font-size: 0.9rem;
        box-sizing: border-box;
    }
    
    .newsletter-btn {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .trust-indicators {
        gap: 1rem;
    }
    
    .trust-item {
        font-size: 0.8rem;
    }
    
    .footer-bottom-links {
        gap: 0.8rem;
    }
    
    .footer-bottom-links a {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
        cursor: pointer;
    }
}

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

.contact-icon {
    color: white;
    font-size: 1.2rem;
    margin-right: 10px;
}

.mobile-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--light);
    transition: all 0.3s ease;
}

.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1000;
}

.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid var(--primary);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .header {
        position: fixed;
    }

    .nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        padding: 1rem;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 0.5rem 0;
    }

    .mobile-menu {
        display: block;
    }

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

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        margin-bottom: 1rem;
    }

    .hero-visual {
        display: none;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .services,
    .about,
    .contact,
    .testimonials {
        padding: 3rem 3%;
    }

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

    .testimonial-carousel {
        padding: 1rem 0;
        overflow: hidden !important;
        height: auto !important;
        min-height: 300px;
        position: relative;
        width: 100% !important;
    }
    
    .testimonial-grid {
        display: flex !important;
        flex-direction: row !important;
        gap: 0 !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        transition: transform 0.4s ease-in-out !important;
        transform: translateX(0) !important;
        will-change: transform !important;
    }
    
    .testimonial-card {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 1.5rem !important;
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 20px !important;
        color: var(--light) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
        flex-shrink: 0 !important;
    }
    
    /* Show mobile controls for slideshow */
    .testimonial-controls {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1rem !important;
        margin-top: 1.5rem !important;
    }
    
    .testimonial-nav {
        display: flex !important;
        width: 40px !important;
        height: 40px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 50% !important;
        justify-content: center !important;
        align-items: center !important;
        color: var(--light) !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .testimonial-nav:hover {
        background: rgba(255, 255, 255, 0.2) !important;
        transform: scale(1.1) !important;
    }
    
    .testimonial-nav:disabled {
        opacity: 0.5 !important;
        cursor: not-allowed !important;
    }
    
    .testimonial-indicators {
        display: flex !important;
        gap: 0.5rem !important;
        justify-content: center !important;
    }
    
    .indicator {
        display: block !important;
        width: 10px !important;
        height: 10px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.3) !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
    }
    
    .indicator.active {
        background: var(--primary) !important;
        transform: scale(1.2) !important;
    }
    
    .testimonial-card {
        min-width: auto !important;
        max-width: none;
        width: 100% !important;
        margin: 0 auto;
        padding: 1.5rem;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .testimonial-text::before {
        font-size: 2.5rem;
        top: -0.8rem;
        left: -0.3rem;
    }
    
    .testimonial-author {
        font-size: 0.85rem;
    }
    
    .testimonial-controls {
        margin-top: 1.5rem;
        gap: 1rem;
    }
    
    .testimonial-nav {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }

    .portfolio-filters {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

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

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

    .portfolio-cta {
        padding: 2rem 1rem;
    }

    .portfolio-cta h3 {
        font-size: 1.5rem;
    }
}

/* Floating buttons container */
.floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: fadeInSlide 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Button base styles */
.contact-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    transform: scale(1);
}

/* Morphing background effect */
.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    transform: scale(0);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

/* Ripple effect */
.contact-btn::after {
    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: all 0.5s ease-out;
}

.contact-btn:hover::before {
    transform: scale(1.2);
}

.contact-btn:active::after {
    width: 120%;
    height: 120%;
    opacity: 0;
    transition: all 0.3s ease-out;
}

/* WhatsApp button */
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    position: relative;
}

.whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

.whatsapp-btn:hover svg {
    animation: phoneRing 0.8s ease-in-out infinite;
}

/* Email button */
.email-btn {
    background: linear-gradient(135deg, #EA4335 0%, #FBBC04 100%);
    position: relative;
}

.email-btn:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 15px 35px rgba(234, 67, 53, 0.4);
    background: linear-gradient(135deg, #FBBC04 0%, #EA4335 100%);
}

.email-btn:hover svg {
    animation: mailFly 1s ease-in-out infinite;
}

/* Floating effect */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

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

.email-btn {
    animation-delay: -1.5s;
}

/* Entry animation */
@keyframes fadeInSlide {
    0% {
        opacity: 0;
        transform: translateX(100px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Phone ring animation */
@keyframes phoneRing {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

/* Mail fly animation */
@keyframes mailFly {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-3px) rotate(-5deg);
    }
    50% {
        transform: translateY(-6px) rotate(0deg);
    }
    75% {
        transform: translateY(-3px) rotate(5deg);
    }
}

/* Tooltip styles */
.contact-btn .tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: 'Arial', sans-serif;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.contact-btn .tooltip::before {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: #667eea;
}

.contact-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0px);
}

/* Glowing border effect */
.contact-btn {
    position: relative;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    z-index: -2;
    animation: borderGlow 2s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-btn:hover::before {
    opacity: 1;
}

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

/* Magnetic effect */
.floating-contact:hover .contact-btn:not(:hover) {
    transform: scale(0.95);
    opacity: 0.7;
}

/* Responsive design */
@media (max-width: 768px) {
    .floating-contact {
        bottom: 15px;
        right: 15px;
    }
    
    .contact-btn {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
    
    .contact-btn .tooltip {
        display: none;
    }
    
    .contact-btn:hover {
        transform: scale(1.1);
    }
    
    .floating-contact:hover .contact-btn:not(:hover) {
        transform: scale(1);
        opacity: 1;
    }
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 0;
    background: var(--gray);
    position: relative;
    overflow: hidden;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(0, 102, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 0, 102, 0.05) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
}

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

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.filter-btn {
    background: var(--light);
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

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

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

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
}

.filter-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.portfolio-item {
    background: var(--light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 0 30px 0 rgba(0,102,255,0.06);
    transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(50px) scale(0.94);
    position: relative;
}

.portfolio-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: portfolioFadeIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Remove floating animation for even/odd and nth-child delays */
.portfolio-item:nth-child(even),
.portfolio-item:nth-child(1),
.portfolio-item:nth-child(2),
.portfolio-item:nth-child(3),
.portfolio-item:nth-child(4),
.portfolio-item:nth-child(5),
.portfolio-item:nth-child(6),
.portfolio-item:nth-child(7),
.portfolio-item:nth-child(8) {
    animation: none;
    animation-delay: 0s;
}

.portfolio-item:hover {
    transform: translateY(-15px) scale(1.04);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.10) rotate(2deg);
    filter: brightness(1.08);
}

.portfolio-item:hover .portfolio-overlay, .portfolio-item:hover .portfolio-links, .portfolio-item .portfolio-links, .portfolio-overlay { display: none !important; opacity: 0 !important; }

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

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(0.9);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.95), rgba(255, 0, 102, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
}

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

.portfolio-links {
    display: flex;
    gap: 1rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-links {
    transform: translateY(0);
}

.portfolio-link {
    width: 55px;
    height: 55px;
    background: var(--light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(30px) scale(0.8);
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.portfolio-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.portfolio-link:hover::before {
    width: 100%;
    height: 100%;
}

.portfolio-item:hover .portfolio-link {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.portfolio-link:hover {
    color: var(--light);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.4);
}

.portfolio-link i {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.portfolio-link:hover i {
    transform: scale(1.2);
}

.portfolio-link:nth-child(1) {
    transition-delay: 0.1s;
}

.portfolio-link:nth-child(2) {
    transition-delay: 0.2s;
}

.portfolio-info {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    background: var(--light);
}

.portfolio-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    transition: color 0.3s ease;
}

.portfolio-item:hover .portfolio-info h3 {
    color: var(--primary);
}

.portfolio-info p {
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--gradient);
    color: var(--light);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    transform: translateY(0);
    position: relative;
    overflow: hidden;
}

.tag::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;
}

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

.tag:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

.portfolio-cta {
    text-align: center;
    background: var(--light);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    overflow: hidden;
    animation: ctaFloat 8s ease-in-out infinite;
}

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

.portfolio-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05), rgba(255, 0, 102, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-cta:hover::before {
    opacity: 1;
}

.portfolio-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark);
    position: relative;
    z-index: 2;
}

.portfolio-cta p {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.portfolio-cta .btn-primary {
    position: relative;
    z-index: 2;
    animation: btnPulse 2s ease-in-out infinite;
}

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

/* Portfolio Animation */
@keyframes portfolioFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Filter button animations */
.filter-btn {
    animation: filterBtnFloat 4s ease-in-out infinite;
}

.filter-btn:nth-child(1) { animation-delay: 0s; }
.filter-btn:nth-child(2) { animation-delay: 0.5s; }
.filter-btn:nth-child(3) { animation-delay: 1s; }
.filter-btn:nth-child(4) { animation-delay: 1.5s; }
.filter-btn:nth-child(5) { animation-delay: 2s; }
.filter-btn:nth-child(6) { animation-delay: 2.5s; }

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

/* Add floating particles effect to all sections */
.services::after,
.about::after,
.testimonials::after,
.faq::after,
.contact::after,
.portfolio::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255, 255, 255, 0.1), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particleFloat 20s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-100px);
    }
}

/* Container and Section Title Styles */
.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
}

.section-title p {
    font-size: 1.2rem;
    color: #666;
}

/* Services Grid Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}



.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--light);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--light);
}

.service-features {
    list-style: none;
    margin-top: 1rem;
}

.service-features li {
    padding: 0.3rem 0;
    color: #cccccc;
    transition: transform 0.3s ease;
}

.service-card:hover .service-features li {
    transform: translateX(10px);
}

.service-features li::before {
    content: '✓';
    color: var(--primary);
    margin-right: 0.5rem;
}

/* Contact Section - Enhanced with hero theme */
.contact {
    padding: 5rem 5%;
    background: transparent;
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 35% 65%, rgba(0, 102, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 65% 35%, rgba(255, 0, 102, 0.08) 0%, transparent 50%);
    animation: gradientShift 16s ease infinite;
    z-index: 1;
}

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

.contact .section-title h2 {
    color: var(--light);
}

.contact .section-title p {
    color: #cccccc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-container {
    order: 2;
}

.space-animation-container {
    order: 1;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--light);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #cccccc;
}

.submit-btn {
    background: var(--gradient);
    color: var(--light);
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

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

/* Testimonial Grid and Carousel Styles */
.testimonial-carousel {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    margin: 0 auto;
    max-width: 100%;
}

/* Ensure testimonial cards are always visible */
.testimonial-card {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.testimonial-grid {
    display: flex;
    transition: transform 0.6s ease-in-out;
    gap: 2rem;
    align-items: stretch;
    width: 100%;
    transform: translateX(0);
}

.testimonial-card {
    min-width: 300px;
    max-width: 400px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

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

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #cccccc;
    line-height: 1.6;
    font-size: 1rem;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: rgba(0, 102, 255, 0.3);
    position: absolute;
    top: -1rem;
    left: -0.5rem;
    font-family: serif;
}

.testimonial-author {
    font-weight: bold;
    color: var(--light);
    font-size: 0.9rem;
    opacity: 0.9;
    position: relative;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.testimonial-author p {
    margin: 0;
    font-weight: bold;
    color: var(--light);
    font-size: 0.9rem;
    opacity: 0.9;
}

.testimonial-rating {
    display: flex;
    gap: 0.2rem;
    color: #FFD700;
    font-size: 0.8rem;
}

.testimonial-rating i {
    animation: starTwinkle 2s ease-in-out infinite;
}

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

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-nav {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.testimonial-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.testimonial-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

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

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

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

.indicator:hover {
    background: rgba(255, 255, 255, 0.5);
}

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

/* FAQ Item Styles */
.faq-item {
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.faq-question {
    font-weight: bold;
    margin-bottom: 0.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--light);
}

.faq-answer {
    display: none;
    padding-top: 0.5rem;
    animation: fadeIn 0.5s ease-out;
    color: #cccccc;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer Content Grid */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    padding: 3rem 5% 1rem;
}

/* Section Particles Canvas */
.section-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Ensure sections have proper positioning for particles */
.services,
.about,
.portfolio,
.testimonials,
.faq,
.contact {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Enhanced Visual Effects for Hero Theme Consistency */

/* Subtle glow effects for cards */
.service-card,
.testimonial-card,
.faq-item,
.contact-form,
.portfolio-item {
    position: relative;
    overflow: hidden;
}



/* Enhanced button styles to match hero theme */
.btn-primary,
.submit-btn {
    position: relative;
    overflow: hidden;
}

/* Enhanced section titles with glow */
.section-title h2 {
    position: relative;
}

.section-title h2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section-title:hover h2::before {
    opacity: 1;
}

/* Enhanced floating cards effect for sections */
.service-card,
.testimonial-card,
.faq-item {
    animation: subtleFloat 6s ease-in-out infinite;
}

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

/* Staggered animation delays for cards */
.service-card:nth-child(1) { animation-delay: 0s; }
.service-card:nth-child(2) { animation-delay: 0.5s; }
.service-card:nth-child(3) { animation-delay: 1s; }
.service-card:nth-child(4) { animation-delay: 1.5s; }
.service-card:nth-child(5) { animation-delay: 2s; }

.testimonial-card:nth-child(1) { animation-delay: 0s; }
.testimonial-card:nth-child(2) { animation-delay: 0.3s; }
.testimonial-card:nth-child(3) { animation-delay: 0.6s; }
.testimonial-card:nth-child(4) { animation-delay: 0.9s; }
.testimonial-card:nth-child(5) { animation-delay: 1.2s; }

/* Enhanced form inputs with hero theme */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.3), 0 0 40px rgba(0, 102, 255, 0.1);
    border-color: var(--primary);
}

/* Enhanced portfolio filters */
.filter-btn {
    position: relative;
    overflow: hidden;
}

/* Enhanced stats with glow effect */
.stat-item {
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

/* Enhanced section backgrounds with more dynamic gradients */
.services::before,
.about::before,
.testimonials::before,
.faq::before,
.contact::before,
.portfolio::before {
    background: 
        radial-gradient(circle at 30% 20%, rgba(0, 102, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 0, 102, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.005) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

/* Enhanced particle effects for sections */
.section-particles {
    opacity: 0.6;
    filter: blur(0.5px);
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .section-particles {
        opacity: 0.4;
    }
    
    .service-card,
    .testimonial-card,
    .faq-item {
        animation: none;
    }

    /* Contact section mobile layout */
    .contact-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-form-container {
        order: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 0 auto;
        padding: 0 1rem;
    }
    
    .contact-form {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-info-container {
        order: 2;
    }

    .space-text h3 {
        font-size: 1.4rem;
        font-weight: 700;
    }

    .space-text p {
        font-size: 1rem;
        font-weight: 500;
    }

    .planet-1 {
        width: 60px;
        height: 60px;
    }

    .planet-2 {
        width: 45px;
        height: 45px;
    }

    .planet-3 {
        width: 30px;
        height: 30px;
    }

    /* Mobile responsive for new space content */
    .space-features {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .space-feature {
        padding: 0.8rem;
        font-size: 0.8rem;
    }

    .space-feature i {
        font-size: 1.2rem;
    }

    .space-feature span {
        font-size: 0.9rem;
        font-weight: 700;
    }

    .space-cta p {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .space-stats {
        gap: 1rem;
    }

    .space-stat {
        padding: 0.6rem 1rem;
    }

    .space-stat .stat-number {
        font-size: 1.2rem;
        font-weight: 800;
    }

    .space-stat .stat-label {
        font-size: 0.75rem;
        font-weight: 600;
    }
}

/* Contact Section Additional Styles */

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Make email card span full width on smaller screens */
@media (max-width: 1200px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 80px;
}



.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
    border-color: rgba(0, 102, 255, 0.5);
}

.contact-icon-wrapper {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

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

.contact-info-card:hover .contact-icon-wrapper::before {
    transform: translateX(100%);
}

.contact-icon-wrapper i {
    color: var(--light);
    font-size: 1.2rem;
    z-index: 1;
}

.contact-details h4 {
    color: var(--light);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details {
    flex: 1;
    min-width: 0;
}

.contact-details p {
    color: var(--light);
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 500;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
}

.contact-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-style: italic;
}

/* Social Media Section */
.social-contact-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-contact-section h4 {
    color: var(--light);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

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

/* Compact grid for contact form social media */
.social-contact-section .social-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: var(--light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Compact social media icons for contact form */
.social-contact-section .social-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    min-width: auto;
    width: auto;
}



.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
}

/* Subtle hover effect for contact form social media */
.social-contact-section .social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    border-color: rgba(0, 102, 255, 0.5);
}

.social-link i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.2);
}

.social-link span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hide text labels in contact form social media section */
.social-contact-section .social-link span {
    display: none;
}

/* Compact social media icons for contact form */
.social-contact-section .social-link i {
    font-size: 1.5rem;
    margin: 0;
}

/* Social Media Specific Colors */
.social-link.facebook:hover {
    box-shadow: 0 8px 25px rgba(66, 103, 178, 0.4);
}

.social-link.instagram:hover {
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
}

.social-link.linkedin:hover {
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

.social-link.twitter:hover {
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
}

.social-link.whatsapp:hover {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Quick Contact CTA */
.quick-contact-cta {
    background: rgba(0, 102, 255, 0.1);
    border: 2px solid rgba(0, 102, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}



.quick-contact-cta h4 {
    color: var(--light);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.quick-contact-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.quick-contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    color: var(--light);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}



.quick-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn {
    background: #25D366;
}

.whatsapp-btn:hover {
    background: #128C7E;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.call-btn {
    background: var(--gradient);
}

.call-btn:hover {
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
}

.quick-btn i {
    font-size: 1.1rem;
}

/* Responsive Design for Contact Section */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    /* Compact social media for tablets */
    .social-contact-section .social-links-grid {
        gap: 0.6rem;
    }
    
    .social-contact-section .social-link {
        padding: 0.6rem 1rem;
    }
    
    .quick-contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .quick-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}



@media (max-width: 768px) {
    .contact-info-card {
        padding: 1rem;
    }
    
    .contact-icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .contact-icon-wrapper i {
        font-size: 1rem;
    }
    
    .contact-details h4 {
        font-size: 1rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
    }
    
    .social-contact-section {
        padding: 1.5rem;
    }
    
    .social-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Ultra-compact social media for mobile */
    .social-contact-section .social-links-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .social-contact-section .social-link {
        padding: 0.5rem 0.8rem;
        min-width: auto;
        width: auto;
    }
    
    .social-contact-section .social-link i {
        font-size: 1.3rem;
    }
    
    .quick-contact-cta {
        padding: 1.5rem;
    }
    
    .quick-contact-cta h4 {
        font-size: 1.2rem;
    }
    
    .quick-contact-cta p {
        font-size: 0.9rem;
    }
}

/* Animation for contact info cards */
.contact-info-card {
    animation: slideInFromRight 0.6s ease-out;
}

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

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

/* Social links animation */
.social-link {
    animation: fadeInUp 0.6s ease-out;
}

.social-link:nth-child(1) { animation-delay: 0.1s; }
.social-link:nth-child(2) { animation-delay: 0.2s; }
.social-link:nth-child(3) { animation-delay: 0.3s; }
.social-link:nth-child(4) { animation-delay: 0.4s; }
.social-link:nth-child(5) { animation-delay: 0.5s; }

/* Quick contact CTA animation */
.quick-contact-cta {
    animation: fadeInUp 0.6s ease-out;
    animation-delay: 0.6s;
    animation-fill-mode: both;
}

/* Legal Pages Styles */
.legal-content {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #00d4ff, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: #888;
    font-style: italic;
    font-size: 0.9rem;
}

.legal-section {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legal-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.legal-section h2 {
    color: #00d4ff;
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
    padding-bottom: 10px;
}

.legal-section h3 {
    color: #ff6b6b;
    font-size: 1.3rem;
    margin: 25px 0 15px;
}

.legal-section p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.legal-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.legal-section li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #e0e0e0;
}

.legal-section a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: #ff6b6b;
    text-decoration: underline;
}

.company-info {
    background: rgba(0, 212, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #00d4ff;
}

.company-info p {
    margin-bottom: 10px;
    color: #ffffff;
}

.company-info strong {
    color: #00d4ff;
}

.contact-info {
    background: rgba(255, 107, 107, 0.1);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #ff6b6b;
}

.contact-info p {
    margin-bottom: 10px;
    color: #ffffff;
}

.contact-info strong {
    color: #ff6b6b;
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
    .legal-content {
        padding: 100px 20px 60px;
    }
    
    .legal-header h1 {
        font-size: 2.2rem;
    }
    
    .legal-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .legal-header h1 {
        font-size: 1.8rem;
    }
    
    .legal-section {
        padding: 15px;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
}

/* Enhanced Mobile Testimonial Carousel Styles */
@media (max-width: 768px) {
    .testimonial-carousel {
        padding: 1rem 0;
        overflow: hidden !important;
        height: auto !important;
        min-height: 350px;
        position: relative;
        width: 100% !important;
        touch-action: pan-y pinch-zoom;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .testimonial-grid {
        display: flex !important;
        flex-direction: row !important;
        gap: 0 !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
        transform: translateX(0) !important;
        will-change: transform !important;
        touch-action: pan-x;
        user-select: none;
        position: relative !important;
        min-height: 300px !important;
        /* Force the grid to be wide enough for all cards */
        min-width: 500% !important;
        /* BULLETPROOF: Ensure transform works */
        transform-style: preserve-3d !important;
        backface-visibility: hidden !important;
        perspective: 1000px !important;
    }
    
    .testimonial-card {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 1.5rem !important;
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 20px !important;
        color: var(--light) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        transform: scale(1) !important;
        transition: all 0.3s ease !important;
        position: relative !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        height: auto !important;
        min-height: 250px !important;
        /* Force each card to take full width */
        flex-basis: 100% !important;
        /* BULLETPROOF: Ensure cards don't interfere with transform */
        transform-style: preserve-3d !important;
        backface-visibility: hidden !important;
    }
    
    .testimonial-card:hover {
        transform: scale(1.02) !important;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4) !important;
    }
    
    .testimonial-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(255, 0, 102, 0.1) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: -1;
    }
    
    .testimonial-card:hover::before {
        opacity: 1;
    }
    
    /* Enhanced mobile controls */
    .testimonial-controls {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1rem !important;
        margin-top: 1.5rem !important;
        padding: 0 1rem !important;
    }
    
    .testimonial-nav {
        display: flex !important;
        width: 45px !important;
        height: 45px !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 50% !important;
        justify-content: center !important;
        align-items: center !important;
        color: var(--light) !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        backdrop-filter: blur(10px) !important;
        font-size: 1rem !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    
    .testimonial-nav:hover,
    .testimonial-nav:active {
        background: rgba(255, 255, 255, 0.25) !important;
        transform: scale(1.1) !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
    }
    
    .testimonial-nav:disabled {
        opacity: 0.5 !important;
        cursor: not-allowed !important;
        transform: none !important;
    }
    
    .testimonial-indicators {
        display: flex !important;
        gap: 0.6rem !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .indicator {
        display: block !important;
        width: 12px !important;
        height: 12px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.3) !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    
    .indicator.active {
        background: var(--primary) !important;
        transform: scale(1.3) !important;
        box-shadow: 0 0 10px rgba(0, 102, 255, 0.5) !important;
    }
    
    .indicator:hover {
        background: rgba(255, 255, 255, 0.5) !important;
        transform: scale(1.1) !important;
    }
    
    .testimonial-text {
        font-size: 0.95rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.6 !important;
        text-align: center !important;
    }
    
    .testimonial-text::before {
        font-size: 2.5rem !important;
        top: -0.8rem !important;
        left: -0.3rem !important;
    }
    
    .testimonial-author {
        font-size: 0.85rem !important;
        text-align: center !important;
    }
    
    .testimonial-rating {
        margin-top: 0.5rem !important;
        justify-content: center !important;
    }
    
    /* Mobile swipe animations */
    .testimonial-card.swipe-left {
        animation: swipeLeft 0.3s ease-out;
    }
    
    .testimonial-card.swipe-right {
        animation: swipeRight 0.3s ease-out;
    }
    
    @keyframes swipeLeft {
        0% {
            transform: translateX(0) scale(1);
            opacity: 1;
        }
        50% {
            transform: translateX(-20px) scale(0.95);
            opacity: 0.8;
        }
        100% {
            transform: translateX(-100%) scale(0.9);
            opacity: 0;
        }
    }
    
    @keyframes swipeRight {
        0% {
            transform: translateX(0) scale(1);
            opacity: 1;
        }
        50% {
            transform: translateX(20px) scale(0.95);
            opacity: 0.8;
        }
        100% {
            transform: translateX(100%) scale(0.9);
            opacity: 0;
        }
    }
    
    /* Mobile card entrance animations */
    .testimonial-card.entering {
        animation: cardEnter 0.5s ease-out;
    }
    
    @keyframes cardEnter {
        0% {
            transform: translateY(20px) scale(0.9);
            opacity: 0;
        }
        100% {
            transform: translateY(0) scale(1);
            opacity: 1;
        }
    }
    
    /* Enhanced mobile touch feedback */
    .testimonial-card:active {
        transform: scale(0.98) !important;
        transition: transform 0.1s ease !important;
    }
    
    /* Mobile-specific carousel container */
    .testimonial-carousel {
        position: relative;
        overflow: hidden;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* Mobile progress indicator */
    .testimonial-progress {
        position: absolute;
        bottom: 0;
        left: 0;
        height: 3px;
        background: rgba(255, 255, 255, 0.2);
        width: 100%;
        border-radius: 0 0 20px 20px;
        overflow: hidden;
    }
    
    .testimonial-progress-bar {
        height: 100%;
        background: linear-gradient(90deg, var(--primary), rgba(255, 0, 102, 0.8));
        width: 0%;
        transition: width 0.3s ease;
        border-radius: 0 0 20px 20px;
    }
}

/* NEW SIMPLE TESTIMONIAL CAROUSEL - GUARANTEED TO WORK */
.simple-testimonial-carousel {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.testimonial-slides {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
    transform: translateX(100%);
    will-change: transform, opacity;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    position: relative;
    z-index: 2;
}

.testimonial-slide.prev {
    transform: translateX(-100%);
    z-index: 1;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    color: var(--light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    margin-top: 1.5rem;
}

.testimonial-author p {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
}

.testimonial-rating i {
    color: #ffd700;
    font-size: 1rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-nav {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--light);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.testimonial-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.testimonial-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.testimonial-indicators {
    display: flex;
    gap: 0.8rem;
}

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

.indicator.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .simple-testimonial-carousel {
        padding: 1rem 0;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .testimonial-controls {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .testimonial-nav {
        width: 45px;
        height: 45px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* Animation for slide transitions */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

.testimonial-slide.sliding-in {
    animation: slideIn 0.5s ease-in-out;
}

.testimonial-slide.sliding-out {
    animation: slideOut 0.5s ease-in-out;
}

/* Remove/neutralize legacy testimonial-carousel and testimonial-grid styles */
.testimonial-carousel, .testimonial-grid {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
}

@media (max-width: 768px) {
    .footer-logo h3::after {
        display: none !important;
    }
}

.mobile-menu i {
    transition: all 0.3s ease;
}

.mobile-menu:hover {
    transform: scale(1.1);
}

#global-meteors-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Critical rendering path CSS from index.html */
body { margin: 0; font-family: Arial, sans-serif; }
.header { position: fixed; top: 0; width: 100%; z-index: 1000; background: rgba(0,0,0,0.9); }
.hero { min-height: 100vh; display: flex; align-items: center; }
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Scroll progress bar and nav styles from end of index.html */
#scroll-progress-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 0;
  background: red;
  z-index: 20;
  transition: width 0.2s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}
.nav {
  position: relative;
  z-index: 21;
}