/* Base Variables */
:root {
    --primary-color: #FFD700;
    --secondary-color: #B8860B;
    --gold-border: 2px solid #FFD700;
    --text-color: #ffffff;
    --dark-bg: #000000;
    --dark-gray: #1a1a1a;
    --light-gold: #FFF8DC;
    --cursor-size: 20px;
    --cursor-trail-size: 10px;
    --transition-speed: 0.3s;
}

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

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--dark-bg);
    display: flex;
    flex-direction: column;
    cursor: none;
}

/* Main Content Area with Hidden Scrollbar */
main {
    flex: 1;
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
main::-webkit-scrollbar {
    display: none;
}

/* Section Styles */
section {
    min-height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
}

section:last-of-type {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    margin: 0;
    position: relative;
}

/* Footer */
footer {
    background: linear-gradient(45deg, var(--dark-bg), var(--dark-gray));
    border-top: var(--gold-border);
    padding: 20px 0 10px;
    width: 100%;
    scroll-snap-align: start;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.footer-logo-desc {
    flex-grow: 1;
}

.footer-logo-desc .logo {
    margin-bottom: 1rem;
}

.footer-logo-desc p {
    font-size: 0.9rem;
    max-width: 300px;
    opacity: 0.8;
}

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

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

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

.footer-section ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
    opacity: 0.8;
    font-size: 0.9rem;
}

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

.footer-social {
    text-align: right;
    margin: 0;
    padding: 0;
    border: none;
    flex-shrink: 0;
}

.footer-social a {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-left: 1.5rem;
    margin-right: 0;
    transition: color var(--transition-speed) ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: var(--secondary-color);
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo-desc {
        margin-bottom: 1.5rem;
    }

    .footer-logo-desc p {
        margin: 1rem auto 0;
    }

    .footer-social {
        text-align: center;
        margin-top: 1.5rem;
    }

    .footer-social a {
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Contact/CTA Section */
#contact {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    position: relative;
    z-index: 1;
}

.cta {
    width: 100%;
    text-align: center;
    padding: 40px 0;
    position: relative;
    z-index: 2;
    margin-bottom: 80px;
}

.cta h2 {
    color: var(--primary-color);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.cta p {
    margin-bottom: 2rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    margin-top: 1rem;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 0;
    overflow: hidden;
}

/* Dark overlay for better text contrast */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Dark overlay */
    z-index: 1;
}

/* Hero content wrapper */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    transform: translateY(20%); /* Move content down by 20% */
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    font-weight: 700;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #ffffff;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero .btn {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: var(--primary-color);
    color: var(--dark-bg);
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-shadow: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero .btn:hover {
    transform: translateY(-2px);
    background: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Typing Animation */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

.typing {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3.5s steps(40, end) forwards;
}

/* Header/Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all var(--transition-speed) ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    transition: transform var(--transition-speed) ease;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: color var(--transition-speed) ease;
}

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

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

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

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

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

/* Animations */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

.typing {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3.5s steps(40, end) forwards;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-10 {
    margin-top: 2.5rem;
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    .footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
}

/* Add these new sections after your existing base styles */

/* Section Spacing & Layout */
section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-color);
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 700px;
    margin: 0 auto;
}

/* Stats Section */
.stats {
    background: var(--dark-bg);
    border: var(--gold-border);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    transition: transform var(--transition-speed) ease;
    background: none;
}

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

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Portfolio Section */
.portfolio {
    background: var(--dark-bg);
    border: var(--gold-border);
    border-radius: 10px;
    padding: 20px;
}

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

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

/* Testimonials Section */
.testimonials {
    background: var(--dark-bg);
    border: var(--gold-border);
    border-radius: 10px;
    padding: 20px;
}

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

.testimonial-card {
    background: var(--dark-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

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

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    border: none;
    cursor: pointer;
}

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

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

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

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

@keyframes goldenGlow {
    0% { box-shadow: 0 0 5px var(--primary-color); }
    50% { box-shadow: 0 0 20px var(--primary-color); }
    100% { box-shadow: 0 0 5px var(--primary-color); }
}

.glow-element {
    animation: goldenGlow 3s ease-in-out infinite;
}

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

.shimmer-text {
    background: linear-gradient(
        to right,
        var(--primary-color) 20%,
        var(--secondary-color) 40%,
        var(--primary-color) 60%,
        var(--secondary-color) 80%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: textShimmer 3s linear infinite;
}

/* Scroll Reveal Animation */
@keyframes scrollReveal {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add full-screen section styling */
html, body {
    height: 100%;
    overflow: hidden;
}

main {
    position: relative;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

section {
    height: 100vh;
    min-height: 100vh;
    scroll-snap-align: start;
    position: relative;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
}

section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
}

#contact {
    padding: 0;
    min-height: 100vh;
}

footer {
    position: relative;
    z-index: 3;
    background: var(--dark-bg);
    padding: 2rem 0;
    width: 100%;
    scroll-snap-align: start;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    z-index: -1;
}

/* Enhance section content visibility */
.section-header {
    margin-top: 15vh;
}

/* Remove scrollbar */
html {
    scroll-behavior: smooth;
    overflow: hidden;
}

body {
    position: relative;
    overflow: hidden;
}

/* Update AI Recommendations Section */
.recommendations-output {
    width: 100%;
    max-width: 800px;
    margin: 4rem auto 0;
    padding: 3rem;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.05), rgba(184, 134, 11, 0.08));
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-align: center;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.05);
}

.recommendations-output h2 {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 2px 8px rgba(185, 134, 11, 0.3);
    position: relative;
    display: inline-block;
}

.recommendations-output h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: underlineFlow 3s infinite linear;
}

.recommendations-output .btn {
    margin: 2rem auto;
    display: block;
    /* Removed duplicate background styles */
    /* Removed duplicate border-radius */
    /* Removed text-transform: uppercase */
}

.recommendations-output .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
}

.recommendations-output.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Move to original position */
}

.ai-form.slide-left {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    background: var(--dark-gray);
    color: white;
}

.recommendations-output {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.recommendation-card {
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    perspective: 1000px;
}

.recommendation-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, 
        var(--primary-color),
        var(--secondary-color),
        var(--primary-color)
    );
    z-index: -1;
    border-radius: 12px;
    animation: borderPulse 3s ease-in-out infinite;
}

.recommendation-card:hover {
    transform: rotateY(15deg) scale(1.03);
    box-shadow: 0 12px 24px rgba(255, 215, 0, 0.2);
}

.recommendation-card.loading {
    animation: cardLoading 1.5s ease-in-out infinite;
    background: linear-gradient(
        110deg,
        var(--dark-gray) 45%, 
        rgba(255,215,0,0.1) 50%,
        var(--dark-gray) 55%
    );
    background-size: 200% 200%;
}

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

.recommendation-card ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-top: 1rem;
}

/* Enhanced Section Headers */
.section-header h2 {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 2px 8px rgba(185, 134, 11, 0.3);
    position: relative;
    display: inline-block;
}

/* Animated Header Underline */
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: underlineFlow 3s infinite linear;
}

/* Enhanced Portfolio Items */
.portfolio-item {
    overflow: visible;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(255, 215, 0, 0.15);
}

/* Dynamic Border Animation */
@keyframes borderPulse {
    0% { border-color: var(--primary-color); }
    50% { border-color: var(--secondary-color); }
    100% { border-color: var(--primary-color); }
}

.portfolio-item {
    animation: borderPulse 3s ease-in-out infinite;
}

/* New Keyframes */
@keyframes underlineFlow {
    0% { opacity: 0; width: 0; }
    50% { opacity: 1; width: 120px; }
    100% { opacity: 0; width: 0; }
}

/* Add parallax scroll effect */
.section-content {
    transform: translateZ(0.5px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.9;
}

/* Improve typography */
body {
    font-family: 'Poppins', sans-serif;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.05em;
}

/* AI Recommendations Section */
.ai-recommendations {
    background: var(--dark-bg);
    padding: 80px 0;
}

.ai-form {
    max-width: 600px;
    margin: 0 auto 40px;
}

.recommendation-card {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.03), rgba(184, 134, 11, 0.06));
    padding: 2.5rem;
    border-radius: 16px;
    margin: 1.5rem 0;
    transform: translateX(50px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 215, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.recommendation-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1), transparent 70%);
    transform: rotate(45deg);
    transition: all 0.8s ease;
    pointer-events: none;
}

.recommendation-card:hover {
    transform: translateX(0);
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.1);
}

.recommendation-card:hover::before {
    transform: rotate(0deg);
}

.recommendation-card.slide-left {
    transform: translateX(0);
    opacity: 1;
}

/* Add scroll-triggered fade animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.parallax-section {
    animation: fadeInUp 1s ease-out forwards;
}

/* Our Innovative Solutions Section */
.innovative-solutions {
    background: var(--dark-bg);
    border: var(--gold-border);
    border-radius: 10px;
    padding: 10px;
    margin-top: -20px;
    text-align: center;
}

.innovative-solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.innovative-solution-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform var(--transition-speed) ease;
}

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

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.innovative-solution-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.innovative-solution-item p {
    color: var(--text-color);
    opacity: 0.9;
}

/* Cursor Effects */
.custom-cursor {
    position: fixed;
    width: var(--cursor-size);
    height: var(--cursor-size);
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    transform: translate(-50%, -50%);
}

.cursor-trail {
    position: fixed;
    width: var(--cursor-trail-size);
    height: var(--cursor-trail-size);
    border-radius: 50%;
    background: var(--primary-color);
    pointer-events: none;
    z-index: 9998;
    opacity: 0.7;
    transform: translate(-50%, -50%);
}

.click-particle {
    position: fixed;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary-color);
    pointer-events: none;
    z-index: 9997;
    animation: particleBurst 1s ease-out forwards;
}

@keyframes particleBurst {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--random-x), var(--random-y)) scale(0);
        opacity: 0;
    }
}

/* Sparkle Effect */
@keyframes sparkleAnimation {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    pointer-events: none;
    animation: sparkleAnimation 1s ease-out forwards;
    mix-blend-mode: screen;
}

/* Trailing Particle Effect */
.trail {
    position: absolute;
    width: 5px;
    height: 5px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    pointer-events: none;
    animation: trailAnimation 0.5s ease-out forwards;
    mix-blend-mode: screen;
}

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

/* Ripple Effect */
.ripple {
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    pointer-events: none;
    animation: rippleAnimation 1s ease-out forwards;
    mix-blend-mode: screen;
}

@keyframes rippleAnimation {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

footer {
    background-color: #1a1e21;
    padding: 20px 0;
    text-align: center;
    margin-top: 0;
    width: 100%;
    scroll-snap-align: start;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Image Grid Section */
.gallery {
    padding: 100px 0;
    background: var(--dark-bg);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    transition: bottom 0.3s ease;
}

.grid-item:hover img {
    transform: scale(1.1);
}

.grid-item:hover .overlay {
    bottom: 0;
}

@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr;
    }
}
/* Add these new styles at the end of the file */

/* Section Header Enhancements */
.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Testimonial Card Enhancements */
.testimonial-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.testimonial-header {
    margin-bottom: 20px;
}

.testimonial-header img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 2px solid var(--primary-color);
}

.testimonial-header h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.testimonial-header p {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
/* Our Work Section Enhancements */
.gallery {
    padding: 100px 0;
    background: linear-gradient(45deg, var(--dark-bg), var(--dark-gray));
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.15);
}

.grid-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: 25px;
    transition: bottom 0.4s ease;
}

.grid-item:hover .overlay {
    bottom: 0;
}

.overlay p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .grid-item img {
        height: 200px;
    }
    
    .overlay {
        padding: 20px;
    }
}

/* About Section */
.about {
    padding: 40px 0;
    text-align: center;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-item p {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

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

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

@keyframes glowPulse {
    0% {
        text-shadow: 0 0 5px var(--primary-color);
    }
    50% {
        text-shadow: 0 0 20px var(--primary-color), 0 0 30px var(--primary-color);
    }
    100% {
        text-shadow: 0 0 5px var(--primary-color);
    }
}

/* Enhanced Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    padding: 0 2rem;
    perspective: 1000px;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform-style: preserve-3d;
    position: relative;
}

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

.stat-item:hover {
    transform: translateY(-10px) rotateX(10deg);
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
    animation: numberCount 0.8s ease-out forwards, glowPulse 2s infinite;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-item p {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0;
    animation: fadeInUp 0.5s ease-out 0.3s forwards;
    position: relative;
}

.stat-item p::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.stat-item:hover p::after {
    width: 50%;
}

/* Section Header Animation */
.section-header {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--primary-color) 50%,
        transparent 100%
    );
    animation: lineGrowCenter 2s infinite;
}

@keyframes lineGrowCenter {
    0% {
        width: 0;
        opacity: 0;
    }
    50% {
        width: 100%;
        opacity: 1;
    }
    100% {
        width: 0;
        opacity: 0;
    }
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Add prefers-reduced-motion support */
@media (prefers-reduced-motion: reduce) {
    .stat-item,
    .section-header,
    .stat-item h3,
    .stat-item p {
        animation: none;
        transition: none;
    }
}

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

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Enhanced Stat Items */
.stat-item {
    text-align: center;
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out forwards, float 6s ease-in-out infinite;
    opacity: 0;
    transform-style: preserve-3d;
    position: relative;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 215, 0, 0.05),
        transparent
    );
    border-radius: 15px;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 215, 0, 0.1),
        transparent
    );
    animation: shimmer 3s linear infinite;
}

.stat-item h3 {
    position: relative;
    z-index: 1;
}

/* Particle Effect */
.stat-item::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    filter: blur(1px);
    animation: particle 2s ease-out infinite;
}

@keyframes particle {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }
    100% {
        transform: translate(var(--x, 50px), var(--y, -50px));
        opacity: 0;
    }
}

/* Add hover state glow */
.stat-item:hover {
    transform: translateY(-10px) rotateX(10deg);
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 215, 0, 0.2),
        0 0 40px rgba(255, 215, 0, 0.1);
}

/* Section Header Enhancement */
.section-header h2 {
    background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--secondary-color),
        var(--primary-color)
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 3s linear infinite;
}

/* Ensure animations respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .stat-item,
    .section-header h2,
    .stat-item::before,
    .stat-item::after {
        animation: none;
        transition: none;
    }
}