*
{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html
{
    font-size: 16px;
}

body
{
    font-family: Inter;
    color: #333333;
}

.container
{
    max-width: 1440px;
    margin: 0 auto;
}

.dflex
{
    display: flex;
}

h2
{
    font-size: 2.5rem;
    font-weight: 600;
}

p
{
    line-height: 140%;
}

.Button
{
    padding: 8px 16px;
    text-decoration: none;
    background-color: #2C8DEB;
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    display: inline-block;
    cursor: pointer;
    transition: background-color 1s;
}

.Button:hover
{
    background-color: #005AB8; 
    transition: background-color 1s;
}

.OutlineButton
{
    background-color: transparent;
    border: 2px solid #2C8DEB;
    color: #2C8DEB;
}

.OutlineButton:hover
{
    background-color: #C0DDF9;
}

nav
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: fixed;
    background-color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    top: 6%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99;
}

.main_logo
{
    width: 200px;
}

.nav-links
{
    display: flex;
    align-items: center;
}

.main_navigation
{
    display: flex;
    align-items: center;
}

.main_navigation > .nav_items
{
    display: block;
    margin: 0 10px;
}

.main_navigation > .nav_items > a
{
    text-decoration: none;
    color: #363636;
}

.main_navigation > .nav_items > a:hover
{
    color: #00bcd4;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }

.bar {
    height: 3px;
    width: 25px;
    background-color: #2C8DEB;
    margin: 3px 0;
  }

  .CTAButton
  {
    margin: 0 10px;
  }

.hero_section
{
    background-image: url(bg.png);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
}

.hero_content
{
    padding: 6% 1% 4% 3%;
}

.hero_content_image img
{
    width: 90%;
}

.hero_content_text
{
    padding-top: 6%;
    width: 50%;
}

.hero_content_text h1
{
    font-size: 3rem;
    font-weight: 300;
    color: #363636;
    margin-bottom: 10px;
}

.hero_content_text p
{
    color: #757575;
    font-size: 1.2rem;
    width: 80%;
    margin-bottom: 6%;
}

.about_us
{
    padding: 5% 3%;
}

.about_us .about_us_text
{
    width: 70%;
    margin-right: 5%;
}

.about_us .about_us_text h2
{
    margin-bottom: 6%;
}

.about_us .about_us_text p
{
    margin-bottom: 4%;
}

.about_us .cards
{
    flex-direction: column;
}

.about_us .cards .card
{
    background-color: #FFF6E7;
    align-items: center;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0px 4px 4px 0px rgba(135, 103, 53, 0.20);
    margin-bottom: 16px;
}

.about_us .cards .card img
{
    width: 64px;
    height: 64px;
    margin-right: 30px;
}

.about_us .cards .card p
{
    margin-top: 10px;
}

.quote
{
    background-image: url("assets/quote.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
}

.quote .container
{
    padding: 5% 3%;
}

.quotetext
{
    padding: 6% 0;
    font-size: 4rem;
    line-height: 1.2;
    color: #fff;
    font-weight: 600;
}

.authorName
{
    color: #fff;
    padding-bottom: 10%;
}

.events
{
    padding: 5% 3%;
}

.events h2
{
    margin-bottom: 2%;
}

.upcoming_events
{
    margin-top: 4%;
}

.upcoming_events a
{
    text-decoration: none;
    color: #333;
    display: inline-block;
    width: 25%;
}

.upcoming_events .eventcard
{
    border: 1px solid #747474;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.upcoming_events .eventcard img
{
    max-width: 100%;
}

.upcoming_events .eventcard .event_date
{
    background-color: #fff;
    padding: 4% 8%;
    position: absolute;
    right: 10px;
    top: 10px;
    display: flex;    
    flex-direction: column;
    justify-content: center;
    border-radius: 100px;
    text-align: center;
}

.upcoming_events .eventcard .event_date .date
{
    font-size: 1.2rem;
}

.textevent
{
    padding: 10px 16px;
}

.textevent .event_time
{
    color: #002785;
}

.textevent .eventheading
{
    font-size: 1.5rem;
    padding-top: 10px;
    font-weight: 600;
    padding-bottom: 16px;
    line-height: 1.4;
}

.contact
{
    background-color: #FFF6E7;
}

.contact .container
{
    padding: 5% 3%;
    text-align: center;
}

.contact p
{
    margin: 0 auto;
    margin-top: 2%;
    width: 60%;
}

.contact form
{
    margin-top: 6%;
}

.contact form table
{
    width: 60%;
    margin: 0 auto;
}

.contact form table tr td
{
    padding: 10px 0;
}

.contact form table tr td:first-child
{
    width: 20%;
    text-align: left;
}

.contact form table tr td input , .contact form table tr td textarea
{
    width: 100%;
    border: 1px solid #C4C4C4;
    border-radius: 6px;
    height: 35px;
}

.SubmitButton
{
    width: 60%;
    font-size: 1rem;
    border: transparent;
}

footer
{
    background-color: #000052;
    padding: 4%;
}

footer .dflex
{
    width: 100%;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

footer img
{
    width: 250px;
}

@media screen and (max-width: 430px)
{
  .container
  {
      max-width: 100%;
      padding: 0 30px;
  }
 .hero_content_image
 {
      padding-bottom: 5%;
 }
 footer .dflex
 {
    flex-direction: column;
 }
 .hero_content_text
 {
    padding-top: 10%;
 }
 .upcoming_events a
 {
    width: 100% !important;
 }
 .about_us .cards .card
 {
    flex-direction: column;
    justify-content: flex-start;
        align-items: flex-start;
 }
 .hero_content_text
 {
    padding-bottom: 5%;
 }
 .events 
 {
    padding-bottom: 6%;
 }
}

@media screen and (max-width: 540px)
{
  nav.container
  {
  padding: 8px 16px;
  border-radius: 0px;
  top: 0%;
  left: 0%;
  transform: translate(0%, 0%);
  z-index: 99;
  }
  .quotetext
  {
      font-size: 2rem;
  }
  .hero_content_text h1
  {
      font-size: 2.2rem;
  }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
      display: flex;
    }
  
    .nav-links {
      display: none;
      flex-direction: column;
      background-color: #fff;
      width: 100%;
      position: absolute;
      top: 80px;
      left: 0;
      padding: 8px 0;
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .nav-links.active .main_navigation
    {
        flex-direction: column;
    }

    .nav-links.active .main_navigation li
    {
        margin: 8px 0;
    }
    .nav-links li {
      text-align: left;
      margin: 10px 0;
    }
    .CTAButton 
    {
        margin: 10px ;
    }
    .container
    {
    max-width: 640px;
    margin: 0 auto;
    }
  }

  
@media screen and (max-width: 1024px)
{
    .container
    {
    max-width: 768px;
    margin: 0 auto;
    }

    .hero_section .hero_content
    {
        flex-direction: column;
    }

    .hero_content_text
    {
        width: 100%;
    }

    .about_us
    {
        flex-direction: column;
    }

    .about_us .about_us_text
    {
        width: 100%;
        margin-bottom: 4%;
    }

    .upcoming_events a
    {
        width: 50%;
    }

    .contact p
    {
        width: 100%;
    }

    .contact form table
    {
        width: 100%;
    }

    .SubmitButton
    {
        width: 100%;
    }

}

@media screen and (max-width: 1280px)
{
    .container
    {
    max-width: 980px;
    margin: 0 auto;
    }
    .hero_content {
        padding-top: 14%;
        padding-bottom: 10%;
    }

}


@media screen and (max-width: 1440px)
{
    .container
    {
    max-width: 1280px;
    margin: 0 auto;
    }
}





