* {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

/* Gradient Backgrounds */
.gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-teal {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: white;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

/* Animated Background Shapes */
.shape {
    position: absolute;
    opacity: 0.1;
}

.shape-1 {
    top: 10%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #fff, transparent);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    bottom: 10%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #fff, transparent);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: float 15s ease-in-out infinite reverse;
}

/* Service Cards with Advanced Styling */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: white;
}

.service-card::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;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.3);
}

.service-icon {
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Stats Counter Animation */
.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Gallery with Overlay */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.gallery-item img {
    transition: all 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.15);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 70px;
    height: 70px;
    bottom: 40px;
    right: 40px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-wa {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.8), 0 0 0 15px rgba(37, 211, 102, 0.1), 0 0 0 30px rgba(37, 211, 102, 0.05);
    }
}

/* Testimonial Card */
.testimonial-card {
    background: white;
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    color: rgba(102, 126, 234, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
}

/* Contact Form */
.contact-form {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
}

/* Section Titles */
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 20px auto;
    border-radius: 2px;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::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;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.15;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* About Section Feature Boxes */
.feature-box {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

/* Navigation */
nav {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

/* Why Choose Us Icons */
.icon-box {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature-box:hover .icon-box {
    transform: scale(1.1) rotate(-5deg);
}

/* Glowing Effect */
.glow {
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(102, 126, 234, 0.6);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
    
    .hero-section::after {
        height: 50px;
    }
}

/* Loading Animation for Images */
img {
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* New Component Styles */

/* Trust Metrics */
.trust-metric {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03), rgba(118, 75, 162, 0.03));
    border-radius: 20px;
}

.trust-metric:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
}

/* Team Cards */
.team-card {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.18);
}

/* Before/After Cards */
.before-after-card {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.before-after-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Award Cards */
.award-card {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.award-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(102, 126, 234, 0.15);
}

/* Timeline Cards */
.timeline-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.15);
}

/* Timeline Icon */
.timeline-icon {
    z-index: 10;
}

/* Pricing Cards */
.pricing-card {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.18);
}

/* Video Cards */
.video-card {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

/* Google Review Cards */
.google-review-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.google-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.35);
}

/* Success Story Cards */
.success-story-card {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.18);
}

/* FAQ Items */
.faq-item {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    border-color: rgba(102, 126, 234, 0.35);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.08);
}

.faq-answer {
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Appointment Calendar */
.appointment-calendar {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03), rgba(118, 75, 162, 0.03));
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.time-slot-btn {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.time-slot-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.time-slot-btn:active:not(:disabled) {
    transform: translateY(0);
}

.time-slot-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Service Modal */
#serviceModal {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#serviceModal > div {
    animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 80px;
    }
    
    .timeline-card {
        margin-bottom: 1rem;
    }
    
    .pricing-card {
        margin-bottom: 1rem;
    }
    
    .before-after-card img {
        height: 200px !important;
    }
}

/* Min height utilities */
.min-h-\[260px\] {
    min-height: 260px;
}

.min-h-\[420px\] {
    min-height: 420px;
}

.min-h-\[450px\] {
    min-height: 450px;
}

.min-h-\[520px\] {
    min-height: 520px;
}

.min-h-\[600px\] {
    min-height: 600px;
}

/* Consistent card spacing */
.team-card, .before-after-card, .award-card, .pricing-card, 
.video-card, .google-review-card, .success-story-card {
    will-change: transform;
}

/* Smooth all icon transitions */
.team-card i, .award-card i, .service-card i {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Better mobile button sizes */
@media (max-width: 640px) {
    .time-slot-btn {
        font-size: 0.875rem;
        padding: 0.625rem 0.5rem;
    }
    
    .award-card, .team-card {
        min-height: auto;
    }
}

/* Text wrapping improvements */
.faq-question span {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Card content alignment */
.pricing-card ul, .success-story-card p, .google-review-card p {
    min-height: 80px;
}

@media (max-width: 1024px) {
    .pricing-card ul, .success-story-card p, .google-review-card p {
        min-height: auto;
    }
}

