:root {
  --primary-color: #AD9779; /* Gold/Tan */
  --secondary-color: #1A243F; /* Navy Blue */
  --accent-color: #FFBC7D;
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --bg-dark: #1A243F;
  --bg-light: #FFFFFF;
  --bg-gray: #F3F4F5;
  
  --font-primary: 'Cormorant Infant', serif;
  --font-secondary: 'Roboto Slab', serif;
  --font-text: 'Nunito Sans', sans-serif;
  --font-accent: 'Roboto', sans-serif;
}

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

body {
  font-family: var(--font-text);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* --- TOP BAR --- */
.top-bar {
  background-color: var(--secondary-color);
  color: #d1d1d1;
  font-size: 11px;
  padding: 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 10px 0;
}
.top-bar-left i {
  color: var(--primary-color);
  margin-right: 5px;
}
.top-bar-right {
  display: flex;
  align-items: stretch;
}
.profile-btn {
  background-color: var(--primary-color);
  color: #fff;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
}
.profile-btn i {
  font-size: 14px;
}

/* --- HEADER --- */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img {
  height: 60px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}
.nav-links li a {
  text-decoration: none;
  color: var(--secondary-color);
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.nav-links li a:hover {
  color: var(--primary-color);
}
.nav-links li i {
  font-size: 10px;
  margin-left: 3px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}
.phone-block {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 12px;
  color: var(--secondary-color);
}
.phone-icon-box {
  background-color: var(--primary-color);
  color: #fff;
  padding: 10px 12px;
  border-radius: 3px;
}

.btn {
  background-color: var(--primary-color);
  color: var(--bg-light);
  padding: 12px 25px;
  display: inline-block;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  text-transform: uppercase;
  font-size: 13px;
}

.btn:hover {
  background-color: var(--secondary-color);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Hero Section */
.hero {
  background-image: url('images/about_progress_bg.webp');
  background-size: cover;
  background-position: center;
  height: 600px;
  display: flex;
  align-items: center;
}

/* Intro Section */
.intro-section {
  padding: 80px 0;
}
.intro-grid {
  display: flex;
  gap: 50px;
  align-items: center;
}
.intro-img {
  flex: 1;
}
.intro-img img {
  width: 100%;
  border-radius: 5px;
}
.intro-content {
  flex: 1;
}
.intro-subtitle {
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-size: 14px;
}
.intro-content h2 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.intro-content p {
  color: #6D6D6D;
  margin-bottom: 30px;
}

/* 4 Feature Boxes */
.features-container {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}
.feature-box {
  background-color: var(--secondary-color);
  color: var(--text-light);
  padding: 30px 20px;
  text-align: center;
  flex: 1;
  transition: transform 0.3s;
}
.feature-box:hover {
  transform: translateY(-10px);
}
.feature-box img {
  height: 40px;
  margin-bottom: 15px;
}
.feature-box h3 {
  color: var(--primary-color);
  font-size: 22px;
  margin-bottom: 15px;
}
.feature-box p {
  font-size: 14px;
}

/* Services */
.section {
  padding: 80px 0;
  background-color: var(--bg-gray);
}
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  font-size: 36px;
}
.services-grid {
  display: flex;
  gap: 30px;
}
.service-card {
  flex: 1;
  background: var(--bg-light);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.service-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.service-card .service-title {
  background-color: var(--secondary-color);
  color: var(--text-light);
  text-align: center;
  padding: 15px;
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 600;
}

/* Turnkey */
.turnkey-grid {
  display: flex;
  align-items: center;
  gap: 30px;
  background-color: #fff;
  padding: 50px 0;
}
.turnkey-col {
  flex: 1;
}
.turnkey-box {
  background-color: var(--secondary-color);
  color: white;
  padding: 40px;
}
.turnkey-box h3 {
  color: var(--primary-color);
  font-size: 28px;
}
.turnkey-box ul {
  list-style: none;
  margin-top: 20px;
}
.turnkey-box ul li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Customers */
.customers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.customer-logo {
  background: #fff;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eee;
}
.customer-logo img {
  max-width: 100%;
  max-height: 60px;
}

/* Why Choose Us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-box {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 30px;
  text-align: center;
}
.why-box h4 {
  color: var(--primary-color);
  font-size: 22px;
  margin-bottom: 10px;
}

/* Contact Section */
.contact-grid {
  display: flex;
  gap: 40px;
  background-color: #F9F9F9;
  padding: 50px;
  margin-top: 50px;
}
.contact-form {
  flex: 2;
}
.contact-form h3 {
  font-size: 32px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group input {
  flex: 1;
  padding: 15px;
  border: 1px solid #ddd;
}
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  margin-bottom: 20px;
  height: 150px;
}
.contact-info-card {
  flex: 1;
  background-color: var(--secondary-color);
  color: #fff;
  padding: 40px;
}
.contact-info-card h4 {
  color: #fff;
  margin-bottom: 20px;
}
.contact-info-card p {
  margin-bottom: 15px;
  font-size: 14px;
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 60px 0 20px;
  border-top: 5px solid var(--primary-color);
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col a {
  color: #bbb;
}
.footer-col a:hover {
  color: var(--primary-color);
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #bbb;
  font-size: 14px;
}

/* --- DROPDOWN MENU --- */
.nav-links li.dropdown {
  position: relative;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 220px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 10px 0;
  list-style: none;
  z-index: 1000;
  border-top: 2px solid var(--primary-color);
}
.dropdown-menu li {
  padding: 0;
}
.dropdown-menu li a {
  display: block;
  padding: 12px 25px;
  color: #666;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid #f9f9f9;
  text-transform: uppercase;
}
.dropdown-menu li:last-child a {
  border-bottom: none;
}
.dropdown-menu li a:hover {
  color: var(--primary-color);
  background-color: #fafafa;
}
.nav-links li.dropdown:hover .dropdown-menu {
  display: block;
}

/* --- INNER PAGE STYLES --- */
.hero-inner {
  background-color: #9b9a99;
  padding: 80px 0;
  text-align: center;
  color: white;
}
.hero-inner h1 {
  font-family: var(--font-primary);
  font-size: 36px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.section-subtitle {
  color: var(--primary-color);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 5px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.product-card {
  text-align: center;
  background: #fff;
  padding: 15px;
  border: 1px solid #eee;
}
.product-card img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  margin-bottom: 15px;
}
.product-card h4 {
  font-family: var(--font-accent);
  font-size: 14px;
  text-transform: uppercase;
  color: var(--secondary-color);
}
.category-banner {
  background-color: var(--secondary-color);
  color: #fff;
  text-align: center;
  padding: 30px;
  border-radius: 5px;
  margin: 30px 0;
}
.category-banner h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
}
.category-banner p {
  font-size: 15px;
}
.category-banner ul {
  list-style: none;
  font-size: 15px;
  margin-top: 10px;
}
.category-banner li::before {
  content: "•";
  color: #fff;
  margin-right: 5px;
}

/* Contact Form Section */
.contact-layout {
  display: flex;
  gap: 50px;
  align-items: stretch;
}
.contact-form-side {
  flex: 2;
  background: #fff;
  padding: 40px;
  border-radius: 5px;
}
.contact-info-side {
  flex: 1;
  background-color: var(--secondary-color);
  color: #fff;
  padding: 40px;
  border-radius: 5px;
  text-align: center;
}
.contact-info-side h3 {
  font-family: var(--font-primary);
  margin-bottom: 20px;
  font-size: 20px;
}
.contact-info-side p {
  font-size: 14px;
  margin-bottom: 15px;
}
.contact-info-side hr {
  border-color: rgba(255,255,255,0.1);
  margin: 15px 0;
}
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.form-row input, .form-row select {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  font-family: var(--font-text);
}
textarea.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  font-family: var(--font-text);
  margin-bottom: 20px;
  min-height: 120px;
}

/* Intro Section Redesign to match screenshot */
.intro-section-new {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    min-height: 500px;
    max-width: 1200px;
    margin: 60px auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
}
.intro-img-new {
    flex: 1;
    display: flex;
}
.intro-img-new img {
    width: 100%;
    height: auto;
    display: block;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}
.intro-content-new {
    flex: 1;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}
.experience-box {
    background-color: #1a2b4c;
    color: #fff;
    padding: 20px 30px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    position: absolute;
    top: -40px;
    right: 80px;
}
.experience-box::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 30px;
    border-width: 15px 15px 0 0;
    border-style: solid;
    border-color: #1a2b4c transparent transparent transparent;
}
.exp-number {
    font-size: 40px;
    font-family: 'Cormorant Infant', serif;
    color: #d1b482;
}
.exp-text {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 1px;
}
.intro-welcome {
    font-size: 12px;
    text-transform: uppercase;
    color: #b89d79;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 15px;
}
.intro-heading {
    font-family: 'Cormorant Infant', serif;
    font-size: 38px;
    color: #1a2b4c;
    line-height: 1.3;
    margin-bottom: 25px;
    font-weight: 600;
}
.intro-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
}
.btn-gold {
    background-color: #b89d79;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: background 0.3s;
}
.btn-gold:hover {
    background-color: #9a8262;
}

/* --- HERO SLIDER --- */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 75vh;
    overflow: hidden;
    background-color: #000;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    color: var(--primary-color);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active, .dot:hover {
    background: var(--primary-color);
}

/* --- REFACTORED SECTION CLASSES --- */

/* Core Values */
.core-values-section { padding: 0; margin-top: -20px; z-index: 10; position: relative; }
.core-values-grid { display: flex; padding: 0; }
.core-box { flex: 1; background: #152238; color: #fff; padding: 40px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,0.1); }
.core-box i, .core-icon-img { font-size: 40px; margin-bottom: 20px; max-height: 60px; max-width: 60px; object-fit: contain; }
.core-box h3 { font-family: var(--font-primary); font-size: 24px; margin-bottom: 15px; color: #ad9779; }
.core-box p { font-size: 13px; color: #ccc; }
.core-box.last-box { border-right: none; }

/* Services Section */
.services-section { background: #f9f9f9; padding: 60px 0; }
.services-flex-container { display: flex; gap: 30px; }
.service-link { flex: 1; text-decoration: none; }
.service-card-new { border: 1px solid #ddd; background: #fff; height: 100%; display: flex; flex-direction: column; }
.service-card-new img { width: 100%; height: 200px; object-fit: cover; }
.service-card-title { background: #1a2b4c; color: #fff; text-align: center; padding: 15px; font-weight: bold; letter-spacing: 1px; flex-grow: 1; display: flex; align-items: center; justify-content: center; }

/* Turnkey Projects */
.turnkey-section { padding: 60px 0; background: #fff; }
.turnkey-flex-container { display: flex; align-items: stretch; gap: 30px; }
.turnkey-content { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.turnkey-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.turnkey-header img { max-height: 60px; max-width: 60px; object-fit: contain; }
.turnkey-header h3 { font-family: var(--font-primary); font-size: 24px; color: #1a2b4c; margin: 0; }
.turnkey-list { list-style: none; padding: 0; color: #666; font-size: 15px; line-height: 2; }
.turnkey-list i { color: #b89d79; margin-right: 10px; }
.turnkey-image-center { flex: 1; display: flex; justify-content: center; align-items: center; }
.turnkey-image-center img { max-height: 350px; max-width: 100%; object-fit: contain; }
.turnkey-image-bg { flex: 1; background: url('images/bigstock-Turnkey-Solution-111069800_600x.webp') center/cover no-repeat; min-height: 300px; }

/* Process Diagram */
.process-section { padding: 60px 0; background: #f4f6f8; }
.process-flex-container { display: flex; gap: 50px; align-items: stretch; }
.process-text-box { flex: 0 0 350px; background: #1a2b4c; color: #fff; padding: 50px 40px; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; overflow: hidden; }
.process-text-box .process-oval-icon { margin-bottom: 20px; z-index: 2; max-width: 150px; }
.process-text-box .process-bottom-image { margin-top: 30px; width: 100%; border-radius: 5px; z-index: 2; border: 1px solid rgba(255, 255, 255, 0.1); }
.process-text-box h3 { font-family: var(--font-primary); font-size: 28px; margin-bottom: 20px; color: #fff; z-index: 2; }
.process-text-box p { font-size: 14px; line-height: 1.6; color: #ccc; z-index: 2; }
.process-bg-icon { font-size: 80px; opacity: 0.2; margin-top: 30px; position: absolute; bottom: 20px; }

.process-image-box { flex: 1; display: flex; justify-content: center; align-items: center; }
.process-image-box img { max-width: 100%; height: auto; }

/* Valued Customers */
.customers-section { padding: 80px 0; background: #fff; }
.customers-grid-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border: none; }
.customer-box { padding: 15px; display: flex; justify-content: center; align-items: center; border: none; }
.customer-box img { max-width: 100%; max-height: 120px; object-fit: contain; }

/* Giant Logo Section */
.giant-logo-section { background: #1a2b4c; padding: 100px 0; text-align: center; position: relative; overflow: hidden; }
.giant-logo-bg { background: url('images/about_progress_bg.webp') center/cover; position: absolute; top:0; left:0; width:100%; height:100%; opacity: 0.1; }
.giant-logo-container { position: relative; z-index: 2; display: flex; justify-content: center; }
.giant-logo-container .video-responsive-wrapper { width: 80%; max-width: 800px; background: #fff; padding: 10px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.giant-logo-container .video-inner { position: relative; width: 100%; padding-bottom: 56.25%; }
.giant-logo-container .video-inner iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 5px; }

/* Why Choose Us */
.why-choose-section { padding: 80px 0; background: #fff; }
.why-choose-grid { display: grid; gap: 10px; margin-bottom: 10px; }
.why-choose-grid.top-row { grid-template-columns: repeat(4, 1fr); }
.why-choose-grid.bottom-row { display: flex; gap: 10px; justify-content: center; }
.why-box-new { background: #152238; color: #fff; padding: 40px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.why-choose-grid.bottom-row .why-box-new { width: calc(25% - 7.5px); }
.why-box-new img { max-width: 60px; max-height: 60px; margin-bottom: 15px; object-fit: contain; }
.why-box-new h4 { font-size: 16px; margin: 0 0 10px 0; color: #ad9779; font-weight: 500; }
.why-box-new p { font-size: 12px; line-height: 1.5; color: #fff; margin: 0; }

/* Get In Touch */
.get-in-touch-section { padding: 80px 0; background: #f9f9f9; }
.get-in-touch-flex { display: flex; gap: 40px; }
.get-in-touch-form-container { flex: 2; }
.get-in-touch-form-container h2 { font-family: var(--font-primary); font-size: 36px; color: #1a2b4c; margin-bottom: 30px; }
.get-in-touch-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.get-in-touch-form input, .get-in-touch-form textarea { padding: 15px; border: 1px solid #ddd; width: 100%; font-family: var(--font-text); box-sizing: border-box; }
.get-in-touch-form .full-width { grid-column: span 2; }
.get-in-touch-form textarea { height: 120px; resize: vertical; }
.submit-btn { max-width: 200px; justify-self: start; }
.get-in-touch-address-container { flex: 1; background: #1a2b4c; color: #fff; padding: 50px 40px; display: flex; flex-direction: column; justify-content: center; text-align: center; border-radius: 5px; }
.get-in-touch-address-container img { width: 150px; background: #fff; padding: 10px; margin: 0 auto 30px; border-radius: 5px; }
.get-in-touch-address-container h4 { font-family: var(--font-primary); font-size: 24px; color: #d1b482; margin-bottom: 20px; }
.get-in-touch-address-container p { font-size: 14px; line-height: 1.8; color: #ccc; }

/* Header adjustments */
.search-icon { color: #666; font-size: 14px; cursor: pointer; }
.mobile-menu-toggle { display: none; font-size: 24px; color: var(--secondary-color); cursor: pointer; padding: 10px; }

/* --- RESPONSIVE BREAKPOINTS --- */

/* Ultrawide Monitors (> 1440px) */
@media (min-width: 1441px) {
    .hero-slider-section { max-height: 800px; }
}

/* Laptops (max-width: 1200px) */
@media (max-width: 1200px) {
    .intro-section-new { max-width: calc(100% - 30px); margin: 60px 15px; }
    .turnkey-flex-container { gap: 15px; }
    .process-flex-container { gap: 30px; }
    .process-text-box { flex-basis: 300px; }
    .why-choose-grid.bottom-row .why-box-new { width: calc(33.333% - 6.66px); } /* Wrap slightly better */
}

/* Tablets (max-width: 992px) */
@media (max-width: 992px) {
    /* Header Menu */
    .nav-links li a { font-size: 10px; padding: 5px; }
    .header-container { gap: 10px; }
    .phone-number { display: none; } /* Hide number to save space, keep icon */

    /* Core Values */
    .core-values-grid { flex-wrap: wrap; }
    .core-box { flex: 1 1 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .core-box:nth-child(even) { border-left: 1px solid rgba(255,255,255,0.1); }

    /* Services */
    .services-flex-container { flex-wrap: wrap; }
    .service-link { flex: 1 1 calc(50% - 15px); }
    .service-link:last-child { flex: 1 1 100%; }

    /* Turnkey Projects */
    .turnkey-flex-container { flex-direction: column; }
    .turnkey-image-bg { min-height: 400px; }

    /* Process Diagram */
    .process-flex-container { flex-direction: column; }
    .process-text-box { flex: none; width: 100%; padding: 40px; }
    .process-bg-icon { right: 20px; bottom: 20px; }

    /* Customers */
    .customers-grid-container { grid-template-columns: repeat(2, 1fr); }

    /* Why Choose Us */
    .why-choose-grid.top-row { grid-template-columns: repeat(2, 1fr); }
    .why-choose-grid.bottom-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .why-choose-grid.bottom-row .why-box-new { width: 100%; }

    /* Get In Touch */
    .get-in-touch-flex { flex-direction: column; }
    .get-in-touch-address-container { order: -1; } /* Address on top */

    /* Footer */
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    /* Top Bar */
    .top-bar-left { display: none; } /* Hide complex contact info on small mobile to save space */
    .top-bar-right { width: 100%; justify-content: center; }

    /* Header & Mobile Menu */
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: #fff; flex-direction: column; box-shadow: 0 10px 15px rgba(0,0,0,0.1); padding: 10px 0; }
    .nav-links.active { display: flex; }
    .mobile-menu-toggle { display: block; }
    .header-right { gap: 10px; }

    /* Slider & Intro */
    .hero-slider-section { height: 50vh; }
    .intro-section-new { flex-direction: column; margin: 30px 15px; width: auto; }
    .intro-img-new img { border-top-left-radius: 8px; border-top-right-radius: 8px; border-bottom-left-radius: 0; }
    .intro-content-new { padding: 40px 20px; }
    .experience-box { top: -30px; right: 20px; }
    
    /* Core Values */
    .core-box { flex: 1 1 100%; border: none !important; border-bottom: 1px solid rgba(255,255,255,0.1) !important; }

    /* Services */
    .service-link { flex: 1 1 100%; }

    /* Customers */
    .customers-grid-container { grid-template-columns: 1fr; }

    /* Why Choose Us */
    .why-choose-grid.top-row, .why-choose-grid.bottom-row { grid-template-columns: 1fr; }

    /* Get In Touch */
    .get-in-touch-form { grid-template-columns: 1fr; }
    .get-in-touch-form .full-width { grid-column: 1; }
    .submit-btn { max-width: 100%; }

    /* Footer */
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-col ul { display: flex; flex-direction: column; align-items: center; }
    .slider-btn { padding: 10px 15px; font-size: 18px; }
}


/* =========================================================================
   RESPONSIVE DESIGN OVERRIDES
   ========================================================================= */

/* --- TABLET (max-width: 992px) --- */
@media screen and (max-width: 992px) {
    /* Global layout adjustments */
    .container {
        padding: 0 20px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Convert multi-column inline flex to stack or wrap */
    /* Target sections like contact-layout, intro-grid, etc. */
    .contact-layout, 
    .intro-grid, 
    .services-flex-container,
    .turnkey-grid,
    .contact-grid {
        flex-direction: column !important;
        gap: 30px !important;
    }
    
    /* Grids */
    .customers-grid, 
    .why-grid, 
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Headers / Nav */
    .nav-links {
        display: none !important; /* Will be toggled via JS */
    }
    .mobile-menu-btn {
        display: none !important;
        background: none;
        border: none;
        font-size: 24px;
        color: var(--secondary-color);
        cursor: pointer;
    }
    
    /* If mobile menu is active */
    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        align-items: flex-start;
    }
    .nav-links.active li {
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    /* Adjust specific inline flex divs that need column stacking */
    div[style*="display: flex"]:not(.top-bar-left):not(.top-bar-right):not(.header-container):not(.header-right):not(.form-row) {
        flex-wrap: wrap !important;
    }

    /* Hero section */
    .hero {
        height: 400px !important;
    }
    .hero-slider-section {
        height: 50vh !important;
    }
    .intro-content-new {
        padding: 40px !important;
    }
    
    /* Reduce huge paddings */
    .section, .hero-inner, .intro-section, .intro-section-new {
        padding: 40px 0 !important;
    }
}

/* --- MOBILE (max-width: 768px) --- */
@media screen and (max-width: 768px) {
    /* Stack top bar */
    .top-bar .container {
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px;
        padding: 10px;
    }
    
    /* Grid drops to 1 column */
    .customers-grid, 
    .why-grid, 
    .product-grid {
        grid-template-columns: 1fr !important;
    }
    .footer-container {
        grid-template-columns: 1fr !important;
    }
    
    /* Form rows drop to 1 column */
    .form-row {
        flex-direction: column !important;
        gap: 15px !important;
    }

    /* Core values */
    .core-values-grid {
        flex-direction: column !important;
    }
    .core-box {
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    /* Typography scaling */
    h2, .intro-heading, .feature-box h3, .contact-form h3 {
        font-size: 28px !important;
    }
    h1 {
        font-size: 30px !important;
    }

    /* Intro img redesign box */
    .experience-box {
        position: static !important;
        margin-top: 20px;
        display: block;
        text-align: center;
    }
    .experience-box::after {
        display: none;
    }
    

    .header-container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        position: relative;
        padding: 15px;
    }
    .logo img {
        width: 150px !important;
        height: auto !important;
        object-fit: contain;
    }
    .header-right {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0 !important;
        display: flex;
        gap: 10px;
    }
    .search-icon {
        display: none !important;
    }
    .phone-number {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: none !important; /* Hide the nested one */
    }
    .mobile-menu-btn {
        display: block !important; /* Show the top-level one */
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        font-size: 24px;
        color: var(--secondary-color);
        cursor: pointer;
    }
    .slider-btn {
        padding: 10px 15px !important;
        font-size: 18px !important;
    }
    
    /* Map and Video iframe scaling */
    iframe {
        width: 100% !important;
    }
}

/* Fix for Mission/Vision images dropping completely into stack early */
@media screen and (max-width: 992px) { .tab-content > div[style*="display: flex; gap: 20px; margin-bottom: 30px;"]:first-of-type { flex-direction: row !important; } }
@media screen and (max-width: 768px) { .tab-content > div[style*="display: flex; gap: 20px; margin-bottom: 30px;"]:first-of-type { flex-direction: column !important; } }

/* Certificate Grid */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}
@media screen and (max-width: 992px) {
    .certs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media screen and (max-width: 768px) {
    .certs-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Fix checkbox sizing */
input[type='checkbox'] {
    width: 16px !important;
    min-height: 16px !important;
    height: 16px !important;
    margin-right: 8px !important;
    vertical-align: middle;
    appearance: auto !important;
}

/* Mobile footer single line */
@media (max-width: 768px) {
  .footer-bottom p {
    font-size: 11px !important;
    white-space: nowrap !important;
    letter-spacing: -0.2px !important;
  }
}

/* Hide CTA banner on mobile globally */
@media (max-width: 768px) {
  .mobile-hide-cta {
    display: none !important;
  }
}


/* Mobile Top Bar Adjustments */
@media (max-width: 768px) {
    .top-bar-left {
        display: flex !important;
        flex: 1 1 auto;
        gap: 0;
        white-space: nowrap;
        overflow: hidden;
    }
    .top-bar-left span {
        display: none !important; /* Hide all by default on mobile */
    }
    .top-bar-left span.ekas-email {
        display: inline-flex !important; /* Show ekas email */
        align-items: center;
        font-size: 11px;
    }
    .top-bar-right {
        width: auto !important;
        flex: 0 0 auto !important;
        justify-content: flex-end !important;
    }
    .top-bar .container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 10px !important;
    }
    .top-profile-btn {
        margin-left: 0 !important;
        padding: 4px 8px !important;
        font-size: 11px !important;
        white-space: nowrap;
    }
}
