/* Global Styles for Aayursiddha Arogyam Website */
:root {
    --primary: #166534;
    --primary-light: #22c55e;
    --primary-dark: #14532d;
    --secondary: #84cc16;
    --accent: #dcfce7;
    --light: #f0fdf4;
    --dark: #1e293b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.display-font {
    font-family: 'Playfair Display', serif;
}

/* Navigation Styles */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary);
    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.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(22, 101, 52, 0.3);
}

.btn-outline {
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #ffffff;
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-outline:hover::before {
    left: 0;
}

.btn-outline:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, rgba(22, 101, 52, 0.9), rgba(20, 83, 45, 0.9));
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* Feature Cards */
.feature-card {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(22, 101, 52, 0.15);
    border-color: var(--primary);
}

.feature-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(22, 101, 52, 0.3);
}

/* Treatment Cards */
.treatment-card {
    background: #ffffff;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(22, 101, 52, 0.1);
    border-color: var(--primary);
}

.treatment-card img {
    transition: all 0.3s ease;
}

.treatment-card:hover img {
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
}

/* Section backgrounds */
.bg-green-gradient {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.bg-green-dark {
    background-color: var(--primary);
}

.text-green-primary {
    color: var(--primary);
}

.border-green-primary {
    border-color: var(--primary);
}

/* Hover effects for links */
a:hover {
    transition: color 0.3s ease;
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(22, 101, 52, 0.15);
}

/* Expertise Cards - same as doctors.html */
.expertise-card {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    border-radius: 0.75rem;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(22, 101, 52, 0.1);
    border-color: var(--primary);
}

.expertise-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    transition: all 0.3s ease;
}

.expertise-card:hover .expertise-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(22, 101, 52, 0.3);
}

/* Button group spacing */
.btn-group .btn {
    margin-right: 0.5rem;
}

.btn-group .btn:last-child {
    margin-right: 0;
}
