:root {
  --primary: #d35400; /* Deep Orange */
  --secondary: #2c3e50; /* Navy Blue */
  --accent: #f39c12; /* Golden Orange */
  --dark: #1a1a1a;
  --light: #f8f9fa;
  --white: #ffffff;
  --gray: #7f8c8d;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #e67e22;
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--dark);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary);
}

/* NAVBAR */
.navbar {
  height: 300px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
    background: url('navbar-bg.jpg') center/cover no-repeat;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.nav-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -1px;
    text-shadow: 0 2px 12px rgba(211, 84, 0, 0.45);
}

.logo-sc { color: var(--primary); }
.logo-dw { color: white; }

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
    color: white;
        font-weight: 600;
            text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}

.nav-cta {
      background-color: var(--primary);
  color: var(--white) !important;
  padding: 8px 16px;
  border-radius: 4px;
      white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* HERO */
.hero {
  height: 100vh;
  background: url('hero-bg.jpg') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding-top: 320px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 0 20px;
}

.hero-badge {
  display: inline-block;
  background-color: var(--primary);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: rgba(255,255,255,0.9);
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* SECTIONS */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  padding: 40px;
  border-radius: 8px;
  background: var(--light);
  transition: 0.3s;
  border-bottom: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  background: var(--white);
  box-shadow: var(--shadow);
  border-bottom: 4px solid var(--primary);
}

.service-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
}

.card-link {
  display: inline-block;
  margin-top: 20px;
  font-weight: 700;
  color: var(--primary);
}

/* WHY US */
.why-us {
  background-color: var(--secondary);
  color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-list {
  margin: 30px 0 40px;
}

.why-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.check { color: var(--accent); font-weight: bold; }

.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
}

/* INDUSTRIES */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-item {
  background: var(--light);
  padding: 20px;
  text-align: center;
  border-radius: 4px;
  font-weight: 700;
}

/* CTA BANNER */
.cta-banner {
  background-color: var(--primary);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 { font-size: 2.5rem; margin-bottom: 20px; }
.cta-banner p { font-size: 1.2rem; margin-bottom: 40px; }

/* FOOTER */
.footer {
  background-color: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 80px 0 40px;
}

.footer h4 { color: var(--white); margin-bottom: 25px; }
.footer-logo { font-size: 1.5rem; font-weight: 900; margin-bottom: 20px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-links li { margin-bottom: 12px; }
.footer-links a:hover { color: var(--white); }

.footer-sdvosb {
  margin-top: 15px;
  color: var(--accent);
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 40px;
  text-align: center;
  font-size: 0.9rem;
}

/* MOBILE */
@media (max-width: 992px) {
  .why-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: 300px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
    .nav-toggle span { display: block; width: 25px; height: 3px; background: #ffffff; margin: 5px 0; border-radius: 3px; transition: 0.3s; }
                                      .logo-img { height: 65px !important; width: auto; }
        .navbar { height: 90px !important; }
        .nav-links { top: 90px; }
        .hero { padding-top: 110px; }
  .hero-btns { flex-direction: column; align-items: center; gap: 12px; }
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}


/* LOGO IMAGE STYLES */
.logo-img {
          height: 120px;  width: auto;
  display: block;
      filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.3));
}

@media (min-width: 769px) {
        .logo-img { height: 280px; width: auto; }
}
.logo-img-footer {
  height: 45px;
  width: auto;
  display: block;
  margin-bottom: 15px;
  filter: brightness(0) invert(1);
}
.nav-logo {
  display: flex;
  align-items: center;
}
.footer-logo {
  display: inline-block;
  margin-bottom: 15px;
}

/* SOCIAL LINKS */
.footer-social {
  margin-top: 15px;
  display: flex;
  gap: 12px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  color: white;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: 0.3s;
  text-decoration: none;
}
.social-link:hover {
  background: #0077b5;
  color: white;
}

/* ADDITIONAL MOBILE FIXES */
@media (max-width: 768px) {
  .service-detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .why-stats { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2rem; }
  .section-header h2 { font-size: 1.8rem; }
  .cta-banner h2 { font-size: 1.8rem; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
    .hero-content { padding: 90px 15px 0; }
      /* CALCULATOR MOBILE OVERFLOW FIXES */
          #net-savings-const, #roi-percent-const { font-size: 1.8rem !important; }
                  #net-savings, #roi-percent { font-size: 1.8rem !important; }
                      #const-results, #ag-results { overflow: hidden; max-width: 100%; box-sizing: border-box; }
                          #ag-results > div[style*='display: flex'], #ag-results > div[style*='display:flex'] { flex-wrap: wrap !important; }
                      .calc-result-box { overflow: hidden; max-width: 100%; }
                          #ag-results div[style*="2fr 1fr"], #const-results div[style*="2fr 1fr"] { grid-template-columns: 1fr !important; }
                              #ag-results div[style*="repeat(2, 1fr)"], #const-results div[style*="repeat(2, 1fr)"] { grid-template-columns: 1fr !important; }
                                  body { overflow-x: hidden; }
}