/* ===== CSS Variables & Theme ===== */
:root {
  --primary: #00B4D8;       /* Bright Cyan/Sky Blue - left of logo */
  --primary-dark: #0096B7;
  --primary-light: #48CAE4;
  --accent: #F5C518;        /* Yellow/Gold - right of logo */
  --accent-dark: #D4A90E;
  --accent-light: #FFD84D;
  --teal: #2EC4A5;          /* Teal/Green - middle of logo */
  --navy: #1A2A3A;          /* Dark navy for text/headers */
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --light-gray: #E9ECEF;
  --gray: #6C757D;
  --dark: #212529;
  --text: #333333;
  --text-light: #666666;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Preloader ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  text-align: center;
}

.loader img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 20px;
  animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
  width: 200px;
  height: 4px;
  background: var(--light-gray);
  border-radius: 2px;
  overflow: hidden;
}

.loader-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  animation: loading 1.5s ease-in-out forwards;
}

@keyframes loading {
  to { width: 100%; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ===== Hero Particles ===== */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: float-up linear infinite;
}

.particle:nth-child(1) { left: 10%; width: 4px; height: 4px; animation-duration: 12s; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; width: 6px; height: 6px; animation-duration: 15s; animation-delay: 2s; }
.particle:nth-child(3) { left: 45%; width: 3px; height: 3px; animation-duration: 10s; animation-delay: 4s; }
.particle:nth-child(4) { left: 65%; width: 8px; height: 8px; animation-duration: 18s; animation-delay: 1s; }
.particle:nth-child(5) { left: 80%; width: 5px; height: 5px; animation-duration: 14s; animation-delay: 3s; }
.particle:nth-child(6) { left: 92%; width: 4px; height: 4px; animation-duration: 11s; animation-delay: 5s; }

@keyframes float-up {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* ===== Hero Decorative Shapes ===== */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation: rotate-slow 30s linear infinite;
}

.shape-2 {
  width: 250px;
  height: 250px;
  bottom: 10%;
  right: 15%;
  border-color: rgba(245, 197, 24, 0.08);
  animation: rotate-slow 25s linear infinite reverse;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 30%;
  right: 25%;
  border-color: rgba(0, 198, 224, 0.1);
  animation: rotate-slow 20s linear infinite;
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== Hero Badge ===== */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 20px;
  backdrop-filter: blur(5px);
}

.hero-badge i {
  font-size: 0.9rem;
}

/* ===== Hero Trust Bar ===== */
.hero-trust {
  display: flex;
  gap: 25px;
  margin-top: 35px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  font-weight: 400;
}

.trust-item i {
  color: var(--accent);
  font-size: 0.9rem;
}

/* ===== Navigation ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

#header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.navbar {
  padding: 15px 0;
  transition: var(--transition);
}

#header.scrolled .navbar {
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  transition: var(--transition);
}

.logo-text {
  background: linear-gradient(90deg, #00C6E0, #1DC9A0, #3BBF70, #C8D530, #F5C518);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#header.scrolled .nav-logo {
  color: var(--primary);
}

#header.scrolled .logo-text {
  background: linear-gradient(90deg, #00C6E0, #1DC9A0, #3BBF70, #C8D530, #F5C518);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  border-radius: 8px;
}

.nav-logo small {
  font-weight: 400;
  font-size: 0.7em;
  opacity: 0.8;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  transition: var(--transition);
}

#header.scrolled .nav-link {
  color: var(--text);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: rgba(0, 180, 216, 0.1);
}

#header.scrolled .nav-link:hover,
#header.scrolled .nav-link.active {
  color: var(--primary);
  background: rgba(0, 180, 216, 0.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

#header.scrolled .nav-toggle span {
  background: var(--primary);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border-color: transparent;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--accent-dark));
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 197, 24, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('../images/company-2.jpeg') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 35, 60, 0.85) 0%, rgba(15, 45, 75, 0.8) 50%, rgba(10, 35, 60, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 120px 0 80px;
}

.hero-subtitle {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title .gradient-text {
  background: linear-gradient(90deg, #00C6E0, #1DC9A0, #3BBF70, #C8D530, #F5C518);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 35px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--white);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* ===== Section Styles ===== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(0, 180, 216, 0.08);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 0 auto;
}

/* ===== Section Decorative Divider ===== */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
  opacity: 0.3;
}

.section {
  position: relative;
}

/* ===== Enhanced Card Styles ===== */
.service-card,
.why-card,
.testimonial-card,
.partner-card,
.vm-card,
.value-item {
  position: relative;
  overflow: hidden;
}

.service-card::before,
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: left 0.5s ease;
}

.service-card:hover::before,
.testimonial-card:hover::before {
  left: 0;
}

/* ===== About Section ===== */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.about-image::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: -15px;
  bottom: -15px;
  border: 3px solid var(--primary);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.3;
  transition: var(--transition);
}

.about-image:hover::after {
  top: 10px;
  left: 10px;
  opacity: 0.5;
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-experience {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  padding: 20px 25px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 198, 224, 0.3);
}

.exp-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.exp-text {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-item i {
  font-size: 1.5rem;
  color: var(--accent);
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ===== Services Section ===== */
.services {
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  background: linear-gradient(var(--white), var(--white)) padding-box,
              linear-gradient(135deg, var(--primary), var(--accent)) border-box;
  border: 1px solid transparent;
}

.service-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--white);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== Projects Section ===== */
.projects { background: var(--white); }

.projects-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

/* Collage Card */
.showcase-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
}

.showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.collage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 100px 100px;
  gap: 3px;
}

.collage-main {
  grid-column: span 2;
  grid-row: span 1;
}

.collage-main img,
.collage-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-more {
  position: relative;
}

.collage-small {
  grid-template-rows: 180px 90px 90px;
}

.more-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
}

.showcase-card-info {
  padding: 20px 25px;
}

.showcase-card-info h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin: 8px 0 5px;
}

.showcase-card-info p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Small project cards */
.showcase-card-small {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  grid-column: span 2;
  max-height: 300px;
}

.showcase-card-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.showcase-card-small:hover img {
  transform: scale(1.08);
}

/* ===== Lightbox Gallery ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 3;
  line-height: 1;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--accent);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  font-size: 2rem;
  padding: 15px 18px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 3;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }

.lightbox-image-wrapper {
  position: relative;
}

.lightbox-image-wrapper img {
  max-width: 80vw;
  max-height: 70vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-counter {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-top: 10px;
}

.lightbox-thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 15px;
  overflow-x: auto;
  max-width: 80vw;
  padding: 5px 0;
}

.lightbox-thumbnails img {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.5;
  transition: var(--transition);
  border: 2px solid transparent;
}

.lightbox-thumbnails img.active,
.lightbox-thumbnails img:hover {
  opacity: 1;
  border-color: var(--accent);
}

/* Video thumbnails in collage */
.video-thumb {
  position: relative;
}

.video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.85);
  pointer-events: none;
}

.collage-thumb .play-icon {
  font-size: 1.5rem;
}

.video-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
}

/* Lightbox caption */
.lightbox-caption {
  text-align: center;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 12px;
  letter-spacing: 0.5px;
}

/* Lightbox video */
#lightboxVideo {
  max-width: 80vw;
  max-height: 70vh;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
}

/* Manor card spans full width */
.manor-card {
  grid-column: span 2;
}

.manor-card .collage-grid {
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 220px 110px;
}

.manor-card .collage-main {
  grid-column: span 4;
  grid-row: span 1;
}

/* Lightbox video thumbnail wrappers */
.thumb-video-wrap {
  width: 60px;
  height: 45px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  flex-shrink: 0;
}

.thumb-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-video-wrap i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.7rem;
}

.thumb-video-wrap.active,
.thumb-video-wrap:hover {
  opacity: 1;
  border-color: var(--accent);
}

@media (max-width: 768px) {
  .manor-card { grid-column: span 1; }
  .manor-card .collage-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 150px 80px 80px;
  }
  .manor-card .collage-main { grid-column: span 2; }
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 150, 183, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: var(--transition);
}

.project-category {
  display: inline-block;
  padding: 4px 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 10px;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-overlay h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.project-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* ===== Why Choose Us ===== */
.why-us {
  background: linear-gradient(135deg, #0096B7 0%, #00B4D8 40%, #2EC4A5 100%);
  color: var(--white);
}

.why-us .section-tag {
  background: rgba(245, 197, 24, 0.2);
  color: var(--accent);
}

.why-us .section-title {
  color: var(--white);
}

.why-us .section-line {
  background: var(--accent);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  padding: 35px 30px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-5px);
}

.why-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
  line-height: 1;
}

.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

/* ===== Testimonials ===== */
.testimonials { background: var(--off-white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  padding: 35px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  margin-bottom: 15px;
  color: var(--accent);
  font-size: 0.9rem;
  display: flex;
  gap: 3px;
}

.testimonial-card > p {
  font-size: 0.95rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  font-size: 2.5rem;
  color: var(--primary);
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ===== Contact Section ===== */
.contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-item i {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 180, 216, 0.08);
  color: var(--primary);
  border-radius: 10px;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 198, 224, 0.3);
}

/* ===== Contact Form ===== */
.contact-form-wrapper {
  background: var(--off-white);
  padding: 40px;
  border-radius: var(--radius);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  border: 2px solid var(--light-gray);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== Footer ===== */
.footer {
  background: #0A3040;
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 15px;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-logo small {
  font-weight: 400;
  font-size: 0.7em;
  opacity: 0.8;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-links ul li,
.footer-services ul li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover,
.footer-services a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-newsletter p {
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.footer-newsletter .social-links a {
  background: rgba(255, 255, 255, 0.1);
}

.footer-newsletter .social-links a:hover {
  background: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  margin-top: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border-radius: 50%;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 198, 224, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* ===== WhatsApp Float Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  font-size: 1.6rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: var(--transition);
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  background: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6); }
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gradient text utility */
.gradient-accent {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glow hover for buttons */
.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(0, 198, 224, 0.3), 0 4px 15px rgba(245, 197, 24, 0.2);
}

/* Smooth image zoom on all project images */
.showcase-card img,
.showcase-card video {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-card:hover img,
.showcase-card:hover video {
  transform: scale(1.03);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .section-title { font-size: 2rem; }
  .about-grid { gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    gap: 5px;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu .nav-link {
    color: var(--text);
    padding: 12px 16px;
    width: 100%;
    border-radius: 8px;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    background: rgba(0, 180, 216, 0.08);
    color: var(--primary);
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-title { font-size: 2.2rem; }
  .hero-content { padding: 100px 0 60px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-image img { height: 300px; }
  .about-stats { grid-template-columns: 1fr; gap: 15px; }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .projects-showcase-grid {
    grid-template-columns: 1fr;
  }

  .showcase-card { grid-row: auto; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  .other-projects {
    grid-template-columns: 1fr;
  }

  .project-large { grid-row: span 1; }

  .lightbox-prev { left: 5px; }
  .lightbox-next { right: 5px; }
  .lightbox-nav { padding: 10px 14px; font-size: 1.5rem; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section { padding: 70px 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-text { font-size: 0.95rem; }
  .section-title { font-size: 1.6rem; }
  .hero-buttons { flex-direction: column; }
  .btn { padding: 12px 24px; font-size: 0.9rem; }
  .contact-form-wrapper { padding: 25px 20px; }
}
