/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: "Barlow", sans-serif;
}

/* Hero Section */
.hero {
    background-image: url("/images/Photo1.jpeg");
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;

}
h1 {
    font-weight: 800;
}

h2 {
    font-weight: 500
}

h3 {
    font-weight:400
}

h4 {
    font-weight: 300
}

.small-text {
    font-size: 0.2em;
    opacity: 0.8;

}

.navbar-inside-hero {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    z-index:10;

}

.logo-center {
    display: FLEX;
    margin: 0 auto;
    height: 50px;
}


.nav-links {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links li a {
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    font-size: 1em;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #008CFF;
}

#languageSwitcherDesktop {
    background: transparent;
    color: white;
    border: none;
    font-size: 1em;
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    cursor: pointer;
    outline: none;
}

#languageSwitcherMobile {
    background: transparent;
    color: white;
    border: none;
    font-size: 1em;
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    cursor: pointer;
    outline: none;
}


/* Custom dropdown arrow */
#languageSwitcher {
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='14' viewBox='0 0 20 20' width='14' xmlns='http://www.w3.org/2000/svg'><path d='M5.5 7l4.5 4.5L14.5 7z'/></svg>");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 10px;
}

/* Hover effect like navbar links */
#languageSwitcher:hover {
    color: #008CFF;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23008CFF' height='14' viewBox='0 0 20 20' width='14' xmlns='http://www.w3.org/2000/svg'><path d='M5.5 7l4.5 4.5L14.5 7z'/></svg>");
}

.herosize {
    font-size: 1.2em;
    font-weight: 400;

}
.hero-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2em;
    text-align: center;
    position: relative;
    padding: 0 20px;
    z-index: 1;
}

/* StraubiNews Section */
.straubi-news-section {
    background-color: #f0f2f5;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
    max-width: 1200px;   /* Limit to 1200px */
    margin: 0 auto;      /* Center horizontally */
    box-sizing: border-box;
    padding: 20px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Barlow', sans-serif;

}

.straubi-news-section h2 {
    font-size: 2.5em;
    font-weight: 500;
    color: #003366;
    margin-bottom: 20px;
    margin-left: 40px;
    max-width: 1200px;
    width:100%;
    text-align: left;

}

.straubi-news-content {
    display: flex;
    justify-content: left;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 900px;
    width: 100%;
}

.subscribe-box {
    background-color: #5CC3FF;
    color: black;
    padding: 50px 40px 60px 40px;
    border-radius: 16px;
    flex: 2 1 550px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    transition: 0.3s ease;
    max-width: 600px; /* limit max width */
}

.subscribe-box:hover {
    transform: translateY(-5px);
}

.subscribe-box h3 {
    font-size: 1.6em;
    margin-bottom: 3px;
    font-weight: 400;
    text-align: left;
    color: black;
}

.subscribe-box p {
    font-size: 1.0em;
    margin-bottom: 10px;
    line-height: 1.4;
    text-align: left;
    font-weight: 300;
    color: black;
}

.subscribe-form {
    display:flex;
    flex-direction:row;
    gap: 0px;
    justify-content: center;
    flex-wrap: wrap;
}

.subscribe-form input[type="email"] {
    padding: 10px 15px;
    border: none;
    border-top-left-radius: 999px;
    border-bottom-left-radius: 999px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    font-size: 1em;
    flex: 1;
    min-width: 50px;
    outline: none;
}

.subscribe-form button {
    padding: 10px 19px;
    border: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
    background-color: white;
    font-size: 0.8em;
    color: #008CFF;
    cursor: pointer;
    transition: background-color 0.3s;   

}

.subscribe-form button:hover {
    background-color: #e0e0e0;
}

/* NEXT EVENT */

.next-event-box {
    background-color: #002F52;
    color: white;
    padding: 30px 20px;
    border-radius: 16px;
    flex: 1 1 300px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    transition: 0.3s ease;

}

.next-event-box:hover {
    transform: translateY(-5px);
}

.next-event-box h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: 400;
    text-align: left;
}

.event-date .day {
    font-size: 8em;
    display: block;
    margin-bottom:0;

}

.event-date .month {
    font-size: 1.4em;
    display:block;
    margin-top: -4px;

}

.event-info {
    font-size: 1em;
    margin-bottom: 5px;
    padding-left: 5px;
    text-align: left;
}

.event-title {
    font-size: 1.4em;   
}

.event-title-toggle {
    font-size: 1.1rem;
    font-weight: 600;
    color: black;
    cursor: pointer;
    transition: color 0.3s;
  }
  
  .event-title-toggle:hover {
    color: #008CFF;
  }

.event-date {
    text-align: center;
    line-height: 1;
    margin-bottom:60px;
}

.event-time {
    font-size: 0.9em;
    margin: 5px 0
}

.event-location {
    font-size: 0.9em;
    margin: 5px 0
}

.click-more {
    font-size: 0.7em;
}

.next-event-wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1 1 300px;
    gap: 15px;
}
.event-button {
    display: inline-block;
    background-color: #008CFF;
    color: black;
    text-decoration: none;
    font-weight: 400;
    padding: 20px 20px;
    border-radius: 16px;
    margin-top: auto;
    margin-bottom: 0;
    width: 100%;
    transition: background-color 0.3s;
    transition: ease 0.3s;
    text-align: center;
    font-size: 1.2em;


}

.event-button:hover {
    background-color: #80c3fa;
    transform: translateY(-5px);
}

.tutors-section {
    background-color: #f0f2f5;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
    max-width: 1200px;   /* Limit to 1200px */
    margin: 0 auto;      /* Center horizontally */
    box-sizing: border-box;
    padding: 20px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Barlow', sans-serif;
}

.tutors-section h2 {
    font-size: 2.5em;
    font-weight: 500;
    color: #003366;
    margin-bottom: 20px;
    margin-left: 40px;
    max-width: 1200px;
    width:100%;
    text-align: left;
}

.tutors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 100px;
    max-width: 1200px;
    margin: 0 auto;

}

.tutor-card {
    background-color: white;
    padding: 20px;
    border-radius: 16px;
    width: 250px;
    text-align: center;
    transition: transform 0.2s; 
}

.tutor-info {
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 0.9em;
    color: #333; 
}

.tutor-card:hover .tutor-info {
    opacity: 1;
}

.tutor-card:hover {
    transform: translateY(-5px);
}

.tutor-card-img {
    position: relative;
    width: 200px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.tutor-card-img img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    transition: 0.3s ease;
    display: block;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    

}

.tutor-card-img:hover img {
    filter: brightness(40%);
    transform: translateY(-5px);
}

.overlay {
    position: absolute;
    top: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    padding: 20px;
    text-align: center;
    transition: opacity 0.3s ease;
    background-color: rgba(0, 0, 0, 0.4);
}

.tutor-card-img:hover .overlay {
    opacity: 1;
    transform: translateY(-5px);

}

.overlay p {
    margin: 4px 0;
    font-size: 0.85em;
    font-weight: 400;
}

.Tutors-name {
    font-size: 1.2em;
    font-weight: 300;
    color: black;
    text-align: center;
    margin-top: 5%;
}

.dorm-map-section {
    background-color: #f0f2f5;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
    max-width: 1200px;   /* Limit to 1200px */
    margin: 0 auto;      /* Center horizontally */
    box-sizing: border-box;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Barlow', sans-serif;
}

.dorm-map-section h2 {
    font-size: 2.5em;
    font-weight: 500;
    color: #003366;
    margin-bottom: 20px;
    margin-left: 40px;
    max-width: 1200px;
    width:100%;
    text-align: left;
}

.map-container {
    width: 100%;
    max-width: 900px;
    height: 500px;
    border-radius: 50px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.placeholder-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background-color: #008CFF;
}

.placeholder-section img {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 16px;
}

.placeholder-section h3 {
    font-size: 5em;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 500;
}

.placeholder {
    background-color: #008CFF;
}
.navbar-inside-straubi {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    z-index:10;
    background-color: #008CFF;
}

.navbar-inside-straubi .nav-links li a {
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    font-size: 1em;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.navbar-inside-straubi .nav-links li a:hover {
    color: #002F52;
}

.navbar-inside-straubi .nav-links {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    display: flex;
    gap: 25px;
    list-style: none;
}

.navbar-inside-straubi #languageSwitcher {
    background: transparent;
    color: white;
    border: none;
    font-size: 1em;
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    cursor: pointer;
    appearance: none; /* remove default dropdown arrow */
    padding-right: 18px;
    outline: none;
}

/* Custom dropdown arrow */
.navbar-inside-straubi #languageSwitcher {
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='14' viewBox='0 0 20 20' width='14' xmlns='http://www.w3.org/2000/svg'><path d='M5.5 7l4.5 4.5L14.5 7z'/></svg>");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 10px;
}

/* Hover effect like navbar links */
.navbar-inside-straubi #languageSwitcher:hover {
    color: #002F52;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23008CFF' height='14' viewBox='0 0 20 20' width='14' xmlns='http://www.w3.org/2000/svg'><path d='M5.5 7l4.5 4.5L14.5 7z'/></svg>");
}

.language-toggle {
    margin-top: 10px;
    background-color: white;
    border-style: solid;
    border: 2px solid transparent;
    border-color: #0077cc;
    color: #0077cc;
    cursor: pointer;
}

.straubi {
    height: 80px;
    width: 100%;
    background-color: #008CFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.straubi-logo-center {
    display:block;
    height: 50px;
}



.backhome {
    display: inline-block;
    background-color: #008CFF;
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-size:10vh;
    padding: 20px 20px;
    margin-top: auto;
    margin-bottom: 0;
    width: 50%;
    text-align: center;
    font-size: 1.2em;
    align-items: center;
}

.about-wurzburg {
    background-color: #D9D9D9;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Barlow', sans-serif;
}

.about-wurzburg h2 {
    font-size: 2em;
    font-weight: 400;
    color: #003366;
    margin-bottom: 20px;
    margin-left: 40px;
    max-width: 1200px;
    width:100%;
    text-align: left;
}

.weather-wrapper {
    max-width: 900px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);

}


.directions {
    background-color: #f0f2f5;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
    max-width: 1200px;   /* Limit to 1200px */
    margin: 0 auto;      /* Center horizontally */
    padding: 20px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Barlow', sans-serif;
}

.ammenities {
    background-color: #f0f2f5;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
    max-width: 1200px;   /* Limit to 1200px */
    margin: 0 auto;      /* Center horizontally */
    padding: 20px 20px;
    box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        font-family: 'Barlow', sans-serif;
}

.ammenities h2 {
    font-size: 2em;
    font-weight: 400;
    color: #003366;
    margin-bottom: 20px;
    margin-left: 40px;
    max-width: 1200px;
    width:100%;
    text-align: left;
}

.header {
    background-color: #f0f2f5;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
    max-width: 1200px;   /* Limit to 1200px */
    margin: 0 auto;      /* Center horizontally */
    box-sizing: border-box;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Barlow', sans-serif;
}

.header h2 {
    font-size: 2.5em;
    font-weight: 500;
    color: #003366;
    margin-left: 40px;
    max-width: 1200px;
    width:100%;
    text-align: left;
}

.header p {
    margin-bottom: 10px;
    margin-left: 40px;
    max-width: 1100px;
    width:100%;
    color: black;
    text-align: left;
}

.header svg {
    fill: black;
}

.directions h2 {
    font-size: 2em;
    font-weight: 400;
    color: #003366;
    margin-bottom: 20px;
    margin-left: 40px;
    max-width: 1200px;
    width:100%;
    text-align: left;
}

.youtube-video-wrapper {
    margin-bottom: 10px;

}
.youtube-video-wrapper-MOBILE {
    margin-bottom: 10px;
    display:none;
}
.event-button-2 {
    display: inline-block;
    background-color: white;
    color: #008CFF;
    text-decoration: none;
    font-weight: 400;
    padding: 15px 15px;
    border-radius: 16px;
    margin-top: auto;
    margin-bottom: 0;
    width: 100%;
    transition: background-color 0.3s;
    transition: ease 0.3s;
    text-align: center;
    font-size: 0.9em;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);


}

.event-button-2:hover {
    background-color: #80c3fa;
    transform: translateY(-5px);
}

.info {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* espacio entre el ícono y el texto */
    font-size: 1.1em;
    font-weight: 400;
    color: #003366;
}

.info svg {
    width: 20px;
    height: 20px;
    fill: #008CFF;
    flex-shrink: 0;
}

.facilities-amenities {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-bottom: 30px;
}



.facility-square {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 80px;
    background-color: #003366;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1em;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s, transform 0.3s;
    text-align: center;
    text-wrap: balance;
    padding: 10px;
    text-align: center;
}

.facility-square:hover {
    background-color: #5CC3FF;
    transform: translateY(-5px);
}


body {
    background-color: #e8e8e8;
    font-family: "Barlow", sans-serif
}

.eventformbody {
    font-family: 'Barlow', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
}

.form {
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: flex-start; /* align top edges */
    gap: 40px;    
    margin: 40px auto 10px auto;
    padding: 20px;
    max-width: 600px;    /* space between form and event list */
    min-height: 100vh;
    font-family: 'Barlow', sans-serif;
  }
  
  #eventForm {
    flex: 0 0 400px;         /* fixed width */
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 600px;           /* set height for square shape */
  }
  
  #eventForm input {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0 20px 0;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
  }

  #eventForm textarea {
        width: 100%;
        height: 300px;
        padding: 12px 15px;
        margin: 10px 0 20px 0;
        border: 1.5px solid #ccc;
        border-radius: 6px;
        font-size: 1rem;
        transition: border-color 0.3s ease;

  }

  #eventForm input:focus {
    border-color: #008cff;
    outline: none;
    box-shadow: 0 0 6px #008cff66;
  }
  
  #eventForm button {
    width: 100%;
    background-color: #008cff;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  #eventForm button:hover {
    background-color: #005bb5;
  }
  
  #eventForm input::placeholder {
    color: #999;
    font-style: italic;
  }
  
  #eventList {
    flex: 0 0 500px;         
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
    overflow-y: auto;
    border-radius: 10px;
  }
  
  #eventList li {
    list-style: none;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    word-wrap: break-word;
    font-size: 0.9rem;
    color: #333;
  }
  
  #eventList button {
    margin-left: 10px;
    font-weight: bold;
    background-color: #008CFF;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
  }
  
  #eventList button:hover {
    background-color: #005fbb;
  }

  #eventList li button {
    background: #ff4d4d;
    color: white;
    border: none;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    align-self: center;
    transition: background-color 0.3s ease;
  }
  
  #eventList li button:hover {
    background: #d60000;
  }
  
  body.form > h2 {
    flex-basis: 100%;
    margin-left: 40px;
    color: #003366;
    font-weight: 400;
    margin-bottom: 15px;
    user-select: none;
  }
  
  #eventList::-webkit-scrollbar {
    width: 8px;
  }
  
  #eventList::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 8px;
  }
  
  #eventList::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 8px;
  }
  
  #eventList::-webkit-scrollbar-thumb:hover {
    background: #999999;
  }

@media (max-width: 950px) {
    body.form {
      flex-direction: column;
      align-items: center;
    }
    #eventForm, #eventList {
      flex: none;
      width: 90%;
      max-width: 500px;
      height: auto;
      max-height: none;
    }
    #eventList {
      margin-top: 30px;
      flex-wrap: nowrap;
      overflow: visible;
    }
    #eventList li {
      flex: none;
      width: 100%;
    height: auto;
    }
}



  .btn-backhome {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.85rem;
    padding: 6px 12px;
    background-color: #008CFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
    transition: transform 0.2s; 

  }

  .btn-backhome:hover {
    background-color: #80c3fa;
    transform: translateY(-5px);
    

  }


  /* calendar */

.calendar-section {
    background-color: #f0f2f5;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
    max-width: 1200px;   /* Limit to 1200px */
    margin: 0 auto;      /* Center horizontally */
    box-sizing: border-box;
    padding: 20px 20px;
}

  #calendar {
    display: flex;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 15px;
    padding: 20px;
    color: black;
    background-color: #a9dfff;
    border-radius: 16px;
  }
  
  .fc, 
  .fc table, 
  .fc td, 
  .fc th,
  .fc-scrollgrid,
  .fc-scrollgrid-section,
  .fc-daygrid-day,
  .fc-daygrid-day-frame,
  .fc-daygrid-day-number,
  .fc-daygrid-day-events {
    border-color: black !important;
  }

.fc-event,
.fc-daygrid-event {
  cursor: pointer !important;
}
  
  .fc-theme-standard td, 
  .fc-theme-standard th {
    border-color: black !important;
  }

  /* Past events container */

.event-card {
    padding: 40px 20px;
    margin-top: 10px;
    border-style: solid;
    border-color:#005fbb;
}

  .pasteventss {
    background-color: #f0f2f5;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
    max-width: 1200px;   /* Limit to 1200px */
    margin: 0 auto;      /* Center horizontally */
    box-sizing: border-box;
    padding: 40px 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    font-family: 'Barlow', sans-serif;
    margin-bottom: 10px;
  }

.pastevents-info {
    font-size: 2.5em;
    font-weight: 500;
    display:none;
    color: #003366;
    margin-left: 40px;
    max-width: 1200px;
    width:100%;
    text-align: left;
}

  .event-card h3 {
    margin-bottom: 5px;
    font-weight: 700;
    color: #0077cc;
  }
  
  .event-card p {
    margin: 5px 0;
    color: #444;
  }
  
  .gallery {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .gallery img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 4px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
  }
  
  .gallery img:hover {
    border-color: #0077cc;
  }
  
  /* Modal common styles */
  .modal,
  .event-modal {
    display: none; /* hidden by default */
    position: fixed;
    inset: 0; /* top:0; bottom:0; left:0; right:0; */
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  /* Image modal */
  .modal img.modal-content {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 8px;
  }
  
  /* Close button for image modal */
  .modal .close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
  }
  
  /* Event info modal */
  .event-modal-content {
    background: white;
    border-radius: 8px;
    padding: 20px 30px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    text-align: left;
    justify-content: center;
    overflow-y: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  }
  
  .event-modal-content p {
    margin-top: 10px;
  }

  .add-calendar-btn {
    margin-top: 10px;
    background-color: white;
    border-style: solid;
    border: 2px solid transparent;
    border-color: #0077cc;
    color: #0077cc;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }
  
  .add-calendar-btn:hover {
    background-color: #005fa3;
  }
  
  .close-event {
    background-color: #ddd;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }
  
  .close-event:hover {
    background-color: #bbb;
  }

/* Burger button hidden by default */
.burger {
    font-size: 2rem;
    color: white;
    cursor: pointer;
    display: none; /* only show on mobile */
}

.mobile-menu-container {
    display: none; /* hidden by default */
}

/* Mobile menu hidden initially */
@media (max-width: 768px) {
    .burger {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }

  .tutor-card:active .tutor-info {
    opacity: 1;
}

.tutor-card:active {
    transform: translateY(-5px);
}
  
    /* Hide desktop nav in mobile view */
    .navbar-inside-straubi .nav-links {
        display: none;
    }

       /* Hide desktop nav in mobile view */
       .navbar-inside-hero .nav-links {
        display: none;
    }

    .mobile-menu-container {
        display: none; /* hide by default even in mobile mode */
    }


    /* Style for mobile menu when visible */
    .mobile-menu-container.show {
        display: flex; /* only when JS adds .show */
        position: fixed;
        height: 100vh;
        width: 100%;
        top:0;
        left:0;
        background: #001321;
        align-items: center !important;
        text-align: center;
        justify-content: center;
        z-index: 200;
    }

    .mobile-menu-container .close-icon {
        display: block;
        position: absolute;
        right: 25px;
        top: 43px;
        transform: translateY(-50%);
        z-index: 1001;
        font-size: 3em;
        color: #008CFF;
        cursor: pointer;
    }

    .mobile-menu-container ul.nav-links {
        position: static !important;
        transform: none !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 55px !important;
        list-style: none !important;
        padding: 20px !important;
        font-size: 1.5em;
        border-radius: 10px !important;
    }
}

@media (max-width: 500px) {
    #calendar {
        display: flex;
        flex-direction: column; /* stack contents vertically */
        width: 85%; /* smaller than full width */
        height: 550px; /* longer height */
        margin: 0 auto 40px;
        padding: 20px;
        color: black;
        background-color: #a9dfff;
        border-radius: 16px;
        box-sizing: border-box;
    }

    .youtube-video-wrapper {
        margin-bottom: 10px;
        display:none;
    }

    
.youtube-video-wrapper-MOBILE {
    margin-bottom: 10px;
    display:flex;
}
      /* Make toolbar buttons stack vertically */
  .fc-toolbar-chunk {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px;
  }

  /* Make buttons take full width */
  .fc-button {
    width: 100% !important;
    box-sizing: border-box;
    font-size: 14px;
    padding: 8px 0;
  }

  /* Optional: adjust title font size */
  .fc-toolbar-title {
    font-size: 1.2rem;
    margin: 10px 0;
    text-align: center;
  }


}