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

body {
  font-family: 'Arial', sans-serif;
  background: black;
  color: white;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/8_qsasa144.jpg') no-repeat center center / cover;
  z-index: -1;
  opacity: 0.2;
  pointer-events: none;
}

main {
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

/* =================================
   Header & Responsive Navigation
   ================================= */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1e1e1e;
  padding: 20px 40px;
  position: relative;
  z-index: 100;
}

.logo {
  z-index: 10;
}

.logo img {
  height: 40px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  transition: background 0.3s, color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  background: linear-gradient(to right, #ffd700, #ff9c00);
  color: black;
}

.menu-toggle {
  display: none;
}

.menu-button-container {
  display: none;
  height: 25px;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1001;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #fff;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button {
    background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
    margin-top: 0px;
    transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
    margin-top: 0px;
    transform: rotate(-405deg);
}

/* =================================
   Buttons
   ================================= */
.btn {
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: #ffe600;
  color: black;
  border: 2px solid #ffe600;
}

.btn-primary:hover {
  background: #ffb800;
  border-color: #ffb800;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: black;
}

/* =================================
   Homepage Styles
   ================================= */
.hero-section {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/Landing_Page-02.webp') no-repeat center center/cover;
  height: calc(100vh - 54px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 20px;
  font-style: italic;
  margin-bottom: 30px;
}

.hero-buttons .btn {
  margin: 0 10px;
}

.why-choose-us-home {
  padding: 80px 0;
  background: #111;
  margin-top: 0px;
}

.why-choose-us-home h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  color: #ffe600;
}

.featured-projects {
  padding: 80px 0;
}

.featured-projects h2 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 10px;
}

.featured-projects p {
  font-style: italic;
  font-size: 15px;
  margin-bottom: 40px;
  text-align: center;
}

.project-gallery-home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.project-card {
  border-radius: 12px;
  overflow: hidden;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.project-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 230, 0, 0.2);
}

.cta-banner {
  background: linear-gradient(to right, #ffd700, #ff9c00);
  color: black;
  padding: 60px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.cta-banner p {
  margin-bottom: 20px;
}

.cta-banner .btn-primary {
  background: black;
  color: white;
  border-color: black;
}

.cta-banner .btn-primary:hover {
  background: #333;
  border-color: #333;
}

/* =================================
   Scroll Down Indicator
   ================================= */
.scroll-down-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 24px;
  animation: bounce 2.5s infinite ease-in-out;
  z-index: 10;
  opacity: 0.7;
}

.scroll-down-indicator:hover {
  opacity: 1;
}

.scroll-down-indicator i {
  display: block;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* =================================
   Footer Styles
   ================================= */
.site-footer {
  background: #1e1e1e;
  padding: 60px 0 0 0;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 15px;
}

.footer-about p {
  color: #ccc;
  line-height: 1.7;
}

.footer-links h4, .footer-contact h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #ffe600;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a, .footer-contact a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover, .footer-contact a:hover {
  color: white;
}

.footer-contact p {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.footer-contact p i {
  margin-right: 10px;
  color: #ffe600;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  font-size: 18px;
  color: #1e1e1e;
  background: #ffe600;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: white;
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  color: #aaa;
}


/* =================================
   Page-Specific Styles (Existing)
   ================================= */

/* --- Contact Page Styles --- */
.contact-section {
  padding: 60px 20px;
  background: linear-gradient(to right, #0f0f0f, #1a1a1a);
  color: white;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.contact-left, .contact-right {
  flex: 1 1 45%;
}

.contact-left h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #ffe600;
}

.contact-left p {
    font-size: 18px;
    margin-bottom: 30px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* REPLACED with floating label styles */
/* form input, form textarea { ... } */

/* Modern Submit Button */
form button {
  background: linear-gradient(to right, #ffd700, #ff9c00);
  color: black;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  padding: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.social-icons {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

/* Sleek Social Icon Hover */
.social-icons a {
    font-size: 20px;
    color: white;
    background: #333;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-5px);
  background-color: #ffe600;
  color: black;
}

.contact-details p {
    margin: 8px 0;
    font-size: 16px;
}

.contact-details a {
    color: #00cfff;
    text-decoration: none;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  font-size: 24px;
  padding: 14px;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: background 0.3s;
}

.whatsapp-float:hover {
  background: #1ebe57;
}

#form-status {
  display: none;
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 12px;
  font-weight: bold;
  animation: fadeIn 0.6s ease forwards;
}

.success {
  background: #252525;
  color: #ffe600;
  border-left: 6px solid #ffe600;
}

.error {
  background: #2e0000;
  color: #ff6d6d;
  border-left: 6px solid #ff3c3c;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.about-section {
  padding: 60px 20px;
  color: white;
}

.about-wrapper-full {
  max-width: 1200px;
  margin: auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.about-content h1 {
  font-size: 42px;
  margin-bottom: 30px;
  text-align: center;
  font-style: initial;
}

.about-content .tagline {
  font-size: 30px;
  color: #ffe600;
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;
}

.about-text p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
}

.image-gallery {
  max-width: 1200px;
  margin: 50px auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.gallery-item {
  position: relative;
  background-color: #222;
  border-radius: 12px;
  overflow: hidden;
  height: 350px;
  box-shadow: 0 8px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin-bottom: 90px;
}

.why-choose-us {
  max-width: 1200px;
  margin: 60px auto 0 auto;
  padding: 0 20px;
  text-align: center;
}

.why-choose-us h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #ffe600;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.feature-item {
  background: #1e1e1e;
  padding: 30px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.feature-item i {
  font-size: 40px;
  color: #ffe600;
  margin-bottom: 15px;
}

.feature-item h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 16px;
  line-height: 1.5;
  color: #ccc;
}

.projects-section {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
}

.page-title {
  text-align: center;
  margin-bottom: 50px;
}

.page-title h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.page-title p {
  font-size: 18px;
  color: #ccc;
  font-style: italic;
}

.project-item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 30px;
  border-radius: 16px;
  margin-bottom: 40px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.project-item h2 {
  font-size: 28px;
  color: #ffe600;
  margin-bottom: 10px;
}

.project-item .project-description {
  font-size: 16px;
  line-height: 1.7;
  color: #ddd;
  margin-bottom: 25px;
}

.project-image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.project-image-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #444;
  transition: transform 0.3s ease;
  stroke-width: 1px;
}

.project-image-gallery img:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  display: block;
  max-width: 90%;
  max-height: 85%;
  border-radius: 8px;
  animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.8); }
  to { transform: scale(1); }
}

@keyframes zoomOut {
  from { transform: scale(1); }
  to { transform: scale(0.8); }
}

.close-button {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close-button:hover,
.close-button:focus {
  color: #bbb;
  text-decoration: none;
}

.machine-collage-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.machine-collage-section h2 {
  font-size: 40px;
  margin-bottom: 5px;
  margin-top: 90px;
  color: #ffe600;
}

.machine-collage-section p {
  font-size: 20px;
  margin-bottom: 40px;
  color: #f1f1f1;
  font-style: italic;
}

.collage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 15px;
}

.collage-item {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.collage-item img:hover {
  transform: scale(1.1);
}

.item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.item-tall {
  grid-row: span 2;
}

.item-wide {
  grid-column: span 2;
}

/* =================================
   Scroll Animations
   ================================= */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =================================
   Prices Page Styles
   ================================= */

.prices-section {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
}

.price-category {
  margin-bottom: 60px;
}

.price-category h2 {
  font-size: 36px;
  color: #ffe600;
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 2px solid #333;
  padding-bottom: 15px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.price-card {
  background: rgba(30, 30, 30, 0.8);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid #222;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(255, 230, 0, 0.2);
}

.price-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.price-card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 25px;
}

.price-card-header {
  text-align: center;
  margin-bottom: 20px;
}

.price-card-header h3 {
  font-size: 24px;
  color: #ffe600;
  margin-bottom: 5px;
}

.price-card-header p {
  color: #ccc;
  font-size: 14px;
}

.price-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.price-card .price {
  font-size: 24px;
  font-weight: bold;
  color: white;
  text-align: center;
  margin-bottom: 25px;
}

.price-card .price span {
    font-size: 20px;
    color: #ffffff;
    font-style: italic;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.price-card ul li {
  color: #ddd;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.price-card ul li i {
  color: #ffe600;
  margin-right: 10px;
  font-size: 14px;
}

.prices-section .cta-banner {
    margin-top: 60px;
}

.prices-section .cta-banner .btn-primary {
    background: black;
    color: white;
    border-color: black;
}

.prices-section .cta-banner .btn-primary:hover {
    background: #333;
    border-color: #333;
}

/* =================================
   Mobile Styles (for screens <= 768px)
   ================================= */
@media (max-width: 768px) {
  /* General Mobile Layout */
  header {
    padding: 15px 20px;
  }

  .menu-button-container {
    display: flex;
  }
  
  .nav-links {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #1e1e1e;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    z-index: 1000;
  }
  
  .nav-links a {
    font-size: 24px;
    margin: 15px 0;
  }

  #menu-toggle:checked ~ .nav-links {
    transform: translateX(0);
  }

  /* Homepage Mobile Styles */
  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .hero-buttons .btn {
    margin: 0;
    width: 80%;
  }

  .why-choose-us-home, .featured-projects, .cta-banner {
    padding: 60px 20px;
  }

  .why-choose-us-home h2, .featured-projects h2, .cta-banner h2, .contact-left h1, .page-title h1, .about-content h1 {
    font-size: 28px;
  }
  
  .features-grid, .project-gallery-home, .gallery-grid, .collage-grid {
    grid-template-columns: 1fr;
  }
  
  .collage-grid .item-large, .collage-grid .item-tall, .collage-grid .item-wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  /* Contact Page Mobile Styles */
  .contact-wrapper {
    flex-direction: column;
    padding: 20px;
  }
  
  /* About Page Mobile Styles */
  .about-wrapper-full {
    padding: 20px;
  }

  /* Footer Mobile Styles */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-about, .footer-links, .footer-contact {
    margin-bottom: 30px;
  }

  .footer-logo {
    margin: 0 auto 15px auto;
  }

  .footer-social {
    justify-content: center;
  }
  
  .footer-contact p {
    justify-content: center;
  }
}

/* =================================
   Map Section Styles
   ================================= */
.map-section {
  padding: 80px 20px;
}

.map-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.map-container h2 {
  font-size: 36px;
  color: #ffe600; /* Matches your highlight color */
  margin-bottom: 30px;
}

.map-container iframe {
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* =================================
   Floating Label Form Styles
   ================================= */
.form-group {
  position: relative;
  margin-bottom: 10px; /* Adjust spacing between fields */
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 18px 16px 10px 16px; /* Adjust padding for label */
  background: #2c2c2c;
  color: white;
  border: 1px solid #444;
  border-radius: 10px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group label {
  position: absolute;
  top: 15px;
  left: 16px;
  color: #aaa;
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ffe600;
}

/* The magic happens here */
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: 5px;
  left: 16px;
  font-size: 12px;
  color: #ffe600;
}

/* =================================
   Contact Info Block Styles
   ================================= */
.contact-info-block {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  margin-bottom: 25px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-info-block:hover {
  background-color: rgba(255, 230, 0, 0.1);
  transform: translateY(-3px);
}

.contact-info-block i {
  font-size: 20px;
  color: #ffe600;
  margin-right: 20px;
}

.contact-info-block div span {
  display: block;
  font-size: 14px;
  color: #ccc;
}

.contact-info-block div strong {
  font-size: 16px;
  font-weight: bold;
}

/* ===================================================================
   NEW DYNAMIC CONTACT PAGE STYLES (V2)
   =================================================================== */

/* Keyframe animation for the dynamic entry */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation class to apply to elements */
.animate-in {
  animation: slideUpFade 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* Main section container */
.contact-section-v2 {
  padding: 100px 20px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The main content card */
.contact-wrapper-v2 {
  max-width: 800px;
  width: 100%;
  background: rgba(30, 30, 30, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

/* Header text styles */
.contact-header h1 {
  font-size: 42px;
  font-weight: bold;
  color: #ffe600; /* Your highlight color */
  margin-bottom: 15px;
}

.contact-header p {
  font-size: 18px;
  color: #ccc;
  max-width: 500px;
  margin-bottom: 40px;
  font-style: italic;
}

/* Grid for the Phone/Email info blocks */
.contact-info-grid {
  display: flex;
  gap: 20px;
  width: 100%;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

/* Styling for the info blocks within the new grid */
.contact-info-grid .contact-info-block {
  flex-grow: 1;
  max-width: 350px;
  margin-bottom: 0;
}

/* Container for the form to control its width */
.form-container {
  width: 100%;
  max-width: 600px;
}

/* New layout for the social icons at the bottom */
.contact-socials {
    margin-top: 40px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.contact-socials p {
    color: #aaa;
    margin-bottom: 15px;
}

.contact-socials .social-icons {
    justify-content: center;
}

/* Make sure the map section below has enough space */
.map-section {
    padding: 80px 20px; /* Restoring padding for proper spacing */
    background-color: #111111b2;
    position: relative;
}

@media (max-width: 768px) {
  .contact-section-v2 {
    padding: 60px 15px;
  }
  .contact-wrapper-v2 {
    padding: 30px;
  }
  .contact-header h1 {
    font-size: 32px;
  }
}

/* =====================================================
   E-Perolehan Section Styles (Final Corrected Version)
   ===================================================== */

/* --- Main Section Styles (Desktop First) --- */
.eperolehan-section {
  padding: 80px 20px;
  text-align: center;
}

.eperolehan-section h2 {
  font-size: 38px;
  margin-bottom: 40px;
  color: #ffe600;
}

.eperolehan-box {
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(30, 30, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 60px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eperolehan-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.ep-content-grid {
  display: flex;
  align-items: center;
  gap: 50px;
}

.ep-cert-image {
  flex: 1;
  transition: transform 0.3s ease;
}

.ep-cert-image:hover {
  transform: scale(1.05);
}

.ep-cert-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  display: block;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.ep-cert-details {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  /* This is the correct DESKTOP alignment */
  align-items: flex-start;
  text-align: left;
}

.eperolehan-box h3 {
  font-size: 28px;
  margin-bottom: 10px;
  color: white;
}

.eperolehan-box .ep-number {
  font-size: 30px;
  font-weight: bold;
  background: linear-gradient(145deg, #b39700, #ffe600);
  color: #000000;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.2);
  padding: 12px 22px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 20px;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.eperolehan-box span {
  font-size: 18px;
  color: #ccc;
  line-height: 1.6;
  display: block;
}

.ep-strengths {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  /* Ensures the list block takes up normal space on desktop */
  display: block;
}

.ep-strengths li {
  display: flex;
  align-items: center;
  font-size: 18px;
  color: #ddd;
  margin-bottom: 12px;
}

.ep-strengths li i {
  color: #ffe600;
  font-size: 20px;
  margin-right: 12px;
  width: 22px;
}

.btn-contact-ep {
  display: inline-block;
  background: #ffe600;
  color: #000;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  margin-top: auto;
  align-self: flex-start;
}

.btn-contact-ep:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 230, 0, 0.2);
}

/* --- Responsive styles for mobile --- */
@media (max-width: 768px) {
  .eperolehan-section {
    padding-left: 5px;  /* Reduced from 20px */
    padding-right: 5px; /* Reduced from 20px */
  }

  .eperolehan-box {
    padding: 30px 15px;
  }

  .ep-content-grid {
    flex-direction: column;
    gap: 25px;
  }
  
  .eperolehan-box h3 {
    font-size: 22px;
  }

  .eperolehan-box .ep-number {
    font-size: 17px;
    padding: 10px 10px;
    word-break: break-all;
  }

  .eperolehan-box span {
    font-size: 15px;
  }
  
  /* This is the correct MOBILE alignment */
  .ep-cert-details {
    align-items: center;
    text-align: center;
  }
  
  /* This makes the list look centered on MOBILE */
  .ep-strengths {
    display: inline-block;
    text-align: left;
  }

  .btn-contact-ep {
    align-self: center; /* This centers the button on mobile */
  }
}

/* Footer E-Perolehan Style */
.footer-ep {
  color: #ccc;
  font-size: 14px;
  margin-top: 15px;
}
.footer-ep i {
  color: #ffe600;
  margin-right: 8px;
}