@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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

header {
    padding: 5px 10%;
    font-family: 'Montserrat', 'sans-serif';
}

.about-text {
    font-family: 'Montserrat', 'sans-serif';
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 90px;
}

.btn-navbar {
    width: 90px;
    padding: 15px 30px;
    border: 2px solid rgba(12,10,146,1);
    border-radius: 4px;
    text-transform: uppercase;
}

.btn-primary {
    margin-top: 30px;
    width: 230px;
    padding: 15px 30px;
    border: 2px solid rgba(12,10,146,1);
    border-radius: 4px;
    text-transform: uppercase;
    transition: all .3s ease-in;
}

.btn-primary:hover {
    margin-top: 30px;
    width: 230px;
    padding: 15px 30px;
    border: 2px solid rgba(160,15,13,1);
    background-color: rgba(160,15,13,1);
    color: white;
    border-radius: 4px;
    text-transform: uppercase;
}

.nav-links ul {
    display: flex;
    gap: 20px;
    font-size: 16px;
}

.nav-links ul li {
    list-style: none;
    /* display: flex;
    justify-content: center;
    align-items: center; */
    /* text-align: center;
    width: 120px;
    height: 40px;
    transition: all .3s ease-in; */
}

.nav-links ul li:hover {
    list-style: none;
    /* background-color: rgba(165,16,14,1);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 40px;
    text-align: center;
    cursor: pointer; */
}

.nav-links ul li a:hover {
    color: white;
    background-color: rgba(165,16,14,1);
    transition: all .3s ease-in; 
}

.nav-links ul li a {
    text-decoration: none;
    font-family: 'Montserrat', 'sans-serif';
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 40px;
    transition: all .3s ease-in; 
    line-height: 1.6em;
    color: rgb(0, 8, 40);
}

.nav-links a {
    text-decoration: none;
    color: rgba(12,10,146,1);
    font-weight: 500;
}

.btn-navbar {
    transition: all .3s ease-in;
}

.btn-navbar:hover {
    background-image: linear-gradient(90deg,rgba(12,10,146,1) 0%,rgba(0,2,100,1) 100%);
    color: white;
}

.slider-home {
    background-image: url('http://localhost:8888/bcon/wp-content/themes/beacon-custom-theme/static/assets/images/slider-image.png');
    width: 100%;
    height: 600px;
    padding: 30px 10%;
    display: flex;
    justify-content:center;
    align-items: left;
    flex-direction: column;
    color: white;
    font-family: 'Montserrat', 'sans-serif';
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.2);
}

.slider-home h1 {
    font-size: 60px;
}

.slider-home h2 {
    font-size: 20px;
    margin-top: 10px;
}

.about-text {
    width: 100%;
    height: auto;
    background-image: linear-gradient(90deg,rgba(160,15,13,1) 0,rgba(0,2,100,1) 100%) !important;
    color: white;
    padding: 30px 10%;
    line-height: 2em;
}



.intro-home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 30px 10%;
    font-family: 'Montserrat', 'sans-serif';
    gap: 30px;
}

.intro-home-left {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.intro-home-left a {
    text-decoration: none;
    color: rgba(0,2,100,1);
}

.intro-home p , .about-page-toe p{
    line-height: 2em;
}

.intro-home h2, .about-page-toe h2 {
    font-size: 30px;
    margin-bottom: 30px;
    color: rgb(1, 4, 86);
    text-transform: uppercase;
    font-weight: 700;
}

.container-dropdown {
    margin-top: 40px;
}

.mt-3 {
    margin-top: 30px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-1 {
    margin-top: 10px;
}



/* Accordin */

 .accordion .accordion-item {
	 border-bottom: 1px solid #e5e5e5;
}
 .accordion .accordion-item button[aria-expanded='true'] {
	 border-bottom: 1px solid rgba(160,15,13,1);
}
 .accordion button {
	 position: relative;
	 display: block;
	 text-align: left;
	 width: 100%;
	 padding: 1em 0;
	 color: rgb(35, 27, 27);
	 font-size: 1.15rem;
	 font-weight: 400;
	 border: none;
	 background: none;
	 outline: none;
}
 .accordion button:hover, .accordion button:focus {
	 cursor: pointer;
	 color: rgba(160,15,13,1);
}
 .accordion button:hover::after, .accordion button:focus::after {
	 cursor: pointer;
	 color: rgba(160,15,13,1);
	 border: 1px solid rgba(160,15,13,1);
}
 .accordion button .accordion-title {
	 padding: 1em 1.5em 1em 0;
}
 .accordion button .icon {
	 display: inline-block;
	 position: absolute;
	 top: 18px;
	 right: 0;
	 width: 22px;
	 height: 22px;
	 border: 1px solid;
	 border-radius: 22px;
}
 .accordion button .icon::before {
	 display: block;
	 position: absolute;
	 content: '';
	 top: 9px;
	 left: 5px;
	 width: 10px;
	 height: 2px;
	 background: currentColor;
}
 .accordion button .icon::after {
	 display: block;
	 position: absolute;
	 content: '';
	 top: 5px;
	 left: 9px;
	 width: 2px;
	 height: 10px;
	 background: currentColor;
}
 .accordion button[aria-expanded='true'] {
	 color: rgba(160,15,13,1);
}
 .accordion button[aria-expanded='true'] .icon::after {
	 width: 0;
}
 .accordion button[aria-expanded='true'] + .accordion-content {
	 opacity: 1;
	 max-height: 9em;
	 transition: all 200ms linear;
	 will-change: opacity, max-height;
}
 .accordion .accordion-content {
	 opacity: 0;
	 max-height: 0;
	 overflow: hidden;
	 transition: opacity 200ms linear, max-height 200ms linear;
	 will-change: opacity, max-height;
}
 .accordion .accordion-content p {
	 font-size: 1rem;
	 font-weight: 300;
	 margin: 2em 0;
}

/* Service Homepage */
.services {
    font-family: 'Montserrat', 'sans-serif';
    padding: 30px 10%;

}

.service-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.services h2 {
    text-transform: uppercase;
    font-size: 40px;
    margin-bottom: 30px;
    color: rgb(1, 4, 86);
    font-weight: 700;
    text-align: center;
}

.services p {
    line-height: 2em;
}
 
.service-box .icon svg {
    color: rgba(160,15,13,1);
    fill: rgba(160,15,13,1);
    width: 60px;
    height: 60px;
    margin-top: 30px;
}

.service-box h3 {
    display: initial;
    font-family: Montserrat;
    font-weight: 600;
    color: rgb(1, 4, 86);
}

.service-box {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 30px;
    gap: 20px;
    border-bottom: 1px solid #fcfcfc;
    border-bottom-style: solid !important;
    border-bottom-width: 7px !important;
    background-repeat: no-repeat !important;
    background-image: none !important;
    background-size: cover !important;
    border-bottom-color: rgba(1,4,86,1) !important;
    -webkit-box-shadow: rgba(0,0,0,0.25) 0 3px 11px 0 !important;
    background-color: rgba(255,255,255,1) !important;
    
}

.service-middle {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

/* projects */
.projects {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    margin-top: 30px;
}

.project-box {
    width: 100%;
    height: 400px;
    filter: grayscale(100%);
    transition: all .3s ease-in;
}

.project-box:hover {
    filter: grayscale(0);
}

.main-project-box {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 30px;
    background-color: rgba(165,16,14,1);
    color: white;
    font-family: 'Montserrat', 'sans-serif';
    filter: grayscale(0) !important;
}

.main-project-box h3 {
    font-size: 22px;
}

.project-box img {
    width: 100%;
    height: 400px;
}

.project-box {
    cursor: pointer;
}

/* .project-1 {
    background-image: url('/assets/images/project-1.png');
}

.project-2 {
    background-image: url('/assets/images/project-2.png');
}

.project-3 {
    background-image: url('/assets/images/project-3.png');
}

.project-4 {
    background-image: url('/assets/images/project-4.png');
}

.project-5 {
    background-image: url('/assets/images/project-5.png');
}

.project-6 {
    background-image: url('/assets/images/project-6.png');
}

.project-7 {
    background-image: url('/assets/images/project-7.png');
}

.project-8 {
    background-image: url('/assets/images/project-8.png');
}

.project-9 {
    background-image: url('/assets/images/project-9.png');
}

.project-10 {
    background-image: url('/assets/images/project-10.png');
}

.project-11 {
    background-image: url('/assets/images/project-11.png');
}

.project-12 {
    background-image: url('/assets/images/project-12.png');
} */

.service-box a {
    text-decoration: none;
    color: inherit;
}

/* Contact Home */

.contact-home {
    background-image: linear-gradient(90deg,rgba(1,4,86,1) 100%,rgba(66,123,202,1) 100%) !important;
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding: 30px 10%;
    font-family: 'Montserrat', 'sans-serif';
    color: white;
    gap: 30px;
}


.contact-home-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-home-right form input{
        background: 0;
        border: 0;
          border-bottom-color: currentcolor;
          border-bottom-style: none;
          border-bottom-width: 0px;
        border-radius: 0;
        -webkit-appearance: none;
        border-bottom: 1px solid;
        height: 30px;
        border-bottom: 1px solid #fff;
        font-size: 16px;
        width: 100%;
        margin: 3px 0;
        height: 40px;
        padding: 0 10px;
        color: white;
}

.contact-home-right textarea {
    background: 0;
        border: 0;
          border-bottom-color: currentcolor;
          border-bottom-style: none;
          border-bottom-width: 0px;
        border-radius: 0;
        -webkit-appearance: none;
        border-bottom: 1px solid;
        height: 30px;
        border-bottom: 1px solid #fff;
        font-size: 16px;
        width: 100%;
        margin: 3px 0;
        height: 90px;
        padding: 0 10px;
        color: white;
}

.contact-home-right div {
    margin-bottom: 10px;
}

.btn-light {
    margin-top: 30px;
    width: 230px;
    padding: 15px 30px;
    border: 1px solid rgb(255, 255, 255);
    background-image: linear-gradient(90deg,rgba(1,4,86,1) 100%,rgba(66,123,202,1) 100%);
    color: white;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all .3s ease-in;
    font-family: 'Montserrat';
    cursor: pointer;
}

.btn-light:hover {
    margin-top: 30px;
    width: 230px;
    padding: 15px 30px;
    background-color: white;
    background-image: linear-gradient(90deg,rgb(255, 255, 255) 100%,rgb(255, 255, 255) 100%);
    color: rgb(0, 0, 0);
    border: 1px solid rgba(12,10,146,1);
    border-radius: 4px;
    text-transform: uppercase;
    transition: all .3s ease-in;
    cursor: pointer;
}


/* Footer */

footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    padding: 30px 10%;
    color: #ccc;
    background-color: rgb(19, 19, 19);
    font-family: 'Montserrat', 'sans-serif';
}

footer h3 {
    margin-bottom: 20px;
}

footer .title {
    font-size: 30px;
    font-weight: 700;
}

.footer-timing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 10px;
}

.footer-timing-grid p {
    margin-bottom: 10px;
}

.footer-links ul li {
    list-style: none;
    color: #ccc;
    margin-bottom: 20px;
}

.footer-office p {
    margin-bottom: 10px;
}

.footer-office a {
    text-decoration: none;
    color: inherit;
}

.footer-about p {
    line-height: 1.9em;
}

.footer-links ul li a, .footer-about a{
    text-decoration: none;
    color: #ccc;
    transition: all .3s ease-in;
}

.footer-about {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links ul li a:hover, .footer-about a:hover {
    color: rgb(255, 255, 255);
}

.text-center {
    text-align: center;
}

.footer-about a:hover {
    color: black;
}

.btn-footer {
    margin-top: 30px;
    width: 230px;
    padding: 15px 30px;
    border: 2px solid #ccc;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all .3s ease-in;
}

.btn-footer:hover {
    margin-top: 30px;
    width: 230px;
    padding: 15px 30px;
    background-color: #fff;
    color: black;
    border: 2px solid #ccc;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all .3s ease-in;
}

.bottom-bar {
    font-family: 'Montserrat', 'sans-serif';
    background-color: black;
    color: #ccc;
    height: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* About US PAGE */

.page-header {
    font-family: 'Montserrat', 'sans-serif';
    width: 100%;
    height: 180px;
    background-image: linear-gradient(90deg,rgba(160,15,13,1) 0,rgba(0,2,100,1) 100%) !important;
    color: white;
    padding: 30px 10%;
    line-height: 2em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page-container {
    padding: 30px 10%;
    font-family: 'Montserrat', 'sans-serif';
}

.about-slant {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    font-weight: 700;
    background-color: rgb(247, 247, 247);
    padding: 30px;
}

.about-director {
    display: grid;
    grid-template-columns: 1fr 4fr;
    margin-top: 30px;
    gap: 20px;
}

.about-director h2, .service-title {
    font-size: 30px;
    margin-bottom: 30px;
    color: rgb(1, 4, 86);
    text-transform: uppercase;
    font-weight: 700;
  }

  /* Service page */
.service-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    color: rgb(1, 4, 86);
    font-weight: 400;
    font-style: italic;
}

.service-container p {
    line-height: 2em;
}

.service-container ul li {
    margin-bottom: 20px;
    
}

/* Projects Page */

.project-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.project-flex-2 {
    display: flex;
    gap: 30px;
}

.project-flex-3 {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-container ul li {
    margin-bottom: 20px;
}


/* Contact page */

.contact-box {
    display: flex;
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    border-bottom: 1px solid #fcfcfc;
    border-bottom-style: solid !important;
    border-bottom-width: 7px !important;
    background-repeat: no-repeat !important;
    background-image: none !important;
    background-size: cover !important;
    border-bottom-color: rgba(1,4,86,1) !important;
    -webkit-box-shadow: rgba(0,0,0,0.25) 0 3px 11px 0 !important;
    background-color: rgba(255,255,255,1) !important;
    
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-cta-container {
    padding: 30px 10%;
    display: flex;
    gap: 60px;
    justify-content: center;
    align-items: center;
}

.cta-box {
    display: flex;
    flex-direction: row;
    padding: 30px;
    gap: 20px;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #fcfcfc;
    border-bottom-style: solid !important;
    border-bottom-width: 7px !important;
    background-repeat: no-repeat !important;
    background-image: none !important;
    background-size: cover !important;
    border-bottom-color: rgba(1,4,86,1) !important;
    -webkit-box-shadow: rgba(0,0,0,0.25) 0 3px 11px 0 !important;
    background-color: rgba(255,255,255,1);
}

.cta-box i {
    font-size: 30px;
}

.cta-box {
    font-family: 'Montserrat', sans-serif;
}

.contact-cta-container a {
    text-decoration: none;
    color: black;
}

.email-box:hover {
    background-color: rgba(160,15,13,1) ;
    color: white !important;
}

.call-box:hover {
    background-color: rgba(0,2,100,1);
    color: white !important;
}
.w-box:hover {
    background-color: #08953c;
    color: white !important;
}



 
nav .burger {
    display: none;
}

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    header {
        padding: 5px 10%;
        font-family: 'Montserrat', 'sans-serif';
        width: 100%;
    }
    
    .about-text {
        font-family: 'Montserrat', 'sans-serif';
    }

    .nav-links {
        display: flex;
        justify-content: space-between;
    } 

    nav .burger {
        position: relative;
        display: block;
        font-size: 30px;
        cursor: pointer;
        float: right;
        
    }

    .btn-cta-nav {
        display: none;
    }

    .nav-links ul li {
        display: none;
    }

   
    .logo img {
        width: 70px;
    }

    .slider-home h1 {
        font-size: 30px;
    }

    .slider-home {
        background-image: url('/assets/images/slider-image.png');
        background-size: cover;
        background-repeat: no-repeat;
        width: 100%;
        height: 400px;
        padding: 30px 10%;
        display: flex;
        justify-content:center;
        align-items: left;
        flex-direction: column;
        color: white;
        font-family: 'Montserrat', 'sans-serif';
        box-shadow: inset 0 0 0 1000px rgba(0,0,0,.2);
    }
    
    
    .slider-home h2 {
        font-size: 15px;
        font-weight: 400;
        margin-top: 10px;
    }

    .intro-home {
        display: grid;
        grid-template-columns: 1fr;
        padding: 30px 10%;
        font-family: 'Montserrat', 'sans-serif';
        gap: 30px;
    }
    .accordion button[aria-expanded="true"] + .accordion-content {
        opacity: 1;
        max-height: 15em;
        transition: all 200ms linear;
      }
      .projects {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 30px;
      }

      .service-top {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 30px;
      }

      .contact-home {
          display: none;
      }

      .service-middle, footer {
          display: grid;
          grid-template-columns: 1fr;
      }

      footer div {
          margin-bottom: 20px;
      }

      .bottom-bar {
          display: none;
      }

      .about-director {
          display: grid;
          grid-template-columns: 1fr;
      }

      .project-container {
          display: flex;
          flex-direction: column;
      }

      .project-container img {
          width: 100%;
          height: auto;
          aspect-ratio: 1/2;
      }

      .project-flex-2 {
          display: flex;
          flex-direction: column;
      }
      .project-flex-2 img {
          width: 100%;
          height: auto;
      }

      .contact-grid {
          grid-template-columns: 1fr;
      }

      .contact-cta-container {
          display: flex;
          flex-direction: column;
      }
      .cta-box {
          width: 100%;
      }

      .footer-timing-grid, .contact-box p {
          font-size: 12px;
      }

      .page-header {
          text-align: center;
      }

      .page-header h1 {
          font-size: 17px;
      }

      .page-header p {
          font-size: 14px;
      }
    
  }



  .overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0);
    overflow-x: hidden;
    transition: 0.5s;
  }
  
  .overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
  }
  
  .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 24px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  
  .overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
  }
  
  .overlay .closebtn {
    position: absolute;
    top: 10px;
    right: 45px;
    font-size: 60px;
  }
  
  @media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
    }
  }