@keyframes appear {
    from {
        opacity: 0;
        scale: 0.5;
    }
    to {
        opacity: 1;
        scale: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

* {
    font-family: "Baloo Bhaijaan 2", cursive !important;
}

body {
    background: linear-gradient(135deg, #c8d0cc 0%, #a3ada4 100%);
    min-height: 100vh;
    margin: 0;
}

html {
    background-color: #a3ada4;
}

.hero {
    background: linear-gradient(135deg, #c8d0cc 0%, #a3ada4 100%);
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content .tagline {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
}

.hero-content .description {
    font-size: 1rem;
    color: #888;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 500px;
}

.hero-image {
    animation: fadeInUp 0.8s ease-out 0.2s both;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-logo-large {
    max-width: 300px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-decorative-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 127, 80, 0.1);
    z-index: -1;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -50px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -30px;
    left: -30px;
    background: rgba(241, 241, 184, 0.3);
}

.btn-custom {
    background-color: #ff7f50;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 127, 80, 0.3);
}

.btn-custom:hover {
    background-color: #ff6333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 127, 80, 0.4);
    color: white;
}

.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff7f50, #ff6333);
    margin: 1.5rem 0;
    border-radius: 2px;
}

.secondary-hero {
    background-color: rgba(255, 127, 80, 0.87);
    padding: 5rem 2rem;
    margin: 0;
    color: white;
}

.secondary-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.secondary-hero h2 {
    color: white;
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.secondary-hero p {
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.1rem;
}

.custom-card {
    background-color: rgba(241, 241, 184, 0.8);
    color: #333;
    border-radius: 1rem;
    padding: 2.5rem;
    margin: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    animation: appear 0.6s ease-out;
}

.custom-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card-container {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 2rem;
    background-color: #a3ada4;
    border-radius: 1rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card-image {
    margin-bottom: 1.5rem;
}

.card-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.custom-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.custom-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.card-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.card-buttons .btn-custom {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    text-align: center;
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content .description {
        max-width: 100%;
    }

    .divider {
        margin-left: auto;
        margin-right: auto;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}
