* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #9b59b6;
    --secondary-color: #8e44ad;
    --accent-color: #d7bde2;
    --gold-color: #d4af37;
    --gold-light: #f4d03f;
    --gradient-1: linear-gradient(135deg, #9b59b6 0%, #8e44ad 50%, #7d3c98 100%);
    --gradient-2: linear-gradient(135deg, #d7bde2 0%, #c39bd3 50%, #bb8fce 100%);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    --text-dark: #1a1a1a;
    --text-light: #666;
    --white: #ffffff;
    --bg-light: #f8f4fb;
    --bg-gradient: linear-gradient(135deg, #f8f4fb 0%, #f0e8f5 100%);
    --shadow: rgba(155, 89, 182, 0.15);
    --shadow-hover: rgba(155, 89, 182, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Ensure body can scroll on mobile */
@media (max-width: 768px) {
    html, body {
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        height: auto;
        min-height: 100%;
    }
    
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
    }
    
    /* Ensure sections are visible and scrollable */
    section {
        min-height: auto;
        position: relative;
    }
}

/* Prevent horizontal scroll on mobile */
* {
    max-width: 100%;
}

/* Loading Screen Animation */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOut 0.5s ease-out 1s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Enhanced Form Animations */
.form-group {
    position: relative;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    animation: inputFocus 0.3s ease;
}

@keyframes inputFocus {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
    100% {
        transform: translateY(-2px);
    }
}

/* Mobile Menu Backdrop */
@media (max-width: 768px) {
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: -1;
    }

    .nav-menu.active::before {
        opacity: 1;
        visibility: visible;
    }
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-1);
    z-index: 10000;
    transition: width 0.1s ease;
    box-shadow: 0 2px 15px rgba(155, 89, 182, 0.6);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% {
        box-shadow: 0 2px 15px rgba(155, 89, 182, 0.6);
    }
    50% {
        box-shadow: 0 2px 25px rgba(155, 89, 182, 0.9);
    }
    100% {
        box-shadow: 0 2px 15px rgba(155, 89, 182, 0.6);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: logoGlow 3s ease-in-out infinite;
    position: relative;
    filter: drop-shadow(0 2px 4px rgba(155, 89, 182, 0.3));
}

.logo-text::before {
    content: '✨';
    display: inline-block;
    animation: spin 3s linear infinite;
    margin-right: 5px;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
    font-size: 0.75rem;
    color: var(--text-light);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.live-text {
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
    box-shadow: 0 2px 8px rgba(155, 89, 182, 0.5);
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    text-shadow: 0 2px 8px rgba(155, 89, 182, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    z-index: 10001 !important;
    position: relative;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    display: block;
    border-radius: 2px;
    transform-origin: center;
}

.nav-toggle:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.nav-toggle:active {
    transform: scale(0.9);
}

.nav-toggle:hover span {
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(155, 89, 182, 0.5);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: rotateBackground 30s linear infinite;
    opacity: 0.3;
}

@keyframes rotateBackground {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s infinite linear;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    animation: wave 15s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1s ease, heroContentFloat 6s ease-in-out infinite 1s;
}

@keyframes heroContentFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: titleSlide 1.5s ease-out, titleGlow 3s ease-in-out infinite 2s;
    color: var(--white);
    display: block;
    text-align: center;
}

.typing-text {
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.3s both, fadeInOut 4s ease-in-out infinite 2s;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
    position: relative;
    overflow: hidden;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.btn-primary:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.5);
    color: var(--white);
}

.btn-primary span {
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    position: relative;
    overflow: hidden;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-secondary span {
    position: relative;
    z-index: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 10px;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--white);
    margin: 0 auto;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    animation: titleReveal 1s ease-out;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: var(--gradient-1);
    animation: underlineExpand 1s ease-out 0.5s forwards;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(155, 89, 182, 0.4);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Services Section */
.services {
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(155, 89, 182, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: float 25s infinite linear;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px var(--shadow);
    transition: var(--transition-slow);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    opacity: 0;
    transition: var(--transition-slow);
    z-index: 0;
    border-radius: 20px;
}

.service-card:hover::after {
    opacity: 0.05;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(212, 165, 116, 0.1), transparent);
    transform: rotate(45deg);
    transition: var(--transition);
    opacity: 0;
}

.service-card:hover::before {
    animation: shine 0.6s ease;
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: iconFloat 3s ease-in-out infinite, iconPulse 2s ease-in-out infinite;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(155, 89, 182, 0.3));
}

.service-card:hover .service-icon {
    animation: iconBounce 0.6s ease, iconFloat 3s ease-in-out infinite 0.6s;
    transform: scale(1.3) rotate(10deg);
}

.service-card:nth-child(1) .service-icon {
    animation-delay: 0s;
}

.service-card:nth-child(2) .service-icon {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) .service-icon {
    animation-delay: 0.4s;
}

.service-card:nth-child(4) .service-icon {
    animation-delay: 0.6s;
}

.service-card:nth-child(5) .service-icon {
    animation-delay: 0.8s;
}

.service-card:nth-child(6) .service-icon {
    animation-delay: 1s;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
    animation-play-state: paused;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.service-card:hover h3 {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.service-card > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    text-align: left;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
    transition: var(--transition);
    z-index: 1;
}

.service-card:hover .service-list li {
    color: var(--text-dark);
    transform: translateX(5px);
}

.service-list li:nth-child(1) { transition-delay: 0.05s; }
.service-list li:nth-child(2) { transition-delay: 0.1s; }
.service-list li:nth-child(3) { transition-delay: 0.15s; }
.service-list li:nth-child(4) { transition-delay: 0.2s; }
.service-list li:nth-child(5) { transition-delay: 0.25s; }
.service-list li:nth-child(6) { transition-delay: 0.3s; }

.service-list li {
    opacity: 1;
    transform: translateX(0);
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
}

.service-card:hover .service-list li::before {
    opacity: 1;
    transform: scale(1.2) rotate(360deg);
    animation: checkmarkPop 0.4s ease forwards;
}

@keyframes checkmarkPop {
    0% {
        transform: scale(0) rotate(0deg);
    }
    50% {
        transform: scale(1.3) rotate(180deg);
    }
    100% {
        transform: scale(1.2) rotate(360deg);
    }
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
}


.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    box-shadow: 0 15px 40px var(--shadow-hover);
    position: relative;
    overflow: hidden;
    animation: imageFloat 6s ease-in-out infinite, imagePulse 3s ease-in-out infinite;
}

@keyframes imagePulse {
    0%, 100% {
        box-shadow: 0 15px 40px var(--shadow-hover);
    }
    50% {
        box-shadow: 0 20px 50px rgba(155, 89, 182, 0.5);
    }
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
}

.image-placeholder span {
    position: relative;
    z-index: 1;
    animation: iconPulse 2s ease-in-out infinite;
}

/* Gallery Section */
.gallery {
    background: var(--bg-gradient);
    position: relative;
}

.gallery::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(155, 89, 182, 0.03) 100%);
    pointer-events: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    border-radius: 15px;
    opacity: 0;
    animation: imageFadeIn 0.6s ease forwards;
}

.gallery-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.gallery-image.loaded ~ .gallery-loader {
    opacity: 0;
    pointer-events: none;
}

@keyframes imageFadeIn {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    transition: var(--transition);
    position: relative;
    border-radius: 15px;
}

.gallery-placeholder p {
    font-size: 1rem;
    color: var(--white);
    margin-top: 1rem;
    font-weight: 500;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(155, 89, 182, 0.95) 100%);
    opacity: 0;
    transition: var(--transition-slow);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    z-index: 1;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.gallery-overlay p {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    animation: overlayFade 0.3s ease;
}

.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.2) rotate(3deg);
    filter: brightness(1.1) saturate(1.2);
}

.gallery-item {
    animation: galleryFloat 6s ease-in-out infinite;
}

.gallery-item:nth-child(1) { animation-delay: 0s; }
.gallery-item:nth-child(2) { animation-delay: 0.5s; }
.gallery-item:nth-child(3) { animation-delay: 1s; }
.gallery-item:nth-child(4) { animation-delay: 1.5s; }
.gallery-item:nth-child(5) { animation-delay: 2s; }
.gallery-item:nth-child(6) { animation-delay: 2.5s; }
.gallery-item:nth-child(7) { animation-delay: 3s; }
.gallery-item:nth-child(8) { animation-delay: 3.5s; }

@keyframes galleryFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.15) rotate(5deg);
}

.gallery-item:hover .gallery-placeholder span {
    transform: scale(1.3);
    transition: transform 0.3s ease;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
    animation: iconBounce 2s ease-in-out infinite;
    display: inline-block;
}

.info-item:nth-child(1) .info-icon { animation-delay: 0s; }
.info-item:nth-child(2) .info-icon { animation-delay: 0.2s; }
.info-item:nth-child(3) .info-icon { animation-delay: 0.4s; }
.info-item:nth-child(4) .info-icon { animation-delay: 0.6s; }

.info-item:hover .info-icon {
    animation: iconSpin 0.5s ease;
}

.info-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-text p {
    color: var(--text-light);
    line-height: 1.8;
}

.current-time {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 0.5rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulseDot 2s ease-in-out infinite;
}

.status-dot.closed {
    background: #ef4444;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(155, 89, 182, 0.3);
    background: var(--bg-light);
    animation: inputFocusPulse 2s ease-in-out infinite;
}

@keyframes inputFocusPulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(155, 89, 182, 0.3);
    }
    50% {
        box-shadow: 0 6px 25px rgba(155, 89, 182, 0.5);
    }
}

.form-group input,
.form-group select,
.form-group textarea {
    position: relative;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    transform: translateY(-20px);
    font-size: 0.75rem;
    opacity: 0.7;
    transition: var(--transition);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Notification */
.form-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 350px;
}

.form-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.form-notification.success {
    border-left: 4px solid #4ade80;
}

.notification-content {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: #4ade80;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.notification-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.notification-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b2e 100%);
    color: var(--white);
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(155, 89, 182, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(155, 89, 182, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(30px, -30px);
    }
    66% {
        transform: translate(-20px, 20px);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes wave {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 2px 4px rgba(155, 89, 182, 0.3)) brightness(1);
    }
    50% {
        filter: drop-shadow(0 4px 12px rgba(155, 89, 182, 0.6)) brightness(1.2);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes titleSlide {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 255, 255, 0.3);
    }
    50% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2), 0 0 30px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 255, 255, 0.4);
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.95;
    }
    50% {
        opacity: 1;
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes checkmark {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes underlineExpand {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

@keyframes numberCount {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes statLine {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes imageFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-15px) scale(1.2);
    }
    50% {
        transform: translateY(0) scale(1.3);
    }
    75% {
        transform: translateY(-10px) scale(1.2);
    }
}

@keyframes overlayFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes iconSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        max-width: 100%;
        text-align: center;
        transition: left 0.3s ease-in-out, opacity 0.3s ease-in-out;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        z-index: 999;
        height: calc(100vh - 70px);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
    }

    .nav-menu.active {
        left: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-toggle {
        display: flex !important;
        z-index: 10001 !important;
        position: relative;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        pointer-events: auto !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: rgba(155, 89, 182, 0.2);
    }
    
    .nav-toggle:focus {
        outline: 3px solid var(--primary-color);
        outline-offset: 2px;
    }
    
    .nav-toggle:focus-visible {
        outline: 3px solid var(--primary-color);
        outline-offset: 2px;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.3;
        flex-direction: column;
        gap: 0;
    }


    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }


    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        padding: 0 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 14px 25px;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }


    .contact-content {
        gap: 2rem;
    }

    .info-item {
        gap: 1rem;
    }

    .info-icon {
        font-size: 1.5rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .live-indicator {
        font-size: 0.65rem;
        margin-left: 5px;
    }

    .nav-menu {
        top: 60px;
        padding: 1.5rem 0;
    }

    .nav-link {
        padding: 0.75rem 0;
        font-size: 1rem;
    }


    .form-notification {
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }

    .form-notification.show {
        transform: translateY(0);
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .services-grid {
        gap: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .about-content {
        gap: 2rem;
    }

    .image-placeholder {
        height: 300px;
    }

    .footer-content {
        gap: 1.5rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Ensure proper scrolling on all devices */
@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Fix for iOS Safari scrolling */
    body {
        -webkit-overflow-scrolling: touch;
        overflow-scrolling: touch;
    }
    
    /* Ensure content is scrollable */
    .container {
        position: relative;
    }
}

/* Loading Animation */
@keyframes pageLoad {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: pageLoad 0.6s ease-out;
}

/* Enhanced Mobile Touch Interactions */
@media (hover: none) and (pointer: coarse) {
    .btn:active {
        transform: scale(0.95);
    }

    .service-card:active {
        transform: scale(0.98);
    }

    .gallery-item:active {
        transform: scale(0.95);
    }
}

/* Mobile Menu Slide Animation */
@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.nav-menu.active {
    animation: slideInFromLeft 0.3s ease-out;
}

/* Staggered Animation for Nav Links */
.nav-menu.active .nav-link {
    animation: fadeInUp 0.4s ease-out forwards;
    opacity: 0;
}

.nav-menu.active .nav-link:nth-child(1) { animation-delay: 0.1s; }
.nav-menu.active .nav-link:nth-child(2) { animation-delay: 0.2s; }
.nav-menu.active .nav-link:nth-child(3) { animation-delay: 0.3s; }
.nav-menu.active .nav-link:nth-child(4) { animation-delay: 0.4s; }
.nav-menu.active .nav-link:nth-child(5) { animation-delay: 0.5s; }

/* Enhanced Scroll Animations */
@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Pulse Animation for CTA Buttons */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 4px 25px rgba(155, 89, 182, 0.6);
    }
}

.btn-primary {
    animation: pulse 3s ease-in-out infinite, buttonGlow 2s ease-in-out infinite;
}

/* Additional Enhanced Animations */
@keyframes buttonWave {
    0% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.05) rotate(1deg); }
    50% { transform: scale(1.08) rotate(-1deg); }
    75% { transform: scale(1.05) rotate(0.5deg); }
    100% { transform: scale(1) rotate(0deg); }
}

@keyframes iconRotateIn {
    0% {
        transform: rotate(-180deg) scale(0);
        opacity: 0;
    }
    50% {
        transform: rotate(-90deg) scale(1.2);
    }
    100% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
}

@keyframes navLinkSlide {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes cardFlip {
    0% {
        transform: perspective(1000px) rotateY(0deg);
    }
    50% {
        transform: perspective(1000px) rotateY(5deg);
    }
    100% {
        transform: perspective(1000px) rotateY(0deg);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes textShimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Apply animations to elements */
.service-card:hover {
    animation: cardFlip 0.6s ease;
}

.nav-toggle:hover span {
    animation: buttonWave 0.6s ease;
}

/* Enhanced gallery hover effects */
.gallery-item:hover img {
    animation: scaleIn 0.5s ease;
    filter: brightness(1.1) saturate(1.2);
}

/* Text gradient animation */
.hero-title {
    background: linear-gradient(90deg, #ffffff 0%, #d4af37 30%, #ffffff 50%, #d7bde2 80%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s linear infinite;
}

/* Enhanced button animations */
.btn:hover {
    animation: buttonWave 0.6s ease;
    transform: translateY(-2px);
}

.btn:active {
    animation: scaleInBounce 0.3s ease;
}

@keyframes scaleInBounce {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

/* Logo pulse animation */
.logo-text {
    animation: logoGlow 3s ease-in-out infinite;
}

/* Service icon enhanced animations */
.service-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    animation: iconRotateIn 0.8s ease, iconFloat 2s ease-in-out infinite;
    transform: scale(1.1) rotate(5deg);
}

/* Form input enhanced animations */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    animation: inputFocus 0.3s ease, scaleIn 0.3s ease;
    transform: translateY(-2px) scale(1.02);
}

/* Gallery image zoom on hover */
.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.15) rotate(2deg);
}

/* Section title enhanced animation */
.section-title {
    position: relative;
    overflow: hidden;
}

.section-title::after {
    animation: underlineExpand 0.8s ease-out 0.5s both, shimmer 3s infinite;
}

/* Enhanced mobile menu animations */
@media (max-width: 768px) {
    .nav-menu.active .nav-link {
        animation: navLinkSlide 0.4s ease forwards;
    }
    
    .nav-toggle.active span {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-toggle.active span:nth-child(1) {
        animation: buttonWave 0.3s ease;
    }
    
    .nav-toggle.active span:nth-child(3) {
        animation: buttonWave 0.3s ease 0.1s;
    }
}
}

@keyframes buttonGlow {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(155, 89, 182, 0.4), 0 0 20px rgba(212, 175, 55, 0.3);
    }
    50% {
        box-shadow: 0 6px 30px rgba(155, 89, 182, 0.7), 0 0 30px rgba(212, 175, 55, 0.5);
    }
}

/* Mobile-Specific Animations */
@media (max-width: 768px) {
    .hero-content {
        animation: slideInFromBottom 1s ease-out;
    }

    .service-card {
        animation: scaleIn 0.6s ease-out backwards;
    }

    .service-card:nth-child(1) { animation-delay: 0.1s; }
    .service-card:nth-child(2) { animation-delay: 0.2s; }
    .service-card:nth-child(3) { animation-delay: 0.3s; }
    .service-card:nth-child(4) { animation-delay: 0.4s; }
    .service-card:nth-child(5) { animation-delay: 0.5s; }
    .service-card:nth-child(6) { animation-delay: 0.6s; }
}

