/* --- CSS Reset & Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --color-primary: #0f172a;
  /* Deep Slate */
  --color-accent: #00A8E8;
  /* Light Blue */
  --color-accent-hover: #00A8E8;
  --color-bg: #f8fafc;
  /* Very Light Blue-Gray */
  --color-surface: #ffffff;
  --color-text: #1e293b;
  /* Muted Slate */
  --color-text-light: #1e293b;

  /* Layout */
  --max-width: 1200px;
  --header-height: 120px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  /* Transitions */
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background-color: var(--color-accent);
  color: white;
}

/* --- Header & Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: #fffffff2;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

.logo {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

.logo img {
  filter: drop-shadow(3px 3px 8px rgba(0, 0, 0, 0.5));
}

.logo span {
  color: var(--color-accent);
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  color: #0c0b0bcc;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition);
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-primary);
  cursor: pointer;
}

/* --- Advanced Hero Section --- */
.hero-advanced {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
  color: var(--color-primary);
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.05);
  /* Slight scale to allow for potential zoom animations */
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(224, 242, 254, 0.3) 100%);
  z-index: -1;
}

.hero-advanced-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 30px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: var(--color-primary);
}

.hero-badge i {
  color: var(--color-accent);
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 25px;
  letter-spacing: -1px;
  color: var(--color-primary);
}

.highlight-text {
  color: transparent;
  background-image: linear-gradient(90deg, var(--color-accent), #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn-glow {
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-glow:hover {
  box-shadow: 0 0 30px rgba(14, 165, 233, 0.8);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--color-primary);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 1);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.hero-visual-area {
  position: relative;
  height: 500px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 25px;
  color: var(--color-primary);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
}

.stat-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 280px;
}

.float-anim-1 {
  top: 10%;
  right: -10%;
  animation: float 6s ease-in-out infinite;
}

.float-anim-2 {
  bottom: 10%;
  left: -10%;
  animation: float 7s ease-in-out infinite reverse;
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: rgba(14, 165, 233, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--color-accent);
}

.stat-info h3 {
  color: var(--color-primary);
  font-size: 1.8rem;
  margin-bottom: 5px;
}

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

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

/* --- Sections Common --- */
.section {
  padding: 80px 0;
}

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

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

.section-header h2,
.about-text h2,
.section-bg h2 {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 50%, var(--color-primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
  animation: titleShine 4s linear infinite;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
}

.section-header h2::after,
.about-text h2::after,
.section-bg h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 2px;
}

.section-header h2::after,
section[style*="text-align: center"] h2::after {
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
}

.section-header p {
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* --- About Section (Home Preview) --- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-img {
  background: white;
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: visible;
}

.about-img::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border-radius: 30px;
  border: 2px dashed rgba(14, 165, 233, 0.2);
  z-index: -1;
}

.about-img img {
  max-width: 80%;
  height: auto;
  object-fit: contain;
  animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0px);
  }
}

.about-text h3 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text);
}

.neethi-img-wrapper img {
  animation: smoothZoom 15s infinite alternate ease-in-out;
  transform-origin: center;
}

@keyframes smoothZoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.15);
  }
}

.features-list {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--color-primary);
}

.feature-item i {
  color: var(--color-accent);
  background: rgba(14, 165, 233, 0.1);
  padding: 8px;
  border-radius: 50%;
}

/* --- Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--color-surface);
  border-radius: 20px;
  padding: 40px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  animation: serviceShadowPulse 3s infinite ease-in-out;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-hover));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: 0 20px 25px -5px rgba(14, 165, 233, 0.25), 0 10px 10px -5px rgba(14, 165, 233, 0.1);
  animation: none;
}

@keyframes serviceShadowPulse {
  0% {
    box-shadow: var(--shadow-sm);
  }

  50% {
    box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.15), 0 4px 6px -2px rgba(14, 165, 233, 0.05);
  }

  100% {
    box-shadow: var(--shadow-sm);
  }
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(14, 165, 233, 0.08);
  color: var(--color-accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: all 0.4s ease;
  flex-shrink: 0;
}

.service-card:hover .service-icon {
  background-color: var(--color-accent);
  color: white;
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2);
}

.service-card h3 {
  margin-bottom: 0;
  font-size: 1.5rem;
}

.service-card p {
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 25px;
}



.service-card .btn-link {
  color: var(--color-accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-card .btn-link:hover {
  gap: 10px;
}

/* --- Team Section --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.team-card {
  background-color: var(--color-surface);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 165, 233, 0.2);
}

.team-img-wrap {
  width: 180px;
  height: 180px;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  background-color: rgba(14, 165, 233, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--color-accent);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.team-card:hover .team-img-wrap {
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 12px 25px rgba(14, 165, 233, 0.2);
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.team-card .designation {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.team-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(14, 165, 233, 0.1);
  color: var(--color-accent);
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.team-social a:hover {
  background-color: var(--color-accent);
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 5px 15px rgba(14, 165, 233, 0.3);
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
  padding: 3px;
  background: linear-gradient(45deg, #0ea5e9, #38bdf8, #818cf8, #0ea5e9);
  background-size: 300% 300%;
  animation: borderGradientShine 4s ease infinite;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.2);
}

@keyframes borderGradientShine {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 9px;
}

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

.gallery-overlay {
  position: absolute;
  inset: 3px;
  border-radius: 9px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 1;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.view-images .gallery-overlay {
  display: none !important;
}

.gallery-item:hover .gallery-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

.gallery-overlay h4 {
  color: white;
  margin: 0;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

.contact-info {
  background-color: var(--color-primary);
  color: white;
  padding: 40px;
  border-radius: 16px;
}

.contact-info h3 {
  color: white;
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.info-item i {
  font-size: 20px;
  color: var(--color-accent);
}

.info-item p {
  color: rgba(255, 255, 255, 0.8);
}

.contact-form {
  background: var(--color-surface);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 40px);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* --- Page Headers --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0% {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
  }

  50% {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
  }

  100% {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
  }
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.page-header {
  padding: 150px 0 80px;
  background: linear-gradient(-45deg, var(--color-primary), #1e293b, var(--color-accent), #0f172a);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out forwards, pulseGlow 4s infinite alternate 0.8s;
  opacity: 0;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  letter-spacing: 1px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
  opacity: 0;
}

/* --- Footer --- */
.footer {
  background-color: var(--color-primary);
  color: white;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 25px;
  font-size: 1.2rem;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  display: inline-block;
  color: white;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  word-break: break-word;
}

.footer-links li i {
  margin-top: 5px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

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

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

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

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

.footer-bottom a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: white;
  text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 992px) {

  .hero-advanced-content,
  .about-preview,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-advanced {
    text-align: center;
    padding-bottom: 60px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual-area {
    display: none;
    /* Hide complex floating cards on smaller screens for cleaner UI */
  }

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

@media (max-width: 768px) {
  :root {
    --header-height: 80px;
  }

  .header {
    height: 80px !important;
  }

  .page-header {
    padding: 100px 15px 40px;
  }

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

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

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

  .logo {
    gap: 8px;
    max-width: 85%;
  }

  .logo img {
    height: 65px !important;
  }

  .logo span {
    font-size: 15px !important;
    line-height: 1.3 !important;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    transition: var(--transition);
  }

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

  .mobile-menu-btn {
    display: block;
  }

  .hero-content h1,
  .hero-advanced-content h1 {
    font-size: 2.0rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
    padding: 0 10px;
    line-height: 1.6;
  }

  .hero-gradient-overlay {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%, rgba(224, 242, 254, 0.5) 100%);
  }

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

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

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

  .footer-logo {
    justify-content: center;
  }

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

  .footer-links li {
    justify-content: center;
    align-items: center;
  }

  .footer-links li i {
    margin-top: 0;
  }

  h1,
  h2,
  h3 {
    text-align: center !important;
  }

  .btn,
  .btn-link {
    display: block !important;
    text-align: center !important;
    width: 80% !important;
    max-width: 300px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-buttons .btn {
    margin: 5px !important;
    width: auto !important;
  }

  .about-text h2::after,
  .section-bg h2::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .contact-info,
  .contact-form {
    padding: 25px;
  }

  .info-item p {
    overflow-wrap: break-word;
    word-break: break-word;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}

/* --- Language Toggle --- */
body.en-active .lang-ml {
  display: none !important;
}

body.ml-active .lang-en {
  display: none !important;
}

.lang-toggle-btn {
  background: var(--color-accent);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
  margin-left: 20px;
}

.lang-toggle-btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
}

/* --- Premium Services Page Styles --- */
.services-section {
  padding: 100px 0;
  background: var(--color-bg);
}

.services-section.bg-white {
  background: var(--color-surface);
}

.premium-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  margin-top: 50px;
}

.premium-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.premium-card:nth-child(even) {
  flex-direction: row-reverse;
}

.premium-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(14, 165, 233, 0.15);
  border-color: rgba(14, 165, 233, 0.3);
}

.premium-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-accent), #38bdf8);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}

.premium-card:nth-child(even)::after {
  left: auto;
  right: 0;
}

.premium-card:hover::after {
  transform: scaleY(1);
}

.card-image {
  width: 40%;
  position: relative;
  overflow: hidden;
  height: 320px;
  border-radius: 20px;
  margin-left: 30px;
}

.premium-card:nth-child(even) .card-image {
  margin-left: 0;
  margin-right: 30px;
}

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

.premium-card:hover .card-image img {
  transform: scale(1.05);
}

.card-icon {
  width: 70px;
  height: 70px;
  background: var(--color-accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: white;
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
  transition: all 0.4s ease;
  position: absolute;
  top: 50%;
  margin-top: -35px;
  left: calc(40% + 30px - 35px);
  z-index: 10;
}

.premium-card:nth-child(even) .card-icon {
  left: auto;
  right: calc(40% + 30px - 35px);
}

.premium-card:hover .card-icon {
  transform: rotateY(180deg);
}

.card-content {
  width: 60%;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-content h3 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  font-weight: 700;
}

.card-content p {
  color: var(--color-text);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 0;
  flex-grow: 1;
}

.btn-premium {
  align-self: flex-start;
  padding: 10px 24px;
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--color-accent);
  z-index: -1;
  transition: all 0.3s ease;
}

.btn-premium:hover {
  color: white;
}

.btn-premium:hover::before {
  width: 100%;
}

/* --- Responsive Layout for Premium Services --- */
@media (max-width: 992px) {

  .premium-card,
  .premium-card:nth-child(even) {
    flex-direction: column;
    align-items: stretch;
  }

  .card-image,
  .premium-card:nth-child(even) .card-image {
    width: auto;
    height: 250px;
    margin: 20px 20px 0;
  }

  .card-content {
    width: 100%;
    padding: 30px;
  }

  .premium-card::after,
  .premium-card:nth-child(even)::after {
    width: 100%;
    height: 4px;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, var(--color-accent), #38bdf8);
    transform: scaleX(0);
    transform-origin: left;
  }

  .premium-card:hover::after,
  .premium-card:nth-child(even):hover::after {
    transform: scaleX(1);
  }

  .card-icon {
    top: 270px;
    margin-top: -35px;
    left: auto !important;
    right: 40px !important;
  }
}

/* --- Dynamic Gallery & Lightbox --- */
.gallery-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.gallery-nav h3 {
  margin: 0;
  color: var(--color-primary);
  font-size: 1.5rem;
}

.fade-in {
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Lightbox Styles */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90%;
  max-height: 80vh;
  overflow: auto;
  /* For zoomed image */
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}

.lightbox-img-wrapper::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari and Opera */
}

.lightbox.active .lightbox-img-wrapper {
  transform: scale(1);
}

.lightbox-content {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  transition: transform 0.3s ease;
  object-fit: contain;
  cursor: zoom-in;
}

.lightbox-content.zoomed {
  transform: scale(2);
  cursor: grab;
  max-width: none;
  max-height: none;
}

.lightbox-content.zoomed:active {
  cursor: grabbing;
}

.lightbox-toolbar {
  position: absolute;
  top: 30px;
  right: 40px;
  display: flex;
  gap: 20px;
  z-index: 10000;
}

.lightbox-btn {
  color: white;
  font-size: 30px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox-btn:hover {
  color: var(--color-accent);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s ease, transform 0.2s ease;
  padding: 20px;
}

.lightbox-nav:hover {
  color: var(--color-accent);
  transform: translateY(-50%) scale(1.2);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-caption {
  margin-top: 20px;
  color: white;
  font-size: 1.2rem;
  text-align: center;
  max-width: 80%;
}

/* --- Service Category Premium Headings --- */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}

@keyframes titleShine {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.service-category-title {
  font-size: 3.0rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #00A8E8, #38bdf8, #ffffff, #0ea5e9, #00A8E8);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 10px;
  animation: titleShine 4s linear infinite;
}

.service-category-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, #00A8E8, #38bdf8);
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 168, 232, 0.3);
}

@media (max-width: 768px) {
  .service-category-title {
    font-size: 2.2rem;
  }
}