/* Theme 6: Minimal Gray & Mint - Complete CSS */
/* Save this as: static/css/style.css */

/* Root color variables */
:root {
    --primary-gradient: linear-gradient(to right, #374151, #10b981);
    --primary-color: #374151;
    --secondary-color: #10b981;
    --accent-color: #059669;
    --success-color: #10b981;
    --warning-color: #fbbf24;
    --danger-color: #6b7280;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(to right, #374151, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.nav-link {
    position: relative;
    color: #4b5563;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #059669;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #374151, #10b981);
    transition: width 0.3s ease;
}

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

/* Buttons */
.btn-primary {
    background: linear-gradient(to right, #374151, #059669);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: linear-gradient(to right, #10b981, #059669);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.btn-primary-large {
    background: linear-gradient(to right, #374151, #059669);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary-large:hover {
    background: linear-gradient(to right, #10b981, #059669);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.25);
}

.btn-secondary {
    background: white;
    color: #374151;
    padding: 0.5rem 1.5rem;
    border: 2px solid #d1d5db;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: #10b981;
    color: #10b981;
    background: #f0fdf4;
}

.btn-secondary-large {
    background: white;
    color: #374151;
    padding: 1rem 2.5rem;
    border: 2px solid #d1d5db;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary-large:hover {
    border-color: #10b981;
    color: #10b981;
    background: #f0fdf4;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.15);
}

/* Cards */
.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #10b981;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.1);
}

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid #f3f4f6;
}

.problem-card:hover {
    border-color: #6b7280;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(107, 114, 128, 0.1);
}

.about-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.about-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #374151, #10b981);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: translateX(0);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.15);
    border-color: #10b981;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(to right, #374151, #10b981);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(to right, #10b981, #059669);
    transform: rotate(5deg);
}

.why-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #e5e7eb;
}

.why-card:hover {
    border-left-color: #10b981;
    transform: translateX(5px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.15);
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e5e7eb;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.15);
    border-color: #10b981;
}

/* Animations */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Mobile Menu */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    max-height: 500px;
}

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

/* Loading Animation */
.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #10b981;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

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

/* Navbar scroll effect */
nav.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Creative Hero Backgrounds - Theme 6 */

/* Option 1: Animated Gradient Orbs (RECOMMENDED - Modern & Eye-catching) */
#home .absolute {
    background: #f8fafc;
    overflow: hidden;
}

#home .absolute::before,
#home .absolute::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

#home .absolute::before {
    background: linear-gradient(135deg, #10b981, #059669);
    top: -300px;
    right: -200px;
    animation-delay: 0s;
}

#home .absolute::after {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
    bottom: -300px;
    left: -200px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Option 2: Subtle Topographic Map Pattern */
/* #home .absolute {
    background-color: #f9fafb;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 35px, rgba(16, 185, 129, 0.03) 35px, rgba(16, 185, 129, 0.03) 70px),
        repeating-linear-gradient(90deg, transparent, transparent 35px, rgba(16, 185, 129, 0.03) 35px, rgba(16, 185, 129, 0.03) 70px),
        repeating-linear-gradient(45deg, transparent, transparent 49px, rgba(16, 185, 129, 0.05) 49px, rgba(16, 185, 129, 0.05) 51px),
        repeating-linear-gradient(-45deg, transparent, transparent 49px, rgba(16, 185, 129, 0.05) 49px, rgba(16, 185, 129, 0.05) 51px);
} */

/* Option 3: Glassmorphism Layers */
/* #home .absolute {
    background: linear-gradient(135deg, #f8fafc 0%, #e5e7eb 100%);
}

#home .absolute::before,
#home .absolute::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    backdrop-filter: blur(80px);
}

#home .absolute::before {
    width: 500px;
    height: 500px;
    background: rgba(16, 185, 129, 0.1);
    top: -250px;
    right: 10%;
    box-shadow: 0 0 100px rgba(16, 185, 129, 0.2);
}

#home .absolute::after {
    width: 400px;
    height: 400px;
    background: rgba(107, 114, 128, 0.1);
    bottom: -200px;
    left: 10%;
    box-shadow: 0 0 100px rgba(107, 114, 128, 0.2);
} */

/* Option 4: Particle Network Effect */
/* #home .absolute {
    background: #f9fafb;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(107, 114, 128, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
}

#home .absolute::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, #10b981 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, #6b7280 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, #10b981 1px, transparent 1px),
        radial-gradient(circle at 10% 80%, #6b7280 1px, transparent 1px),
        radial-gradient(circle at 90% 20%, #10b981 1px, transparent 1px);
    background-size: 200px 200px, 300px 300px, 250px 250px, 350px 350px, 400px 400px;
    opacity: 0.3;
    animation: particleMove 30s linear infinite;
}

@keyframes particleMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-50px, -50px);
    }
} */

/* Option 5: Gradient Mesh with Noise Texture */
/* #home .absolute {
    background: 
        linear-gradient(135deg, rgba(249, 250, 251, 0.9) 0%, rgba(229, 231, 235, 0.9) 100%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E"),
        radial-gradient(ellipse at top left, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(107, 114, 128, 0.15) 0%, transparent 50%);
} */

#about {
    background: linear-gradient(to right, #374151, #059669);
}

#book {
    background: linear-gradient(to right, #374151, #059669);
}

/* Star ratings in reviews */
.fa-star {
    color: #10b981;
}

/* Featured badge on reviews */
.review-card .absolute {
    background: linear-gradient(to right, #10b981, #059669);
}

/* Success checkmarks */
.fa-check {
    color: #10b981;
}

/* Form inputs for admin panel */
input[type="text"],
input[type="file"],
textarea,
select {
    border-color: #d1d5db;
}

input[type="text"]:focus,
input[type="file"]:focus,
textarea:focus,
select:focus {
    border-color: #10b981;
    outline: none;
    ring: 2px;
    ring-color: #10b981;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gradient-text {
        font-size: 2.5rem;
    }
    
    .btn-primary-large,
    .btn-secondary-large {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .service-card,
    .problem-card,
    .why-card,
    .review-card {
        padding: 1.5rem;
    }
}