/* CSS Variables for Color Scheme */
:root {
  --primary-color: #ff8c00;
  --text-color: #333;
  --background-color: #f4f4f4;
  --light-text-color: #d1d1d1;
}

/* General Body Styling */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* Prevent horizontal overflow */
}

body {
  font-family: "DM Sans", sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text-color);
  background-color: var(--background-color);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  box-sizing: border-box;
}

/* Full-Height Sections */
.hero,
.about-section,
.content-section {
  min-height: 100vh;
  padding: 0 20px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

/* General Container Styling */
.container {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0 auto;
  box-sizing: border-box; /* Ensure padding doesn't cause overflow */
}

/* Navbar Styling */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1000;
  background-color: rgb(255, 255, 255);
  box-shadow: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar img {
  height: 50px;
  margin-right: auto;
  max-width: 100%;
}

.nav-links-wrapper {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: flex-end;
  max-width: 100%;
}

.nav-links {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
  margin-left: auto;
  max-width: 100%;
  overflow-x: hidden;
}

.nav-links li {
  max-width: 100%;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  padding: 8px 10px;
  font-size: 1em;
  padding-right: 70px;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: var(--primary-color);
}

.hamburger-button {
    display: none; /* Hidden by default for larger screens */
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    font-size: 1.8em;
    cursor: pointer;
    z-index: 1100;
}

@media only screen and (max-width: 600px) {
  .hamburger-button {
      display: flex;
      align-items: center;
      justify-content: center;
      background: transparent;
      border: none;
      font-size: 1.8em;
      cursor: pointer;
      margin-left: auto;
      padding-right: 60px;
      z-index: 1100;
      
      max-width: 100%;
  }

  .nav-links-wrapper {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Start directly under the navbar */
    background-color: #fff;
    width: 100%;
    position: absolute;
    top: 50px; /* Align directly under the navbar */
    left: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
    padding: 0; /* Remove extra padding */
}

.nav-links {
  margin: 5px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center the links */
  gap: 20px; /* Space between links */
}

.nav-links li a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  align-items: center;
  text-align: center;
  font-size: 1.2em;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 6px;
}


  .nav-links-wrapper.active {
      display: flex;
      background-color: white;
      width: 100%;
      position: absolute;
      align-items: center;
      top: 75px;
      right: 0;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      z-index: 999;
  }

  .nav-links-wrapper.active .nav-links li a:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
    color: var(--primary-color);
  }
}


.nav-links li a {
  color: black;
}

.nav-links li a:hover {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Hero Section Styling */
/* .hero {
  display: flex;
  justify-content: center; /* Center content horizontally *
  align-items: center; /* Center content vertically *
  text-align: center; /* Center text *
  background-image: linear-gradient(to right, rgb(31, 31, 31) 40%, rgba(0, 0, 0, 0.5) 100%), 
                    url('images/home.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  color: #fff;
  position: relative;
  padding: 20px;
  box-sizing: border-box;
}
.hero-content {
  max-width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.hero h1 {
  font-size: 4vw; /* Responsive font size *
  margin: 0;
  color: #fff;
  line-height: 1.2;
  max-width: 100%;
}

.hero p {
  font-size: 2vw; /* Responsive font size *
  margin: 20px 0;
  color: var(--light-text-color);
  max-width: 100%;
}


.hero .cta-button {
  background-color: transparent;
  z-index: 1;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 1.1em;
  border: 1px solid;
  border-radius: 15px;
  border-color: white;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}


.hero .cta-button:hover {
  border-color: var(--primary-color);
  color: black;
  background-color: var(--primary-color);
}

.hero .cta-button,
.about-text .cta-link{
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hero .cta-button:hover,
.about-text .cta-link:hover {
    border-color: var(--primary-color);
    color: black;
    background-color: var(--primary-color);
} */

.hero {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  background-image: linear-gradient(to right, rgb(31, 31, 31) 40%, rgba(0, 0, 0, 0.3) 100%), 
                    url('images/home.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  color: #fff;
  position: relative;
  padding-left: 80px;
  padding-right: 40px;
  margin-bottom: 40px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
}

.hero h1 {
  font-size: 65px;
  margin: 0;
  color: #fff;
  line-height: 1.2;
}

.hero p {
  font-size: 39px;
  margin: 20px 0 40px 0;
  color: #d1d1d1;
}

.hero .cta-button {
  background-color: transparent;
  z-index: 1;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 1.1em;
  border: 1px solid;
  border-radius: 15px;
  border-color: white;
  transition: background-color 0.3s ease;
}

.hero .cta-button:hover {
  border-color: #ff8c00;
  color: black;
  background-color: #ff8c00;
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 8vw; /* Adjust font size for small screens */
  }

  .hero p {
    font-size: 4vw; /* Adjust font size for small screens */
  }

  .hero .cta-button {
    font-size: 1em;
    padding: 10px 15px;
  }
}

/* Services Section Styling */
.services-header {
  text-align: center;
  margin-bottom: 40px;
  max-width: 100%;
  overflow-x: hidden;
}

.services-subtitle {
  font-size: 1em;
  font-weight: 400;
  color: #a6a6a6;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0px;
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.services-title {
  font-size: 3em;
  font-weight: 700;
  margin-top: 5px;
  margin-bottom: 7px;
  max-width: 100%;
}

.title-underline {
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 0 auto;
  margin-top: 1px;
  margin-bottom: 20px;
  max-width: 100%;
}

.services-container {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  padding: 40px 20px;
  max-width: 100%;
  overflow-x: hidden;
}

.service-item {
  position: relative;
  background-color: #1c1c1c;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 100px 30px 30px 30px;
  width: 100%;
  max-width: 280px;
  text-align: left;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: scale(1); /* Initial scale */
}

.service-item:hover .icon-wrapper {
  background-color: var(--primary-color);
  transform: scale(1.1);
  transition: 0.3s;
}

.icon-wrapper {
  background-color: #333;
  padding: 10px;
  border-radius: 10px;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 20px;
  left: 20px;
}

.service-item img {
  width: 40px;
  height: 40px;
}

.service-item h3 {
  font-size: 1.4em;
  margin-top: 45px;
  font-weight: 600;
}

.service-item p {
  font-size: 1em;
  color: #ccc;
  margin-bottom: 20px;
}

.cta-link {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.cta-link:hover {
  color: white;
}

/* Responsive Adjustments */
@media screen and (max-width: 600px) {
  .services-container {
      flex-direction: column;
      align-items: center;
      gap: 20px;
      max-width: 100%;
  }
}

/* Content Section Styling */
.content-section {
  padding: 50px 20px;
  padding-top: 140px;
  background-color: #f9f9f9;
  text-align: center;
  max-width: 100%;
  overflow-x: hidden;
}


/* About Us Section */
.about-section {
  padding: 100px 20px; /* Increased padding for breathing space */
  background-color: #ffffff;
}

.about-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  max-width: 1200px; /* Control max-width for better responsiveness */
}

.about-text {
  flex: 1;
  padding-right: 50px; /* Reduced padding for better balance */
}

.about-text h2 {
  color: #a6a6a6;
  font-size: 1em;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.about-text h3 {
  font-size: 3em;
  font-weight: 700;
  margin-top: 7px;
  margin-bottom: 20px;
  color: #333333;
}

.about-text p {
  font-size: 1.2em;
  text-align: justify;
  line-height: 1.5;
  color: #555555;
  margin-bottom: 40px;
}

.about-text .cta-link {
  background-color: transparent;
  z-index: 1;
  color: black;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 1.1em;
  border: 1px solid;
  border-radius: 15px;
  border-color: black;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.about-text .cta-link:hover {
  background-color: #ff8c00;
  border-color: #ff8c00;
  color: #ffffff;
}

.about-image {
  flex: 0.9;
  max-width: 500px;
  margin-left: 50px; /* Adjusted margin for better balance */
  text-align: center;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Added subtle shadow */
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    text-align: center;
    padding: 0;
  }

  .about-text {
    padding-right: 0;
    margin-bottom: 20px;
    padding-left: 0;
  }

  .about-image {
    max-width: 100%;
    margin: 0 auto; /* Center the image on smaller screens */
    padding: 0 15px; /* Added padding for spacing */
  }

  .about-image img {
    max-width: 100%;
    height: auto;
  }
}

/* Animations */
.slideInLeft {
  opacity: 0;
  animation: slideInLeft 1.5s ease-out forwards;
}

.slideInRight {
  opacity: 0;
  animation: slideInRight 1.5s ease-out forwards;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.3s ease-in-out;
  max-width: 100%;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

.modal-content {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  max-width: 100%;
}

.modal.is-visible .modal-content {
  opacity: 1;
  transform: translateY(0);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  max-width: 1200px;
  border-radius: 10px;
  position: relative;
  animation: slideIn 2ms ease-in-out;
}

/* Keyframes for animations */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
      opacity: 0;
      transform: translateX(-20px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
      opacity: 0;
      transform: translateX(20px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
      opacity: 0;
      transform: translateY(50px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.slideInUp {
  opacity: 0;
  animation: slideInUp 2s ease-out forwards;
}

@keyframes slideInLeft {
  from {
      opacity: 0;
      transform: translateX(-50px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
      opacity: 0;
      transform: scale(0.8);
  }
  to {
      opacity: 1;
      transform: scale(1);
  }
}

.zoomIn {
  opacity: 0;
  animation: zoomIn 2s ease-out forwards;
}

.slideInLeft {
  opacity: 0;
  animation: slideInLeft 2s ease-out forwards;
}

@keyframes bounceIn {
  from {
      opacity: 0;
      transform: scale(0.9) translateY(30px);
  }
  50% {
      transform: scale(1.1) translateY(-10px);
  }
  to {
      opacity: 1;
      transform: scale(1) translateY(0);
  }
}

.bounceIn {
  opacity: 0;
  animation: bounceIn 2s ease-out forwards;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Contact Section Styling */
.contact-section {
  padding: 100px 20px;
  padding-left: 50px;
  padding-right: 50px;
  padding-top: 150px;
  padding-bottom: 30px;
  background-color: #fff;
  max-width: 100%;
  overflow-x: hidden;
}

.contact-heading {
  text-align: left;
  margin-bottom: 10px;
}

.contact-heading h2 {
  font-size: 16px;
  color: #999;
  padding-left: 2px;
  margin-bottom: 5px;
  font-weight: 400;
}

.contact-heading h3 {
  font-size: 39px;
  color: #000;
  font-weight: 700;
  padding-left: 2px;
  margin-top: 5px;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  vertical-align: center;
  gap: 40px;
  max-width: 100%;
  overflow-x: hidden;
}

.contact-details {
  flex: 0 1 35%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 100%;
  overflow-x: hidden;
}

.contact-info {
  text-align: left;
  max-width: 100%;
  overflow-x: hidden;
}

.contact-info p {
  display: flex;
  align-items: center;
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--text-color);
  max-width: 100%;
  overflow-x: hidden;
}

.contact-info p img {
  width: 25px;
  height: 25px;
  margin-right: 10px;
  flex-shrink: 0;
  background-color: #f0f0f0;
  padding: 5px;
  border-radius: 5px;
}

.contact-map {
  flex: 1;
  background-color: #f0f0f0;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  height: auto;
  min-height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  overflow-x: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
  max-width: 100%;
  overflow-x: hidden;
}

/* Responsive Design */
@media (max-width: 600px) {
  .contact-content {
      flex-direction: column;
      max-width: 100%;
  }

  .contact-details,
  .contact-map {
      flex: 1; 
      max-width: 100%;
  }
}

/* Underline Styling */
.underline {
  position: relative;
  display: inline-block;
}

.underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background-color: var(--primary-color);
}

/* Back to Top Button */
#backToTop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  background-color: var(--primary-color);
  border: none;
  padding: 10px;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s;
  max-width: 100%;
}

#backToTop svg {
  width: 24px;
  height: 24px;
}

#backToTop:hover {
  background-color: #e67600;
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Hero Section Text Animations */
.hero h1 {
  margin: 0;
  animation: fadeInDown 2s ease-out;
  max-width: 100%;
}

.hero p {
  margin: 20px 0 40px 0;
  animation: fadeInUp 2s ease-out;
  max-width: 100%;
}

@keyframes fadeInDown {
  from {
      opacity: 0;
      transform: translateY(-20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 60px 0;
  background: white;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos-slide {
  display: inline-block;
  animation: 28s slide infinite linear;
}

.logos-slide img {
  height: 50px;
  margin: 0 40px;
}


/* General Footer Styling */
.footer {
  background-color: #1a1a1a;
  color: #d3d3d3;
  padding: 50px 15px;
  font-family: "DM Sans", sans-serif;
  max-width: 100%;
  overflow-x: hidden;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: hidden;
}

.footer-left {
  flex: 1;
  text-align: left;
  padding-top: 30px;
}

.footer-left img.footer-logo {
  max-width: 180px;
  margin-bottom: 20px;
  background-color: #fff;
  padding: 10px;
  border-radius: 5px;
  display: block;
}

.footer-left p {
  max-width: 300px;
  line-height: 1.6;
  color: #bfbfbf;
}

.footer-right {
  flex: 1;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-quick-links,
.footer-contact-info {
  flex: 1;
  min-width: 220px;
  text-align: right;
  overflow-x: hidden;
}

.footer-quick-links h4,
.footer-contact-info h4 {
  margin-bottom: 10px;
  font-size: 1em;
  color: white;
  font-weight: bold;
}

.footer-quick-links ul,
.footer-contact-info ul {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--primary-color);
  overflow-x: hidden;
}

.footer-quick-links ul li,
.footer-contact-info ul li {
  margin-bottom: 0px;
  overflow-x: hidden;
}

.footer-quick-links ul li a,
.footer-contact-info ul li a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.85em;
  transition: color 0.1s ease;
  overflow-x: hidden;
}

.footer-quick-links ul li a:hover,
.footer-contact-info ul li a:hover {
  color: #d3d3d3;
  text-decoration: underline;
  text-underline-offset: 3.5px;
}

/* Footer Bottom Section */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 0.85em;
  color: #a6a6a6;
}

.footer-bottom .social-media {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.footer-bottom .social-media a img {
  width: 30px;
  height: 30px;
  background-color: #000;
  padding: 10px;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.footer-bottom .social-media a img:hover {
  background-color: var(--primary-color);
}

/* Responsive Footer Design */
@media (max-width: 600px) {
  .footer-container {
  display: flex;
  flex-direction: column;   /* Stack items vertically */
  align-items: center;      /* Center items horizontally */
  text-align: center;       /* Center text */
  padding: 15px;
  width: 100%;
  box-sizing: border-box;   /* Include padding in width calculation */
}

.footer-left, .footer-right {
  width: 100%;
  margin-bottom: 20px;      /* Add space between sections */
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-left p {
  text-align: center;
  max-width: 300px;
  line-height: 1.6;
  color: #bfbfbf;
}

.footer-right ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;   /* Stack items vertically */
  align-items: center;      /* Center items horizontally */
  gap: 5px;                 /* Space between list items */
}

.footer-right h4, .footer-left h4 {
  text-align: center;
  margin-bottom: 10px;      /* Ensure heading is close to content */
  text-transform: uppercase;/* Optional: Make headings uppercase */
}

.footer-bottom {
  text-align: center;
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid #444;
}

.footer-bottom .social-media {
  display: flex;
  justify-content: center;  /* Center align icons */
  gap: 15px;
  width: 100%;              /* Full width to ensure proper alignment */
  margin-bottom: 10px;      /* Add a bit of space below icons */
}

.footer-bottom .social-media a img {
  margin: 0 10px;
}

.footer-bottom .rights {
  margin-top: 5px;
  font-size: 0.85em;
  color: #a6a6a6;
  text-align: center;       /* Center the copyright text */
  width: 100%;
}
}
