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

html {
  scroll-behavior: smooth;
}

/* Variables */
:root {
  --primary-color: #d4af7f;
  --light-color: #f4f4f6;
  --dark-color: #111;
}

  /* Navbar */
  .navbar{
    background: #fff;
    padding: 5px;
}

.navbar .container{
    display: flex;
    justify-content: space-between;
    align-items:center;
    padding: 5px 25px;
}

.navbar .main-menu ul{
    display: flex;
    list-style: none;
}

.navbar a{
    padding: 3px 10px;
    display: block;
    transition: 0.5s;
    font-variant: small-caps;
    letter-spacing: 1px;
    font-size: 1.25rem;
    text-align: center;
}

.phone{
  margin-left: 10px;
  padding: 5px 0;
  text-align: center;
}

.phone a{
  color: black;
  letter-spacing: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.25rem;
  font-style: italic;
}

.btn-nav {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 125px;
  text-align: center;
  padding: 8px 0;
  background: antiquewhite;
  color: black;
  border-radius: 10px;
  text-decoration: none;
  font-weight: normal !important;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  margin: 0 10px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  border: none;
}

.btn-nav:hover {
  background: antiquewhite;
  transform: scale(1.05);
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
}

body {
    margin: 0;
    font-family: Helvetica, sans-serif;
    color: #222;
    background-color: #fff;
    line-height: 1.6;
    max-width: 1600px;
    margin: 0 auto;
  }
 
/* Banner */  

  .banner {
    background: url('images/pexels-fauxels-3183190.jpg') center/cover no-repeat;
    padding: 2rem 2rem;
    text-align: center;
    border-radius: 25px;
    margin-left: 25px;
    margin-right: 25px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    opacity: .85;
  }
  
  .banner-button {
    padding: 1rem 2rem;
    font-size: 2rem;
    background-color: rgba(0, 0, 0, 0.75);
    color: #d4af7f;
    border: none;
    border-radius: 25px;
    font-style: italic;
    letter-spacing: 2px;
  }
  
/* Main Section */

  .main-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 25px;
    background-color: #f9f9f9;
    border-radius: 25px;
  }
  
  .it-support,
  .it-solutions {
    flex: 1 1 45%;
    padding-left: 80PX;
    padding-right: 80px;
    font-size: 1rem;
    font-weight: 200;
    text-align: center;
  }
  
  .it-support h3,
  .it-solutions h3 {
    color: rgb(39, 38, 38);
    font-size: 2rem;
    text-align: center;
    font-variant: small-caps;
    letter-spacing: 1px;
  }

  .it-solutions{
    margin-bottom: 30px;
  }

/* Banner 2 */

  .banner2 {
    background: url('images/pexels-ron-lach-8691827.jpg') center/cover no-repeat;
    padding: 2rem 2rem;
    text-align: center;
    border-radius: 25px;
    margin-left: 25px;
    margin-right: 25px;
    margin-bottom: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    opacity: .85;
  }
  
  .banner-button2 {
    padding: 1rem 2rem;
    font-size: 2rem;
    background-color: rgba(0, 0, 0, 0.75);
    color: #d4af7f;
    border: none;
    border-radius: 25px;
    font-style: italic;
    letter-spacing: 5px;
  }
 
/* Info Section */
  
  .info-section {
    padding: 1rem;
    background-color: #fff;
    margin-top: 25px;
    margin-bottom: 25px;
  }

  .services h3 {
    color: rgb(39, 38, 38);
    font-size: 2rem;
    text-align: center;
    font-variant: small-caps;
    letter-spacing: 1px;

  }

  .services-grid {
    display: flex;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .services-card {
    position: relative;
    background-color: antiquewhite;
    color: black;
    border-radius: 10px;
    padding: 20px;
    width: 200px;
    height: 150px;
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    overflow: visible;
    margin-bottom: 20px;
  }

  .services-card img {
    position: absolute;
    top: 60%;
    max-width: 60%;
    max-height: 60%;
    display: block;
    margin: 0 auto;
    opacity: .85;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }

  .services-card img:hover {
    transform: scale(1.05);
    cursor: pointer;
  }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  text-align: left;
  position: relative;
}

.lightbox .close {
  position: absolute;
  top: 10px; right: 20px;
  font-size: 24px;
  cursor: pointer;
}

  /* About */

.about {
  margin-top: 20px;
  margin-bottom: 20px;
}

.about h3 {
  color: rgb(39, 38, 38);
  font-size: 2rem;
  font-variant: small-caps;
  letter-spacing: 1px;
}

.abouthts {
  text-align: center;
  font-size: 1rem;
  font-weight: 200;
  background-color: #f9f9f9;
  padding-left: 80px;
  padding-right: 80px;
  padding-bottom: 10px;
  margin: 25px;
  border-radius: 25px;
}

/* Testimonials */

.testimonials h3 {
  color: rgb(39, 38, 38);
  font-size: 2rem;
  text-align: center;
  font-variant: small-caps;
  letter-spacing: 1px;
}

.testimonials-grid {
  padding: 10px;
  background-color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin-right: 20px;
  margin-left: 20px;
}

@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background-color: antiquewhite;
  color: black;
  border-radius: 10px;
  padding: 20px;
  font-size: 1rem;
}

.card p {
  text-align: center;
}

.card a {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
}
  
/* Contact */

.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  background: #f4f4f4;
  padding: 10px;
  box-sizing: border-box;
  margin-right: 25px;
  margin-left: 25px;
  margin-top: 25px;
  margin-bottom: 5px;
  border-radius: 25px;   
}

.contact-container {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 600px;    
  box-sizing: border-box;
  text-align: center;  
}

.contact-container h3 {
  font-variant: small-caps;
  font-size: 2rem;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

input, textarea {
  width: 100%;                
  max-width: 500px;          
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.form-button {
  width: 100px;
  height: 25px;
  margin: 10px;
}

label {
  display: block;
  text-align: left;    
  width: 100%;
  max-width: 500px;
  margin-bottom: 5px;
}

/* Footer */
.footer {
  background-color: black;
  margin-bottom: 5px;
  margin-right: 25px;
  margin-left: 25px;
  border-radius: 10px;
}

.footer-container {
  color: #fff;
  padding: 10px;
}

@media (max-width: 768px) {
  /* Allow navbar container to wrap */
  .navbar .container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* Main-menu spans full width below the logo */
  .main-menu {
    width: 100%;
    margin-top: 10px;
    text-align: center;
  }

  /* Stack the nav items vertically */
  .main-menu ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction:row;
    flex-wrap: wrap;
  }

  .main-menu ul li {
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .phone a {
    font-size: 1rem !important;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .logo {
    width: 100%;
    text-align: center;
  }
  .logo img {
    display: block;
    margin: 0 auto;
    max-width: 300px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .banner-button, .banner-button2 {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .abouthts {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 768px) {
  .main-section {
    flex-direction: column;
    align-items: center;
  }

  .it-solutions,
  .it-support {
    flex: 1 1 100%;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
  }
}

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