/* ===== DCIS Construction — Design System ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Open+Sans:wght@300;400;500;600&display=swap');

:root {
  --primary: #0a1f44;
  --primary-light: #132d5e;
  --secondary: #2196F3;
  --secondary-light: #64b5f6;
  --accent: #00bcd4;
  --white: #ffffff;
  --light: #f0f4f8;
  --gray: #94a3b8;
  --dark-text: #1e293b;
  --whatsapp: #25D366;
  --call: #0a1f44;
  --shadow: 0 4px 24px rgba(10,31,68,0.10);
  --shadow-lg: 0 8px 40px rgba(10,31,68,0.15);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dark-text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

h1,h2,h3,h4,h5,h6 { font-family: 'Poppins', sans-serif; line-height: 1.2; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(10,31,68,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(10,31,68,0.98); box-shadow: var(--shadow); padding: 8px 0; }
.nav-container { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.nav-logo img { height: 48px; border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: var(--white); font-family: 'Poppins', sans-serif; font-weight: 500;
  font-size: 0.95rem; position: relative; padding: 4px 0;
  transition: var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--secondary-light); transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--secondary-light); }

.lang-toggle {
  display: flex; background: rgba(255,255,255,0.12); border-radius: 20px; overflow: hidden;
}
.lang-toggle button {
  padding: 6px 14px; border: none; background: transparent; color: var(--white);
  font-family: 'Poppins', sans-serif; font-size: 0.8rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.lang-toggle button.active { background: var(--secondary); color: var(--white); border-radius: 20px; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; }
.hamburger span { width: 28px; height: 3px; background: var(--white); border-radius: 3px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, rgba(10,31,68,0.88) 0%, rgba(19,45,94,0.82) 50%, rgba(33,150,243,0.6) 100%),
              url('Assets/BG img.jpg') center/cover no-repeat;
  padding: 120px 0 80px;
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-badge {
  display: inline-block; background: rgba(33,150,243,0.2); border: 1px solid rgba(33,150,243,0.4);
  padding: 6px 18px; border-radius: 30px; font-size: 0.85rem; color: var(--secondary-light);
  font-family: 'Poppins', sans-serif; font-weight: 500; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--white); font-weight: 800; margin-bottom: 20px; }
.hero h1 span { color: var(--secondary-light); }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 36px; max-width: 560px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px;
  border-radius: 50px; font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: 0.95rem; border: none; cursor: pointer; transition: var(--transition);
}
.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.35); }
.btn-call { background: var(--white); color: var(--primary); }
.btn-call:hover { background: var(--secondary-light); color: var(--white); transform: translateY(-2px); }
.btn-primary { background: var(--secondary); color: var(--white); }
.btn-primary:hover { background: var(--secondary-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(33,150,243,0.35); }
.btn-outline { background: transparent; color: var(--secondary); border: 2px solid var(--secondary); }
.btn-outline:hover { background: var(--secondary); color: var(--white); transform: translateY(-2px); }
.btn svg, .btn i { font-size: 1.1rem; }

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; background: rgba(33,150,243,0.1); color: var(--secondary);
  padding: 6px 18px; border-radius: 30px; font-size: 0.8rem; font-weight: 600;
  font-family: 'Poppins', sans-serif; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px;
}
.section-header h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--primary); margin-bottom: 14px; }
.section-header p { color: var(--gray); max-width: 600px; margin: 0 auto; font-size: 1rem; }

.bg-light { background: var(--light); }
.bg-dark {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
}
.bg-dark .section-tag { background: rgba(255,255,255,0.1); color: var(--secondary-light); }
.bg-dark .section-header h2 { color: var(--white); }
.bg-dark .section-header p { color: rgba(255,255,255,0.7); }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { position: relative; border-radius: var(--radius); overflow: hidden; }
.about-img img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); }
.about-img-overlay {
  position: absolute; bottom: 20px; left: 20px; background: var(--secondary);
  color: var(--white); padding: 16px 24px; border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
}
.about-img-overlay .number { font-size: 2rem; font-weight: 800; line-height: 1; }
.about-img-overlay .label { font-size: 0.8rem; font-weight: 500; }
.about-text h2 { font-size: 2rem; color: var(--primary); margin-bottom: 20px; }
.about-text p { color: #64748b; margin-bottom: 16px; }
.about-stats { display: flex; gap: 32px; margin-top: 28px; }
.stat { text-align: center; }
.stat .num { font-family: 'Poppins', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--secondary); }
.stat .txt { font-size: 0.8rem; color: var(--gray); margin-top: 4px; }

/* ===== SERVICE CARDS ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.service-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition); position: relative;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card-img { height: 220px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.service-card:hover .service-card-img img { transform: scale(1.08); }
.service-card-body { padding: 28px; }
.service-card-body h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 10px; }
.service-card-body p { color: var(--gray); font-size: 0.9rem; line-height: 1.6; }
.service-card-icon {
  position: absolute; top: 200px; right: 24px; width: 48px; height: 48px;
  background: var(--secondary); border-radius: 50%; display: flex;
  align-items: center; justify-content: center; color: var(--white); font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(33,150,243,0.35);
}

/* ===== PROJECT CARDS ===== */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; }
.project-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: pointer; height: 320px;
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.project-card:hover img { transform: scale(1.05); }
.project-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(10,31,68,0.9));
  padding: 60px 24px 24px; transition: var(--transition);
}
.project-card-overlay h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 6px; }
.project-card-overlay p { color: rgba(255,255,255,0.75); font-size: 0.85rem; }
.project-card-overlay .tag {
  display: inline-block; background: var(--secondary); color: var(--white);
  padding: 4px 12px; border-radius: 20px; font-size: 0.7rem; font-weight: 600;
  margin-bottom: 8px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, var(--secondary) 100%);
  padding: 80px 0; text-align: center;
}
.cta-section h2 { color: var(--white); font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ===== CONTACT FORM ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h3 { font-size: 1.4rem; color: var(--primary); margin-bottom: 20px; }
.contact-info p { color: var(--gray); margin-bottom: 28px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-item-icon {
  width: 48px; height: 48px; min-width: 48px; background: rgba(33,150,243,0.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--secondary); font-size: 1.1rem;
}
.contact-item-text h4 { font-size: 0.95rem; color: var(--primary); margin-bottom: 4px; }
.contact-item-text p { color: var(--gray); font-size: 0.9rem; margin: 0; }

.contact-form {
  background: var(--white); padding: 40px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.contact-form h3 { font-size: 1.4rem; color: var(--primary); margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.85rem; color: var(--primary); margin-bottom: 6px; font-family: 'Poppins', sans-serif; }
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 18px; border: 2px solid #e2e8f0;
  border-radius: 10px; font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem; transition: var(--transition); background: var(--light);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--secondary); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-btn { width: 100%; }
.form-success {
  display: none; text-align: center; padding: 20px; background: rgba(37,211,102,0.1);
  border-radius: 10px; color: var(--whatsapp); font-weight: 600;
}

/* ===== BENEFITS ===== */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.benefit-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 32px; text-align: center;
  transition: var(--transition);
}
.benefit-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.benefit-icon {
  width: 64px; height: 64px; background: rgba(33,150,243,0.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 1.5rem; color: var(--secondary-light);
}
.benefit-card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--white); }
.benefit-card p { color: rgba(255,255,255,0.65); font-size: 0.88rem; }

/* ===== SERVICES PAGE ===== */
.page-hero {
  position: relative; padding: 140px 0 80px; text-align: center;
  background: linear-gradient(135deg, rgba(10,31,68,0.9), rgba(19,45,94,0.85), rgba(33,150,243,0.6)),
              url('Assets/BG img.jpg') center/cover no-repeat;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

.services-detail { padding: 80px 0; }
.service-detail-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  margin-bottom: 64px; padding-bottom: 64px; border-bottom: 1px solid #e2e8f0;
}
.service-detail-card:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.service-detail-card:nth-child(even) { direction: rtl; }
.service-detail-card:nth-child(even) > * { direction: ltr; }
.service-detail-img { border-radius: var(--radius); overflow: hidden; height: 350px; }
.service-detail-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.service-detail-img:hover img { transform: scale(1.03); }
.service-detail-text h3 { font-size: 1.6rem; color: var(--primary); margin-bottom: 16px; }
.service-detail-text p { color: #64748b; margin-bottom: 16px; line-height: 1.8; }
.service-detail-text ul { margin: 16px 0; }
.service-detail-text ul li { padding: 6px 0 6px 28px; position: relative; color: #64748b; font-size: 0.95rem; }
.service-detail-text ul li::before { content: '✓'; position: absolute; left: 0; color: var(--secondary); font-weight: 700; }

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10,31,68,0.95); z-index: 2000; align-items: center;
  justify-content: center; opacity: 0; transition: opacity 0.3s;
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox img { max-width: 90%; max-height: 85vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: 24px; right: 24px; width: 48px; height: 48px;
  background: rgba(255,255,255,0.1); border: none; border-radius: 50%;
  color: var(--white); font-size: 1.5rem; cursor: pointer; transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-caption {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  color: var(--white); text-align: center; font-family: 'Poppins', sans-serif;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary); color: var(--white); padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: rgba(255,255,255,0.6); margin-top: 16px; font-size: 0.9rem; line-height: 1.7; }
.footer-brand img { height: 48px; border-radius: 6px; }
.footer h4 { font-size: 1rem; margin-bottom: 20px; color: var(--secondary-light); }
.footer-links a { display: block; color: rgba(255,255,255,0.6); padding: 6px 0; font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0;
  text-align: center; color: rgba(255,255,255,0.4); font-size: 0.85rem;
}

/* ===== FLOATING BUTTONS ===== */
.floating-btns { position: fixed; bottom: 28px; right: 28px; z-index: 999; display: flex; flex-direction: column; gap: 14px; }
.float-btn {
  width: 56px; height: 56px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; color: var(--white);
  font-size: 1.4rem; box-shadow: var(--shadow-lg); transition: var(--transition);
  border: none; cursor: pointer;
}
.float-btn.whatsapp { background: var(--whatsapp); }
.float-btn.whatsapp:hover { background: #1ebe5d; transform: scale(1.1); }
.float-btn.call { background: var(--primary); }
.float-btn.call:hover { background: var(--secondary); transform: scale(1.1); }
.float-btn-pulse {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .about-grid, .contact-grid, .service-detail-card { grid-template-columns: 1fr; gap: 32px; }
  .service-detail-card:nth-child(even) { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { 
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--primary); flex-direction: column; justify-content: center;
    gap: 24px; transition: var(--transition); padding: 40px;
  }
  .nav-links.active { right: 0; }
  .hamburger { display: flex; }
  .hero { min-height: 90vh; padding: 100px 0 60px; }
  .hero h1 { font-size: 1.8rem; }
  .projects-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .about-stats { flex-wrap: wrap; gap: 20px; }
  .contact-form { padding: 24px; }
  .service-detail-img { height: 250px; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .cta-btns { flex-direction: column; align-items: center; }
  .services-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
}
