/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #db4a2b;
  --primary-light: #e87a63;
  --primary-dark: #b83a20;
  --secondary: #ffffff;
  --accent: #ff9c00;
  --text-light: #f0f0f0;
  --text-muted: #cccccc;
  --bg-dark: #121212;
  --bg-darker: #0a0a0a;
  --bg-card: #1e1e1e;
  --border: #333333;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-light);
  transition: color 0.3s;
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

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

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

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

.btn-secondary:hover {
  background-color: var(--text-muted);
  color: var(--bg-dark);
}

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

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

section {
  padding: 80px 0;
}

.section-dark {
  background-color: var(--bg-darker);
}

.text-center {
  text-align: center;
}

/* ===== HEADER / NAVIGATION ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(18, 18, 18, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary);
}

.logo span {
  color: var(--primary);
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav li {
  margin-left: 30px;
}

.main-nav a {
  color: var(--text-light);
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
}

.header-actions .btn {
  margin-left: 15px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 100vh;
  width: 100%;
}

.slides {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}


.slide {
  flex: 0 0 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Overlay for text */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65); /* dark overlay for contrast */
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}


.hero-overlay {
  background: linear-gradient(
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.4)
  );
}

.hero-overlay h1,
.hero-overlay p {
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-overlay .hero-text {
  background: rgba(0, 0, 0, 0.3);
  padding: 40px;
  border-radius: 10px;
}







.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  max-width: 800px;
}

.hero-overlay p {
  font-size: 1.2rem;
  max-width: 700px;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Slider Dots */
.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

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

.slider-dot.active {
  background: #fff;
}

/* Arrows */
.slider-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.slider-arrow {
  cursor: pointer;
  font-size: 2.5rem;
  color: #fff;
  padding: 10px 20px;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
  transition: background 0.3s;
}

.slider-arrow:hover {
  background: rgba(0,0,0,0.6);
}

/* Responsive text */
@media (max-width: 768px) {
  .hero-overlay h1 {
    font-size: 2rem;
  }
  .hero-overlay p {
    font-size: 1rem;
  }
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose {
  padding: 80px 0;
  background-color: var(--bg-darker);
  color: var(--text-light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.why-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s;
  border: 1px solid var(--border);
  color: var(--text-light);
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

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

.why-card h3 {
  color: var(--text-light);
}

.why-card p {
  color: var(--text-light);
}

/* ===== SERVICES SECTION ===== */
.services {
  background-color: var(--bg-darker);
  color: var(--text-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
  border: 1px solid var(--border);
  color: var(--text-light);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-light);
}

.service-features {
  list-style: none;
  margin-top: 20px;
}

.service-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
}

.service-features li:last-child {
  border-bottom: none;
}

.service-features li i {
  color: var(--accent);
  margin-right: 10px;
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: 80px 0;
  color: var(--text-light);
}

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

.about-text h2 {
  text-align: left;
  color: var(--text-light);
}

.about-text h3 {
  color: var(--text-light);
}

.about-text p {
  color: var(--text-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.value-icon {
  background-color: var(--primary);
  color: var(--secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.value-item h4 {
  color: var(--text-light);
}

.value-item p {
  color: var(--text-light);
}

/* ===== INDUSTRIES SECTION ===== */
.industries {
  background-color: var(--bg-darker);
  color: var(--text-light);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.industry-card {
  background: var(--bg-card);
  padding: 25px 15px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s;
  border: 1px solid var(--border);
  color: var(--text-light);
}

.industry-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

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

.industry-card h3 {
  color: var(--text-light);
}

.industry-card p {
  color: var(--text-light);
}

/* ===== CASE STUDIES SECTION ===== */
.case-studies {
  padding: 80px 0;
  color: var(--text-light);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.case-card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.case-body {
  padding: 25px;
}

.case-body h3 {
  color: var(--primary);
}

.case-body p {
  color: var(--text-light);
}

.learn-link {
  display: inline-block;
  margin-top: 15px;
  font-weight: 600;
  color: var(--primary);
}

.learn-link:hover {
  color: var(--primary-light);
}

/* ===== BLOG SECTION ===== */
.blog {
  background-color: var(--bg-darker);
  color: var(--text-light);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.blog-card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.blog-body {
  padding: 25px;
}

.blog-body h3 {
  color: var(--primary);
}

.blog-body p {
  color: var(--text-light);
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: 80px 0;
  color: var(--text-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  background-color: var(--primary);
  color: var(--secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-item h4 {
  color: var(--text-light);
}

.contact-item p {
  color: var(--text-light);
}

.contact-form {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-light);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background-color: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 1rem;
  color: var(--text-light);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: var(--bg-darker);
  color: var(--text-light);
  padding: 60px 0 20px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.footer-column h4 {
  color: var(--secondary);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: var(--text-muted);
}

.footer-column a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--secondary);
  transition: background-color 0.3s;
}

.social-links a:hover {
  background-color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  color: var(--text-muted);
}

.policy-links {
  margin-top: 10px;
}

.policy-links a {
  color: var(--text-muted);
  margin: 0 10px;
}

.policy-links a:hover {
  color: var(--primary);
}

/* ===== WHATSAPP WIDGET ===== */
.whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  font-size: 1.8rem;
  transition: transform 0.3s;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SLIDER ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
  .hero-slider .slide {
    flex-direction: column;
    text-align: center;
    padding: 60px 40px;
  }

  .hero-slider .hero-text {
    max-width: 100%;
    margin-bottom: 40px;
  }

  .hero-slider .hero-image {
    max-width: 80%;
  }

  .hero-slider .hero-text h1 {
    font-size: 2rem;
  }
  
  .why-grid, .services-grid, .industries-grid, .case-grid, .blog-grid, .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .header-actions .btn {
    display: none;
  }
  
  .hero-slider .slide {
    padding: 40px 20px;
  }

  .hero-slider .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-slider .hero-text p {
    font-size: 1rem;
  }

  .hero-slider .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-slider .hero-image {
    max-width: 100%;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .why-grid, .services-grid, .industries-grid, .case-grid, .blog-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
}


.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s ease;
}

.form-message.show {
  opacity: 1;
  transform: translateY(0);
}

.form-message.success {
  background-color: #e6ffed;
  color: #036b26;
  border: 1px solid #74d99f;
}

.form-message.error {
  background-color: #ffe6e6;
  color: #a10b0b;
  border: 1px solid #f5a4a4;
}


/* ===== MOBILE NAVIGATION STYLE ===== */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .main-nav.active {
    display: block;
    position: absolute;
    top: 100%; /* below the header */
    left: 0;
    width: 100%;
    background: #0a0a0a;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    max-height: 80vh;       /* limit height to 80% of screen */
    overflow-y: auto;        /* enable vertical scrolling */
    -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
  }

  .main-nav.active .nav-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0;
    padding: 0;
  }

  .main-nav.active .nav-list li a {
    color: #ffffff; /* white text */
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .main-nav.active .nav-list li a:hover {
    color: #00bcd4; /* accent color (cyan or brand color) */
  }
}


.main-nav.active .nav-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}




.nav-toggle i {
  color: #ffffff;
}


