* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Montserrat', sans-serif;
      background: #f5f0eb;
      color: #2c2b28;
      scroll-behavior: smooth;
    }

    .container {
      max-width: 1300px;
      margin: 0 auto;
      padding: 0 28px;
    }

    /* btn */
    .btn-primary {
      background: #1e6f5c;
      color: white;
      border: none;
      padding: 14px 34px;
      border-radius: 50px;
      font-weight: 600;
      font-size: 1rem;
      cursor: pointer;
      transition: 0.3s ease;
      display: inline-flex;
      align-items: center;
      gap: 12px;
      box-shadow: 0 6px 14px rgba(30,111,92,0.3);
      font-family: 'Montserrat', sans-serif;
    }
    .btn-primary:hover {
      background: #0f5444;
      transform: translateY(-3px);
      box-shadow: 0 12px 22px rgba(30,111,92,0.4);
    }

    /* Hero Section - fresh design */
    .hero {
      background: linear-gradient(125deg, #fdf8f2 0%, #f2ebe1 100%);
      border-radius: 0 0 60px 60px;
      padding: 50px 0 70px;
      position: relative;
    }
    .hero-grid {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 50px;
    }
    .hero-content {
      flex: 1.2;
    }
    .hero-content .badge {
      background: #1e6f5c20;
      color: #1e6f5c;
      display: inline-block;
      padding: 6px 18px;
      border-radius: 40px;
      font-weight: 600;
      font-size: 0.85rem;
      margin-bottom: 20px;
      font-family: 'Montserrat', sans-serif;
    }
    .hero-content h1 {
      font-size: 3.2rem;
      font-weight: 800;
      color: #2c2b28;
      line-height: 1.2;
      margin-bottom: 20px;
      font-family: 'Montserrat', sans-serif;
    }
    .hero-content p {
      font-size: 1.1rem;
      color: #5a5a57;
      margin-bottom: 28px;
      font-family: 'Montserrat', sans-serif;
      line-height: 1.5;
    }
    .hero-stats {
      display: flex;
      gap: 35px;
      margin: 30px 0;
    }
    .hero-stats div span:first-child {
      font-size: 2rem;
      font-weight: 800;
      color: #1e6f5c;
      display: block;
      font-family: 'Montserrat', sans-serif;
    }
    .hero-stats div {
      font-family: 'Montserrat', sans-serif;
      font-weight: 500;
    }
    .hero-image {
      flex: 0.8;
      background: #ffffffc9;
      border-radius: 40px;
      padding: 12px;
      box-shadow: 0 25px 40px rgba(0,0,0,0.08);
    }
    .hero-image img {
      width: 100%;
      border-radius: 32px;
      max-height: 340px;
      object-fit: cover;
    }
    @media (max-width: 800px) {
      .hero-grid { flex-direction: column; text-align: center; }
      .hero-stats { justify-content: center; }
      .hero-content h1 { font-size: 2.2rem; }
    }

    /* section titles */
    .section-title {
      font-size: 2rem;
      font-weight: 700;
      margin: 60px 0 30px;
      position: relative;
      display: inline-block;
      color: #2c2b28;
      font-family: 'Montserrat', sans-serif;
    }
    .section-title:after {
      content: '';
      width: 70px;
      height: 4px;
      background: #1e6f5c;
      position: absolute;
      bottom: -12px;
      left: 0;
      border-radius: 4px;
    }

    /* registration dual */
    .reg-section {
      background: #ffffff;
      border-radius: 42px;
      box-shadow: 0 20px 35px rgba(0,0,0,0.04);
      padding: 38px;
      margin: 40px 0;
      display: flex;
      flex-wrap: wrap;
      gap: 48px;
    }
    .reg-info { flex: 1; }
    .reg-info h3 { 
      font-size: 1.7rem; 
      margin-bottom: 16px; 
      color: #1e6f5c;
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
    }
    .dates-list { list-style: none; margin: 25px 0; }
    .dates-list li { 
      margin: 16px 0; 
      display: flex; 
      align-items: center; 
      gap: 14px;
      font-family: 'Montserrat', sans-serif;
    }
    .dates-list i { color: #1e6f5c; width: 28px; font-size: 1.2rem; }
    .reg-form {
      flex: 1;
      background: #fefaf5;
      padding: 32px;
      border-radius: 36px;
      border: 1px solid #f0e2d2;
    }
    .reg-form h3 {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      margin-bottom: 20px;
    }
    .form-group { margin-bottom: 20px; }
    .form-group input, .form-group select {
      width: 100%;
      padding: 14px 20px;
      border: 1px solid #e2d8cc;
      border-radius: 60px;
      font-family: 'Montserrat', sans-serif;
      background: white;
      transition: 0.2s;
      font-size: 0.95rem;
    }
    .form-group input:focus { outline: none; border-color: #1e6f5c; }

    /* rank holders tabs */
    .dept-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin: 20px 0 20px;
    }
    .tab-btn {
      background: #ede6dd;
      border: none;
      padding: 10px 28px;
      font-weight: 600;
      border-radius: 50px;
      cursor: pointer;
      transition: 0.2s;
      font-family: 'Montserrat', sans-serif;
      font-size: 0.9rem;
    }
    .tab-btn.active {
      background: #1e6f5c;
      color: white;
    }
    .rank-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
      gap: 30px;
      margin-top: 30px;
    }
    .medal-card {
      background: white;
      border-radius: 34px;
      padding: 24px 20px;
      text-align: center;
      box-shadow: 0 15px 30px rgba(0,0,0,0.05);
      transition: all 0.25s;
    }
    .medal-card:hover { transform: translateY(-6px); box-shadow: 0 22px 35px rgba(0,0,0,0.08); }
    .student-img {
      width: 110px; height: 110px;
      background: #e3d9cf;
      border-radius: 50%;
      margin: 0 auto 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .student-img img { width: 100%; height: 100%; object-fit: cover; }
    .medal-icon { font-size: 1.8rem; margin: 10px 0; }
    .gold { color: #D4AF37; }
    .silver { color: #8faebd; }
    .bronze { color: #cd7f4a; }
    .medal-card h3 {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      margin: 10px 0 5px;
    }
    .medal-card p {
      font-family: 'Montserrat', sans-serif;
      font-size: 0.85rem;
      color: #5a5a57;
      margin: 5px 0;
    }

    /* archive + stats */
    .archive-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      margin: 30px 0 25px;
    }
    .year-arch-btn {
      background: #e7dfd5;
      border: none;
      padding: 10px 26px;
      border-radius: 50px;
      font-weight: 600;
      cursor: pointer;
      font-family: 'Montserrat', sans-serif;
      transition: 0.2s;
    }
    .year-arch-btn.active {
      background: #1e6f5c;
      color: white;
    }
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 25px;
      margin: 35px 0;
    }
    .stat-card {
      background: white;
      border-radius: 32px;
      padding: 22px 12px;
      text-align: center;
      transition: 0.2s;
      border: 1px solid #efe5db;
    }
    .stat-card:hover { transform: translateY(-4px); border-color: #cbdad2; }
    .stat-number {
      font-size: 2.5rem;
      font-weight: 800;
      color: #1e6f5c;
      line-height: 1;
      font-family: 'Montserrat', sans-serif;
    }
    .stat-card div:last-child {
      font-family: 'Montserrat', sans-serif;
      font-weight: 500;
      margin-top: 8px;
    }

    /* gallery grid */
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 25px;
      margin: 35px 0;
    }
    .gallery-item {
      background: #fffcf7;
      border-radius: 30px;
      overflow: hidden;
      transition: 0.25s;
      box-shadow: 0 8px 18px rgba(0,0,0,0.05);
    }
    .gallery-item img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      transition: 0.3s;
    }
    .gallery-item:hover img { transform: scale(1.02); }
    .gallery-caption { 
      padding: 12px; 
      text-align: center; 
      font-weight: 500;
      font-family: 'Montserrat', sans-serif;
      font-size: 0.85rem;
    }

    /* guest + contact */
    .guest-box {
      background: #ffffffea;
      border-radius: 42px;
      padding: 32px 38px;
      margin: 30px 0 40px;
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      align-items: center;
      box-shadow: 0 12px 28px rgba(0,0,0,0.04);
    }
    .guest-img {
      width: 130px; height: 130px;
      background: #1e6f5c;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 3.3rem; color: white;
    }
    .guest-box h3 {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      font-size: 1.5rem;
      margin-bottom: 8px;
    }
    .guest-box p {
      font-family: 'Montserrat', sans-serif;
      line-height: 1.5;
      color: #4a4a47;
    }
    .contact-footer {
      background: #2c2b28;
      color: #f0ede8;
      padding: 45px 0 35px;
      border-radius: 48px 48px 0 0;
      margin-top: 60px;
      text-align: center;
      font-family: 'Montserrat', sans-serif;
    }
    .contact-footer i {
      margin: 0 8px;
    }
    @media (max-width: 650px) {
      .container { padding: 0 20px; }
      .reg-section { padding: 24px; }
      .stat-number { font-size: 2rem; }
      .section-title { font-size: 1.6rem; }
    }
    
     /* Invitation Gallery Section - NEW */
    .invitation-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 28px;
      margin: 35px 0 20px;
    }
    .invitation-card {
      background: white;
      border-radius: 28px;
      overflow: hidden;
      transition: all 0.3s ease;
      box-shadow: 0 12px 24px rgba(0,0,0,0.08);
      cursor: pointer;
    }
    .invitation-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 35px rgba(0,0,0,0.12);
    }
    .invitation-card img {
      width: 100%;
      height: 280px;
      object-fit: cover;
      transition: 0.3s;
    }
    .invitation-card:hover img {
      transform: scale(1.02);
    }
    .invitation-overlay {
      padding: 16px;
      text-align: center;
      background: linear-gradient(135deg, #fff, #fefaf5);
    }
    .invitation-overlay h4 {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
      color: #1e6f5c;
      font-size: 1.1rem;
      margin-bottom: 5px;
    }
    .invitation-overlay p {
      font-family: 'Montserrat', sans-serif;
      font-size: 0.8rem;
      color: #7a7a77;
    }
