@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700;800&family=Pacifico&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ==========================================
   CSS CUSTOM PROPERTIES (THEMING & VARIABLES)
   ========================================== */
:root {
    /* Color Palette */
    --color-primary-blue: #1A4DFF;
    --color-primary-pink: #FF4F8B;
    --color-yellow: #FFD54A;
    --color-sky-blue: #DFF5FF;
    --color-light-pink: #FFF1F7;
    --color-white: #FFFFFF;
    --color-text: #222222;
    --color-grey: #777777;
    --color-light-grey: #F0F2F6;
    --color-background: #FAFBFF;
    
    /* Dark Theme Helpers (defaults override in .dark-theme) */
    --color-border: #E8ECF5;
    --color-card-bg: #FFFFFF;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-bubbly: 'Fredoka', sans-serif;
    --font-cursive: 'Pacifico', cursive;
    
    /* Borders & Corners */
    --radius-sm: 10px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-full: 9999px;
    
    /* Soft Shadows */
    --shadow-soft: 0 10px 30px rgba(26, 77, 255, 0.05);
    --shadow-medium: 0 15px 35px rgba(26, 77, 255, 0.1);
    --shadow-pink: 0 10px 25px rgba(255, 79, 139, 0.2);
    --shadow-blue: 0 10px 25px rgba(26, 77, 255, 0.2);
    --shadow-dark: 0 15px 35px rgba(0, 0, 0, 0.05);
    
    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-medium: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}



/* ==========================================
   GLOBAL RESET
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
    max-width: 100%;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

/* Custom Bubbly Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-background);
}
::-webkit-scrollbar-thumb {
    background: var(--color-primary-pink);
    border-radius: var(--radius-full);
    border: 2px solid var(--color-background);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-blue);
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-bubbly);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.25;
}

p {
    font-weight: 400;
    color: var(--color-grey);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.category-grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.d-none { display: none !important; }

/* Colors & Badges */
.bg-blue { background-color: var(--color-primary-blue) !important; color: #fff; }
.bg-pink { background-color: var(--color-primary-pink) !important; color: #fff; }
.bg-yellow { background-color: var(--color-yellow) !important; color: var(--color-text); }
.bg-sky { background-color: var(--color-sky-blue) !important; }
.bg-light-pink { background-color: var(--color-light-pink) !important; }

.badge {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

/* Section Common Structure */
.section {
    padding: 80px 0;
    overflow-x: hidden;
}

.section-title-wrap {
    margin-bottom: 50px;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-grey);
    max-width: 600px;
    margin: 0 auto;
}

.highlight-pink {
    color: var(--color-primary-pink);
    position: relative;
    z-index: 1;
}

.highlight-pink::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--color-light-pink);
    z-index: -1;
    border-radius: var(--radius-sm);
}

.highlight-blue {
    color: var(--color-primary-blue);
    position: relative;
    z-index: 1;
}

.highlight-blue::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--color-sky-blue);
    z-index: -1;
    border-radius: var(--radius-sm);
}

/* Spacers */
.py-20 { padding-top: 20px; padding-bottom: 20px; }
.py-40 { padding-top: 40px; padding-bottom: 40px; }
.my-20 { margin-top: 20px; margin-bottom: 20px; }
.my-40 { margin-top: 40px; margin-bottom: 40px; }
