
/* ==========================================================================
   LARGE DESKTOP (1200px and up)
   ========================================================================== */
@media screen and (min-width: 1200px) {
  .about {
    max-width: 1400px;
  }
  
  .about-item {
    gap: 60px;
    margin-bottom: 80px;
  }
  
  .about-item img {
    width: 220px;
  }
  
  .carousel {
    max-width: 1000px;
  }
  
  .notice-grid {
    max-width: 1400px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   DESKTOP (992px - 1199px)
   ========================================================================== */
@media screen and (max-width: 1199px) {
  .header-nav ul {
    gap: 2rem;
  }
  
  .about h1 {
    font-size: 2.5rem;
  }
  
  .about-item p {
    font-size: 1.3rem;
  }
  
  .carousel-section h2 {
    font-size: 2.2rem;
  }
}

/* ==========================================================================
   TABLET LANDSCAPE (768px - 991px)
   ========================================================================== */
@media screen and (max-width: 991px) {
  /* Header adjustments */
  header {
    padding: 8px 15px;
  }
  
  .header-nav ul {
    gap: 1.5rem;
  }
  
  .header-nav ul a {
    font-size: 0.9rem;
  }
  
  .header-nav .orange-bg {
    padding: 8px 12px;
  }
  
  /* About section */
  .about {
    padding: 0 3%;
  }
  
  .about h1 {
    font-size: 2.2rem;
  }
  
  .about-item {
    gap: 30px;
    margin-bottom: 50px;
  }
  
  .about-item img {
    width: 160px;
  }
  
  .about-item p {
    font-size: 1.2rem;
  }
  
  /* Carousel */
  .carousel {
    max-width: 700px;
  }
  
  .carousel-section h2 {
    font-size: 2rem;
  }
  
  .carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 2rem;
  }
  
  /* Notice section */
  .register-header {
    font-size: 2.2rem;
  }
  
  .notice-text h1 {
    font-size: 2.4rem;
  }
  
  .notice-text h3 {
    font-size: 1.6rem;
  }
  
  .notice-image img {
    width: 80%;
  }
  
  .btn-wide {
    width: 60%;
    padding: 12px 25px;
  }
}

/* ==========================================================================
   TABLET PORTRAIT AND MOBILE (Below 744px) - HAMBURGER MENU ACTIVE
   ========================================================================== */
@media screen and (max-width: 743px) {
  /* Show hamburger button */
  .hamburger {
    display: flex;
  }
  
  /* Header adjustments */
  header {
    padding: 8px 15px;
  }
  
  .header-nav {
    position: relative;
  }
  
  /* Hide regular navigation and transform to mobile menu */
  .header-nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  }
  
  /* Show navigation when active */
  .header-nav ul.active {
    right: 0;
  }
  
  /* Style mobile navigation links */
  .header-nav ul li {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.3s ease-in-out;
    width: 100%;
    text-align: center;
  }
  
  .header-nav ul.active li {
    opacity: 1;
    transform: translateX(0);
  }
  
  /* Stagger the animation of menu items */
  .header-nav ul.active li:nth-child(1) { transition-delay: 0.1s; }
  .header-nav ul.active li:nth-child(2) { transition-delay: 0.2s; }
  .header-nav ul.active li:nth-child(3) { transition-delay: 0.3s; }
  .header-nav ul.active li:nth-child(4) { transition-delay: 0.4s; }
  
  .header-nav ul a {
    font-size: 1.3rem;
    padding: 15px 25px;
    border-radius: 8px;
    transition: all 0.3s;
    text-align: center;
    display: block;
    width: 100%;
  }
  
  .header-nav ul a:hover {
    background-color: rgba(255, 146, 43, 0.2);
  }
  
  .header-nav .orange-bg {
    background-color: #ff922b;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: bold;
  }
  
  .header-nav .orange-bg:hover {
    background-color: #e8831f;
    color: #fff;
  }
  
  /* About section - start stacking elements */
  .about {
    padding: 0 3%;
  }
  
  .about h1 {
    font-size: 1.9rem;
    margin-bottom: 1.5rem;
  }
  
  .about-item {
    flex-direction: column !important; /* Override the nth-child rule */
    text-align: center;
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .about-item img {
    width: 140px;
  }
  
  .about-item p {
    font-size: 1.1rem;
    max-width: 90%;
  }
  
  /* Carousel */
  .carousel-section {
    padding: 30px 15px;
  }
  
  .carousel-section h2 {
    font-size: 1.8rem;
  }
  
  .carousel {
    max-width: 500px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
  }
  
  .left-btn {
    left: 5px;
  }
  
  .right-btn {
    right: 5px;
  }
  
  /* Notice section - stack the grid */
  .notice-section {
    padding: 40px 3%;
  }
  
  .register-header {
    font-size: 1.9rem;
    margin-bottom: 25px;
  }
  
  .notice-grid {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .notice-text {
    flex: none;
  }
  
  .notice-text h1 {
    font-size: 2rem;
  }
  
  .notice-text h3 {
    font-size: 1.4rem;
  }
  
  .notice-text p {
    font-size: 0.95rem;
    max-width: 90%;
    margin: 10px auto;
  }
  
  .notice-image {
    flex: none;
  }
  
  .notice-image img {
    width: 90%;
    max-width: 400px;
  }
  
  .btn-wide {
    width: 70%;
    font-size: 1rem;
  }

  

}

/* ==========================================================================
   MOBILE LANDSCAPE (481px - 575px)
   ========================================================================== */
@media screen and (max-width: 575px) {
  /* Hamburger adjustments */
  .hamburger span {
    width: 22px;
  }
  
  /* Mobile menu adjustments */
  .header-nav ul {
    width: 80%;
    gap: 2rem;
  }
  
  .header-nav ul a {
    font-size: 1.1rem;
    padding: 12px 20px;
  }
  
  .header-nav .orange-bg {
    padding: 12px 25px;
  }
  
  /* Header - more compact */
  header {
    padding: 6px 10px;
  }
  
  .header-nav img {
    height: 35px;
  }
  
  /* Main content */
  main {
    padding: 30px 10px;
  }
  
  /* About section */
  .about {
    height: auto; /* Remove fixed height on mobile */
    min-height: 80vh;
    padding: 20px 2%;
  }
  
  .about h1 {
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
  }
  
  .about-item {
    margin-bottom: 35px;
    gap: 15px;
  }
  
  .about-item img {
    width: 120px;
  }
  
  .about-item p {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  /* Carousel */
  .carousel-section {
    padding: 25px 10px;
  }
  
  .carousel-section h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }
  
  .carousel {
    max-width: 100%;
  }
  
  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
  }
  
  /* Notice section */
  .notice-section {
    padding: 30px 2%;
  }
  
  .register-header {
    font-size: 1.7rem;
    margin-bottom: 20px;
  }
  
  .notice-text h1 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }
  
  .notice-text h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
  
  .notice-text p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .notice-image img {
    width: 95%;
  }
  
  .btn-wide {
    width: 80%;
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   MOBILE PORTRAIT (320px - 480px)
   ========================================================================== */
@media screen and (max-width: 480px) {
  /* Hamburger adjustments */
  .hamburger span {
    width: 20px;
    height: 2px;
  }
  
  /* Mobile menu adjustments */
  .header-nav ul {
    width: 85%;
    gap: 1.8rem;
  }
  
  .header-nav ul a {
    font-size: 1rem;
    padding: 10px 18px;
  }
  
  .header-nav .orange-bg {
    padding: 10px 20px;
  }
  
  /* Header - very compact */
  .header-nav img {
    height: 32px;
  }
  
  /* About section */
  .about h1 {
    font-size: 1.5rem;
  }
  
  .about-item img {
    width: 100px;
  }
  
  .about-item p {
    font-size: 0.95rem;
  }
  
  /* Carousel */
  .carousel-section h2 {
    font-size: 1.4rem;
  }
  
  .carousel-btn {
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
  }
  
  .left-btn {
    left: 2px;
  }
  
  .right-btn {
    right: 2px;
  }
  
  /* Notice section */
  .register-header {
    font-size: 1.5rem;
  }
  
  .notice-text h1 {
    font-size: 1.6rem;
  }
  
  .notice-text h3 {
    font-size: 1.1rem;
  }
  
  .notice-text p {
    font-size: 0.85rem;
  }
  
  .btn-wide {
    width: 90%;
    font-size: 0.9rem;
  }
}









 

/* ==========================================================================
   VERY SMALL MOBILE (up to 359px)
   ========================================================================== */
@media screen and (max-width: 359px) {
  /* Hamburger adjustments */
  .hamburger span {
    width: 18px;
    height: 2px;
  }
  
  /* Mobile menu adjustments */
  .header-nav ul {
    width: 90%;
    gap: 1.5rem;
  }
  
  .header-nav ul a {
    font-size: 0.9rem;
    padding: 8px 15px;
  }
  
  .header-nav .orange-bg {
    padding: 8px 18px;
  }
  
  /* Header - minimal */
  header {
    padding: 5px 8px;
  }
  
  .header-nav img {
    height: 28px;
  }
  
  /* About section */
  .about h1 {
    font-size: 1.3rem;
  }
  
  .about-item img {
    width: 90px;
  }
  
  .about-item p {
    font-size: 0.9rem;
  }
  
  /* Carousel */
  .carousel-section h2 {
    font-size: 1.2rem;
  }
  
  /* Notice section */
  .register-header {
    font-size: 1.3rem;
  }
  
  .notice-text h1 {
    font-size: 1.4rem;
  }
  
  .notice-text h3 {
    font-size: 1rem;
  }
  
  .notice-text p {
    font-size: 0.8rem;
  }
  
  .btn-wide {
    width: 95%;
    padding: 8px 15px;
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
  * {
    background: white !important;
    color: black !important;
  }
  
  header {
    position: static;
  }
  
  .hamburger,
  .carousel-btn,
  .btn-wide {
    display: none;
  }
  
  .header-nav ul {
    position: static !important;
    flex-direction: row !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
  }
  
  .carousel-slide {
    display: block;
    page-break-inside: avoid;
  }
  
  .about-item {
    page-break-inside: avoid;
  }
}

/* ==========================================================================
   LANDSCAPE ORIENTATION SPECIFIC
   ========================================================================== */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .about {
    height: auto;
    min-height: 90vh;
    padding: 10px 2%;
  }
  
  .about h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .about-item {
    margin-bottom: 25px;
  }
  
  .carousel-section {
    padding: 20px 10px;
  }
  
  .notice-section {
    padding: 25px 2%;
  }
  
  /* Adjust mobile menu for landscape */
  .header-nav ul {
    width: 50%;
    justify-content: flex-start;
    padding-top: 60px;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   FOOTER RESPONSIVE STYLES
   ========================================================================== */

@media screen and (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 0 30px;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .social-media {
    justify-content: center;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .footer-bottom-links {
    gap: 15px;
  }
}

@media screen and (max-width: 480px) {
  .footer-container {
    padding: 0 15px;
  }
  
  .footer-top {
    padding: 30px 0 20px;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
  }
  
  .social-link svg {
    width: 18px;
    height: 18px;
  }
  
  .footer-bottom-links {
    flex-direction: column;
    gap: 8px;
  }
}

/* Add this to your media queries section - around line 400+ in your queries.css file */

@media screen and (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 0 30px;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .social-media {
    justify-content: center;
  }
  
  /* Fix for contact info centering */
  .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .contact-info p {
    justify-content: center;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .footer-bottom-links {
    gap: 15px;
  }
}