/* Global Styles */
body, html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: white;
  height: 100%;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Top Navigation Bar */
.topnav {
  background: linear-gradient(135deg, #009DE0 5%, #252042 95%);
  overflow: hidden;
  position: sticky;
  top:0;
  z-index: 5000;
}

.navbar-text {
  float: left;
  padding: 14px 16px;
  font-size: 18px;
  color: white;
}

.topnav a {
  float: right;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #009DE0 ;
  color: white;
}

.topnav .icon {
  display: none;
}

/* Container and Content Styling */
.container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: linear-gradient(135deg, #009DE0 0%, #252042 100%);
  color: white;
  padding: 20px;
  box-sizing: border-box;
}

.content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  flex-wrap: wrap;
  gap: 50px; /* Gap between text-content and logo-placeholder */
}

.text-content {
  max-width: 600px;
  flex: 1 1 300px;
}

.text-content h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
}

.text-content p {
  font-size: 1em;
  margin-bottom: 1.5em;
  line-height: 1.5em;
}

.read-more {
  display: inline-block;
  padding: 0.75em 1.5em;
  background-color: #00bfff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.logo-placeholder {
  flex: 1 1 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border-radius: 5px;
  
}

.logo-placeholder img {
  width: 100%; /* Make the image take up the full width of its container */
  max-width: 50rem; /* Adjust the max-width to your preference */
  height: auto; /* Maintain aspect ratio */
  display: block;
  margin-left: auto;
  margin-right: auto; /* Center the image horizontally */
}

/* about section */


.about {
  background: linear-gradient(to bottom, #f9f9f9, #f1f1f1); /* Subtle gradient */
  padding: 5rem 2rem;
}

.about h1 {
  font-family: 'Georgia', serif; /* Classic serif font */
  font-size: 3.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
  color: #002b5c; /* Deep blue for a professional look */
}

.about p {
  font-family: 'Georgia', serif;
  text-align: center;
  padding-left: 3rem;
  padding-right: 3rem;
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: #333; /* Darker color for readability */
  line-height: 1.7;
}

.text-overlay {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}





/* Optional: Section Divider */
.about::before {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: #004080;
  margin: 0 auto 3rem;
}




/* services section */

.services {
  background: linear-gradient(135deg, #009DE0 0%, #252042 100%);
  padding: 2rem;
}

.services h1 {
  font-size: 3rem;
  text-align: center;
  padding-top: 2rem;
}

.services p{
  text-align: center;
  font-size: 1.5rem;
  color: white;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px; /* Adjust the gap between cards */
  padding: 16px;
  justify-content: center;
}

.card {
  flex: 1 1 calc(33.333% - 32px); /* 3 cards per row with space for gap */
  box-sizing: border-box;
  background-color: #f8f9fa;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  height: 5rem;
  font-size: 1.5rem;
  /* Optional styles for the card */
}

.card:hover{
  background: linear-gradient(135deg,#252042 0%, #009DE0 100%);
  color: white;
}

.button-container {
  display: flex;
  justify-content: center; /* Centers the button horizontally */
  padding: 20px; /* Optional: Adds space around the button */
}


/* contact  */
.contact-container {
  display: flex;
  flex-wrap: wrap;
}

.contact-column {
  flex: 1;
  padding: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  padding: 3rem;
  width: 80%;
  margin-left: 5rem;
  border: #0056b3 solid;
}

.contact-form label {
  margin-top: 10px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  margin-top: 5px;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  margin-top: 20px;
  padding: 10px;
  font-size: 18px;
  color: #fff;
  background-color: #00bfff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #0056b3;
}

.map {
  width: 90%;
  height: 90%;
  padding-left: 3rem;
  /* border: #0056b3 solid; */
}

.contact h1{
  text-align: center;
  font-size: 3rem;
}

.contact p{
  text-align: center;
  font-size: 1.5rem;
}


/* footer */
.footer {
  background: linear-gradient(135deg, #009DE0 5%, #252042 95%);
  color: white;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-left: 5rem;
}

.footer-column {
  flex: 33.33%;
  padding: 20px;
  box-sizing: border-box;
}

.footer-column a{
  color: white;
}

/* Media queries for responsiveness */

/* Tablets and small desktops */
@media (max-width: 1024px) {
  .column {
    width: 50%; /* Two columns per row */
    padding-left: 1.5rem; /* Adjust padding */
  }

  .card {
    width: 20rem; /* Adjust card width for smaller screens */
    height: 7rem;
  }

  .contact-form{
    width: 80%;
    padding: 1rem;
  }

  .map{
    width: 80%;
    padding-left: 5rem;
    /* border: #0056b3 solid; */
  }

  iframe{
    width:41rem;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .text-content h1 {
    font-size: 2em;
  }

  .text-content p {
    font-size: 0.9em;
  }

  .read-more {
    padding: 0.6em 1.2em;
    font-size: 0.9em;
  }

  .logo-placeholder img {
    max-width: 100%; /* Adjust based on how small you want the image on mobile devices */
  }

  .card {
    flex: 1 1 calc(50% - 32px); /* 2 cards per row on smaller screens */
    width: 100%
}

  
  .contact-form{
    width: 80%;
    /* padding-left: 5rem; */
  }

  .map{
    width: 70%;
    padding-left: 5rem;
    /* border: #0056b3 solid; */
  }
  iframe{
    width:38rem
  }

  .footer-row {
    flex-direction: column;
    align-items: center;
  }

  .footer-column {
    width: 100%;
    padding: 10px 0;
  }

  .about {
    padding: 3rem 1rem;
  }

  .about h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
  }

  .about p {
    padding: 0 1.5rem;
    font-size: 1.2rem;
  }

  .text-overlay {
    max-width: 95%;
    padding: 1rem;
  }

  .text-overlay {
    padding: 1.5rem;
  }
}

/* Media Queries for Responsive Design */

@media (max-width: 480px) {

  .content {
    flex-direction: column;
    align-items: flex-start;
  }

  .text-content h1 {
    font-size: 1.5em;
  }

  .text-content p {
    font-size: 0.85em;
  }

  .read-more {
    padding: 0.5em 1em;
    font-size: 0.8em;
  }

  .logo-placeholder {
    padding-top: 10px; /* Reduce top padding */
    margin-top: -5rem; /* Optionally use negative margin to pull it up further */
  }

  .logo-placeholder img {
    max-width: 100%; /* Adjust based on how small you want the image on mobile devices */
  }
  .contact-form{
    width: 80%;
    /* padding-left: 0.1rem; */
    margin-left: 1rem;
  }

  .map{
    width: 100%;
    /* padding-left: 1rem; */
    margin-left: -4rem;
    /* border: #0056b3 solid; */
  }

  iframe{
    width:90%;
  }
  .card {
    flex: 1 1 100%; /* 1 card per row on very small screens */
}

  
}

 /* Responsive Navigation Bar */

@media screen and (max-width: 600px) {
  .topnav a.icon {
    float: right;
    display: block;
    color: white;
  }

  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .topnav a {
    display: none;
}

.topnav.responsive .navbar-text {
    float: none;
    display: block;
    text-align: center;
    padding-bottom: 0;
}

.topnav.responsive a {
    display: block;
    text-align: left;
    float: none;
    padding: 14px;
}
  .topnav a.icon {
    float: right;
    display: block;
  }
 
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
 

  .card-container {
    flex-direction: column;
    gap: 20px; /* Increase space between cards on mobile */
}
}
