/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

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

/* Color Variables */
:root {
  --primary-color: #ff6b35;
  --secondary-color: #ffffff;
  --text-color: #333333;
  --text-light: #666666;
  --border-color: #e0e0e0;
  --shadow: 0 2px 10px rgba(255, 107, 53, 0.1);
  --transition: all 0.3s ease;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  font-weight: bold;
  color: var(--text-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

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

.btn-primary:hover {
  background-color: #e55a2b;
  transform: translateY(-2px);
}

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

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

.btn-full {
  width: 100%;
}

/* Header section*/
/* Base theme variables */
:root {
  --bg-color: #ffffff;
  --text-color: #333333;
  --header-bg: #ffffff;
  --nav-link-color: #333333;
  --accent-color: #ff6b35;
  --border-color: rgba(0, 0, 0, 0.1);
  --dropdown-bg: #ffffff;
  --dropdown-text: #333333;
  --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Dark theme variables */
[data-theme="dark"] {
  --bg-color: #1a1a1a;
  --text-color: #ffffff;
  --secondary-color: #2a2a2a;
  --header-bg: #2d2d2d;
  --nav-link-color: #ffffff;
  --accent-color: #ff6b35;
  --border-color: rgba(255, 255, 255, 0.2);
  --dropdown-bg: #2d2d2d;
  --dropdown-text: #ffffff;
  --shadow-color: rgba(0, 0, 0, 0.3);
}

/* Apply theme variables */
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.header {
  background-color: var(--header-bg);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
}

/* Navigation container */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Logo styling */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 40px;
  width: auto;
  max-width: 50px;
  object-fit: contain;
}

.nav-logo h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  transition: color 0.3s ease;
}

/* Navigation menu styling */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--nav-link-color);
  padding: 8px 12px;
  transition: color 0.3s ease;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--accent-color);
}

/* Theme toggle */
.theme-toggle .theme-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.theme-toggle .theme-btn:hover {
  background-color: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

/* Language toggle dropdown */
.language-toggle {
  position: relative;
  display: inline-block;
}

.language-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.language-btn:hover {
  background-color: rgba(255, 107, 53, 0.1);
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.language-btn.orange {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.lang-arrow {
  transition: transform 0.3s ease;
}

.language-toggle.active .lang-arrow {
  transform: rotate(180deg);
}

/* Language dropdown */
.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--dropdown-bg);
  color: var(--dropdown-text);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  box-shadow: 0 4px 12px var(--shadow-color);
  min-width: 200px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 8px;
}

.language-toggle.active .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-dropdown li {
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
}

.language-dropdown li:last-child {
  border-bottom: none;
}

.language-dropdown li:hover {
  background-color: rgba(255, 107, 53, 0.1);
  color: var(--accent-color);
}

.language-dropdown .flag {
  font-size: 1.1em;
  margin-right: 4px;
}

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 3px 0;
  transition: all 0.3s ease;
}

/* Responsive design */
@media screen and (max-width: 768px) {
  .nav-container {
    padding: 1rem;
  }

  .nav-right {
    gap: 10px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--header-bg);
    flex-direction: column;
    padding: 20px;
    border-top: 1px solid var(--border-color);
  }

  .nav-menu.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .logo-img {
    height: 35px;
    max-width: 40px;
  }

  .nav-logo h2 {
    font-size: 1.3rem;
  }

  .nav-item {
    width: 100%;
    justify-content: center;
    margin: 5px 0;
  }

  .language-dropdown {
    right: auto;
    left: 0;
  }
}
/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Hero Background Slider */
.hero-background-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-bg-slide.active {
  opacity: 1;
}

.hero-bg-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Hero Overlay for better text readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(255, 107, 53, 0.4) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: bold;
}

.hero-description {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.hero-buttons .btn {
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  min-width: 150px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

.hero-buttons .btn-primary:hover {
  background-color: #e55a2b;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.hero-buttons .btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  backdrop-filter: blur(10px);
}

.hero-buttons .btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Hero Navigation */
.hero-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 4;
}

.hero-nav-btn {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--secondary-color);
  border: 2px solid rgba(255, 255, 255, 0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-nav-btn:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--secondary-color);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

/* Hero Indicators */
.hero-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 4;
}

.indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.indicator.active {
  background-color: var(--primary-color);
  border-color: var(--secondary-color);
  transform: scale(1.2);
}

.indicator:hover {
  background-color: rgba(255, 107, 53, 0.8);
  transform: scale(1.1);
}

/* Hero Image Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.2);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.hero-nav-btn {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  pointer-events: all;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-nav-btn:hover {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.hero-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

.indicator:hover {
  background-color: rgba(255, 107, 53, 0.8);
}

.hero-placeholder {
  text-align: center;
  padding: 2rem;
  border: 2px dashed var(--primary-color);
  border-radius: 10px;
  background-color: rgba(255, 107, 53, 0.05);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--secondary-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
}

.service-icon {
  margin-bottom: 1.5rem;
}

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

.service-card ul {
  list-style: none;
  margin-top: 1.5rem;
}

.service-card ul li {
  padding: 0.5rem 0;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-color);
}

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

/* About Section */
.about {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

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

.about-tabs {
  margin-top: 2rem;
}

.tab-buttons {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 2rem;
}

.tab-btn {
  padding: 1rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tab-pane {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tab-pane.active {
  display: block;
  opacity: 1;
}

.tab-pane ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.tab-pane ul li {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.image-placeholder {
  text-align: center;
  padding: 2rem;
  border: 2px dashed var(--primary-color);
  border-radius: 10px;
  background-color: rgba(255, 107, 53, 0.05);
}

/* Core Services Section */
.core-services {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.core-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.core-service-item {
  background: var(--secondary-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.core-service-item:hover {
  transform: translateY(-5px);
}

.service-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 50%;
  line-height: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Featured Projects Section */
.featured-projects {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.project-card {
  background: var(--secondary-color);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.15);
}

.project-image {
  position: relative;
  overflow: hidden;
}

.project-content {
  padding: 1.5rem;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
}

/* Success Stories Styling */
.success-stories {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

.section-header p {
  font-size: 1.2rem;
  color: #7f8c8d;
}

.stories-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.story-card {
  display: none;
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.story-card.active {
  display: block;
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.story-content blockquote {
  font-size: 1.3rem;
  line-height: 1.6;
  color: #34495e;
  font-style: italic;
  margin: 0 0 30px 0;
  position: relative;
  padding-left: 30px;
}

.story-content blockquote:before {
  content: '"';
  font-size: 4rem;
  color: #ff6b35;
  position: absolute;
  left: -10px;
  top: -20px;
}

.story-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.author-profile {
  display: flex;
  align-items: center;
  gap: 15px;
}

.profile-pic {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ff6b35;
}

.author-info h4 {
  margin: 0;
  color: #2c3e50;
  font-size: 1.1rem;
  font-weight: 600;
}

.author-info p {
  margin: 5px 0 0 0;
  color: #7f8c8d;
  font-size: 0.9rem;
}

.facebook-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #f8f9fa;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.facebook-link:hover {
  background: #ff6b35;
  transform: translateY(-2px);
}

.facebook-link:hover .facebook-icon {
  fill: white;
}

.facebook-icon {
  transition: fill 0.3s ease;
}

.story-navigation {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.story-btn {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: none;
  background: #bdc3c7;
  cursor: pointer;
  transition: all 0.3s ease;
}

.story-btn.active {
  background: #d54c12;
  transform: scale(1.2);
}

.story-btn:hover {
  background: #d54c12;
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .story-card {
    padding: 30px 20px;
  }

  .story-content blockquote {
    font-size: 1.1rem;
    padding-left: 20px;
  }

  .author-profile {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .story-author {
    flex-direction: column;
    gap: 20px;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}

/* Gallery Section Styles */
.gallery {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease-out;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  position: relative;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, #f39c12);
  border-radius: 2px;
}

.section-header p {
  font-size: 1.2rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

/* Filter Buttons */
.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.filter-btn {
  background: #fff;
  border: 2px solid #e9ecef;
  color: #6c757d;
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #ff6b35, #f39c12);
  transition: left 0.3s ease;
  z-index: -1;
}

.filter-btn:hover,
.filter-btn.active {
  color: #fff;
  border-color: #ff6b35;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.filter-btn:hover::before,
.filter-btn.active::before {
  left: 0;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.gallery-item {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.1);
}

/* Sample Images */
.sample-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  position: relative;
}

.sample-image::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}

/* Category-specific gradients */
.gallery-item[data-category="electrical"] .sample-image {
  background: linear-gradient(135deg, hsl(18, 75%, 52%) 0%, #764ba2 100%);
}

.gallery-item[data-category="civil"] .sample-image {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gallery-item[data-category="structural"] .sample-image {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gallery-item[data-category="mechanical"] .sample-image {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.gallery-overlay {
  padding: 25px;
  background: #fff;
  position: relative;
}

.gallery-overlay h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.gallery-item:hover .gallery-overlay h3 {
  color: #ff6b35;
}

.gallery-overlay p {
  color: #6c757d;
  font-size: 1rem;
  margin-bottom: 15px;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.9rem;
  color: #adb5bd;
}

.project-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Category Badge */
.category-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: #2c3e50;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.gallery-item {
  animation: fadeInScale 0.6s ease-out;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hidden {
  display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .gallery {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-filter {
    gap: 10px;
  }

  .filter-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .gallery-overlay {
    padding: 20px;
  }
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Accessibility */
.filter-btn:focus {
  outline: 2px solid #ff6b35;
  outline-offset: 2px;
}

.gallery-item:focus {
  outline: 2px solid #ff6b35;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .gallery-filter {
    display: none;
  }

  .gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
  }
}

/* Enhanced Gallery Item with Slider Styles */
.gallery-item {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  max-width: 400px;
  margin: 20px auto;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-image {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #f0f0f0;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  cursor: pointer;
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.05);
}

/* Hide images that are not active */
.gallery-image img:not(.active) {
  display: none;
}

.gallery-image img.active {
  display: block;
}

/* Image Slider Navigation */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
  z-index: 10;
  opacity: 0;
  font-family: Arial, sans-serif;
}

.gallery-item:hover .slider-nav {
  opacity: 1;
}

.slider-nav:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
  left: 10px;
}

.slider-nav.next {
  right: 10px;
}

.slider-nav:focus {
  outline: 2px solid #ff6b35;
  opacity: 1;
}

.slider-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Image Counter */
.image-counter {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 5;
}

/* Category Badge */
.category-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: #2c3e50;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 5;
}

.gallery-overlay {
  padding: 25px;
  background: #fff;
}

.gallery-overlay h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.gallery-item:hover .gallery-overlay h3 {
  color: #ff6b35;
}

.gallery-overlay p {
  color: #6c757d;
  font-size: 1rem;
  margin-bottom: 15px;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.9rem;
  color: #adb5bd;
}

.project-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease-out;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  margin: auto;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: scaleIn 0.3s ease-out;
}

.modal-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
}

.modal-info {
  padding: 20px;
  background: #fff;
}

.modal-info h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

.modal-info p {
  color: #6c757d;
  margin-bottom: 15px;
}

.modal-meta {
  display: flex;
  gap: 20px;
  color: #adb5bd;
  font-size: 0.9rem;
}

/* Modal Navigation */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: #2c3e50;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
  z-index: 1001;
  font-family: Arial, sans-serif;
}

.modal-nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}

.modal-nav.prev {
  left: 20px;
}

.modal-nav.next {
  right: 20px;
}

.modal-nav:focus {
  outline: 2px solid #ff6b35;
}

/* Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.5);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: none;
  font-family: Arial, sans-serif;
}

.close:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.close:focus {
  outline: 2px solid #ff6b35;
}

/* Modal Image Counter */
.modal-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  z-index: 1001;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .gallery-item {
    max-width: 100%;
    margin: 15px 0;
  }

  .gallery-image {
    height: 250px;
  }

  .slider-nav {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .modal-content {
    max-width: 95vw;
    max-height: 95vh;
  }

  .modal-nav {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .modal-nav.prev {
    left: 10px;
  }

  .modal-nav.next {
    right: 10px;
  }

  .close {
    top: 10px;
    right: 15px;
    width: 35px;
    height: 35px;
    font-size: 25px;
  }

  .gallery-overlay {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .gallery-image {
    height: 200px;
  }

  .slider-nav {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .image-counter {
    font-size: 0.7rem;
    padding: 4px 8px;
  }

  .category-badge {
    font-size: 0.7rem;
    padding: 4px 8px;
  }

  .modal-info {
    padding: 15px;
  }

  .modal-info h3 {
    font-size: 1.2rem;
  }
}

/* Loading State */
.gallery-item.loading {
  opacity: 0.6;
  pointer-events: none;
}

.gallery-item.loading .slider-nav {
  display: none;
}

/* Smooth transitions for image changes */
.gallery-image img {
  transition: opacity 0.3s ease-in-out, transform 0.4s ease;
}

.gallery-image img.active {
  opacity: 1;
}

.gallery-image img:not(.active) {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 107, 53, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Footer */
.footer {
  background-color: #333;
  color: var(--secondary-color);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #555;
  color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background-color: var(--secondary-color);
    flex-direction: column;
    gap: 0;
    padding: 2rem 0;
    box-shadow: var(--shadow);
    transition: left 0.3s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    text-align: center;
    padding: 1rem 0;
  }

  .hero {
    min-height: 100vh;
    padding: 0;
  }

  .hero-container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    padding: 12px 24px;
  }

  .hero-navigation {
    padding: 0 15px;
  }

  .hero-nav-btn {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .hero-indicators {
    bottom: 20px;
  }

  .indicator {
    width: 12px;
    height: 12px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .tab-buttons {
    flex-wrap: wrap;
    justify-content: center;
  }

  .tab-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .core-services-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .projects-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-filter {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 1rem;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    min-height: 100vh;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-buttons {
    margin-bottom: 3rem;
  }

  .hero-buttons .btn {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .hero-navigation {
    padding: 0 10px;
  }

  .hero-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .hero-indicators {
    bottom: 15px;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .services,
  .about,
  .core-services,
  .featured-projects,
  .success-stories,
  .gallery,
  .contact {
    padding: 60px 0;
  }

  .service-card,
  .form {
    padding: 1.5rem;
  }

  .story-card {
    padding: 1.5rem;
  }

  .story-card blockquote {
    font-size: 1.1rem;
  }
}

/* Header scroll effects */
.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* Utility classes */
.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
  animation: slideInRight 0.8s ease forwards;
}

/* Loading animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 107, 53, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Hover effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
}

/* Focus styles for accessibility */
.btn:focus,
input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .header,
  .hero-buttons,
  .hamburger,
  .gallery-filter,
  .story-navigation,
  .contact-form {
    display: none !important;
  }

  .hero {
    padding: 20px 0;
  }

  * {
    color: #000 !important;
    background: #fff !important;
  }
}

/* Team work mode toggle */
.team-work-toggle {
  background: var(--bg-color);
  color: var(--text-color);
  padding: 60px 0;
}

.team-work-toggle .section-header {
  text-align: center;
  margin-bottom: 30px;
}

.team-work-toggle .toggle-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.team-work-toggle .toggle-btn {
  padding: 0.95rem 1.6rem;
  border: 2px solid var(--accent-color);
  border-radius: 999px;
  background: transparent;
  color: var(--accent-color);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.team-work-toggle .toggle-btn:hover,
.team-work-toggle .toggle-btn.active {
  background: var(--accent-color);
  color: var(--secondary-color);
}

.team-work-toggle .toggle-panels {
  display: grid;
  gap: 1.5rem;
}

.team-work-toggle .toggle-panel {
  display: none;
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.08);
  color: var(--text-color);
}

.team-work-toggle .toggle-panel.active {
  display: block;
}

.team-work-toggle .toggle-panel h3 {
  margin-top: 0;
  color: var(--accent-color);
}

.team-work-toggle .toggle-panel p {
  color: var(--text-color);
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 768px) {
  .team-work-toggle .toggle-controls {
    flex-direction: column;
    align-items: center;
  }

  .team-work-toggle .toggle-btn {
    width: 100%;
    max-width: 320px;
  }
}
