/* Default offset for desktop */
#home{
  scroll-margin-top: 90px;
}
#about,
#offers,
#team{
  scroll-margin-top: 50px;
}
/*#contact {
  scroll-margin-top: 70px;
}
/*  

/* GOTO DISAPPEAR WHEN SMALL SCREEN -> BELOW NOT NEEDED*/
/* Adjust offset for mobile screens 
@media (max-width: 768px) {
  #about,
  #offers,
  #team,
  #contact {
    scroll-margin-top: 60px; 
}
}
*/

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navigation Bar */
.navbar {
  background: #04092c; /* Updated header color */
  color: #fff;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #030722;
}

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

.navbar .logo img {
  height: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: #cce6ff;
}



/* Hero Section */
.hero-section {
  margin-top: 80px;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.cta-button {
  background-color: #007bff;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
}

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

.hero-image {
  flex: 1;
  text-align: center;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  /* Hide the image on screens smaller than 768px */
  .hero-image {
    display: none;
  }

  /* Adjust the hero-text to take full width */
  .hero-text {
    flex: 1 1 100%;
    text-align: center;
    margin: 0 auto;
  }

  /* Center the hero-section content vertically */
  .hero-section {
    align-items: center;
  }
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

/* About Section */
.about-section {
  padding: 60px 0;
  background-color: #f9f9f9; /* Added background color */
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.about-text {
  padding: 60px;
  flex: 1;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.1em;
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

/* Offers Section */
.offers-section {
  padding: 60px 0;
  background-color: #fff;
}

.offers-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

.offers-section h4 {
  text-align: center;
  margin-bottom: 40px;
}

.offer-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.offer {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 5px;
  width: 32%;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  min-height: 80px; /* Adjust as needed */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.offer h3 {
  margin-bottom: 15px;
}

.offer-content {
  flex: 1;
}

.offer-content p {
  margin-bottom: 15px;
}

/* Offer Price Styling */
.offer-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.offer-price .price {
  font-size: 1.2em;
  font-weight: bold;
  margin: 0;
}

.offer-price .additional-info {
  font-size: 0.95em;
  font-weight: normal;
  margin-top: 5px;
}

@media (max-width: 768px) {
  .offer {
    width: 100%;
    min-height: auto;
  }
}



/* Managing Team Section */
.team-section {
  padding: 60px 0;
  background-color: #f9f9f9; /* Added background color */
}

.team-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

.team-section p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.1em;
}

.team-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.team-member {
  background: #fff; /* Set to white */
  padding: 20px;
  border-radius: 5px;
  width: 48%;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.team-member img {
  width: 60%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
}

.team-member h3 {
  margin-bottom: 5px;
}

.team-member h4 {
  margin-bottom: 15px;
  color: #777;
}

.team-member p {
  font-size: 1em;
  line-height: 1.5;
}

/* Testimonials Section */
.testimonials-section {
  padding: 60px 0;
  background-color: #fff; /* Set to white */
}

.testimonials-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

.testimonial {
  max-width: 600px;
  margin: 0 auto 30px;
  text-align: center;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 10px;
}

.client {
  font-weight: bold;
}

/* Contact Section */
.contact-section {
  padding: 60px 0;
  text-align: center;
  background-color: #f9f9f9; /* Added background color */
}

.contact-section h2 {
  margin-bottom: 20px;
}

.contact-section p {
  margin-bottom: 20px;
}

.contact-link {
  font-size: 1.2em;
  color: #007bff;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

/* Existing CSS code remains unchanged */

/* ... (Your existing CSS styles) ... */

/* Footer Styles */
.footer {
  background: #04092c; /* Same as navbar */
  color: #fff; /* White text */
  padding: 60px 0 40px 0; /* Increased padding for top and bottom */
}

.footer .footer-content {
  max-width: 1200px; /* Aligns with main content */
  margin: 0 auto; /* Centers the footer content */
}

.footer-top {
  display: flex;
  justify-content: center; /* Centers the columns */
  flex-wrap: wrap;
  margin-bottom: 40px; /* Increased space below the top section */
}

.footer-section {
  width: 30%; /* Slightly reduced width to accommodate larger margins */
  max-width: 300px; /* Optional max width */
  margin: 20px; /* Increased margin for more space between columns */
  text-align: center; /* Center align content */
}

.footer-section h4 {
  margin-bottom: 30px; /* Increased space below headings */
}

.footer-section p,
.footer-section a {
  color: #fff;
  line-height: 1.8; /* Increased line-height for more spacing between lines */
  text-decoration: none;
  text-align: center; /* Ensure all text is centered */
  margin: 10px 0; /* Added margin for spacing between paragraphs */
}

.footer .about img {
  height: 40px;
  margin-bottom: 3px; /* Increased space below the logo */
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px; /* Increased padding above bottom links */
}

.footer-links {
  display: flex;
  justify-content: center; /* Center the links */
  flex-wrap: wrap;
}

.footer-links p {
  margin: 10px 60px; /* Increased spacing between links */
  text-align: center;
}

.footer-links a {
  color: #fff;
  text-decoration: none; /* Remove underline */
}

.footer-links a:hover {
  text-decoration: none; /* Ensure no underline on hover */
}

/* Responsive Styles for Footer */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    width: 100%; /* Full width on small screens */
    margin: 30px 0; /* Increased vertical spacing on mobile */
  }

  .footer-links {
    flex-direction: column;
  }

  .footer-links p {
    margin: 10px 0;
  }
}


/* Responsive Styles */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .navbar .container {
    flex-wrap: wrap;
  }

  .navbar .logo {
    flex: 1;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    background: #04092c;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
  }

  .nav-links li {
    margin: 0;
  }

  .nav-links a {
    padding: 15px;
    display: block;
  }

  .hero-section {
    flex-direction: column;
    padding: 40px 0;
  }

  .offer {
    width: 100%;
  }

  .about-content {
    flex-direction: column;
  }

  .hero-text,
  .about-text {
    text-align: center;
  }

  .team-members {
    flex-direction: column;
  }

  .team-member {
    width: 100%;
  }
}
