:root {
    --blue: #0047BB;
    --green: #24b140;
    --red: #e10600;
    --light-blue: #c8edff;
    --light-green: #66ff66;
    --light-red: #ff5a5a;
    --dark-text: #1a1a1a;
    --light-text: #e0e0e0;
    --white: #ffffff;
    --grey: #353535;
    --date-color: #2dc84d;
    --nd-gold: #d2b54b;
    --dark-blue: #003366;
    --dark-green: #00642b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--grey);
    color: var(--dark-text);
    line-height: 1.6;
}

header {
    background-color: var(--dark-blue);
    color: var(--nd-gold);
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    border-bottom: 4px solid var(--light-red);
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo .title {
    color: var(--nd-gold);
    font-size: 2.0rem;
    font-weight: 800;
     line-height: 70%;
}

.logo .subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--nd-gold);
    text-align: justify;
    line-height: 100%;
}

.logo .title a {
    color: var(--nd-gold);
    font-size: 2.0rem;
    font-weight: 800;
    text-decoration: none;
}

/* .logo h1 {
    color: var(--nd-gold);
    font-size: 2.2rem;
    font-weight: 800;
}

.logo h1 {
    color: var(--nd-gold);
    font-size: 2.2rem;
    font-weight: 800;
} */

.logo span {
    color: var(--light-red);
}

.header-logo {
    fill: var(--grey); /* Ensures the SVG is grey */
}


h2 {
        font-size: 2.5rem;

}


nav a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}


p a {
    color: var(--light-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

p a:hover {
    background-color: rgba(161, 0, 0, 0.205);
}

p a.active {
    background-color: var(--light-red);
    color: var(--white);
}




ul {
  list-style: none;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

ul a {
  color: white;
}

ul li {
  padding: 5px;
  margin-left: 10px;
}


#hamburger-icon {
  margin: auto 0;
  display: none;
  cursor: pointer;
}

#hamburger-icon div {
  width: 35px;
  height: 3px;
  background-color: white;
  margin: 6px 0;
  transition: 0.4s;
}

.open .bar1 {
  -webkit-transform: rotate(-45deg) translate(-6px, 6px);
  transform: rotate(-45deg) translate(-6px, 6px);
}

.open .bar2 {
  opacity: 0;
}

.open .bar3 {
  -webkit-transform: rotate(45deg) translate(-6px, -8px);
  transform: rotate(45deg) translate(-6px, -8px);
}

.open .mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 90px;
  left: 0;
  height: 180px;
  width: 100%;
  background-color: #003366;
      border-bottom: 4px solid var(--light-red);

  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.7);
}

.mobile-menu li {
  margin-bottom: 10px;
    width: 100%;
    text-align: center;
}

.mobile-menu li a {
  color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.6rem;
}




.mobile-menu li a {
  color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.6rem;
}

.mobile-menu li:hover {
    background-color: rgba(255, 255, 255, 0.2);
}





.hero {
    background-color: var(--grey); /* Solid white background */
    color: var(--light-text); /* Dark text color */
    text-align: center;
    padding: 1rem 1rem; /* Increased padding to accommodate the larger logo */
    margin-bottom: 0.1rem;
}

.hero .banner {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0rem 0;
}

.hero .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem; /* Increased margin for spacing */
}

.hero img {
    width: 600px;
}

.btn {
    display: block;
    width: 100%;
    max-width: 300px; /* Optional: limit the maximum width */
    margin: 0 auto; /* Center the button within its container */
    background-color: var(--light-red);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    text-align: center;
}

.btn:hover {
    background-color: var(--red);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

section {
    margin-bottom: 2.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--nd-gold);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background-color: var(--green);
    margin: 10px auto;
    border-radius: 2px;
}

.section-footer {
    text-align: center;
    margin-top: 1rem;
    position: relative;
}

.btn-alt {
    display: block;
    width: 100%;
    max-width: 300px; /* Optional: limit the maximum width */
    margin: 0 auto; /* Center the button within its container */
    background-color: var(--green);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    text-align: center;
}

.btn-alt:hover {
    background-color: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


.branches {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 3rem 0;
}

.branch-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    width: 300px;
    transition: transform 0.3s ease;
}

.branch-card:hover {
    transform: translateY(-10px);
}

.branch-header {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    font-weight: bold;
}

.blue-header {
    background-color: var(--blue);
}

.green-header {
    background-color: var(--green);
}

.red-header {
    background-color: var(--red);
}

.branch-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 300px;
}

.branch-content h3 {
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.branch-content p {
    margin-bottom: 1.5rem;
    color: #555;
}

.events-grid, .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.event-card, .news-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.event-card:hover, .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.event-img, .news-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.event-content, .news-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 340px;
}

.event-content h3, .news-content h3 {
    margin-bottom: 0.8rem;
    color: var(--blue);
}

.event-content p, .news-card p {
    margin-bottom: 1rem;
}

.event-date, .news-date {
    display: inline-block;
    background-color: var(--date-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.calendar-container {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    height: 600px;
    margin: 2rem 0 1rem 0;
}

.calendar-header {
    background-color: var(--blue);
    color: var(--light-text);
    padding: 1.5rem;
    text-align: center;
}

.calendar-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

footer {
    background-color: var(--dark-blue);
    color: var(--light-text);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 4px solid var(--light-red);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-section h3 {
    color: var(--light-red);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--light-red);
    transform: translateY(-3px);
}


.hero .table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 20px;
}

.hero table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    border: 4px solid #c03131;
}

.hero th, .hero td {
    padding: 12px 15px;
    text-align: left;
    color: #1d1d1d;
    border: 2px solid #c03131;
    background-color: #b9c0b9;
}

.hero th {
    color: #ffffff;
    background-color: #096900;
    font-weight: bold;
}

.hero td:first-child {
    width: 100px; /* Fixed width for the first column */
    white-space: nowrap;
}





@media (max-width: 1024px) {
    .header-container {
        /* font-size: 1.2rem; */
        
    }

    .logo .title {
        font-size: 1.8rem;
        font-weight: 800;
        line-height: 70%;
    }

    .logo .subtitle {
        font-size: 1.5rem;
        font-weight: 400;
        color: var(--nd-gold);
        text-align: justify;
        line-height: 100%;
    }

    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .hero img {
        width: 400px;
    }
    header nav {
        display: none;
    }

    #hamburger-icon {
        display: block;
        
    }
 
}