/* Base */
body {
  font-family: 'Inter', Arial, sans-serif;
  background: #f6f8fa;
  color: #222;
  margin: 0;
  padding: 0;
}

/* Container (single source of truth) */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 80px;
  padding-right: 80px;
}

/* Theme variables */
:root{
  --accent: #ea5b2b;
  --secondary: #0f172a;
  --text: #0f172a;

  --cta-gap: 48px;
  --btn-h: 52px;
  --btn-minw: 150px;
  --btn-r: 12px;
  --btn-px: 22px;
}

/* Hero Section */
.csd-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  padding:60px 0 40px;
}
.csd-hero-text{ flex:1; padding-right:40px; }
.csd-hero-text h1{ font-size:2.8rem; font-weight:800; line-height:1.1; margin:0 0 18px; }
.csd-hero-text .t-blue{ color:#1d4ed8; }
.csd-hero-text .t-accent{ color:var(--accent); }
.csd-hero-text p{ font-size:1.15rem; color:#444; margin:0 0 24px; }

/* CTA row */
.csd-cta{
  display:flex;
  align-items:center;
  gap:var(--cta-gap);
  flex-wrap:wrap;
}

/* CTA buttons */
.cta-btn{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:var(--btn-h);
  min-width:var(--btn-minw);
  padding:0 var(--btn-px);
  border-radius:var(--btn-r);
  font-weight:800;
  line-height:1;
  white-space:nowrap;
  border:1px solid transparent;
  text-decoration:none;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  box-shadow:0 10px 24px rgba(0,0,0,.06);
}
.cta-btn--primary{
  background:linear-gradient(180deg, #f17a52 0%, var(--accent) 100%);
  color:#fff;
  border-color:#e0562e;
}
.cta-btn--primary:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 26px rgba(234,91,43,.28);
}
.cta-btn--secondary{
  background:var(--secondary);
  color:#fff;
  border-color:#0b1220;
}
.cta-btn--secondary:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 26px rgba(15,23,42,.25);
}

/* Slider area */
.csd-hero-slider{
  flex:1;
  min-width:320px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.csd-hero-slider img{
  width:100%;
  max-width:480px;
  border-radius:18px;
  box-shadow:0 4px 24px rgba(0,0,0,.06);
  display:block;
}

/* About Section */
.csd-about{
  display:flex;
  align-items:center;
  gap:40px;
  padding:60px 0;
}
.csd-about-img{ flex:1; min-width:360px; }
.csd-about-img img{
  width:100%;
  display:block;
  border-radius:18px;
  object-fit:cover;
  box-shadow:0 10px 28px rgba(0,0,0,.10);
}
.csd-stats{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
  margin-top:-44px;
  margin-bottom:8px;
  position:relative;
  z-index:1;
}
.csd-stat-card{
  background:#fff;
  border:1px solid #e6eef6;
  border-radius:14px;
  padding:18px 14px;
  text-align:center;
  box-shadow:
    0 14px 28px rgba(13,44,108,.12),
    0 4px 12px rgba(13,44,108,.08),
    inset 0 1px 0 rgba(255,255,255,.85);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.csd-stat-card:hover{
  transform:translateY(-4px);
  box-shadow:
    0 18px 34px rgba(13,44,108,.16),
    0 6px 16px rgba(13,44,108,.10),
    inset 0 1px 0 rgba(255,255,255,.9);
  border-color:#d8e6f7;
}
.csd-stat-icon{ width:48px; height:48px; display:grid; place-items:center; color:#0d2c6c; margin:2px auto 8px; }
.csd-stat-num{ font-weight:800; font-size:1.25rem; color:#0d2c6c; line-height:1.1; }
.csd-stat-label{ margin-top:4px; font-size:.98rem; color:#334155; }

.csd-about-text{ flex:1; }
.csd-about-text h2{
  font-size:2rem; font-weight:800; background:#e9ecef; display:inline-flex;
  padding:6px 18px; border-radius:10px; margin:0 0 14px 0;
}
.csd-about-text p{ margin:16px 0 14px 0; color:#444; font-size:1.08rem; line-height:1.65; }
.csd-about-list{ list-style:none; padding:0; margin:0 0 20px 0; }
.csd-about-list li{
  position:relative; margin:0 0 10px; padding-left:28px; color:#222; font-size:1.05rem; line-height:1.6;
}
.csd-about-list li::before{
  content:""; position:absolute; left:0; top:8px; width:14px; height:14px; border-radius:3px;
  background:#22c55e; box-shadow:inset 0 0 0 2px #16a34a;
}
.csd-about-list li::after{
  content:""; position:absolute; left:4px; top:11px; width:6px; height:3px;
  border-left:2px solid #fff; border-bottom:2px solid #fff; transform:rotate(-45deg);
}

/* About button */
.csd-about .csd-btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:52px; min-width:220px; padding:0 22px;
  border-radius:12px; font-weight:800; font-size:1rem;
  text-decoration:none; white-space:nowrap;
  border:1px solid #0b1220; color:#fff; background:#0f172a;
  box-shadow:0 10px 24px rgba(0,0,0,.12);
  transition:transform .15s ease, box-shadow .15s ease;
}
.csd-about .csd-btn:hover{ transform:translateY(-2px); box-shadow:0 14px 28px rgba(0,0,0,.16); }

/* Services Section */
.csd-services { padding: 60px 0; background: #f8fafd; }
.csd-services h2 {
  text-align: center; font-size: 2.5rem; font-weight: 800; margin-bottom: 18px;
  color: #1a2233; letter-spacing: 0.5px; margin-top: 0; padding: 0;
}
.csd-services-subtitle {
  text-align: center; color: #444e5e; font-size: 1.18rem;
  margin: 0 auto 32px; max-width: 700px; line-height: 1.5;
}
.csd-services-list { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; }
.csd-service-item{
  position: relative; flex: 0 0 calc(33.333% - 22px); box-sizing: border-box; background: #fff;
  border-radius: 16px; box-shadow: 0 2px 12px #0033660a; padding: 36px 28px; margin-bottom: 32px;
  text-align: center; transition: box-shadow 0.3s, transform 0.3s; display: flex; flex-direction: column;
  align-items: center; min-width: 0; max-width: 100%;
}
.csd-service-item:hover { box-shadow: 0 8px 32px #00336622; transform: translateY(-10px) scale(1.04) rotate(-1deg); z-index: 2; }
.csd-service-icon { font-size: 38px; margin-bottom: 14px; }
.csd-service-item h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 8px; }
.csd-service-item p { font-size: 1rem; color: #444; margin-bottom: 10px; }
.csd-service-item a { color: #003366; font-weight: 600; text-decoration: underline; font-size: 0.98rem; }
.csd-service-delete{
  position: absolute; top: 10px; right: 12px; background: #e94d1a; color: #fff; border: none; border-radius: 50%;
  width: 28px; height: 28px; font-size: 1.2rem; cursor: pointer; z-index: 2; transition: background 0.2s; opacity: 0.85; display: inline-block;
}
.csd-service-delete:hover{ background: #c0392b; opacity: 1; }

/* Projects Section */
.csd-projects { padding: 60px 0; background: #f8fafd; }
.csd-projects-title{
  font-size: 2rem; font-weight: 800; background: #3498f7; color: #fff;
  display: inline-block; padding: 4px 24px; border-radius: 8px; margin-bottom: 10px;
  text-align: center; margin-left: 50%; transform: translateX(-50%);
}
.csd-projects-subtitle{ font-size: 1.1rem; color: #444; margin-bottom: 32px; margin-top: 8px; text-align: center; }
.csd-projects-list{ display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; }
.csd-project-item{
  background: #fff; border-radius: 16px; box-shadow: 0 2px 12px #0033660a; padding: 0 0 22px 0;
  min-width: 0; max-width: 340px; width: 100%; transition: box-shadow 0.2s, transform 0.2s;
  display: flex; flex-direction: column; align-items: center; margin-bottom: 0;
}
.csd-project-item:hover{ box-shadow: 0 8px 32px #00336622; transform: translateY(-6px) scale(1.03); }
.csd-project-img{
  width: 100%; position: relative; border-radius: 16px 16px 0 0; overflow: hidden; min-height: 180px;
  background: #f2f2f2; display: flex; align-items: flex-start; justify-content: flex-start;
}
.csd-project-img img{ width: 100%; height: 180px; object-fit: cover; display: block; }
.csd-project-label{
  position: absolute; top: 12px; left: 12px; background: #3498f7; color: #fff; font-size: 0.98rem; font-weight: 600;
  padding: 3px 14px; border-radius: 4px; z-index: 2; box-shadow: 0 2px 8px #00336622;
}
.csd-project-label.industrial { background: #2d8fd5; }
.csd-project-label.residential { background: #1abc9c; }
.csd-project-label.commercial { background: #e67e22; }
.csd-project-item h4{ margin: 18px 0 8px 0; font-size: 1.13rem; font-weight: 700; text-align: center; }
.csd-project-item p{ color: #444; font-size: 0.98rem; text-align: center; margin: 0 18px; }

/* Clients Section */
.csd-clients { padding: 60px 0; background: #f8fafd; }
.csd-clients h2 { text-align: center; font-size: clamp(2.2rem, 1.6rem + 1.5vw, 2.8rem); font-weight: 700; margin-bottom: 10px; }
.csd-clients p { text-align: center; margin-bottom: 24px; color: #444; font-size: 1.0625rem; line-height: 1.7; }
.csd-clients-trusted{ text-align: center; font-weight: 700; color: #222; margin: 6px 0 10px; font-size: 1.125rem; letter-spacing: 0.2px; }
#clients { isolation: isolate; }
.csd-clients-logos{
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 30px;
}
.csd-client-logo{
  background: #fff; border-radius: 12px; padding: 16px 24px; box-shadow: 0 2px 8px rgba(0,51,102,0.06);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-width: 180px; min-height: 120px; transition: box-shadow 0.2s ease;
}
.csd-client-logo:hover{ box-shadow: 0 6px 24px rgba(0,51,102,0.13); }
.csd-client-logo img{
  display: block; max-width: 120px; max-height: 48px; width: auto; height: auto; object-fit: contain;
  filter: none !important; -webkit-filter: none !important; mix-blend-mode: normal !important; opacity: 1 !important; transform: none !important;
}
.csd-client-name{
  display: block; text-align: center; font-size: 1.125rem; font-weight: 600; color: #111; line-height: 1.25; letter-spacing: 0.2px;
}
.csd-clients-more{ margin-top: 22px; text-align: center; }
.csd-clients-more a{ color: #4b3cff; text-decoration: underline; font-size: 1.05rem; }

/* Contact Section */
.csd-contact { padding: 60px 0; }
.csd-contact h2 { font-size: 2rem; font-weight: 700; text-align: center; }
.csd-contact p { text-align: center; margin-bottom: 32px; color: #444; }

.csd-contact-wrap{
  display: flex; gap: 40px; align-items: flex-start; justify-content: center;
}
.csd-contact-form{
  flex: 1; background: #f8fafd; border-radius: 12px; padding: 32px; box-shadow: 0 2px 8px #0033660a; min-width: 320px; max-width: 480px;
}
.csd-contact-form h4{ font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; }
.csd-contact-form label{ font-weight: 600; font-size: 1rem; color: #222; display: block; margin-bottom: 10px; }
.csd-contact-form input,
.csd-contact-form textarea{
  width: 100%; padding: 10px; margin-bottom: 14px; border-radius: 6px; border: 1px solid #d1d5db;
  font-size: 1rem; font-family: 'Inter', Arial, sans-serif; background: #fff; transition: border 0.2s; box-sizing: border-box;
}
.csd-contact-form input:focus,
.csd-contact-form textarea:focus{ border: 1.5px solid #003366; outline: none; }
.csd-contact-form button{
  width: 100%; padding: 12px 0; border-radius: 6px; border: none; background: #003366; color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer; transition: background 0.2s;
}
.csd-contact-form button:hover{ background: #002244; }

.csd-contact-info{ flex: 1; font-size: 1.05rem; min-width: 280px; max-width: 480px; text-align: left; }
.csd-contact-info h4{ font-size: 1.2rem; font-weight: 700; margin-bottom: 18px; text-align: center; }
.csd-contact-block{ margin-bottom: 28px; }
.csd-contact-row{ display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.csd-contact-icon{ min-width: 32px; min-height: 32px; display: flex; align-items: center; justify-content: center; font-size: 1.3em; color: #003366; }
.csd-contact-label{ font-weight: 700; color: #222; font-size: 1.05em; margin-bottom: 2px; display: inline-block; }
.csd-contact-row a{ color: #003366; text-decoration: underline; font-size: 1.05em; word-break: break-all; }

/* Contact CTA - stacked (title, desc, button) */
.csd-contact-cta{
  background: #fff; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.06); padding: 20px 22px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 16px; text-align: left;
}
.csd-contact-cta-title{ font-weight: 800; font-size: 1.25rem; color: #1a2233; margin: 0; }
.csd-contact-cta-desc{ color: #444e5e; font-size: 1.05rem; line-height: 1.6; margin: 0; max-width: 520px; }

/* CTA button only (inside contact card) */
.csd-contact-cta .csd-btn-primary{
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px; border-radius: 10px; font-weight: 800; font-size: 1rem; line-height: 1;
  background: #ff6a3d; color: #fff; text-decoration: none; white-space: nowrap; min-width: max-content;
  box-shadow: 0 8px 22px rgba(255,106,61,.35); transition: transform .15s, box-shadow .15s, background .15s;
}
.csd-contact-cta .csd-btn-primary:hover{ transform: translateY(-1px); box-shadow: 0 12px 28px rgba(255,106,61,.45); background: #ff5a28; }

/* Generic primary button (outside CTA if used elsewhere) */
.csd-btn-primary{
  background: #e94d1a; color: #fff; border: none; padding: 10px 28px; border-radius: 6px; font-weight: 700; font-size: 1em; text-decoration: none; display: inline-block; transition: background 0.2s;
}
.csd-btn-primary:hover{ background: #c0392b; }

/* Footer Section */
.csd-footer{ background: #10192b; color: #e6eaf3; padding: 0; font-size: 1rem; margin-top: 40px; }
.csd-footer-top{
  display: flex; gap: 40px; justify-content: space-between; align-items: flex-start; padding: 40px 0 24px;
}
.csd-footer-col{ flex: 1 1 0; min-width: 220px; max-width: 340px; line-height: 1.7; }
.csd-footer-logo{ font-size: 1.2em; font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; }
.csd-footer-desc{ color: #bfc8e2; font-size: 1rem; margin-bottom: 10px; line-height: 1.5; }
.csd-footer-title{ font-weight: 700; font-size: 1.08em; margin-bottom: 10px; color: #fff; }
.csd-footer-links{ list-style: none; padding: 0; margin: 0; }
.csd-footer-links li{ margin-bottom: 6px; color: #e6eaf3; font-size: 1rem; }
.csd-footer-col a{ color: #6ec1e4; text-decoration: underline; font-size: 1rem; }
.csd-footer-divider{ border: none; border-top: 1px solid #22304a; margin: 0; }
.csd-footer-bottom{ text-align: center; padding: 18px 0 12px; color: #bfc8e2; font-size: 0.98rem; }

/* Responsive */
@media (max-width: 992px){
  .csd-about{ gap:28px; }
  .csd-stats{ gap:14px; margin-top:-34px; }
  .csd-about-text h2{ font-size:1.8rem; }
}
@media (max-width: 768px){
  .csd-about{ flex-direction:column; }
  .csd-about-img{ width:100%; }
  .csd-stats{ margin-top:12px; grid-template-columns:repeat(2, 1fr); }
}
@media (max-width: 576px){
  .csd-stats{ grid-template-columns:1fr; }
}

/* Services/Projects responsive */
@media (max-width: 900px) {
  .csd-services-list, .csd-projects-list { flex-direction: column; gap: 24px; align-items: center; }
  .csd-service-item, .csd-project-item { max-width: 98vw; }
  .csd-contact-wrap { flex-direction: column; gap: 24px; align-items: stretch; }
  .csd-contact-form, .csd-contact-info { max-width: 100%; min-width: 0; }
}

/* Container & small breakpoints */
@media (max-width: 1200px) {
  .container { max-width: 98vw; padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 600px) {
  .container { padding-left: 4vw; padding-right: 4vw; }
  .csd-footer { font-size: 0.98rem; }
  .csd-footer-top { padding: 24px 0 10px; }
  .csd-service-item, .csd-project-item { min-width: 90vw; max-width: 98vw; padding: 12px 4px; }
  .csd-contact-form, .csd-contact-info { padding: 16px; }
}
@media (max-width: 900px) {
  .csd-footer-top { flex-direction: column; gap: 24px; padding: 32px 0 18px; }
  .csd-footer-col { max-width: 100%; }
}