/*
Theme Name: Grădinița cu program prelungit nr. 8 - Yellow & Blue Edition
Theme URI: #
Description: O temă modernă de grădiniță în culorile galben și albastru pentru Grădinița cu program prelungit nr. 8.
Version: 1.0.0
Author: Antigravity
Author URI: https://gemini.google.com/
License: GNU General Public License v2 or later
Text Domain: gradinita-yellow-blue
*/

/* --- CORE DESIGN SYSTEM --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --blue-primary: #0f4c81;       /* Albastru încrezător/corporate de încredere */
  --blue-dark: #072f54;          /* Albastru închis pentru text și titluri */
  --blue-light: #e8f1f7;         /* Albastru deschis pentru fundaluri secundare */
  --yellow-primary: #ffcb05;     /* Galben vibrant, luminos și prietenos */
  --yellow-dark: #dca700;        /* Galben închis pentru text pe fundal galben */
  --yellow-light: #fef9e7;       /* Galben extrem de fin pentru fundaluri */
  --text-dark: #2d3748;          /* Cărbune închis pentru lizibilitate maximă */
  --text-muted: #718096;         /* Gri dezactivat pentru paragrafe secundare */
  --bg-white: #ffffff;           /* Alb curat */
  --border-color: #e2e8f0;       /* Linie de demarcație fină */
  
  --font-family: 'Outfit', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 4px rgba(15, 76, 129, 0.05);
  --shadow-md: 0 10px 20px rgba(15, 76, 129, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 76, 129, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* --- RESET & GLOBAL STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%; /* 10px base for easy rem calculation */
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--blue-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.4rem;
}

/* --- BUTTONS & CALLS TO ACTION --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem 3.2rem;
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--yellow-primary);
  color: var(--blue-dark);
}

.btn-primary:hover {
  background-color: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(220, 167, 0, 0.3);
}

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

.btn-secondary:hover {
  background-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(15, 76, 129, 0.3);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

.btn-outline:hover {
  background-color: var(--blue-primary);
  color: var(--bg-white);
  transform: translateY(-2px);
}

/* --- HEADER & NAVIGATION --- */
.top-bar {
  background-color: var(--blue-dark);
  color: var(--bg-white);
  padding: 0.8rem 0;
  font-size: 1.3rem;
  font-weight: 500;
}

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

.top-bar-contact {
  display: flex;
  gap: 2.4rem;
}

.top-bar-contact a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
}

.top-bar-contact a:hover {
  color: var(--yellow-primary);
}

.top-bar-social {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.top-bar-social a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.6rem;
}

.top-bar-social a:hover {
  color: var(--yellow-primary);
  transform: scale(1.15);
}

.site-header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--blue-light);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 8.5rem;
}

.logo img {
  max-height: 5.5rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.logo-text {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue-primary);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text span {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.menu-list {
  display: flex;
  gap: 1rem;
}

.menu-item {
  position: relative;
}

.menu-link {
  display: block;
  padding: 1rem 1.6rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.menu-link:hover, .menu-item.active .menu-link {
  color: var(--blue-primary);
  background-color: var(--blue-light);
}

/* Submenu Dropdown */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--yellow-primary);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  min-width: 22rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 999;
}

.menu-item:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu-link {
  display: block;
  padding: 1.2rem 2rem;
  font-size: 1.4rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border-color);
}

.submenu-link:last-child {
  border-bottom: none;
}

.submenu-link:hover {
  background-color: var(--yellow-light);
  color: var(--blue-primary);
  padding-left: 2.4rem;
}

/* Hamburger menu button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.4rem;
  cursor: pointer;
  color: var(--blue-dark);
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.95), rgba(7, 47, 84, 0.85)), url('images/cu-mami-2-banner.jpg');
  background-size: cover;
  background-position: center;
  color: var(--bg-white);
  padding: 10rem 0 12rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background-color: var(--bg-white);
  clip-path: ellipse(60% 40px at 50% 40px);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 6rem;
  align-items: center;
}

.hero-content h1 {
  color: var(--yellow-primary);
  font-size: 4.8rem;
  font-weight: 800;
  margin-bottom: 2.4rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.9rem;
  line-height: 1.6;
  margin-bottom: 4rem;
  color: rgba(255, 255, 255, 0.95);
}

.hero-cta {
  display: flex;
  gap: 1.6rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.6rem 1.6rem;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.hero-badge i {
  color: var(--yellow-primary);
}

.hero-image-wrapper {
  position: relative;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.hero-card h3 {
  color: var(--yellow-primary);
  font-size: 2.2rem;
  margin-bottom: 1.6rem;
}

.hero-card ul {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.hero-card li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.5rem;
}

.hero-card li i {
  color: var(--yellow-primary);
  font-size: 1.8rem;
}

/* --- AGE GROUPS SECTION --- */
.section {
  padding: 8rem 0;
}

.section-bg-light {
  background-color: var(--blue-light);
}

.section-bg-yellow {
  background-color: var(--yellow-light);
}

.section-header {
  text-align: center;
  max-width: 70rem;
  margin: 0 auto 5.6rem;
}

.section-title {
  font-size: 3.6rem;
  font-weight: 800;
  margin-bottom: 1.6rem;
}

.section-subtitle {
  font-size: 1.6rem;
  color: var(--text-muted);
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
  gap: 3rem;
}

.group-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 2px solid transparent;
  transition: var(--transition);
}

.group-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--yellow-primary);
}

.group-card-img {
  height: 22rem;
  overflow: hidden;
  position: relative;
}

.group-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.group-card:hover .group-card-img img {
  transform: scale(1.08);
}

.group-badge {
  position: absolute;
  top: 1.6rem;
  left: 1.6rem;
  background-color: var(--blue-primary);
  color: var(--bg-white);
  padding: 0.4rem 1.2rem;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 50px;
}

.group-card-content {
  padding: 2.4rem;
}

.group-card-title {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.group-card-desc {
  font-size: 1.45rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  height: 7.5rem;
  overflow: hidden;
}

.group-card-btn {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.group-card-btn i {
  transition: var(--transition);
}

.group-card-btn:hover {
  color: var(--yellow-dark);
}

.group-card-btn:hover i {
  transform: translateX(4px);
}

/* --- TARIFFS & PROGRAMS --- */
.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
  gap: 3.2rem;
  margin-bottom: 4.8rem;
}

.tariff-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  border: 3px solid transparent;
  transition: var(--transition);
}

.tariff-card.featured {
  border-color: var(--yellow-primary);
  transform: scale(1.03);
}

.featured-label {
  position: absolute;
  top: -1.6rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--yellow-primary);
  color: var(--blue-dark);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.6rem 2.4rem;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tariff-header h3 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

.tariff-age {
  color: var(--blue-primary);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 2.4rem;
}

.tariff-period {
  background-color: var(--blue-light);
  color: var(--blue-dark);
  padding: 0.4rem 1.6rem;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 3rem;
}

.tariff-programs {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  text-align: left;
  margin-bottom: 4rem;
}

.tariff-program {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
}

.tariff-program:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.program-name {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.program-price {
  color: var(--blue-primary);
  font-size: 2rem;
  font-weight: 800;
}

.program-details {
  display: flex;
  justify-content: space-between;
  font-size: 1.4rem;
  color: var(--text-muted);
}

.tariff-cta-btn {
  width: 100%;
}

.tariffs-actions {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* --- ACCREDITATION / BANNER --- */
.accreditation-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 100%);
  color: var(--bg-white);
  padding: 6rem 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.accreditation-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 203, 5, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.accreditation-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.accreditation-icon {
  font-size: 5rem;
  color: var(--yellow-primary);
  margin-bottom: 2rem;
}

.accreditation-banner h2 {
  color: var(--bg-white);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 2rem;
}

.accreditation-banner p {
  font-size: 1.7rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3.2rem;
}

.doc-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.6rem;
  margin-top: 3.2rem;
}

.doc-btn {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--bg-white);
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 1.35rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition: var(--transition);
}

.doc-btn:hover {
  background-color: var(--yellow-primary);
  color: var(--blue-dark);
  border-color: var(--yellow-primary);
}

/* --- FAQ / ACCORDION --- */
.faq-list {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 2.4rem;
  text-align: left;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--blue-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question:hover {
  background-color: var(--blue-light);
}

.faq-icon {
  width: 2.4rem;
  height: 2.4rem;
  background-color: var(--yellow-primary);
  color: var(--blue-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: var(--blue-primary);
  color: var(--bg-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  background-color: var(--bg-white);
}

.faq-answer-inner {
  padding: 0 2.4rem 2.4rem;
  font-size: 1.5rem;
  color: var(--text-dark);
  border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-answer-inner {
  border-top-color: var(--border-color);
}

/* --- FOOTER & NEWSLETTER --- */
.newsletter-section {
  background-color: var(--yellow-primary);
  padding: 6rem 0;
  text-align: center;
}

.newsletter-inner {
  max-width: 60rem;
  margin: 0 auto;
}

.newsletter-inner h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: var(--blue-dark);
}

.newsletter-inner p {
  font-size: 1.6rem;
  color: var(--blue-dark);
  margin-bottom: 2.4rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  gap: 1.2rem;
  background-color: var(--bg-white);
  padding: 0.6rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.newsletter-form input[type="email"] {
  flex: 1;
  border: none;
  padding: 1.2rem 2rem;
  font-size: 1.5rem;
  outline: none;
  font-family: var(--font-family);
}

.newsletter-form button {
  background-color: var(--blue-primary);
  color: var(--bg-white);
  border: none;
  padding: 1.2rem 3rem;
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: var(--blue-dark);
}

.site-footer {
  background-color: var(--blue-dark);
  color: var(--bg-white);
  padding: 8rem 0 3rem;
  font-size: 1.45rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 4.8rem;
  margin-bottom: 6rem;
}

.footer-widget h4 {
  color: var(--yellow-primary);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2.4rem;
  position: relative;
  padding-bottom: 1rem;
}

.footer-widget h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4rem;
  height: 2px;
  background-color: var(--yellow-primary);
}

.footer-widget p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.6rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-links a:hover {
  color: var(--yellow-primary);
  padding-left: 0.6rem;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.footer-contact-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--yellow-primary);
  font-size: 1.8rem;
  margin-top: 0.3rem;
}

.footer-contact-item div {
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.35rem;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 991px) {
  html {
    font-size: 56.25%; /* 9px base */
  }
  
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-badge {
    justify-content: center;
  }
  
  .hero::after {
    clip-path: ellipse(80% 30px at 50% 30px);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 3rem 2.4rem;
    box-shadow: var(--shadow-lg);
    border-top: 2px solid var(--blue-light);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .main-nav.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .menu-list {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  
  .menu-link {
    font-size: 1.6rem;
    padding: 1.2rem;
  }
  
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-left: 3px solid var(--yellow-primary);
    border-top: none;
    background-color: var(--blue-light);
    margin-left: 2rem;
    margin-top: 0.5rem;
    display: none;
  }
  
  .menu-item.active-submenu .submenu {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 3.6rem;
  }
  
  .tariffs-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .tariffs-actions .btn {
    width: 100%;
  }
  
  .newsletter-form {
    flex-direction: column;
    background: none;
    box-shadow: none;
    padding: 0;
    gap: 1.6rem;
  }
  
  .newsletter-form input[type="email"] {
    background-color: var(--bg-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
  }
  
  .newsletter-form button {
    border-radius: var(--radius-sm);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --- VALUE CARD EFFECTS --- */
.value-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(15, 76, 129, 0.15) !important;
}

/* --- DECORATIVE EMOTICONS --- */
.section, .hero, .site-header {
  position: relative; /* Container for absolute emoticons */
}

.deco-img {
  position: absolute;
  pointer-events: none;
  z-index: 5;
  opacity: 0.95;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.04));
  animation: float-slow 6s ease-in-out infinite alternate;
}

@keyframes float-slow {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-12px) rotate(4deg); }
}

@media (max-width: 1024px) {
  .deco-img {
    width: 60px !important; /* Make them smaller on medium screens */
  }
}

@media (max-width: 768px) {
  .deco-img {
    display: none !important; /* Hide them completely on mobile screens */
  }
}

/* --- ANNOUNCEMENTS PAGE --- */
.announcement-item {
  padding: 3rem 0;
  transition: var(--transition);
}
.announcement-item:hover h3 {
  color: var(--blue-primary);
}
.announcement-separator {
  margin: 3.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.announcement-separator::before,
.announcement-separator::after {
  content: "";
  flex: 1;
  height: 2px;
}
.announcement-separator::before {
  background: linear-gradient(to right, transparent, var(--blue-primary), var(--yellow-primary));
}
.announcement-separator::after {
  background: linear-gradient(to left, transparent, var(--blue-primary), var(--yellow-primary));
}
.announcement-separator-icon {
  color: var(--blue-primary);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--yellow-light);
  border: 2px solid var(--yellow-primary);
  box-shadow: var(--shadow-sm);
}

/* --- ANNOUNCEMENTS YEAR FOLDERS & GRID --- */
.folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.folder-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--blue-light);
  padding: 3rem 2rem 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.folder-card:hover {
  transform: translateY(-8px);
  border-color: var(--yellow-primary);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #ffffff 0%, var(--yellow-light) 100%);
}

.folder-card-icon {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background-color: var(--blue-light);
  border: 3px solid var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.8rem;
  color: var(--blue-primary);
  margin-bottom: 1.8rem;
  transition: var(--transition);
}

.folder-card:hover .folder-card-icon {
  background-color: var(--yellow-primary);
  color: var(--blue-dark);
  border-color: var(--yellow-dark);
  transform: scale(1.1) rotate(-5deg);
}

.folder-card-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 0.8rem;
}

.folder-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.4rem;
  background-color: var(--blue-light);
  color: var(--blue-primary);
  font-weight: 700;
  font-size: 1.3rem;
  border-radius: 20px;
  margin-bottom: 1.8rem;
  border: 1px solid rgba(15, 76, 129, 0.15);
}

.folder-card-action {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
  transition: var(--transition);
}

.folder-card:hover .folder-card-action {
  color: var(--blue-dark);
  transform: translateX(4px);
}

/* Breadcrumb & Navigation Header */
.folder-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  padding-bottom: 2rem;
  border-bottom: 2px dashed var(--blue-light);
}

.breadcrumb-path {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue-dark);
}

.breadcrumb-path a {
  color: var(--blue-primary);
}
.breadcrumb-path a:hover {
  text-decoration: underline;
}

.breadcrumb-path span.current {
  color: var(--blue-dark);
  background-color: var(--yellow-primary);
  padding: 0.4rem 1.4rem;
  border-radius: 8px;
  font-weight: 800;
}

.btn-back-folders {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 1rem 2rem;
  background-color: var(--blue-light);
  color: var(--blue-dark);
  border: 2px solid var(--blue-primary);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.btn-back-folders:hover {
  background-color: var(--blue-primary);
  color: white;
  transform: translateX(-4px);
}

