:root {
  --primary: #F58220;
  --primary-dark: #D46B10;
  --dark: #232323;
  --darker: #121212;
  --light: #FAF7F0;
  --gray: #F5E7C6;
  --text-gray: #555555;
  --border-radius: 4px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--gray);
  width: 100%;
  position: relative;
}

html {
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

h1,
h2,
h3,
.logo {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 100vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 5%;
  background: rgba(18, 18, 18, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  /* Reset to safe high z-index */
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  height: 90px;
  width: auto;
  transition: height 0.3s ease;
}

.logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  white-space: nowrap;
  line-height: 1;
  display: inline-block;
  margin-top: 5px;
  /* Alignment adjustment */
}

@media (max-width: 1024px) {
  .logo-text {
    font-size: 1.4rem;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 768px) {
  .logo-text {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
  }
}

.nav-links {
  display: flex;
  gap: 2rem;
  z-index: 2005;
}

.nav-links a {
  color: var(--light);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2010;
  position: relative;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--light);
  transition: 0.3s;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    padding: 10px;
    border: 1px solid var(--primary);
    border-radius: 4px;
    background: rgba(18, 18, 18, 0.6);
    transition: 0.3s;
    z-index: 1100;
    cursor: pointer;
  }
}

.hero-section {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 5%;
  background: var(--darker);
  color: var(--light);
  overflow: hidden;
  /* Prevent video or content overflow */
}

/* html { scroll-behavior is now above } */

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  /* Increased to stay above standard backgrounds */
  overflow: hidden;
  background: var(--darker);
  /* Fallback color */
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Dark overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  word-wrap: break-word;
  font-weight: 800;
  text-transform: uppercase;
}

.highlight {
  color: var(--primary);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
  max-width: 600px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--primary);
  color: var(--light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  background-color: var(--primary-dark);
}

.arrow {
  margin-left: 10px;
}

/* Sections */
.content-section {
  padding: 6rem 5%;
}

.dark-bg {
  background-color: var(--darker);
  color: var(--light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.text-white {
  color: var(--light);
}

.line {
  width: 60px;
  height: 4px;
  background-color: var(--darker);
}

.orange-line {
  background-color: var(--primary);
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

.about-image {
  height: 400px;
  background-color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  background-color: var(--darker);
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
}

/* Project Images (using local assets) */
.project-card:nth-child(1) .card-image {
  background-image: url('../assets/images/project1.jpg');
  background-size: cover;
  background-position: center;
}

.project-card:nth-child(2) .card-image {
  background-image: url('../assets/images/project2.jpg');
  background-size: cover;
  background-position: center;
}

.project-card:nth-child(3) .card-image {
  background-image: url('../assets/images/project3.jpg');
  background-size: cover;
  background-position: center;
}

.card-image {
  height: 250px;
  background-color: var(--darker);
  transition: 0.5s;
}

.project-card:hover .card-image {
  transform: scale(1.05);
}

.card-info {
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
}

.card-info h3 {
  color: var(--light);
  margin-bottom: 0.5rem;
}

.card-info p {
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Fancy Services Grid */
.services-fancy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-fancy-card {
  position: relative;
  background: var(--gray);
  padding: 3rem 2rem;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid #eee;
  z-index: 1;
  cursor: pointer;
}

.service-fancy-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  transform: translateY(100%);
  transition: transform 0.4s ease;
  z-index: -1;
}

.service-fancy-card:hover {
  transform: translateY(-15px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(245, 130, 32, 0.2);
}

.service-fancy-card:hover::before {
  transform: translateY(0);
}

.service-number {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.03);
  line-height: 1;
  transition: color 0.4s ease;
}

.service-fancy-card:hover .service-number {
  color: rgba(255, 255, 255, 0.1);
}

.service-icon-fancy {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: transform 0.4s ease;
}

.service-fancy-card:hover .service-icon-fancy {
  transform: scale(1.2) rotate(10deg);
}

.service-fancy-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: color 0.4s ease;
  color: var(--dark);
}

.service-fancy-card p {
  color: var(--text-gray);
  margin-bottom: 2rem;
  transition: color 0.4s ease;
  font-size: 1rem;
}

.service-fancy-card:hover h3,
.service-fancy-card:hover p {
  color: #fff;
}

.learn-more-fancy {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.4s ease;
}

.service-fancy-card:hover .learn-more-fancy {
  color: #fff;
  gap: 1.2rem;
}

@media (max-width: 768px) {
  .services-fancy-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact */
.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-info {
  margin-top: 2rem;
  font-size: 1.1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

/* Navbar Border - Show on all screens to match design */
.navbar {
  border-bottom: 2px solid var(--primary);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .navbar {
    padding: 0.8rem 3%;
    justify-content: center;
    /* Center logo on mobile as seen in image */
    position: relative;
    height: auto;
    min-height: 100px;
    /* Deeper header to accommodate larger logo/text */
  }

  .logo {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .logo img {
    height: 75px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
  }

  .hero-content p {
    font-size: 1.1rem;
    font-weight: 400;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    height: 300px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(18, 18, 18, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    transform: translateX(100%);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links li {
    margin: 1rem 0;
  }

  .nav-links li a {
    font-size: 1.5rem;
  }

  .menu-toggle {
    display: block;
    z-index: 1001;
    position: absolute;
    /* Keep it on the right while logo centers */
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
  }

  .menu-toggle .bar {
    background-color: var(--light);
  }

  .esg-grid {
    flex-direction: column;
    padding: 0 1rem;
    width: 100%;
    box-shadow: none;
  }

  .esg-item:hover {
    transform: none;
    box-shadow: none;
  }

  .esg-report-block {
    flex-direction: column;
  }

  .esg-image-col {
    height: 250px;
  }

  .esg-text-col {
    padding: 1.5rem;
  }

  .hero-content h1 br {
    display: none;
  }

  .stat-box {
    min-width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
  }

  .profile-card {
    padding: 2rem;
  }

  .profile-card h3 {
    font-size: 1.2rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.1;
    word-break: break-word;
  }

  .cta-button {
    padding: 1rem 1.8rem;
    font-size: 0.85rem;
    font-weight: 800;
  }
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal.fade-left {
  transform: translateX(-30px);
}

.reveal.fade-right {
  transform: translateX(30px);
}

.reveal.active.fade-left,
.reveal.active.fade-right {
  transform: translate(0);
}

/* ESG Section */
/* ESG Section Refined */
.esg-section {
  padding: 0;
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  .esg-section {
    margin-top: 0;
    /* Remove negative margin on mobile */
  }
}

.esg-grid {
  display: flex;
  align-items: stretch;
  background-color: transparent;
  max-width: 1400px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.esg-item {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.esg-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  z-index: 20;
}

/* 1. Left: Report Block (Image + Text) */
.esg-report-block {
  flex: 1.2;
  background-color: var(--darker);
  display: flex;
  overflow: hidden;
}

.esg-image-col {
  flex: 1;
  position: relative;
}

.esg-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.esg-text-col {
  flex: 0.8;
  background-color: var(--primary);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.esg-text-col h3 {
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.esg-view-btn {
  color: var(--dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--dark);
  padding-bottom: 5px;
  align-self: flex-start;
}

.esg-view-btn:hover {
  color: #fff;
  border-color: #fff;
}

.esg-motto {
  position: absolute;
  bottom: 10px;
  right: 15px;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

/* 2. Middle: Split Stats */
.stat-box {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
  min-width: 200px;
}

.dark-bg-stat {
  background-color: var(--darker);
  color: #fff;
  border-right: 1px solid var(--primary-dark);
}

.primary-bg-stat {
  background-color: var(--primary);
  color: #fff;
}

.badge-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}

.stat-box h2 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}

.stat-box p {
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

/* 3. Right: Floating Profile */
.profile-card {
  flex: 1;
  background-color: var(--gray);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 11;
}

.profile-card h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #000;
  line-height: 1.3;
  font-weight: 800;
}

/* AOS Fixes */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* Filter Buttons */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--dark);
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.3s;
  border-radius: 30px;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: white;
}

.cert-card.hidden {
  display: none;
}

/* Certifications Section */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.cert-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.cert-card-inner {
  padding: 1.5rem;
  text-align: center;
}

/* Image Box Style */
.cert-image-box {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-bottom: 1px solid #eee;
  background-color: var(--light);
}

.cert-image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform 0.5s ease;
}

.cert-card:hover .cert-image-box img {
  transform: scale(1.05);
}

.cert-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: var(--dark);
}

.cert-card p {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.cert-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--primary);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  transition: 0.3s;
}

.cert-link:hover {
  background-color: var(--primary);
  color: #fff;
  text-decoration: none;
}

/* Featured Projects Gallery */
.featured-gallery {
  padding: 6rem 5%;
  background-color: var(--gray);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding-top: 2rem;
}

.gallery-item {
  position: relative;
  height: 350px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 2rem;
  color: white;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.gallery-overlay p {
  font-size: 0.9rem;
  color: #ddd;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease 0.1s;
}

.gallery-item:hover .gallery-overlay p {
  opacity: 1;
  transform: translateY(0);
}

.view-btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 2px solid var(--primary);
  color: white;
  border-radius: 20px;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: bold;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease 0.2s;
}

.view-btn:hover {
  background-color: var(--primary);
  color: black;
}

.gallery-item:hover .view-btn {
  opacity: 1;
  transform: translateY(0);
}


/* Contact Section (Moved below as cleanup) */
.contact-section {
  padding: 8rem 0;
  background-color: var(--darker);
  color: var(--light);
}

/* Modal System */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(8px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--gray);
  width: 90%;
  max-width: 700px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transform: scale(0.8);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-header {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.modal-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.modal-header h2 {
  color: #fff;
  margin: 0;
  font-size: 2rem;
}

.modal-body {
  padding: 2.5rem;
}

.modal-body p {
  color: var(--text-gray);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
  border: none;
}

.close-modal:hover {
  background: var(--primary);
}

.modal-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 30px;
  transition: 0.3s;
}

.modal-button:hover {
  background: var(--dark);
  transform: scale(1.05);
}

/* Ad Popup Specific Styles */
.ad-popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 350px;
  background: var(--gray);
  border-radius: 15px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  z-index: 2500;
  padding: 1.5rem;
  border-left: 5px solid var(--primary);
  transform: translateX(120%);
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ad-popup.active {
  transform: translateX(0);
}

.ad-popup h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.ad-popup p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.ad-close {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 1.2rem;
  color: #ccc;
}

/* Button: View All */
.view-all-container {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 2.5rem;
  background-color: var(--primary);
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(245, 130, 32, 0.3);
}

.view-all-btn:hover {
  background-color: var(--darker);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Premium Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}



.contact-info-premium {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item-fancy {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-icon-fancy {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-item-fancy:hover .contact-icon-fancy {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.contact-details-fancy h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  text-transform: capitalize;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.contact-details-fancy p,
.contact-details-fancy a {
  color: #999;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Map Styling */
.contact-maps-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
}

.contact-map-premium {
  width: 100%;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-map-premium iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-maps-container {
    grid-template-columns: 1fr;
  }

  .contact-map-premium {
    height: 350px;
  }
}

/* Sub-sections Styling */
.sub-sections-container {
  margin-top: 4rem;
  padding: 2rem;
  background: var(--light);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.sub-sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.sub-section-item {
  padding: 2rem;
  background: var(--gray);
  border-radius: 15px;
  transition: all 0.3s ease;
  border-left: 5px solid var(--primary);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.sub-section-item:hover {
  transform: translateX(10px);
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.sub-section-item h4 {
  color: var(--dark);
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

.sub-section-item p {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.sub-section-img {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 1rem;
}

.sub-section-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sub-section-item:hover .sub-section-img img {
  transform: scale(1.1);
}

.sub-section-icon {
  font-size: 1.5rem;
}

.see-details {
  display: inline-block;
  margin-top: 1rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.coming-soon-tag {
  display: inline-block;
  margin-top: 1rem;
  color: #999;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  background: #eee;
  padding: 4px 12px;
  border-radius: 20px;
}

/* Careers Page Specific Styles */
.jobs-section {
  padding: 6rem 5%;
  background: var(--light);
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.job-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-left: 5px solid var(--primary);
  transition: all 0.3s ease;
}

.job-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.job-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.job-location {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: block;
}

.job-details {
  list-style: none;
  margin-bottom: 2rem;
}

.job-details li {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.apply-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--darker);
  color: #fff;
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  border: 2px solid var(--darker);
}

.apply-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* Application Form */
.application-section {
  padding: 6rem 5%;
  background: var(--gray);
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 4rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.career-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.1);
}

.submit-career {
  grid-column: span 2;
  padding: 1.2rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.submit-career:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .career-form {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .form-container {
    padding: 2rem;
  }
}

.construction-details-section {
  padding: 6rem 5%;
  background: var(--gray);
}

/* Custom Translate Button - Floating Bottom Left */
.translate-container {
  position: fixed;
  bottom: 25px;
  left: 25px;
  display: inline-block;
  z-index: 2100;
}

.translate-btn {
  background: #F58220;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-transform: none;
}

.translate-btn:hover {
  background: #e67e22;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.flag-popover {
  position: absolute;
  bottom: 120%;
  left: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 250px;
  z-index: 2200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.flag-popover.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.flag-popover::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 20px;
  border-width: 10px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

.flag-item {
  cursor: pointer;
  transition: all 0.2s ease;
  width: 45px;
  height: 30px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.flag-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flag-item:hover {
  transform: scale(1.15) translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Hide original Google Translate bar */
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon,
.goog-te-gadget-simple span,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

#google_translate_element {
  display: none;
}

@media (max-width: 768px) {
  .translate-container {
    margin-left: 0;
    margin-top: 1rem;
  }

  .flag-popover {
    bottom: auto;
    top: 130%;
  }

  .flag-popover::after {
    top: auto;
    bottom: 100%;
    border-color: transparent transparent #f8f9fa transparent;
  }
}