/* ========================================
   ASBS IME PGDM - Main Stylesheet
   Version: 1.0
   ======================================== */

/* ========================================
   TABLE OF CONTENTS
   ========================================
   1. Base Styles
   2. Scrollbar Styles
   3. Graphic Patterns
   4. Animations
   5. Mobile Menu
   6. Hero Section
   7. Dropdown Menu
   8. Utility Classes
   ======================================== */


/* ========================================
   1. BASE STYLES
   ======================================== */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ========================================
   2. SCROLLBAR STYLES
   ======================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}


/* ========================================
   3. GRAPHIC PATTERNS
   ======================================== */

.pattern-dots {
    background-image: radial-gradient(#FA475C 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    opacity: 0.1;
}

.pattern-grid {
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(50, 48, 100, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(50, 48, 100, 0.05) 1px, transparent 1px);
}


/* ========================================
   4. ANIMATIONS
   ======================================== */

/* Logo Slider Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll {
    animation: scroll 40s linear infinite;
    display: flex;
    width: max-content;
}

.animate-scroll:hover {
    animation-play-state: paused;
}

/* Pulse Animation */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.img-loading {
    background-color: #e2e8f0;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}


/* ========================================
   5. MOBILE MENU
   ======================================== */

.mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.mobile-menu.open {
    max-height: 100vh;
    opacity: 1;
}

.menu-icon {
    display: inline-block;
}

.menu-icon.hidden {
    display: none;
}


/* ========================================
   6. HERO SECTION
   ======================================== */

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 1.5s ease-in-out;
    opacity: 0;
}

.hero-slide.active {
    opacity: 1;
}


/* ========================================
   7. DROPDOWN MENU
   ======================================== */

.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease-in-out;
}

.group:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* ========================================
   8. UTILITY CLASSES
   ======================================== */

/* Add any additional utility classes here */