/* 
 * Anyadha Group - Custom Styles
 */

* {
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #673de6;
    --primary-dark: #5025d1;
    --secondary-color: #00b090;
    --light-bg: #ebe4ff;
    --dark-text: #1d1e20;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background: #fafbfc;
    color: var(--dark-text);
    overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    position: relative;
    margin: 0 10px;
    font-weight: 500;
    transition: var(--transition);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

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

.navbar-nav .nav-link:hover {
    color: #fff !important;
}

/* ===== ALERTS ===== */
.alert {
    border: none;
    border-radius: 12px;
    animation: slideDown 0.3s ease;
    margin-bottom: 2rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(39, 174, 96, 0.35)), url('/images/generated-rmtz7VDpHPn38Ue2.webp') center/cover no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    animation: slideInUp 0.8s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
    animation: slideInUp 0.8s ease 0.2s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 0.8s ease 0.4s both;
}

/* ===== BUTTONS ===== */
.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(103, 61, 230, 0.3);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #008361;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 176, 144, 0.3);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

/* ===== CARDS ===== */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-body {
    padding: 30px;
}

.card-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* ===== SECTIONS ===== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(103, 61, 230, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-card h3 {
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 15px;
}

/* ===== FORMS ===== */
.form-control,
.form-select {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(103, 61, 230, 0.15);
    outline: none;
}

.form-group {
    margin-bottom: 25px;
}

label {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 10px;
    display: block;
}

/* ===== IMAGES ===== */
.img-fluid {
    border-radius: 15px;
    transition: var(--transition);
}

.img-hover:hover {
    transform: scale(1.05);
}

/* ===== BADGES ===== */
.badge {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    background: var(--light-bg);
    color: var(--primary-dark);
}

.badge-success {
    background: rgba(0, 176, 144, 0.15);
    color: var(--secondary-color);
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    margin-bottom: 40px;
    margin-left: 80px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -52px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 5px var(--light-bg);
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* ===== TESTIMONIALS ===== */
.testimonial {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin: 20px 0;
    position: relative;
    border-left: 4px solid var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--dark-text);
}

.testimonial-title {
    font-size: 0.9rem;
    color: #999;
}

/* ===== STATS ===== */
.stat-box {
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #666;
    margin-top: 10px;
    font-weight: 600;
}

/* ===== HOVER EFFECTS ===== */
.hover-link {
    position: relative;
    transition: color 0.3s ease;
}

.hover-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

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

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== UTILITIES ===== */
.rounded-xxl {
    border-radius: 25px;
}
.rounded-soft {
    border-radius: 30px;
    filter: drop-shadow(0 0 15px rgba(0,0,0,0.08));
    overflow: hidden;
}
.shadow-lg-custom {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.bg-light-gradient {
    background: linear-gradient(135deg, rgba(103, 61, 230, 0.05) 0%, rgba(0, 176, 144, 0.05) 100%);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        gap: 10px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        margin-left: 50px;
    }
    
    .timeline-item::before {
        left: -30px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.animate-fade {
    animation: fadeIn 0.8s ease;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}
