@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #0d1117;
  --white: #ffffff;
  --light-gray: #f5f5f7;
  --mid-gray: #86868b;
  --border-color: #d2d2d7;
  --accent: #0066cc;
  
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--navy);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.headline-xl { font-size: clamp(3rem, 6vw, 5rem); line-height: 1.05; letter-spacing: -0.05em; }
.headline-lg { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -0.04em; }
.headline-md { font-size: clamp(1.5rem, 2vw, 2.5rem); letter-spacing: -0.03em; }

.text-body { font-size: 1.125rem; color: var(--mid-gray); letter-spacing: -0.01em; font-weight: 400; }
.text-body-lg { font-size: 1.35rem; color: var(--mid-gray); letter-spacing: -0.01em; font-weight: 400; line-height: 1.4; }
.text-accent { color: var(--accent); }

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--mid-gray);
  margin-bottom: 1rem;
  display: block;
}

/* Buttons */
.btn-main {
  display: inline-block; background-color: var(--accent); color: var(--white);
  padding: 0.8rem 1.8rem; border-radius: 40px; text-decoration: none;
  font-weight: 500; font-size: 0.95rem; transition: all 0.2s ease; border: none; cursor: pointer;
}
.btn-main:hover { background-color: #004499; color: var(--white); }

.btn-secondary {
  display: inline-block; background-color: rgba(0,0,0,0.05); color: var(--navy);
  padding: 0.8rem 1.8rem; border-radius: 40px; text-decoration: none;
  font-weight: 500; font-size: 0.95rem; transition: all 0.2s ease;
}
.btn-secondary:hover { background-color: rgba(0,0,0,0.1); color: var(--navy); }

/* Layout Classes */
.section { padding: 8rem 5%; }
.section-sm { padding: 4rem 5%; }
.section-dark { background-color: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark .text-body { color: #a1a1a6; }
.section-gray { background-color: var(--light-gray); }

.container-custom { max-width: 1400px; margin: 0 auto; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 4rem; }
.mt-4 { margin-top: 4rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* Navigation */
.navbar {
  position: fixed; top: 0; width: 100%; background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 100;
  padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--border-color);
}
.logo { font-size: 1.25rem; font-weight: 700; color: var(--navy); text-decoration: none; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--navy); font-size: 0.85rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }

/* Hero Section */
.hero { min-height: 100vh; padding-top: 120px; display: flex; align-items: center; }
.hero-img-container {
  width: 100%; height: 600px; background-color: var(--light-gray);
  border-radius: 24px; overflow: hidden; position: relative;
}
.hero-img-container img { width: 100%; height: 100%; object-fit: cover; }

/* Trust Strip */
.trust-strip { display: flex; justify-content: space-between; border-top: 1px solid var(--border-color); padding: 3rem 0; margin-top: 4rem; }
.trust-item { font-size: 0.85rem; font-weight: 500; color: var(--mid-gray); text-transform: uppercase; letter-spacing: 0.05em; }

/* Brands */
.brands-row {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem;
  opacity: 0.6; padding: 2rem 0;
}
.brand-name { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; color: var(--navy); }

/* Equipment Grid */
.equipment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; margin-top: 4rem; }
.equipment-card {
  background: var(--white); border-radius: 24px; padding: clamp(1.5rem, 5vw, 3rem); transition: transform 0.3s ease;
  text-decoration: none; display: block; box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.equipment-card:hover { transform: scale(1.02); }
.eq-image { width: 100%; height: 250px; object-fit: contain; margin-bottom: 2rem; }
.eq-title { font-size: 1.5rem; margin-bottom: 0.5rem; }
.eq-desc { color: var(--mid-gray); font-size: 1rem; margin-bottom: 1.5rem; }
.eq-link { color: var(--accent); font-weight: 500; font-size: 0.95rem; }

/* Specs List */
.spec-list { list-style: none; margin-top: 2rem; border-top: 1px solid var(--border-color); }
.spec-list li {
  display: flex; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}
.spec-list li strong { font-weight: 600; color: var(--navy); }

/* Services */
.services-list { border-top: 1px solid var(--border-color); }
.service-row { display: flex; padding: 2.5rem 0; border-bottom: 1px solid var(--border-color); gap: 4rem; }
.service-num { font-size: 1.5rem; font-weight: 300; color: var(--mid-gray); width: 50px; }
.service-content h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

/* Timeline/Process */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 4rem; }
.timeline-item { position: relative; padding-top: 2rem; border-top: 2px solid var(--navy); }
.timeline-item::before {
  content: ''; position: absolute; top: -6px; left: 0; width: 10px; height: 10px;
  background: var(--navy); border-radius: 50%;
}
.timeline-item h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }

/* Project Cards */
.project-card { border-radius: 24px; overflow: hidden; background: var(--white); box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.project-img { width: 100%; height: 250px; object-fit: cover; }
.project-content { padding: 2.5rem; }

/* Testimonials */
.testimonial-card {
  background: var(--white); padding: clamp(1.5rem, 5vw, 3rem); border-radius: 24px; border: 1px solid var(--border-color);
}
.testimonial-text { font-size: 1.25rem; line-height: 1.6; margin-bottom: 2rem; color: var(--navy); }
.testimonial-author { font-weight: 600; font-size: 0.95rem; }
.testimonial-role { color: var(--mid-gray); font-size: 0.85rem; }

/* Image Containers */
.img-rounded { border-radius: 24px; overflow: hidden; width: 100%; height: 100%; object-fit: cover; }
.h-500 { height: 500px; }

/* Footer */
footer { background: var(--light-gray); padding: 6rem 5% 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-col h4 { font-size: 0.9rem; margin-bottom: 1.5rem; color: var(--navy); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col a { color: var(--mid-gray); text-decoration: none; font-size: 0.9rem; }
.footer-col a:hover { color: var(--navy); }

/* Responsive */
@media (max-width: 992px) {
  .grid-2, .grid-3, .grid-4, .timeline { grid-template-columns: 1fr; gap: 3rem; }
  .trust-strip { flex-wrap: wrap; gap: 2rem; }
  .nav-links { display: none; }
  .section { padding: 4rem 5%; }
  .service-row { flex-direction: column; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* Inventory List */
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.inventory-item {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.inventory-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

.inv-image {
  width: 100%;
  height: 220px;
  background: var(--light-gray);
  object-fit: cover;
}

.inv-content {
  padding: 2rem;
}

.inv-brand {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.inv-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.inv-desc {
  font-size: 0.95rem;
  color: var(--mid-gray);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.inv-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.inv-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
}

.inv-btn {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}
.inv-btn:hover { text-decoration: underline; }

/* Hero Overlay Mode */
.hero-overlay {
  min-height: 100vh;
  padding-top: 120px;
  display: flex;
  align-items: center;
  background-color: var(--navy);
  color: var(--white);
}

.hero-overlay .headline-xl {
  color: var(--white);
}

.hero-overlay .text-body {
  color: rgba(255, 255, 255, 0.85);
}

.hero-overlay .eyebrow {
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
}

.hero-overlay .btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.hero-overlay .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.hero-overlay .trust-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-overlay .trust-item {
  color: rgba(255, 255, 255, 0.7);
}

/* Hero Slideshow Animation */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background-color: var(--navy);
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 25s infinite;
}

.hero-slider .slide:nth-child(1) { animation-delay: 0s; }
.hero-slider .slide:nth-child(2) { animation-delay: 5s; }
.hero-slider .slide:nth-child(3) { animation-delay: 10s; }
.hero-slider .slide:nth-child(4) { animation-delay: 15s; }
.hero-slider .slide:nth-child(5) { animation-delay: 20s; }

@keyframes heroFade {
  0% { opacity: 0; transform: scale(1); }
  5% { opacity: 1; }
  20% { opacity: 1; }
  25% { opacity: 0; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.05); }
}

.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(13, 17, 23, 0.4), rgba(13, 17, 23, 0.85));
  z-index: 1;
}
/* Page Specific Styles appended from HTML */
.page-hero { padding: 160px 5% 80px; background: var(--light-gray); text-align: center; }
.filter-nav { display: flex; justify-content: center; gap: 2rem; margin: 3rem 0; list-style: none; border-bottom: 1px solid var(--border-color); padding-bottom: 1rem; }
.filter-nav a { text-decoration: none; color: var(--mid-gray); font-weight: 500; font-size: 0.95rem; }
.filter-nav a.active { color: var(--navy); border-bottom: 2px solid var(--navy); padding-bottom: 1rem; }
.filter-nav a:hover { color: var(--navy); }

.about-hero { min-height: 80vh; display: flex; align-items: center; padding-top: 80px; position: relative; background-color: var(--navy); color: var(--white); }
.about-hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.stat-box { border-left: 2px solid var(--accent); padding-left: 1.5rem; margin-top: 2rem; }

.service-detail-card { padding: clamp(1.5rem, 5vw, 3rem); background: var(--white); border-radius: 16px; margin-bottom: 2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.03); border: 1px solid var(--border-color); }
.service-detail-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--navy); }
.service-detail-card p { margin-bottom: 1.5rem; }

.project-detail-card { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 6rem; }
.project-detail-card:nth-child(even) { direction: rtl; }
.project-detail-card:nth-child(even) > div { direction: ltr; }
@media (max-width: 900px) {
    .project-detail-card { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 4rem; }
    .project-detail-card:nth-child(even) { direction: ltr; }
}
.project-image-wrap img { border-radius: 16px; width: 100%; height: 400px; object-fit: cover; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }

/* Floating Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.chat-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.chat-widget:hover .chat-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.chat-toggle {
    width: 60px;
    height: 60px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.3s ease;
}
.chat-widget:hover .chat-toggle {
    transform: scale(1.05);
}
.chat-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    text-decoration: none;
}
.chat-option:hover {
    transform: scale(1.1);
}
.whatsapp { background: #25D366; }
.telegram { background: #0088cc; }

/* Mobile Menu & Small Screens */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--navy);
}
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
        margin-right: 1rem;
    }
    .nav-cta {
        display: none;
    }
    .nav-links {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        text-align: center;
        gap: 1.5rem;
    }
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .nav-links li { margin: 0; }
    .nav-links a { display: block; padding: 0.5rem; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr !important; }
    .inventory-grid { grid-template-columns: 1fr !important; }
    .headline-lg { font-size: 2.2rem !important; }
    .headline-md { font-size: 1.8rem !important; }
    .page-hero { padding: 120px 5% 60px !important; }
    .filter-nav { flex-direction: column; gap: 1rem; text-align: center; }
    
    .chat-widget {
        bottom: 1.5rem;
        right: 1.5rem;
    }
    .chat-toggle {
        width: 50px;
        height: 50px;
    }
    .chat-toggle svg {
        width: 20px;
        height: 20px;
    }
    .chat-option {
        width: 40px;
        height: 40px;
    }
    .chat-option svg {
        width: 18px;
        height: 18px;
    }
}
@media (max-width: 600px) { .h-500 { height: 300px !important; } }


@media (max-width: 600px) {
    .trust-strip { 
        display: grid !important; 
        grid-template-columns: 1fr 1fr; 
        gap: 1rem; 
        text-align: center;
    }
}
