/* Base Styles and Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #000;
  color: #fff;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  /* --current-background: url("sunset-background.jpg"); */
  transition: opacity 0.5s ease;
}

/* Background Image */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--current-background);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.8;
  z-index: -1;
  transition: background-image 0.5s ease;
}
.contact-list {
  list-style: none;
  padding: 0;
  max-width: 300px;
}

.contact-list li {
  position: relative;
  padding-left: 2.5em;
  margin-bottom: 1em;
  line-height: 1.4;
  color: #eee;
}

/* Icon positioning + common styles */
.contact-list li::before {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2em;
  width: 2em;
  text-align: center;
  color: #eee;
}

/* Icons per item */
.contact-list li.address::before {
  content: "\f3c5"; /* Map-marker-alt */
}

.contact-list li.phone::before {
  content: "\f095"; /* Phone */
}

.contact-list li.email::before {
  content: "\f0e0"; /* Envelope */
}

/* Optional hover effect */
.contact-list li:hover::before {
  color: #ff6f47;
}


.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
  z-index: -1;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  width: 80px;
  height: auto;
  margin-right: 10px;
}

.company-name-small {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.navigation-buttons {
  display: flex;
  gap: 10px;
}

.nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

/* Main Content Styles */
main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 40px 0;
}

.hero-content {
  max-width: 800px;
  transition: opacity 0.3s ease;
}

.main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 700px;
}

.visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.visit-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Bottom Section Styles (Companies and Social) */
.bottom-section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
}

/* Social Section Styles */
.social-section {
  width: 25%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-self: flex-end;
  padding-bottom: 20px;
}

.social-title {
  font-size: 18px;
  font-weight: bold;
}

.social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
}

.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.linkedin {
  background-color: #0077b5;
}

.facebook {
  background-color: #3b5998;
}

.twitter {
  background-color: #eee;
}

.pinterest {
  background-color: #bd081c;
}

.youtube {
  background-color: #ff0000;
}

/* Companies Section Styles */
.companies-section {
  width: 75%;
  text-align: right;
}

.section-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.company-logos {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}


.company-logo-container {
  width: 170px;
  height: 180px;
  border: 5px solid rgba(255, 255, 255);
  /* border-radius: 8px; */
  display: flex;
  justify-content: center;
  align-items: center;
  /* background-color: rgba(191, 208, 209, 0.6); */
  background-color: transparent;
  padding: 15px;
  transition: all 0.3s ease;
}
.company-logo-container1 {
  width: 170px;
  height: 180px;
  border: 5px solid rgba(255, 255, 255);
  /* border-radius: 8px; */
  display: flex;
  justify-content: center;
  align-items: center;
  /* background-color: rgba(191, 208, 209, 0.6); */
  background-color: transparent;
  padding: 15px;
  transition: all 0.3s ease;
}
/* .company-logo-container1 img{
height: 60px;
width: 60px;
} */

.company-logo-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.company-logo-container1:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.company-logo {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
}
.Digisol{
  width: 170px;
  height: 180px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .company-logo-container,
  .company-logo-container1 {
    width: 150px;
    height: 160px;
  }
}


@media (max-width: 992px) {
  .main-title {
    font-size: 40px;
  }

  .company-logo-container,
  .company-logo-container1 {
    width: 150px;
    height: 140px;
  }

  .bottom-section {
    flex-direction: column;
  }

  .social-section,
  .companies-section {
    width: 100%;
  }

  .companies-section {
    margin-bottom: 30px;
    order: 1; /* Make companies section appear first */
  }

  .company-logos {
    justify-content: center;
  }

  .social-section {
    align-self: flex-start;
    order: 2; /* Make social section appear after companies section */
  }
}

@media (max-width: 768px) {
  .bottom-section {
    flex-direction: column;
  }

  .social-section {
    order: 2; /* Ensure social section appears last */
    width: 100%;
    margin-top: 30px;
  }

  .companies-section {
    order: 1; /* Ensure companies section appears first */
    width: 100%;
  }

  .main-title {
    font-size: 32px;
  }

  .description {
    font-size: 14px;
  }

  .company-logos {
    flex-wrap: wrap;
  }

   .company-logo-container,
  .company-logo-container1 {
    width: calc(33.33% - 10px);
    height: 120px;
  }
  .Digisol{
    width: 60px;
    height: 60px;
  }
}



/* OUR SERVICE */
/* Glassmorphic section */
.services {
  position: relative;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 4rem 1rem;
  text-align: center;
  font-family: sans-serif;
  color: #333;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Titles */
.subtitle2 {
  color: #fff;
  font-size: 50px;
  margin-bottom: 0.5rem;
}
.subtitle {
  color: #fff;
  font-size: 20px;
  margin-bottom: 50px;
}

/* Grid layout */
.services .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Responsive grid breakpoints */
@media (max-width: 900px) {
  .services .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .services .grid {
    grid-template-columns: 1fr;
  }
}

/* Card styles */
.services .card {
  background: rgba(255,255,255,0.8);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.services .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Icon styling */
.services .card .icon {
  font-size: 40px;
  color: #76c7c0;
  margin-bottom: 1rem;
}

/* Card heading & text */
.services .card h3 {
  margin-bottom: .75rem;
  font-size: 1.25rem;
}
.services .card p {
  font-size: .95rem;
  color: #555;
}



/* END */


/* FOOTER */


/* Top section split */
.footer {
  font-family: sans-serif;
  color: #eee;
  /* border-top-left-radius: 100px;   */
  border: 1px solid #eee;
  overflow: hidden;             /* Clips children to match rounded corner */
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
}
.cta {
  background:
    linear-gradient(rgba(32,49,77,0.6), rgba(32,49,77,0.6));
  /* padding: 2rem; */
  /* display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem; */
}
iframe {
  display: flex;
  height: 250px; /* <-- reduced from 340px */
  width: 450px;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}


/* Links & social area */
.links {
  background: #86c6c0;
  padding: 2rem;
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}
.links .column {
  flex: 1;
}
.links h4 {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #043536;
}
.links ul {
  list-style: none;
  padding: 0;
}
.links li {
  margin-bottom: 0.5rem;
}
.links a {
  color: #043536;
  text-decoration: none;
  font-size: 0.9rem;
}
.social {
  display: flex;
  gap: 1rem;
}
.social-icon {
  color: #043536;
  font-size: 1.2rem;
}

/* Bottom bar */
.footer-bottom {
  background: #20314d;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: #ccc;
}
.subscribe {
  padding: 0.5rem 1rem;
  border: 1px solid #eee;
  border-radius: 4px;
  text-decoration: none;
  color: #eee;
  font-weight: bold;
}
.social-icon.twitter {
  background-color: #1DA1F2; /* Twitter brand blue */
  color: #fff; /* white icon for contrast */
}

/* .social-icon.twitter:hover {
  box-shadow: 0 0 8px #1DA1F2; 
} */
/* Responsiveness */
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .links {
    flex-direction: column;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

 /* END */
@media (max-width: 576px) {
  .container {
    padding: 15px;
  }

  .logo {
    width: 60px;
  }

  .company-name-small {
    font-size: 10px;
  }

  .main-title {
    font-size: 28px;
  }

  .company-logo-container {
    width: calc(50% - 10px);
    height: 100px;
  }

  .social-section {
    margin-top: 25px;
  }
}

@media (max-width: 400px) {
  .main-title {
    font-size: 24px;
  }

  .visit-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .company-logo-container {
    width: 100%;
    height: 90px;
    margin-bottom: 10px;
  }
}