/* Custom CSS for CEO Zila Panchayat, Chhatarpur Website */
/* Prevent ultra-small screen squishing */
body {
    min-width: 320px;
  }
  
  html, body {
    overflow-x: auto;
  }
  
  * {
    word-break: break-word;
  }
  
/* Base Styles */
.body-base {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb; /* bg-gray-50 */
    color: #374151; /* text-gray-800 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header */
.header-main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #111827;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}


.header-container {
    max-width: 1280px; /* mx-auto, container */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem; /* px-4 */
    padding-right: 1rem; /* px-4 */
}
@media (min-width: 640px) { /* sm:px-6 */
    .header-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
@media (min-width: 1024px) { /* lg:px-8 */
    .header-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem; /* h-20 */
}

.logo-title-group {
    display: flex;
    align-items: center;
    column-gap: 1rem; /* space-x-4 */
    margin-right: 1rem; /* Added for spacing */
}

.logo-img {
    height: 4rem; /* h-16 */
    width: 5rem; /* w-20 */
    padding: 0.125rem; /* p-0.5 */
}
@media (min-width: 640px) { /* sm:h-20 sm:w-24 */
    .logo-img {
        height: 5rem;
        width: 6rem;
    }
}

.main-title {
    font-size: 1.25rem; /* text-xl */
    font-weight: 800; /* font-extrabold */
    color: #fcd34d; /* text-yellow-400 */
    line-height: 1.25; /* leading-tight */
}
@media (min-width: 200px) { .main-title { font-size: 0.8rem } }
@media (min-width: 247px) { .main-title { font-size: 0.6rem } }
@media (min-width: 268px) { .main-title { font-size: 0.8rem } }
@media (min-width: 640px) { .main-title { font-size: 1.5rem } }

.subtitle {
    font-size: 0.75rem; /* text-xs */
    color: #d1d5db; /* text-gray-300 */
}
@media (min-width: 640px) { /* sm:text-sm */
    .subtitle {
        font-size: 0.875rem;
    }
}

.desktop-nav {
    display: none; /* Hidden by default for mobile */
    align-items: center;
    column-gap: 1.3rem; /* space-x-8 */
}
@media (min-width: 768px) { /* md:flex - Show for medium and larger screens */
    .desktop-nav {
        display: flex;
    }
}

.nav-link {
    color: #e5e7eb; /* text-gray-200 */
    font-weight: 500; /* font-medium */
    transition-property: color;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); /* transition */
}
.nav-link:hover {
    color: #3b82f6; /* hover:text-blue-500 */
}

.nav-active {
    color: #3b82f6; /* blue-500 from Tailwind */
    font-weight: 700; /* Extra bold */
}

/* Fix mobile menu button visibility */
.mobile-menu-toggle {
    display: block; /* Show by default on mobile */
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none; /* Hide on medium screens and above */
    }
}

.mobile-menu-button {
    color: #d1d5db; /* text-gray-300 */
    padding: 0.5rem; /* p-2 */
    border-radius: 0.375rem; /* rounded-md */
    transition-property: color;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu-button:hover {
    color: #ffffff; /* hover:text-white */
}
.mobile-menu-button:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.mobile-nav-menu {
    background-color: #1f2937;
    border-top: 1px solid #374151;
    position: relative;
    z-index: 40;
    padding: 1rem 0;
}
.mobile-nav-link {
    display: block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    color: #e5e7eb;
    transition: background-color 0.3s;
}

.mobile-nav-link:hover {
    background-color: #374151;
}

.mobile-nav-link.nav-active {
    color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.1);
}

/* Hero Section */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden; /* Ensure content stays within bounds for animations */
    height:700px !important;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to bottom right, rgba(0, 0, 0, 0.6), rgba(29, 78, 216, 0.7)); /* bg-gradient-to-br from-black/60 to-blue-900/70 */
}

.hero-container {
    position: relative;
    z-index: 10;
    max-width: 1280px; /* mx-auto, container */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem; /* px-4 */
    padding-right: 1rem; /* px-4 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding-top: 5rem; /* py-20 */
    padding-bottom: 5rem; /* py-20 */
}
@media (min-width: 640px) { /* sm:px-6 */
    .hero-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
@media (min-width: 1024px) { /* lg:flex-row lg:py-0 lg:px-8 */
    .hero-container {
        flex-direction: row;
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.hero-text-content {
    text-align: center;
    margin-bottom: 2.5rem; /* mb-10 */
}
@media (min-width: 1024px) { /* lg:w-1/2 lg:text-left lg:mb-0 */
    .hero-text-content {
        width: 50%;
        text-align: left;
        margin-bottom: 0;
    }
}

.hero-tagline {
    font-size: 1.25rem; /* text-xl */
    font-weight: 500; /* font-medium */
    text-transform: uppercase;
    letter-spacing: 0.05em; /* tracking-wider */
    color: #93c5fd; /* text-blue-200 */
}
@media (min-width: 768px) { /* md:text-2xl */
    .hero-tagline {
        font-size: 1.5rem;
    }
}

.hero-title {
    font-size: 28px; /* text-4xl */
    font-weight: 700; /* font-bold */
    margin-top: 1rem; /* my-4 */
    margin-bottom: 1rem;
    line-height: 1.25; /* leading-tight */
}
@media (min-width: 768px) { /* md:text-6xl */
    .hero-title {
        font-size: 28px !important;
    }
}

.hero-description {
    margin-top: 1rem; /* mt-4 */
    color: #e5e7eb; /* text-gray-200 */
    max-width: 36rem; /* max-w-xl */
    margin-left: auto; /* mx-auto */
    margin-right: auto; /* mx-auto */
    font-size: 1.125rem; /* text-lg */
}
@media (min-width: 1024px) { /* lg:mx-0 */
    .hero-description {
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-cta-button {
    margin-top: 2rem; /* mt-8 */
    display: inline-block;
    background-color: #ffffff;
    color: #1d4ed8; /* text-blue-700 */
    font-weight: 600; /* font-semibold */
    padding: 0.75rem 2rem; /* py-3 px-8 */
    border-radius: 9999px; /* rounded-full */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-xl */
    transition-property: background-color, transform;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); /* transition */
}
.hero-cta-button:hover {
    background-color: #dbeafe; /* hover:bg-blue-100 */
    transform: scale(1.05); /* hover:scale-105 */
}

.ceo-card-wrapper {
    width: 100%; /* w-full */
}
@media (min-width: 1024px) { /* lg:w-1/3 */
    .ceo-card-wrapper {
        width: 33.333333%;
    }
}

.ceo-card {
    background-color: rgba(255, 255, 255, 0.15); /* bg-white bg-opacity-15 */
    backdrop-filter: blur(8px); /* backdrop-filter backdrop-blur-lg */
    padding: 1.5rem; /* p-6 */
    border-radius: 1.5rem; /* rounded-3xl */
    border: 1px solid rgba(255, 255, 255, 0.3); /* border border-white border-opacity-30 */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* shadow-2xl */
}

.ceo-image {
    width: 12rem; /* w-48 */
    height: 12rem; /* h-48 */
    border-radius: 9999px; /* rounded-full */
    margin-left: auto;
    margin-right: auto; /* mx-auto */
    border: 4px solid rgba(147, 197, 253, 0.7); /* ring-4 ring-blue-300 ring-opacity-70 */
    object-fit: cover;
}
@media (min-width: 640px) { /* sm:w-64 sm:h-64 */
    .ceo-image {
        width: 16rem;
        height: 16rem;
    }
}

.ceo-details {
    text-align: center;
    margin-top: 1.5rem; /* mt-6 */
}

.ceo-name {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700; /* font-bold */
    color: #ffffff;
}

.ceo-title {
    color: #93c5fd; /* text-blue-200 */
    font-weight: 500; /* font-medium */
}

/* Important Notice Ticker */
.notice-ticker-bar {
    background-color: #1d4ed8; /* bg-blue-700 */
    color: #ffffff;
    padding-top: 0.75rem; /* py-3 */
    padding-bottom: 0.75rem;
}

.notice-ticker-container {
    max-width: 1280px; /* container */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem; /* px-4 */
    padding-right: 1rem; /* px-4 */
    display: flex;
    align-items: center;
}
@media (min-width: 640px) { /* sm:px-6 */
    .notice-ticker-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
@media (min-width: 1024px) { /* lg:px-8 */
    .notice-ticker-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.notice-label {
    font-weight: 700; /* font-bold */
    background-color: #ffffff;
    color: #1d4ed8; /* text-blue-700 */
    font-size: 0.875rem; /* text-sm */
    padding: 0.375rem 1rem; /* px-4 py-1.5 */
    border-radius: 9999px; /* rounded-full */
    margin-right: 1rem; /* mr-4 */
    flex-shrink: 0; /* flex-shrink-0 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-md */
}

.notice-text-wrapper {
    overflow: hidden;
    flex-grow: 1;
    display: flex; /* Allow content to be flexible */
    white-space: nowrap; /* Keep content on a single line */
}

.notice-text {
    /* No animation here, handled by JS */
    display: inline-block; /* Ensure it takes up necessary width for measurement */
    padding-right: 3rem; /* Add space between repeated text instances */
    font-size: 1rem; /* text-base */
}


/* About Section */
.about-section {
    padding-top: 4rem; /* py-16 */
    padding-bottom: 4rem; /* py-16 */
    background-color: #ffffff;
}
@media (min-width: 640px) { /* sm:py-24 */
    .about-section {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.about-container {
    max-width: 1280px; /* container */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem; /* px-4 */
    padding-right: 1rem; /* px-4 */
    /* display: grid; */
    grid-template-columns: 1fr; /* grid-cols-1 */
    gap: 3rem; /* gap-12 */
    align-items: center;
    text-align:center;
}
@media (min-width: 640px) { /* sm:px-6 */
    .about-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
@media (min-width: 1024px) { /* lg:grid-cols-2 lg:gap-16 lg:px-8 */
    .about-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.about-image-wrapper {
    width: 400px;
    height: 425px;
    border-radius: 1rem; /* rounded-2xl */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* shadow-2xl */
    overflow: hidden;
    transform-origin: center;
    transition-property: transform;
    transition-duration: 500ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); /* transition-transform duration-500 */
}
.about-image-wrapper:hover {
    transform: scale(1.05); /* hover:scale-105 */
}

.about-image {
    width: 400px;
    height: 400px;
    /* object-fit: cover; */
}

.about-content {
    /* No direct Tailwind classes here, handled by text styles below */
}

.about-subtitle {
    color: #2563eb; /* text-blue-600 */
    font-weight: 600; /* font-semibold */
    text-transform: uppercase;
    letter-spacing: 0.05em; /* tracking-wider */
    margin-bottom: 0.5rem; /* mb-2 */
    display: block;
}

.about-title {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700; /* font-bold */
    margin-top: 0.5rem; /* mt-2 */
    margin-bottom: 1.5rem; /* mb-6 */
    color: #111827; /* text-gray-900 */
}
@media (min-width: 768px) { /* md:text-4xl */
    .about-title {
        font-size: 2.25rem;
    }
}

.about-description {
    color: #374151; /* text-gray-700 */
    line-height: 1.625; /* leading-relaxed */
    font-size: 1.125rem; /* text-lg */
    margin-bottom: 1rem; /* mb-4 */
}

/* Stats Section */
.stats-section {
    padding-top: 4rem; /* py-16 */
    padding-bottom: 4rem; /* py-16 */
    background-color: #dbeafe; /* bg-blue-100 */
}
@media (min-width: 640px) { /* sm:py-24 */
    .stats-section {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.stats-container {
    max-width: 1280px; /* container */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem; /* px-4 */
    padding-right: 1rem; /* px-4 */
}
@media (min-width: 640px) { /* sm:px-6 */
    .stats-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
@media (min-width: 1024px) { /* lg:px-8 */
    .stats-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.stats-header {
    text-align: center;
    margin-bottom: 4rem; /* mb-16 */
}

.stats-title {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700; /* font-bold */
    color: #1e3a8a; /* text-blue-900 */
    margin-bottom: 1rem; /* mb-4 */
}
@media (min-width: 768px) { /* md:text-4xl */
    .stats-title {
        font-size: 2.25rem;
    }
}

.stats-description {
    color: #1d4ed8; /* text-blue-700 */
    font-size: 1.125rem; /* text-lg */
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr; /* grid-cols-1 */
    gap: 2rem; /* gap-8 */
}
@media (min-width: 640px) { /* sm:grid-cols-2 */
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) { /* lg:grid-cols-4 */
    .stats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.stat-card {
    background-color: #ffffff;
    padding: 2rem; /* p-8 */
    border-radius: 1rem; /* rounded-2xl */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-xl */
    text-align: center;
    transform-origin: center;
    transition-property: transform;
    transition-duration: 500ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); /* transition-transform duration-500 */
}
.stat-card:hover {
    transform: translateY(-0.75rem); /* hover:-translate-y-3 */
}

.stat-icon-wrapper {
    height: 4rem; /* h-16 */
    width: 4rem; /* w-16 */
    border-radius: 9999px; /* rounded-full */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto; /* mx-auto */
    margin-bottom: 1.5rem; /* mb-6 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-md */
    color: #ffffff; /* Default icon color to white */
}

.stat-icon {
    height: 2.25rem; /* h-9 */
    width: 2.25rem; /* w-9 */
}

/* Specific Stat Card Colors */
.stat-card-blue .stat-icon-wrapper {
    background-color: #2563eb; /* bg-blue-600 */
}
.stat-card-blue .stat-number {
    color: #1e3a8a; /* text-blue-800 */
}
.stat-card-blue {
    border: 1px solid #bfdbfe; /* border border-blue-200 */
}

.stat-card-green .stat-icon-wrapper {
    background-color: #16a34a; /* bg-green-600 */
}
.stat-card-green .stat-number {
    color: #14532d; /* text-green-800 */
}
.stat-card-green {
    border: 1px solid #dcfce7; /* border border-green-200 */
}

.stat-card-yellow .stat-icon-wrapper {
    background-color: #eab308; /* bg-yellow-600 */
}
.stat-card-yellow .stat-number {
    color: #854d09; /* text-yellow-800 */
}
.stat-card-yellow {
    border: 1px solid #fef08a; /* border border-yellow-200 */
}

.stat-card-purple .stat-icon-wrapper {
    background-color: #9333ea; /* bg-purple-600 */
}
.stat-card-purple .stat-number {
    color: #581c87; /* text-purple-800 */
}
.stat-card-purple {
    border: 1px solid #e9d5ff; /* border border-purple-200 */
}

.stat-number {
    font-size: 3rem; /* text-5xl */
    font-weight: 800; /* font-extrabold */
}

.stat-label {
    color: #4b5563; /* text-gray-600 */
    margin-top: 0.5rem; /* mt-2 */
    font-size: 1.125rem; /* text-lg */
}


/* Pre-Footer Contact Section */
.pre-footer-contact-section {
    background-color: #1e40af; /* bg-blue-800 */
    color: #ffffff;
    padding-top: 4rem; /* py-16 */
    padding-bottom: 4rem; /* py-16 */
    text-align: center;
}

.pre-footer-contact-container {
    max-width: 1280px; /* container */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem; /* px-4 */
    padding-right: 1rem; /* px-4 */
}
@media (min-width: 640px) { /* sm:px-6 */
    .pre-footer-contact-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
@media (min-width: 1024px) { /* lg:px-8 */
    .pre-footer-contact-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.pre-footer-contact-title {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700; /* font-bold */
    margin-bottom: 1rem; /* mb-4 */
}
@media (min-width: 640px) { /* sm:text-4xl */
    .pre-footer-contact-title {
        font-size: 2.25rem;
    }
}

.pre-footer-contact-info {
    font-size: 1.125rem; /* text-lg */
    color: #bfdbfe; /* text-blue-200 */
    margin-bottom: 0; /* Remove the extra margin from previous button */
}

.contact-link {
    color: inherit; /* Inherit color from parent */
    text-decoration: underline; /* Add underline for links */
    transition: color 300ms ease;
}

.contact-link:hover {
    color: #ffffff; /* Lighter blue on hover */
}


/* Footer */
.footer-main {
    background-color: #111827; /* bg-gray-900 */
    color: #d1d5db; /* text-gray-300 */
    padding-top: 3rem; /* py-12 */
    padding-bottom: 3rem; /* py-12 */
}

.footer-container {
    max-width: 1280px; /* container */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem; /* px-4 */
    padding-right: 1rem; /* px-4 */
}
@media (min-width: 640px) { /* sm:px-6 */
    .footer-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
@media (min-width: 1024px) { /* lg:px-8 */
    .footer-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr; /* grid-cols-1 */
    gap: 2rem; /* gap-8 */
}
@media (min-width: 768px) { /* md:grid-cols-4 */
    .footer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.footer-col {
    /* No specific styles needed here, handled by child elements */
}

.footer-heading {
    font-size: 1.125rem; /* text-lg */
    font-weight: 600; /* font-semibold */
    color: #ffffff;
    margin-bottom: 1rem; /* mb-4 */
}

.footer-info .footer-text {
    font-size: 0.875rem; /* text-sm */
    color: #9ca3af; /* text-gray-400 */
}

.footer-links {
    list-style: none; /* Removed default list style */
    padding: 0.5rem; /* Removed default padding */
    margin: 0; /* Removed default margin */
    row-gap: 0.5rem; /* space-y-2 */
}

.footer-link {
    color: #9ca3af; /* text-gray-400 */
    transition-property: color;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); /* transition-colors */
}
.footer-link:hover {
    color: #ffffff; /* hover:text-white */
}

.footer-contact-list {
    list-style: none;
    padding: 0.5rem;
    margin: 0;
    row-gap: 0.5rem; /* space-y-2 */
    color: #9ca3af; /* text-gray-400 */
}

.footer-contact-item {
    display: flex;
    align-items: flex-start; /* items-start */
}

.footer-contact-icon {
    width: 1.25rem; /* w-5 */
    height: 1.25rem; /* h-5 */
    margin-right: 0.5rem; /* mr-2 */
    margin-top: 0.25rem; /* mt-1 (for address) */
    flex-shrink: 0;
}

.footer-bottom-bar {
    margin-top: 2.5rem; /* mt-10 */
    border-top: 1px solid #374151; /* border-t border-gray-800 */
    padding-top: 1.5rem; /* pt-6 */
    text-align: center;
    font-size: 0.875rem; /* text-sm */
    color: #6b7280; /* text-gray-500 */
}

.footer-copyright {
    /* No additional styles */
}

.footer-designer {
    margin-top: 0.25rem; /* mt-1 */
}
.footer-credit{ 
    color: #ffffff;
    text-decoration: underline;
}
.footer-credit:hover{
    color: #dbeafe;
}
/* Animations for Hero Section elements */
/* Fade In Down */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
}
.animate-fade-in-down.delay-100 {
    animation-delay: 0.1s;
    animation-fill-mode: backwards;
}

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}
.animate-fade-in-up.delay-200 {
    animation-delay: 0.2s;
    animation-fill-mode: backwards;
}

/* Bounce In (for CTA button) */
@keyframes bounceIn {
    0%, 20%, 40%, 60%, 80%, 100% {
        transition-timing-function: cubic-bezier(0.215, .61, .355, 1);
    }
    0% {
        opacity: 0;
        transform: scale3d(.3, .3, .3);
    }
    20% {
        transform: scale3d(1.1, 1.1, 1.1);
    }
    40% {
        transform: scale3d(.9, .9, .9);
    }
    60% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }
    80% {
        transform: scale3d(.97, .97, .97);
    }
    100% {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}
.animate-bounce-in {
    animation: bounceIn 1s ease-out forwards;
}
.animate-bounce-in.delay-300 {
    animation-delay: 0.3s;
    animation-fill-mode: backwards;
}

/* Fade In Left (for About section image) */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.animate-fade-in-left {
    animation: fadeInLeft 1s ease-out forwards;
}

/* Fade In Right (for About section text) */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.animate-fade-in-right {
    animation: fadeInRight 1s ease-out forwards;
}
.animate-fade-in-right.delay-400 {
    animation-delay: 0.4s;
    animation-fill-mode: backwards;
}
