* {
  margin: 0; padding: 0; box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #f9f9f9;
  color: #222;
  line-height: 1.6;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex; justify-content: center; align-items: center;
  text-align: center;
  color: white;
}

.bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}

.overlay {
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.55);
  z-index: -1;
}

.hero-content h1 {
  font-size: 3.5rem;
   text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.3), /* Basic shadow for depth */
        2px 2px 4px rgba(0, 0, 0, 0.2), /* Slightly larger shadow for more lift */
        3px 3px 6px rgba(0, 0, 0, 0.1); /* Even larger, fainter shadow for subtle lift */
  line-height: 1.3;
  font-family: 'calistoga' , sans-serif;
  font-weight: 800;
  z-index:30;
}
.hero-content .highlight {
  color: #f9b208; /* gold/orange highlight */
  font-family: 'calistoga' , sans-serif;
}
.hero-content .year {
  color: #28a745; /* green year */
}
.hero-content .date {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-family: 'calistoga' , sans-serif;
  font-weight: 600;
}
.hero-content .tagline {
  font-size: 1rem;
  font-family: 'calistoga' , sans-serif;
  margin-top: 0.5rem;
  opacity: 0.9;
}
.hero-logos {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;  /* smaller padding so they don’t push out */
  z-index: 50;
  overflow-x: hidden; /* prevent scrollbars */
}

.hero-logos img {
  height: 50px;        /* desktop default */
  max-width: 40%;       /* each logo can only take 40% of screen */
  object-fit: contain;  /* keeps logo aspect ratio */
}

/* 📱 Shrink step by step */
@media (max-width: 550px) {
  .hero-logos img {
    height: 120px;
    max-width: 50%;
  }
}

@media (max-width: 350px) {
  .hero-logos img {
    height: 60px;
    max-width: 50%;
  }
}


/* MEDIA QUERIES FOR MOBILE */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .hero-content .date {
    font-size: 1.4rem;
  }
  .hero-content .tagline {
    font-size: 1rem;
  }
  .hero-logos img {
    height: 100px;
    padding-top: 20px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content .date {
    font-size: 1.2rem;
  }
  .hero-content .tagline {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  .hero-content .date {
    font-size: 1rem;
  }
  .hero-content .tagline {
    font-size: 0.8rem;
  }
  .hero-logos {
    gap: 1rem;
    margin-bottom: 1rem;
  }
}

/* Your Existing CSS */
        .about {
          padding: 5rem 2rem;
          background: linear-gradient(135deg, #fff8f0, #fff1e6); /* soft warm background */
          display: flex;
          justify-content: center;
          align-items: center;
          position: relative;
          /* Ensure padding so corners don't overlap content on small screens */
          overflow: hidden; /* Good practice with absolute positioning */
        }

        .about-container {
          width: 90%;
          max-width: 1200px;
          padding: 3rem 4rem;
          text-align: center;

          /* Cultural bubble */
          background: rgba(255, 248, 240, 0.95);
          border-radius: 50px;
          border: 3px solid #d4a373;
          box-shadow:
            0 10px 40px rgba(0,0,0,0.12),
            inset 0 0 30px rgba(212, 163, 115, 0.1);

          /* Traditional pattern overlay */
          /* Using a placeholder gradient as pattern is not available */
          
          background-size: 100px 100px;
          background-position: 0 0, 50px 50px;

          /* Floating bubble animation */
          animation: bubbleFloat 6s ease-in-out infinite alternate;
        }

        /* Decorative Title */
        .about-text h2 {
          font-size: 3rem;
          font-family: 'Poppins', sans-serif;
          color: #b86b33;
          margin-bottom: 1rem;
          position: relative;
          display: inline-block;
        }

        /* Decorative underline / flourish */
        .about-text h2::after {
          content: '✦✦✦';
          display: block;
          font-size: 1.5rem;
          color: #d4a373;
          margin: 0.5rem auto 1.5rem auto;
          letter-spacing: 5px;
        }

        /* Paragraph Styling */
        .about-text p {
          font-size: 1.25rem;
          color: #4d3b2e;
          line-height: 1.8;
          font-family: 'Georgia', serif;
          margin-bottom: 1rem;
        }

        /* Bubble Floating Animation */
        @keyframes bubbleFloat {
          0% { transform: translateY(0px) scale(1); }
          50% { transform: translateY(-10px) scale(1.02); }
          100% { transform: translateY(0px) scale(1); }
        }

        /* === NEW CSS FOR CORNERS (CLEANED UP) === */

        /* Common style for all corner images */
        .corner-decoration {
            position: absolute;
            width: 200px; /* Default large-screen size */
            height: auto;
            z-index: 10;
            pointer-events: none;
            transition: width 0.3s ease, top 0.3s ease, bottom 0.3s ease, left 0.3s ease, right 0.3s ease;
            /* Using a placeholder for visibility */
            /* background-color: #d4a373; (Removed) */
            /* opacity: 0.3; (Removed) */
        }
        
        /* Using placeholder, so let's give it a default size */
        img.corner-decoration {
            /* height: 200px; (Removed) - will use image's natural height */
        }

        /* Top-Left */
        .corner-tl {
            top: 20px;
            left: 20px;
            /* This flips the image vertically to match your screenshot */
            transform: scaleY(-1); 
        }
        
        /* Top-Right */
        .corner-tr {
            top: 20px;
            right: 20px;
            /* This flips the image horizontally and vertically */
            transform: scaleX(-1) scaleY(-1);
        }
        
        /* Bottom-Left */
        .corner-bl {
            bottom: 20px;
            left: 20px;
            /* This is the base image, no transform needed */
            transform: none;
        }
        
        /* Bottom-Right */
        .corner-br {
            bottom: 20px;
            right: 20px;
            /* This flips the image horizontally */
            transform: scaleX(-1);
        }


        /* === RESPONSIVE ADJUSTMENTS (CLEANED UP) === */

        @media (max-width: 1024px) {
            .about-container {
                padding: 3rem 2rem;
                gap: 2rem; /* Note: gap requires display:flex/grid on container */
            }
            .about-text h2 {
                font-size: 2.5rem;
            }
            .about-text p {
                font-size: 1.1rem; /* Was 1.2rem in one, 1.1rem in another. Chose one. */
            }
        }

        @media (max-width: 768px) {
            .about-container {
                padding: 2rem 1.5rem;
                text-align: center;
                /* flex-direction: column; only works if display: flex */
            }
            .about-text h2 {
                font-size: 2rem;
            }
            .about-text p {
                font-size: 1rem;
            }

            /* --- THIS IS THE FIX --- */
            /* Make corners smaller on mobile */
            .corner-decoration {
                width: 150px; /* Set new size */
                height: 150px; /* For placeholder */
            }
            
            /* Re-specify ALL positions for this breakpoint */
            .corner-tl { top: 10px; left: 10px; }
            .corner-tr { top: 10px; right: 10px; }
            .corner-bl { bottom: 10px; left: 10px; } /* Corrected from bottom: -90% */
            .corner-br { bottom: 10px; right: 10px; }
        }

        @media (max-width: 480px) {
            .about {
                padding: 3rem 1rem; /* Added more top/bottom padding */
            }
            .about-container {
                padding: 1.5rem 1rem;
            }
            .about-text h2 {
                font-size: 1.6rem;
            }
            .about-text p {
                font-size: 0.95rem;
            }

            /* --- THIS IS THE FIX --- */
            .corner-decoration {
                width: 100px; /* Make even smaller */
                height: 100px; /* For placeholder */
            }
            
            /* Re-specify ALL positions again */
            .corner-tl { top: 5px; left: 5px; }
            .corner-tr { top: 5px; right: 5px; }
            .corner-bl { bottom: 5px; left: 5px; }
            .corner-br { bottom: 5px; right: 5px; }
        }

  
/* Alignment Section */
.alignment {
  text-align: center;
  background: #002b5c;
  color: white;
  padding: 3rem 1rem;
  font-size: 1.5rem;
}

/* Nav Links (desktop default) */
.nav-links {
  display: flex;
  gap: 20px;
}

/* Hamburger icon hidden on desktop */
.hamburger {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* Mobile styles */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* hidden by default */
    flex-direction: column;
    background-color: #232554;
    position: absolute;
    top: 4rem;
    right: 0;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    gap: 1rem;
    z-index: 999;
  }

  .nav-links.active {
    display: flex; /* show when toggled */
  }

  .hamburger {
    display: block; /* show on mobile */
  }

  .nav-links a {
    font-size: 16px;
    margin: 0;
  }
}

.hero-logos {
  position: absolute;
  top: 0.2px;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: top;
  padding: 0 40px; /* space from edges */
  z-index: 50;
}


.logo {
  height: 120px;   /* adjust as needed */
  width: auto;
  padding-top: 30px;
  object-fit: contain;
  transition: transform 0.3s;
}





/* Register Info Section */
.register-info {
  background: url('../imagesmun/bgforstrip.jpg') no-repeat center center/cover;

  text-align: center;
  padding: 3rem 1rem;
}

.info-container {
  display: flex;
  justify-content: space-evenly;
  gap: 4rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.info-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 200px;
  font-size: 1rem;
  color: #003366;
}

.info-box i {
  font-size: 5rem;
  margin-bottom: 0.8rem;
  color: #003366;
}
.info-box p{
  font-size: 1.4rem;
  font-family: 'poppins', sans-serif;

}

/* Register Button */
.register-btn a {
  display: inline-block;
  background: #003366;
  color: white;
  font-size: 1.4rem;
  font-weight: bold;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s;
}

.register-btn a:hover {
  background: #0055aa;
  transform: translateY(-3px);
}

/* MUN Awards Section */
#mun-awards {
    padding: 80px 20px; /* More padding around the section */
    background-color: #f7f7f9;
}

.mun-awards-strip {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px; /* Increased space between cards */
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.mun-award-card {
    background: linear-gradient(145deg, #ffffff, #e6e6f0);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-radius: 20px;
    flex: 1 1 300px; /* Slightly bigger base width */
    text-align: center;
    padding: 40px 25px; /* More padding inside cards */
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.mun-award-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.mun-award-emoji {
    font-size: 55px; /* Slightly bigger emoji */
    margin-bottom: 20px; /* More space below emoji */
    display: inline-block;
}

.mun-award-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
}

.mun-award-desc {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .mun-awards-strip {
        flex-direction: column;
        align-items: center;
        gap: 30px; /* Space between stacked cards */
    }
}


/* Responsive */
@media (max-width: 768px) {
  .award-item img {
    width: 50px;
    height: 50px;
  }
  .award-item p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .awards-strip {
    flex-direction: column;
    gap: 1.5rem;
  }
  .award-item img {
    width: 45px;
    height: 45px;
  }
  .award-item p {
    font-size: 0.95rem;
  }
}



/* Collaborators */
.collaborators {
  padding: 3rem;
  text-align: center;
}
.collaborator-logos img {
  height: 80px;
  margin: 1rem;
  transition: transform 0.3s;
}
.collaborator-logos img:hover {
  transform: scale(1.1);
}

/* Register */
.register {
  text-align: center;
  padding: 3rem;
  background: #f4f4f4;
}
.btn {
  display: inline-block;
  background: #002b5c;
  color: white;
  padding: 0.8rem 2rem;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s;
}
.btn:hover {
  background: #00509e;
}

/* --- ADDED: Apple-Style Color Palette (Used for new footer) --- */
:root {
    --bg-page: #F5F5F7;
    --bg-content: #FFFFFF;
    --bg-card: #FAFAFA;
    --bg-card-hover: #F0F0F0;
    --text-primary: #1d1d1f;
    --text-secondary: #515154;
    --accent-blue: #0071e3;
    --accent-blue-hover: #0077ed;
    --border-light: #d2d2d7;
    --system-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* -------------------------------------------------------------*/
/* MUN Main Card */
.competition-card {
    background: #96907d;
    border-left: 10px solid #d4af37;
    border: 2px solid black;
    border-radius: 14px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    transition: all 0.3s ease-in-out;
    width: 100%;
    max-width: 1200px;
    cursor: pointer;
    height: 300px;
}

.competition-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.18), 0 0 12px rgba(212,175,55,0.3);
}

.card-logo img {
    max-height: 300px;
}
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');

.card-content h2 {
    color: #7b2d26;
    font-size: 2.5rem;
    font-family: "Cormorant Garamond", serif;
    margin: 0;
    text-transform: uppercase;
}

.card-content p {
    color: #b3541e;
    font-size: 1.3rem;
}

.card-action {
    border: 2px solid #7b2d26;
    color: #7b2d26;
    padding: 10px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.card-action:hover {
    background: #7b2d26;
    color: #fff8e1;
}

/* Modal Overlay */
/* --- Modal Overlay --- */
.mun-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Standard Apple dimming */
    backdrop-filter: blur(10px);          /* Stronger Apple blur */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Triggered by JS to show */
.mun-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* --- Modal Content Box --- */
.mun-modal-content {
    background: var(--bg-content);        /* Pure white */
    border-radius: 20px;                  /* Smooth Apple corners */
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    border: none;                         /* Removed the thick gold border */
    position: relative;
    padding: 40px 40px 0 40px !important; /* Adjusted padding, removed bottom specifically */
    transform: scale(0.98) translateY(15px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mun-modal-overlay.show .mun-modal-content {
    transform: scale(1) translateY(0);
}

/* --- Title --- */
.mun-modal-title {
    font-family: var(--system-font);
    color: var(--text-primary);           /* Nearly black */
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 35px;
    text-align: center;
    letter-spacing: -0.015em;
    text-shadow: none;                    /* Removed text shadow */
}

/* --- Close Button --- */
.mun-close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: var(--text-secondary);         /* Gray */
    cursor: pointer;
    transition: color 0.2s ease;
    font-weight: 300;
    line-height: 1;
}
.mun-close-btn:hover {
    color: var(--text-primary);
}

/* --- Committee Grid --- */
.mun-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* More responsive auto-grid */
    gap: 20px;
    margin-bottom: 40px;
}

/* --- Individual Committee Card --- */
.mun-card {
    background: var(--bg-page);           /* Light Gray */
    border: none;                         /* Removed gold border */
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mun-card:hover {
    transform: scale(1.02);
    background: var(--bg-card-hover);      /* Slightly darker gray on hover */
    box-shadow: none;                      /* Removed deep shadow */
}

.mun-card .logo-box {
    height: 90px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mun-card .logo-box img {
    max-height: 80px;
    width: auto;
    /* Optional: make logos grayscale to fit the minimal theme, remove if unwanted */
    /* filter: grayscale(100%); opacity: 0.8; */ 
}

.mun-card h3 {
    font-family: var(--system-font);
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.mun-card p {
    font-family: var(--system-font);
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
    font-style: normal;                    /* Removed italic */
}

/* --- New Footer Bar (Sticky-ish at bottom of modal) --- */
.modal-footer.mun-footer-bar {
    background: rgba(255, 255, 255, 0.85); /* Slightly more opaque for better readability */
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-light);
    
    /* Positioning matches previous 'sticky' attempt but refined */
    position: sticky; 
    bottom: 0;
    margin: 0 -40px -40px -40px !important; /* pull to edges AND bottom */
    padding: 20px 40px;
    border-radius: 0 0 20px 20px;
    
    /* FLEXBOX FIXES */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Critical: Allows wrapping on smaller screens */
    gap: 20px;       /* Consistent space between price and buttons when they wrap */
}

/* Price Tag Area */
.mun-price-tag {
    display: flex;
    flex-direction: column;
    justify-content: center;
    
}

.mun-price-tag .label {
    color: var(--text-secondary);
    font-family: var(--system-font);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 4px; /* Small gap between label and price */
}

.mun-price-tag del {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.6;
}

/* Action Buttons Container */
.action-group {
    display: flex;
    align-items: center;
    gap: 12px;
    /* Ensure it doesn't shrink too much before wrapping */
    flex-shrink: 0; 
}
/* General Button Style */
.premium-btn {
    font-family: var(--system-font);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 980px; /* Apple pill shape */
    text-transform: none; /* Standard capitalization */
    letter-spacing: 0;
    box-shadow: none;     /* Removed heavy shadows */
}

/* Primary Button (Register) - Apple Blue */
.premium-btn.primary {
    background: var(--accent-blue);
    color: white;
    border: none;
}
.premium-btn.primary:hover {
    background: var(--accent-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

/* Secondary Button (View Matrix) - Gray/Text style */
.premium-btn.secondary {
    background: var(--bg-page);
    color: var(--accent-blue);
    border: none;
}
.premium-btn.secondary:hover {
    background: var(--bg-card-hover);
    color: var(--accent-blue-hover);
    transform: none;
}

/* --- Responsive Tweaks --- */
@media (max-width: 768px) {
    .mun-modal-content {
        padding: 30px 20px 0 20px !important;
        width: 95%;
    }
    .mun-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 15px;
    }
    .modal-footer.mun-footer-bar {
        flex-direction: column;
        gap: 20px;
        margin: 0 -20px;
        padding: 20px;
        text-align: center;
    }
    .mun-price-tag {
        align-items: center;
    }
    .action-group {
        width: 100%;
        flex-direction: column;
    }
    .premium-btn {
        width: 100%;
        justify-content: center;
    }
}
/* --- Competitions Section (Indian Cultural Style with Bigger Cards) --- */
.competitions-section {
    background: linear-gradient(135deg, #f7f3e9, #fde8c6);
    padding-left:20px;
    padding-right:20px;
    padding-top:20px;
    padding-bottom:20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.competitions-section h1 {
    font-family: 'Cinzel', serif;
    font-size: 4.5rem;
    font-weight: 900;
    color: #7b2d26;
    margin-bottom: 45px;
    text-align: center;
    letter-spacing: 2px;
}

.competitions-section h1::after {
    content: "";
    display: block;
    margin: 12px auto 0;
    width: 100px;
    height: 4px;
    background: #b8860b;
    border-radius: 2px;
}

/* Container with vertical stack */
.competitions-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-bottom: 10px;
    padding-top: 20px;
    max-width: 1000px;
    gap: 35px;
}

/* --- Competition Card --- */
.competition-card {
    background: #fff8e1;
    border-left: 10px solid #d4af37;
    border-radius: 14px;
    padding-left:20px;
    padding-right:20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    transition: all 0.3s ease-in-out;
    width: 100%;
    height: 250px; /* taller height */
    font-family: 'Playfair Display', serif;
}

.competition-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.18), 0 0 12px rgba(212,175,55,0.3);
}

/* Logo */
.card-logo {
    flex: 0 0 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-logo img {
    height: 150px; /* bigger logo */
    width: 170px;
}

/* Content (title + subtitle) */
.card-content {
    flex-grow: 1;
    margin-left: 30px;
}

.card-content h2 {
    color: rgb(4, 81, 132);
    font-family: arial black, arial-w01-black, sans-serif;
    letter-spacing: 0.01em;
    font-size: 4rem; /* bigger title */
    font-weight: 600;
    color: #7b2d26;
    margin: 0;
    text-transform: uppercase;
}

.card-content p {
    margin: 8px 0 0;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    font-size: 1.5rem; /* bigger subtitle */
    color: #b3541e;
}

/* Learn More button */
.card-action {
    color: #7b2d26;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem; /* bigger font */
    border: 2px solid #7b2d26;
    margin-right: 30px;
    padding: 10px 22px;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.card-action:hover {
    background: #7b2d26;
    color: #fff8e1;
}

/* --- LUXURY MODAL DESIGN --- */

:root {
    --apple-bg: #ffffff;
    --apple-bg-secondary: #f5f5f7; 
    --apple-text-primary: #1d1d1f;
    --apple-text-secondary: #86868b;
    --apple-blue: #0071e3;
    --apple-blue-hover: #0077ed;
    --apple-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.apple-modal {
    background: var(--apple-bg);
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.16), 0 0 1px rgba(0,0,0,0.1);
    padding: 40px !important;

    /* --- MODIFICATIONS --- */
    width: 100%; /* Be responsive */
    max-width: 560px; /* Tighter, focused width */
    max-height: 90vh; /* Allow scrolling on tall content */
    overflow-y: auto; /* Allow the modal itself to scroll */
    /* --- END MODIFICATIONS --- */

    font-family: var(--apple-font);
    color: var(--apple-text-primary);
    display: flex;
    flex-direction: column;
    gap: 32px;
    border: none; /* No borders in Apple style generally */

    /* --- ADDED FOR ANIMATION --- */
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

/* --- Header --- */
.apple-modal-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.apple-modal h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.1;
    margin: 0;
    color: var(--apple-text-primary);
}

.apple-close-icon {
    font-size: 2rem;
    color: #d2d2d7;
    cursor: pointer;
    line-height: 0.8;
    transition: color 0.2s ease;
}
.apple-close-icon:hover {
    color: var(--apple-text-primary);
}

.apple-description {
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--apple-text-secondary);
    font-weight: 400;
    margin: 0;
}

/* --- Bento Grid Layout --- */
.apple-bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.bento-card {
    background: var(--apple-bg-secondary);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    transition: transform 0.3s ease;
}
.bento-card:hover {
    transform: scale(1.02); /* Subtle interaction */
}

.detail-card {
    min-height: 140px;
}

.icon-container {
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.icon-container i {
    color: var(--apple-text-primary);
    font-size: 1rem;
}

.bento-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--apple-text-secondary);
    margin-bottom: 6px;
}

.bento-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--apple-text-primary);
    line-height: 1.2;
}

/* Price Card Specifics */
.price-card {
    grid-column: span 2; /* Full width */
    background: linear-gradient(135deg, #f5f5f7 0%, #eeeeef 100%);
    flex-direction: row;
    align-items: center;
    padding: 24px 32px;
}

.price-flex {
    margin-left: auto; /* Push to right */
}

.apple-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--apple-text-primary);
    letter-spacing: -0.02em;
}
/* Style for the strikethrough in JS data */
.apple-price s, .apple-price del {
    font-weight: 400;
    color: var(--apple-text-secondary);
    font-size: 1.1rem;
    margin-left: 8px;
}

/* --- Footer Actions --- */
.apple-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-top: 10px;
}

.apple-primary-btn {
    background-color: var(--apple-blue);
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 16px 0;
    width: 100%;
    text-align: center;
    border-radius: 980px; /* Classic Apple pill shape */
    text-decoration: none;
    transition: all 0.2s ease;
}

.apple-primary-btn:hover {
    background-color: var(--apple-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(0, 113, 227, 0.4);
}

.apple-secondary-links {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--apple-text-secondary);
}

.apple-link {
    color: var(--apple-blue);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: var(--apple-font);
    font-size: 0.9rem;
}
.apple-link:hover {
    text-decoration: underline;
}
.close-link {
    color: var(--apple-text-secondary); /* Close is less important */
}
.close-link:hover {
    color: var(--apple-text-primary);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 600px) {
    .apple-modal {
        padding: 32px 24px !important;
        margin: 20px;
        max-height: 90vh;
    }
    .apple-modal h2 {
        font-size: 2rem;
    }
    .apple-bento-grid {
        grid-template-columns: 1fr; /* Stack cards vertically */
        gap: 12px;
    }
    .price-card {
        grid-column: span 1;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .price-flex {
        margin-left: 0;
    }
    .detail-card {
        min-height: auto;
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }
    .icon-container {
        margin-bottom: 0;
    }
    /* Re-orient the label/value for mobile row layout */
    .detail-card .bento-label { display: none; } /* Hide label on super small mobile for cleaner look if preferred, or keep it */
}
/* --- SHARED MODAL OVERLAY STYLES (Apply to both) --- */
.modal-overlay, 
.mun-modal-overlay {
    position: fixed;       /* CRITICAL for pop-up behavior */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4); /* Apple dimming */
    backdrop-filter: blur(10px);          /* Apple blur */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    
    /* Animation Start State */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

/* Shared Show State */
.modal-overlay.show, 
.mun-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Utility to help JS hide them */
.hidden {
    display: none !important;
}
/* The Modal Box Itself */
/* Ensure this matches the class in your HTML: <div id="modal-content" class="modal-content apple-modal"> */
.apple-modal {
    /* Start state for the pop-up box (slightly lower and smaller) */
    transform: scale(0.95) translateY(20px); 
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); /* Smooth Apple "spring" */
}

/* End state when overlay has '.show' */
.modal-overlay.show .apple-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Buttons */
.close-btn {
    background: #e0e0e0;
    color: #333;
}
.close-btn:hover {background: #c7c7c7;}

.register-btn {
    background: #7b2d26;
    color: white;
}
.register-btn:hover {background: #a53f2b;}

.matrix-btn {
    border: 2px solid #7b2d26;
    color: #7b2d26;
    background: #fff8e1;
}
.matrix-btn:hover {
    background: #7b2d26;
    color: white;
}

/* Close icon */
.modal-close-icon {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .competitions-section h1 {font-size: 2.3rem;}
    .competition-card {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
        padding: 25px;
    }
    .card-logo {margin-bottom: 12px;}
    .card-content {margin-left: 0;}
    .card-content h2 {font-size: 1.5rem;}
    .card-content p {font-size: 1rem;}
    .card-action {margin-top: 12px; font-size: 1rem;}
    .modal-content {padding: 25px;}
    .modal-content h2 {font-size: 1.7rem;}
    .modal-buttons {flex-direction: column; width: 100%;}
    .modal-buttons button, .modal-buttons a {width: 100%;}

    /* ADDED: Responsive styles for new MUN bar */
    .modal-footer {
        flex-direction: column; 
        gap: 20px; 
        align-items: stretch;
        text-align: center;
    }
    .mun-price-tag {
        align-items: center;
    }
    .action-group { 
        flex-direction: column; 
        width: 100%; 
        gap: 12px; 
    }
    .premium-btn { width: 100%; }
}


#contact-stripe {
    background-color: #000; /* Black stripe */
    color: #fff;
    padding: 10px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.95rem;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px; /* Space between items */
    flex-wrap: wrap; /* Wrap on small screens */
}

.contact-item a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}
/* --- TRUE MOBILE RESPONSIVE DESIGN (column layout on phones) --- */
@media (max-width: 850px) {

    .competitions-container {
        gap: 25px;
    }

    .competition-card {
        flex-direction: column;           /* Stack vertically */
        align-items: center;
        justify-content: center;
        text-align: center;
        height: auto;
        padding: 25px 20px;
    }

    .card-logo {
        flex: none;
        margin-bottom: 15px;
        justify-content: center;
        align-items: center;
    }

    .card-logo img {
        height: 100px;
        width: auto;
        max-width: 100%;
    }

    .card-content {
        margin-left: 0;
        margin-bottom: 12px;
    }

    .card-content h2 {
        font-size: 2.2rem;
        margin-bottom: 6px;
    }

    .card-content p {
        font-size: 1.1rem;
    }

    .card-action {
        font-size: 1rem;
        padding: 8px 18px;
        border-radius: 25px;
    }
}

/* --- Smaller Phones --- */
@media (max-width: 500px) {

    .competitions-section h1 {
        font-size: 2.3rem;
    }

    .competition-card {
        padding: 20px 15px;
    }

    .card-logo img {
        height: 100px;
        max-width: 95%;
    }

    .card-content h2 {
        font-size: 1.7rem;
    }

    .card-content p {
        font-size: 0.95rem;
    }

    .card-action {
        font-size: 0.85rem;
        padding: 7px 16px;
    }
}
.logo-card {
 /* Initial state for animation: invisible and slightly down */
   opacity: 0;
   transform: translateY(20px);
   transition: opacity 0.6s ease-out, transform 0.6s ease-out;
   will-change: opacity, transform;
}
.logo-card.is-visible {
 /* Final state for animation: visible and in place */
 opacity: 1;
 transform: translateY(0);
}

/* === Section === */
.testimonials {
  text-align: center;
  padding: 60px 20px;
  position: relative;
  background: linear-gradient(135deg, #fdfcfb, #e2d1c3);
  font-family: 'Poppins', sans-serif;
}

.testimonial-heading {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #4b2e2e;
  font-weight: bold;
  letter-spacing: 1px;
  position: relative;
}

.testimonial-heading::after {
  content: "";
  display: block;
  margin: 12px auto 0;
  width: 80px;
  height: 3px;
  background: #b8860b;
  border-radius: 2px;
}

/* === Slider Wrapper === */
.testimonial-slider {
  display: flex;
  transition: transform 0.8s ease;
  width: 100%;                /* full width container */
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

/* === Slider Track (this moves left-right) === */
.testimonial-track {
  display: flex;
  width: 100%;
  transition: transform 0.8s ease;
}

/* === Each Testimonial === */
.testimonial {
  flex: 0 0 100%;              /* each takes 100% of slider width */
  display: flex;
  justify-content: center;
  align-items: stretch;
  filter: blur(4px);
  opacity: 0.6;
  transition: all 0.6s ease;
}

.testimonial.active {
  filter: blur(0);
  opacity: 1;
}

/* === Boxes (Text + Video) === */
.testimonial-text,
.testimonial-video {
  flex: 1;
  max-width: 50%;
  margin: 15px;
  border-radius: 20px;
  overflow: hidden;
  height: 430px;
  box-shadow: 0px 8px 30px rgba(0,0,0,0.2);
  border: 2px solid rgba(184, 134, 11, 0.4);
  background: #fffaf0;
  position: relative;
}

.testimonial-text {
  padding: 30px;
  text-align: left;
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-text h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #6b4226;
}

.testimonial-text p {
  font-style: italic;
  color: #3d2c22;
}

.testimonial-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

/* === Dots === */
.testimonial-dots {
  margin-top: 25px;
}

.dot {
  height: 14px;
  width: 14px;
  margin: 0 6px;
  background-color: #c0a16b;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background-color: #8b5e3c;
  transform: scale(1.2);
}

.testimonial-video {
  position: relative;
}

.unmute-btn {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.unmute-btn:hover {
  background: rgba(0,0,0,0.7);
}


/* === Responsive === */
@media (max-width: 768px) {
  .testimonial {
    flex-direction: column;
  }

  .testimonial-text,
  .testimonial-video {
    max-width: 100%;
    height: 250px;
  }

  .testimonial-text {
    margin-bottom: 20px;
    text-align: center;
    align-items: center;
  }
}

/* Section Styling */
.gallery-section {
  padding: 60px 20px;
  background: #fdf6f0;
  font-family: 'Georgia', serif;
  text-align: center;
}

.cultural-heading {
  font-size: 2.5rem;
  color: #6b2e1e;
  margin-bottom: 10px;
  position: relative;
  font-weight: bold;
}

/* Decorative Cultural Line */
.cultural-line {
  width: 120px;
  height: 4px;
  background: repeating-linear-gradient(
    to right,
    #6b2e1e,
    #6b2e1e 10px,
    #f5deb3 10px,
    #f5deb3 20px
  );
  margin: 0 auto 40px auto;
  border-radius: 2px;
}

/* Masonry Grid */
.masonry-grid {
  column-count: 4;
  column-gap: 0;
  max-width: 1200px;
  margin: 0 auto;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 0;
  border: 2px solid #e0d5c5;
  overflow: hidden;
  transition: transform 0.4s ease;
}

/* Image Styling */
.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Hover Effect: enlarge image */
.masonry-item:hover img {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
  .masonry-grid { column-count: 3; }
}

@media (max-width: 768px) {
  .masonry-grid { column-count: 2; }
}

@media (max-width: 480px) {
  .masonry-grid { column-count: 1; }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .masonry-grid {
    column-count: 3;
    column-gap: 10px;
  }
}

@media (max-width: 900px) and (min-width: 769px) {
  .masonry-grid {
    column-count: 2;
  }
}

/* Mobile: uniform boxes + horizontal scroll */
@media (max-width: 768px) {
  .masonry-grid {
    column-count: 1; /* remove vertical stacking */
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }

  .masonry-item {
    flex: 0 0 80%; /* each box takes 80% width of screen */
    height: 200px; /* uniform height for all boxes */
    scroll-snap-align: start;
    border-radius: 10px;
    border: 2px solid #e0d5c5;
    overflow: hidden;
  }

  .masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* scale image to fit box */
    display: block;
  }

  /* Hide scrollbar for neat look */
  .masonry-grid::-webkit-scrollbar { display: none; }
  .masonry-grid { -ms-overflow-style: none; scrollbar-width: none; }
}