/* ===================================
   Empowerment Technology - Main Stylesheet
   Modern IT Company Website
   =================================== */

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

:root {
  --primary-blue: #1e3a8a;
  --primary-turquoise: #06b6d4;
  --white: #ffffff;
  --dark: #1f2937;
  --gray: #6b7280;
  --light-gray: #f3f4f6;
  --gradient: linear-gradient(135deg, #1e3a8a 0%, #06b6d4 100%);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ===== LOADER ANIMATION ===== */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e3a8a 0%, #06b6d4 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  font-size: 60px;
  color: var(--white);
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(30, 58, 138, 0.95);
}

.navbar.scrolled .logo,
.navbar.scrolled .logo span,
.navbar.scrolled .logo i,
.navbar.scrolled .nav-menu a {
  color: var(--white) !important;
}

.navbar.scrolled .nav-menu a.active {
  color: var(--primary-turquoise) !important;
}

.navbar.scrolled .nav-menu a:hover {
  color: var(--primary-turquoise) !important;
}

.navbar.scrolled .hamburger span {
  background: var(--white) !important;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-blue);
  cursor: pointer;
}

.logo i {
  color: var(--primary-turquoise);
  font-size: 2rem;
}

.logo-text {
  display: flex;
  flex-direction: row;
  line-height: 1.2;
  gap: 5px;
}

.logo-text .line1 {
  font-size: 1.4rem;
}

.logo-text .line2 {
  font-size: 1.4rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a.active {
  color: var(--primary-turquoise);
}

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

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-turquoise);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-blue);
  transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 70vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Particles.js Container */
#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: all;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.85) 0%,
    rgba(6, 182, 212, 0.75) 100%
  );
}

.hero-slider .owl-nav {
  display: none;
}

.hero-slider .owl-dots {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.hero-slider .owl-dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5) !important;
  border-radius: 50%;
  margin: 0 8px;
  transition: all 0.3s ease;
}

.hero-slider .owl-dot.active {
  width: 30px;
  border-radius: 6px;
  background: var(--white) !important;
}

.hero > .container {
  position: relative;
  z-index: 10;
}

.hero-content {
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 20px;
  position: relative;
  z-index: 5;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--white);
  color: var(--primary-blue);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  background: var(--primary-turquoise);
  color: var(--white);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 2rem;
  animation: bounce 2s infinite;
  z-index: 10;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ===== SECTION STYLES ===== */
section {
  padding: 80px 0;
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

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

/* ===== KEY SERVICES ===== */
.key-services {
  background: var(--light-gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
}

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

.service-card p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.service-link {
  color: var(--primary-turquoise);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 15px;
}

/* ===== STATS SECTION ===== */
.stats-section {
  background: var(--gradient);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

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

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--white);
  opacity: 0.8;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  display: inline-block;
}

.stat-plus {
  font-size: 2rem;
  font-weight: 700;
}

.stat-item p {
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* ===== CLIENTS CAROUSEL ===== */
.clients-section {
  background: var(--white);
}

.clients-carousel {
  margin-top: 40px;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.client-logo img {
  max-width: 150px;
  height: auto;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: var(--light-gray);
}

.testimonial-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin: 10px;
}

.testimonial-content {
  position: relative;
  margin-bottom: 30px;
}

.quote-icon {
  font-size: 3rem;
  color: var(--primary-turquoise);
  opacity: 0.2;
  margin-bottom: 20px;
}

.testimonial-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark);
  font-style: italic;
}

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

.testimonial-author img {
  width: 70px !important;
  height: 70px !important;
  min-width: 70px;
  min-height: 70px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 3px solid var(--primary-turquoise);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  display: block;
}

.author-info h4 {
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 5px;
}

.author-info p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--gradient);
  color: var(--white);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: var(--gradient);
  color: var(--white);
  text-align: center;
  padding: 120px 0 60px;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

.page-header > .container {
  position: relative;
  z-index: 10;
}

.page-header #particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* ===== SERVICES DETAIL PAGE ===== */
.services-detail-section {
  background: var(--light-gray);
}

.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.service-detail-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-align: center;
}

.service-detail-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.service-detail-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  margin: 0 auto 20px;
}

.service-detail-card h3 {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.service-detail-card > p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

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

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  margin-bottom: 10px;
}

.service-features i {
  color: var(--primary-turquoise);
}

.service-detail-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  background: var(--gradient);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-detail-button:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow);
}

/* ===== PROCESS SECTION ===== */
.process-section {
  background: var(--white);
}

.process-timeline {
  max-width: 900px;
  margin: 0 auto;
}

.process-item {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}

.process-item::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 80px;
  width: 2px;
  height: calc(100% + 40px);
  background: var(--primary-turquoise);
}

.process-item:last-child::before {
  display: none;
}

.process-number {
  min-width: 80px;
  height: 80px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.process-content h3 {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.process-content p {
  color: var(--gray);
}

/* ===== ABOUT PAGE ===== */
.about-content-section {
  background: var(--white);
}

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

.about-text h2 {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.about-text .highlight {
  font-size: 1.2rem;
  color: var(--primary-turquoise);
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.mission-item {
  padding: 25px;
  background: var(--light-gray);
  border-radius: 15px;
}

.mission-item i {
  font-size: 2.5rem;
  color: var(--primary-turquoise);
  margin-bottom: 1rem;
}

.mission-item h3 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.mission-item p {
  color: var(--gray);
  font-size: 0.95rem;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gradient);
  color: var(--white);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
}

.about-badge i {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.about-badge span {
  font-weight: 600;
  line-height: 1.4;
}

/* ===== STATS SECTION (ABOUT) ===== */
.about-stats-section {
  background: var(--light-gray);
}

/* ===== TIMELINE ===== */
.timeline-section {
  background: var(--white);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 50px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-turquoise);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-year {
  position: absolute;
  left: -90px;
  top: 10px;
  width: 70px;
  height: 70px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.timeline-content {
  background: var(--light-gray);
  padding: 25px;
  border-radius: 15px;
  margin-left: 30px;
}

.timeline-content h3 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--gray);
}

/* ===== TEAM SECTION ===== */
.team-section {
  background: var(--light-gray);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

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

.team-photo {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 58, 138, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-photo:hover .team-overlay {
  opacity: 1;
}

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

.team-social a {
  width: 40px;
  height: 40px;
  background: var(--white);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.team-social a:hover {
  background: var(--primary-turquoise);
  color: var(--white);
  transform: translateY(-3px);
}

.team-member h3 {
  color: var(--primary-blue);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--gray);
}

/* ===== VALUES SECTION ===== */
.values-section {
  background: var(--white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  background: var(--light-gray);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  background: var(--gradient);
  color: var(--white);
  transform: translateY(-10px);
}

.value-card i {
  font-size: 3rem;
  color: var(--primary-turquoise);
  margin-bottom: 1rem;
}

.value-card:hover i {
  color: var(--white);
}

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

.value-card:hover h3 {
  color: var(--white);
}

.value-card p {
  color: var(--gray);
}

.value-card:hover p {
  color: var(--white);
}

/* ===== PORTFOLIO PAGE ===== */
.portfolio-section {
  background: var(--white);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

.filter-btn {
  padding: 12px 30px;
  background: var(--white);
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
}

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

.portfolio-item {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.portfolio-item.hide {
  display: none;
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 58, 138, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-info {
  text-align: center;
  color: var(--white);
  padding: 20px;
}

.portfolio-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.portfolio-info p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.view-details-btn {
  padding: 12px 25px;
  background: var(--primary-turquoise);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-details-btn:hover {
  background: var(--white);
  color: var(--primary-blue);
  transform: translateY(-3px);
}

/* ===== PROJECT MODAL ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  overflow-y: auto;
}

.modal.show {
  display: block;
}

.modal-content {
  position: relative;
  max-width: 1000px;
  margin: 50px auto;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: var(--white);
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s ease;
}

.close-modal:hover {
  transform: rotate(90deg);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-details {
  padding: 40px;
}

.modal-details h2 {
  color: var(--primary-blue);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.modal-category {
  color: var(--primary-turquoise);
  font-weight: 600;
  margin-bottom: 2rem;
}

.modal-description,
.modal-technologies,
.modal-features {
  margin-bottom: 2rem;
}

.modal-description h3,
.modal-technologies h3,
.modal-features h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.modal-description p,
.modal-features li {
  color: var(--gray);
  line-height: 1.8;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tag {
  padding: 8px 15px;
  background: var(--light-gray);
  color: var(--primary-blue);
  border-radius: 20px;
  font-size: 0.9rem;
}

.modal-features ul {
  list-style: none;
}

.modal-features li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.modal-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-turquoise);
  font-weight: 700;
}

.modal-cta-btn {
  display: inline-block;
  padding: 15px 35px;
  background: var(--gradient);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.modal-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  background: var(--white);
}

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

.contact-form-wrapper h2 {
  color: var(--primary-blue);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-form-wrapper > p {
  color: var(--gray);
  margin-bottom: 2rem;
}

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

.form-group label {
  display: block;
  color: var(--dark);
  font-weight: 600;
  margin-bottom: 10px;
}

.form-group label i {
  color: var(--primary-turquoise);
  margin-right: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

.error-message {
  display: block;
  color: #ef4444;
  font-size: 0.9rem;
  margin-top: 5px;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.submit-btn:active {
  transform: translateY(0);
}

.form-success-message {
  margin-top: 20px;
  padding: 20px;
  background: #10b981;
  color: var(--white);
  border-radius: 10px;
  text-align: center;
}

.form-success-message i {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-info-card {
  background: var(--gradient);
  color: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.contact-info-card h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-info-card > p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-detail-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.detail-icon {
  min-width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.detail-content h3 {
  margin-bottom: 0.5rem;
}

.detail-content p {
  opacity: 0.9;
}

.detail-content a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.detail-content a:hover {
  opacity: 0.7;
}

.contact-social h3 {
  margin-bottom: 1rem;
}

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

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--white);
  color: var(--primary-blue);
  transform: translateY(-3px);
}

/* ===== MAP SECTION ===== */
.map-section {
  padding: 0;
}

.map-section .section-header {
  padding: 60px 0 40px;
}

.map-container {
  width: 100%;
  height: 450px;
}

.map-container iframe {
  filter: grayscale(20%);
}

/* ===== FAQ SECTION ===== */
.faq-section {
  background: var(--light-gray);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 15px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--light-gray);
}

.faq-question h3 {
  color: var(--primary-blue);
  font-size: 1.1rem;
}

.faq-question i {
  color: var(--primary-turquoise);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 25px 25px;
}

.faq-answer p {
  color: var(--gray);
  line-height: 1.8;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-blue);
  color: var(--white);
  padding: 60px 0 20px;
}

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

.footer-section h3 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer-section p {
  opacity: 0.9;
  line-height: 1.8;
}

.tagline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 1rem;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.tagline i {
  color: var(--primary-turquoise);
}

.tagline span {
  font-weight: 600;
}

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

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

.footer-section ul li a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-section ul li a:hover {
  color: var(--primary-turquoise);
  padding-left: 5px;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.contact-info i {
  color: var(--primary-turquoise);
  margin-top: 5px;
}

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

.social-icons a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--primary-turquoise);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.8;
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
}

/* ===== RESPONSIVE DESIGN ===== */

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

  .nav-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
  }

  .logo {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    order: 1;
    width: 100%;
    padding: 10px 0;
  }

  .logo i {
    font-size: 2rem;
  }

  .logo span {
    font-size: 1.2rem;
  }

  .hamburger {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    order: 3;
  }

  .nav-menu {
    position: fixed;
    top: 140px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 140px);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    transition: left 0.3s ease;
    box-shadow: var(--shadow);
    order: 2;
    z-index: 999;
  }

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

  .nav-menu li {
    width: 100%;
    text-align: center;
    padding: 15px 0;
  }

  .nav-menu a {
    font-size: 1.2rem;
  }

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

  .hero-subtitle {
    font-size: 1.1rem;
  }

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid,
  .modal-body {
    grid-template-columns: 1fr;
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 30px;
  }

  .timeline-year {
    left: -70px;
    width: 60px;
    height: 60px;
    font-size: 0.9rem;
  }

  .process-item {
    flex-direction: column;
  }

  .process-item::before {
    left: 40px;
  }

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

  .page-header h1 {
    font-size: 2.5rem;
  }

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

  .social-icons,
  .social-links {
    justify-content: center;
  }

  .contact-info li {
    justify-content: center;
  }
}

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

  .logo i {
    font-size: 2.5rem;
  }

  .logo span {
    font-size: 1rem;
  }

  .hero {
    height: auto;
    min-height: 100vh;
  }

  .hero-content {
    padding: 20px 15px;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .cta-button {
    padding: 12px 30px;
    font-size: 0.95rem;
  }

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

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

  .service-card {
    padding: 30px 20px;
  }

  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
  }

  .page-header {
    padding: 140px 0 60px;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .service-detail-card,
  .contact-form-wrapper,
  .contact-info-card {
    padding: 30px 20px;
  }

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

  .team-photo {
    width: 150px;
    height: 150px;
  }

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

  .value-card {
    padding: 30px 20px;
  }

  .portfolio-filters {
    flex-direction: column;
    gap: 10px;
  }

  .filter-btn {
    width: 100%;
    padding: 12px 20px;
  }

  .portfolio-grid {
    gap: 20px;
  }

  .modal-details {
    padding: 30px 20px;
  }

  .close-modal {
    font-size: 2rem;
    right: 20px;
    top: 10px;
  }

  .testimonial-card {
    padding: 30px 20px;
  }

  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }

  .testimonial-author img {
    width: 80px !important;
    height: 80px !important;
    aspect-ratio: 1 / 1;
  }

  .clients-carousel .owl-item {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .contact-detail-item {
    flex-direction: column;
    text-align: center;
  }

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

  .footer-section ul li a {
    justify-content: center;
  }

  .tagline {
    justify-content: center;
  }

  .about-badge {
    position: static;
    margin-top: 20px;
  }

  .process-number {
    min-width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .timeline-year {
    width: 50px;
    height: 50px;
    font-size: 0.8rem;
    left: -60px;
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  /* Ensure all text content is centered and readable on mobile */
  .key-services,
  .stats-section,
  .testimonials-section,
  .clients-section {
    text-align: center;
  }

  /* Better spacing for mobile */
  section {
    padding: 60px 0;
  }

  /* Mobile navbar fix */
  .navbar {
    padding: 10px 0;
  }

  .nav-wrapper {
    padding: 0.5rem 0;
  }

  /* Hero slider dots positioning for mobile */
  .hero-slider .owl-dots {
    bottom: 60px;
  }

  /* Scroll indicator positioning */
  .scroll-indicator {
    bottom: 20px;
    font-size: 1.5rem;
  }
}

/* Glassmorphism Effect */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Smooth Transitions for All Interactive Elements */
a,
button,
.service-card,
.portfolio-item,
.team-photo,
.value-card {
  transition: all 0.3s ease;
}
