/* ===== 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;
}

/* Section subtitle */
.section-subtitle {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Featured service card */
.service-card.featured {
  position: relative;
  border: 2px solid var(--primary);
  box-shadow: 0 10px 30px rgba(219, 74, 43, 0.15);
  transform: scale(1.02);
  order: -1; /* Brings it to first position in grid */
}

.featured-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary);
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Software CTA section */
.software-cta {
  margin-top: 60px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(219, 74, 43, 0.05), rgba(30, 39, 73, 0.1));
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(219, 74, 43, 0.2);
}

.software-cta h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.software-cta p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 25px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Service features with 6 items */
.service-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
}

.service-features .fas.fa-check {
  color: var(--primary);
  margin-right: 10px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Ensure proper grid ordering on all screens */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Make featured card span 2 columns on desktop */
  .service-card.featured {
    grid-column: span 2;
  }
}

/* Mobile responsive */
@media (max-width: 767px) {
  .software-cta {
    padding: 30px 20px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .service-card.featured {
    transform: scale(1);
  }
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

/* Both columns equal height */
.about-left-column,
.about-right-column {
  display: flex;
  flex-direction: column;
  gap: 35px;
  height: 100%;
}

/* Text blocks */
.about-text-block h2 {
  text-align: left;
  color: var(--text-light);
  margin-top: 0;
  margin-bottom: 15px;
}

.about-text-block p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Focus Statement Styling */
.focus-statement {
  background: linear-gradient(135deg, rgba(219, 74, 43, 0.08), rgba(30, 39, 73, 0.05));
  border-left: 4px solid var(--primary);
  padding: 22px;
  border-radius: 10px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.focus-icon {
  background: var(--primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.focus-statement h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.4rem;
  margin-top: 0;
}

.focus-statement p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* Mission & Vision Section */
.mission-vision-section {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 10px;
}

.mission-block,
.vision-block {
  background: var(--bg-card);
  padding: 22px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.mission-block h3,
.vision-block h3 {
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
}

.mission-block h3 i,
.vision-block h3 i {
  color: var(--accent);
}

.mission-block p,
.vision-block p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* Image Section with better caption positioning */
.about-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
}

.about-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

/* Image Caption - positioned higher up with gradient */
.image-caption {
  position: absolute;
  bottom: 30px; /* Moved up from bottom */
  left: 20px;
  right: 20px;
  background: linear-gradient(to right, 
    rgba(219, 74, 43, 0.9), 
    rgba(30, 39, 73, 0.8));
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  border-left: 3px solid var(--accent);
}

.image-caption .fa-quote-left {
  color: var(--accent);
  font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .image-caption {
    bottom: 20px;
    left: 15px;
    right: 15px;
    padding: 12px 15px;
    font-size: 0.95rem;
  }
  
  .image-caption .fa-quote-left {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }
}

/* Values Sections */
.values-section h3 {
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.value-item {
  background: var(--bg-card);
  padding: 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.value-icon {
  background: rgba(219, 74, 43, 0.15);
  color: var(--primary);
  width: 45px;
  height: 45px;
  min-width: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.value-item:hover .value-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.value-item h4 {
  color: var(--text-light);
  margin: 0 0 6px 0;
  font-size: 1.1rem;
}

.value-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* Technology Expertise */
.tech-expertise {
  margin-top: 15px;
  padding: 22px;
  background: var(--bg-card);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.tech-expertise h3 {
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 18px;
  text-align: center;
  font-size: 1.4rem;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tech-tag {
  background: rgba(219, 74, 43, 0.1);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(219, 74, 43, 0.2);
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(219, 74, 43, 0.3);
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .about-grid {
    gap: 40px;
  }
  
  .about-left-column,
  .about-right-column {
    gap: 30px;
  }
  
  .about-image img {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .focus-statement {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }
  
  .about-image img {
    height: 250px;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-stack {
    gap: 8px;
  }
  
  .tech-tag {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

@media (min-width: 769px) {
  .about-left-column,
  .about-right-column {
    min-height: 800px; /* Ensures both columns have similar heights */
  }
}

/* ===== 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);
}

/* ===== 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);
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    background-color: var(--bg-darker);
    color: var(--text-light);
    padding: 80px 0;
}

.portfolio .intro {
    max-width: 700px;
    margin: 20px auto;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.portfolio .section-note {
    font-style: italic;
    color: var(--text-muted);
    margin-top: 10px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.portfolio-card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: var(--primary);
}

.portfolio-body {
    padding: 30px;
}

.portfolio-body h3 {
    color: var(--text-light);
    margin-top: 0;
}

.portfolio-body p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.portfolio-body strong {
    color: var(--text-light);
}

.portfolio-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.portfolio-actions .btn {
    flex: 1;
    text-align: center;
}

.portfolio .cta-container {
    text-align: center;
    margin-top: 50px;
}

.portfolio .profile-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== 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);
}

/* Form Layout */
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

/* Submit Button */
.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  font-weight: 600;
  margin-top: 20px;
}

.form-note {
  text-align: center;
  margin-top: 15px;
  color: #666;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-note i {
  color: var(--primary);
}

/* Optgroup Styling */
optgroup {
  font-weight: 600;
  color: var(--primary);
}

optgroup option {
  font-weight: normal;
  color: var(--text-dark);
  padding-left: 15px;
}

/* Form Message */
.form-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  display: none;
}

.form-message.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .form-row .form-group {
    margin-bottom: 20px;
  }
  
  .submit-btn {
    padding: 12px;
  }
}

/* ===== 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;
}


