/* /assets/css/custom.css
   - Brand color variables
   - Reusable .btn-primary, .btn-secondary, .card classes
   - Enhanced elegant and rich design system
*/
:root {
    --color-primary: #1a237e;
    /* Dark Blue */
    --color-primary-dark: #0d1642;
    --color-primary-light: #3949ab;
    --color-accent: #ffb300;
    /* Amber/Yellow */
    --color-accent-dark: #ff8f00;
    --color-accent-light: #ffd54f;
    --gradient-primary: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    --gradient-accent: linear-gradient(135deg, #ff8f00 0%, #ffb300 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.2);
}

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

/* Enhanced Buttons */
.btn-primary {
    @apply inline-block px-8 py-3 rounded-lg font-semibold text-primary shadow-lg hover:shadow-xl transition-all duration-300 transform hover:-translate-y-0.5;
    background: var(--gradient-accent);
    border: none;
}

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

.btn-secondary {
    @apply inline-block px-8 py-3 rounded-lg font-semibold border-2 border-accent text-accent bg-white hover:bg-accent hover:text-white transition-all duration-300 shadow-md hover:shadow-lg transform hover:-translate-y-0.5;
}

/* Enhanced Cards */
.card {
    @apply bg-white rounded-2xl p-8 flex flex-col items-center text-center gap-4;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: var(--color-accent-light);
}

.card-icon {
    @apply w-16 h-16 flex items-center justify-center rounded-full mb-3 text-2xl;
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-md);
}

.card-title {
    @apply font-heading text-xl font-bold mb-2;
    color: var(--color-primary);
}

.card-desc {
    @apply text-gray-600 text-base leading-relaxed;
}

/* Section Enhancements */
.section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* Alternate Section Background */
.alt-section {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 4rem 0;
}

/* Rating Box Enhancement */
.rating-box {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 16px;
    padding: 2rem;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
    margin: 0 auto 2rem auto;
    text-align: center;
    border: 2px solid var(--color-accent-light);
}

/* Form Enhancements */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(255, 179, 0, 0.1);
}

/* Hero Section Gradient */
.bg-primary {
    background: var(--gradient-primary);
}

/* Utility Classes */
.mb-10 {
    margin-bottom: 2.5rem;
}

/* Link Hover Effects */
a {
    transition: all 0.2s ease;
}

/* Testimonial/Quote Styling */
blockquote {
    border-left: 4px solid var(--color-accent);
    padding-left: 1.5rem;
    font-style: italic;
    color: #4b5563;
}

/* Image Enhancements */
img {
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.02);
}

/* Footer Enhancement */
footer {
    background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
}

/* Accent Stars */
.text-accent {
    color: var(--color-accent);
    text-shadow: 0 0 8px rgba(255, 179, 0, 0.3);
}

/* Mobile Menu Enhancement */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

/* ========================================
   ADVANCED ANIMATIONS & EFFECTS
   ======================================== */

/* Gradient Animation for Hero Background */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animate-gradient-shift {
    background-size: 200% 200%;
    animation: gradient-shift 15s ease infinite;
}

/* Gradient Text Animation */
@keyframes gradient-x {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.animate-gradient-x {
    background-size: 200% auto;
    animation: gradient-x 3s linear infinite;
}

/* Floating Blob Animation */
@keyframes blob {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(20px, -50px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    75% {
        transform: translate(50px, 50px) scale(1.05);
    }
}

.animate-blob {
    animation: blob 20s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Fade In Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-down {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-up {
    animation: fade-in-up 1s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-down {
    animation: fade-in-down 0.6s ease-out forwards;
    opacity: 0;
}

/* Pulse Animation for Badge */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 179, 0, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(255, 179, 0, 0.6);
    }
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Bounce Animation */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* Rotate on Hover */
.hover-rotate:hover {
    transform: rotate(360deg);
    transition: transform 0.6s ease;
}

/* Scale on Hover */
.hover-scale:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Glow Effect */
.glow {
    box-shadow: 0 0 20px rgba(255, 179, 0, 0.5);
}

.glow-hover:hover {
    box-shadow: 0 0 30px rgba(255, 179, 0, 0.8);
    transition: box-shadow 0.3s ease;
}

/* Parallax Effect */
.parallax {
    transform: translateZ(0);
    will-change: transform;
}

/* Smooth Transitions */
.transition-smooth {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glass Morphism */
.glass {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Gradient Border */
.gradient-border {
    position: relative;
    background: white;
    border-radius: 1rem;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}