/* Import Modern Typography from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* CSS Custom Variables for Core Design System */
:root {
  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Inter', sans-serif;

  /* Color Palette - Premium Luxury Light Mode */
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  
  --color-primary: #0d9488;      /* Deep premium Teal */
  --color-primary-rgb: 13, 148, 136;
  --color-secondary: #4f46e5;    /* Deep Indigo */
  --color-secondary-rgb: 79, 70, 229;
  --color-accent: #d97706;       /* Premium Gold/Amber */
  
  --text-primary: #0f172a;       /* Slate 900 */
  --text-secondary: #475569;     /* Slate 600 */
  --text-muted: #64748b;         /* Slate 500 */
  
  --border-color: rgba(15, 23, 42, 0.08);
  --border-color-hover: rgba(13, 148, 136, 0.35);
  
  --glow-primary: 0 0 20px rgba(13, 148, 136, 0.15);
  --glow-secondary: 0 0 25px rgba(79, 70, 229, 0.15);
  --glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.05);
  
  --transition-fast: 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-normal: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Custom Selection Style */
::selection {
  background: rgba(0, 245, 212, 0.25);
  color: var(--color-primary);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

body {
  font-family: var(--font-secondary);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Hide scrollbar, but keep functional */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Custom Interactive Cursor (desktop only) */
.custom-cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: width 0.2s, height 0.2s, background-color 0.2s;
  display: none; /* Managed by JS on desktop check */
}

.custom-cursor-dot {
  width: 4px;
  height: 4px;
  background-color: var(--color-primary);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  display: none;
}

/* Cursor hover state */
.custom-cursor.hovered {
  width: 45px;
  height: 45px;
  background-color: rgba(0, 245, 212, 0.1);
  border-color: var(--color-primary);
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

p {
  color: var(--text-secondary);
}

/* Animated Floating Spheres in Background */
.bg-glow-container {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.14;
  animation: float 25s ease-in-out infinite alternate;
}

.glow-1 {
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
  top: -10vw;
  left: -10vw;
  animation-duration: 20s;
}

.glow-2 {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--color-secondary) 0%, transparent 70%);
  bottom: -15vw;
  right: -5vw;
  animation-duration: 28s;
  animation-delay: -5s;
}

.glow-3 {
  width: 30vw;
  height: 30vw;
  background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
  top: 40%;
  left: 60%;
  animation-duration: 35s;
  animation-delay: -10s;
  opacity: 0.08;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5vw, 7vh) scale(1.15); }
  100% { transform: translate(-3vw, -4vh) scale(0.9); }
}

/* Glassmorphism General Utility */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  box-shadow: var(--glass-shadow);
  border-radius: 20px;
  transition: border-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-panel:hover {
  border-color: var(--border-color-hover);
  box-shadow: 0 10px 40px rgba(13, 148, 136, 0.08);
  transform: translateY(-5px);
}

/* Navigation Layout */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 2rem;
  transition: padding var(--transition-normal), background-color var(--transition-normal), border-bottom var(--transition-normal);
}

header.scrolled {
  padding: 0.8rem 2rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.navbar {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-primary);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: inline-block;
  box-shadow: var(--glow-primary);
  animation: pulse 2s infinite;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.3rem 0;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: width var(--transition-normal);
  border-radius: 2px;
}

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

.nav-cta {
  display: inline-block;
}

/* Beautiful Animated Buttons */
.btn {
  font-family: var(--font-primary);
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
  border: none;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.15);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0284c7 0%, var(--color-secondary) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: -1;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 0 15px rgba(13, 148, 136, 0.12);
  transform: translateY(-3px);
}

/* Hamburger Menu Icon */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.menu-btn span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: var(--color-primary);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: var(--color-primary);
}

/* Mobile Full-Screen Navigation Menu */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right var(--transition-normal);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
  text-align: center;
}

.mobile-nav-links a {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: var(--color-primary);
  text-shadow: 0 0 10px rgba(0, 245, 212, 0.3);
}

.mobile-nav .btn {
  margin-top: 3rem;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}

/* Layout Core Elements */
section {
  padding: 8rem 2rem 5rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-tag {
  font-family: var(--font-primary);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.1rem;
}

/* Scroll Reveal Core Logic */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.reveal-visible,
.reveal-left.reveal-visible,
.reveal-right.reveal-visible {
  opacity: 1;
  transform: translate(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* ---------------------------------------------------- */
/* PAGE SPECIFIC MODULES: HOME PAGE                     */
/* ---------------------------------------------------- */

/* Hero Section */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding-top: 10rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-tag {
  align-self: flex-start;
  background: rgba(0, 245, 212, 0.08);
  border: 1px solid rgba(0, 245, 212, 0.2);
  color: var(--color-primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-tag-pulse {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 40%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  background: linear-gradient(90deg, var(--color-primary), #00b0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.3rem;
}

/* Image Showcase wrapper */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-glow-back {
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(0, 245, 212, 0.2) 0%, transparent 60%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(40px);
  animation: rotateGlow 20s infinite linear;
}

.hero-img-container {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
  aspect-ratio: 4/3;
}

.hero-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover .hero-img-container img {
  transform: scale(1.05);
}

/* Floating overlay cards */
.floating-card {
  position: absolute;
  padding: 1.2rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--glass-shadow);
  animation: floatCard 6s ease-in-out infinite;
}

.float-card-1 {
  bottom: 10%;
  left: -5%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(13, 148, 136, 0.15);
}

.float-card-2 {
  top: 10%;
  right: -5%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(79, 70, 229, 0.15);
  animation-delay: -3s;
}

.float-icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: rgba(0, 245, 212, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.3rem;
}

.float-card-2 .float-icon {
  background: rgba(123, 44, 191, 0.1);
  color: #a855f7;
}

.float-text h4 {
  font-size: 1rem;
  margin-bottom: 0.1rem;
}

.float-text p {
  font-size: 0.75rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 3rem 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.1) 0%, rgba(123, 44, 191, 0.1) 100%);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
  transition: transform var(--transition-normal);
}

.service-card:hover .service-icon {
  transform: rotateY(360deg);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--bg-primary);
  box-shadow: var(--glow-primary);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-link {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-link i {
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link i {
  transform: translateX(5px);
}

/* Testimonial Section */
.testimonials-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  min-height: 380px;
}

.testimonials-slider {
  display: flex;
  overflow: hidden;
  position: relative;
  border-radius: 24px;
}

.testimonial-slide {
  width: 100%;
  flex-shrink: 0;
  opacity: 0;
  display: none;
  transition: opacity var(--transition-normal);
  padding: 3rem 4rem;
  text-align: center;
}

.testimonial-slide.active {
  display: block;
  opacity: 1;
}

.quote-icon {
  font-size: 3rem;
  color: rgba(0, 245, 212, 0.15);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 2rem;
  line-height: 1.5;
}

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

.author-name {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.author-title {
  font-size: 0.85rem;
  color: var(--color-primary);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.control-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.control-btn:hover {
  background: var(--color-primary);
  color: var(--bg-primary);
  border-color: var(--color-primary);
  box-shadow: var(--glow-primary);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  background: var(--color-primary);
  width: 25px;
  border-radius: 10px;
  box-shadow: var(--glow-primary);
}

/* Call To Action Banner */
.cta-banner {
  padding: 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--border-color);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.05) 0%, rgba(123, 44, 191, 0.05) 100%);
  z-index: -1;
}

.cta-banner h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.cta-banner p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

/* ---------------------------------------------------- */
/* PAGE SPECIFIC MODULES: ABOUT PAGE                    */
/* ---------------------------------------------------- */

.about-hero {
  padding-top: 12rem;
  text-align: center;
}

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

.about-intro-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.about-intro-text p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.about-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  border: 1px solid var(--border-color);
}

.about-image img {
  width: 100%;
  display: block;
  transition: transform var(--transition-slow);
}

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

/* Philosophy / Values section */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.value-card {
  padding: 2.5rem 2rem;
  text-align: center;
}

.value-num {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(0, 245, 212, 0.1);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color var(--transition-normal);
}

.value-card:hover .value-num {
  color: var(--color-primary);
}

.value-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.value-card p {
  font-size: 0.9rem;
}

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

.team-card {
  overflow: hidden;
  border-radius: 20px;
}

.team-img-holder {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
}

.team-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-social-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 9, 19, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.team-social-overlay a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transform: translateY(20px);
  transition: transform var(--transition-normal), background-color var(--transition-fast);
}

.team-social-overlay a:hover {
  background: #ffffff;
  color: var(--bg-primary);
}

.team-card:hover .team-img-holder img {
  transform: scale(1.08);
}

.team-card:hover .team-social-overlay {
  opacity: 1;
}

.team-card:hover .team-social-overlay a {
  transform: translateY(0);
}

/* delay delay animations for items */
.team-card:hover .team-social-overlay a:nth-child(2) {
  transition-delay: 0.05s;
}
.team-card:hover .team-social-overlay a:nth-child(3) {
  transition-delay: 0.1s;
}

.team-info {
  padding: 1.8rem;
  text-align: center;
}

.team-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.team-info p {
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.team-desc {
  font-size: 0.9rem !important;
  color: var(--text-secondary) !important;
  text-transform: none !important;
  font-weight: normal !important;
  line-height: 1.5;
}

/* ---------------------------------------------------- */
/* PAGE SPECIFIC MODULES: CONTACT PAGE                  */
/* ---------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.5rem;
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 245, 212, 0.08);
  border: 1px solid rgba(0, 245, 212, 0.15);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.contact-item-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.contact-item-text p, 
.contact-item-text a {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-item-text a:hover {
  color: var(--color-primary);
}

.hours-widget {
  padding: 2rem;
}

.hours-widget h4 {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  font-size: 0.9rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-day {
  color: var(--text-secondary);
  font-weight: 500;
}

.hours-time {
  font-weight: 600;
}

.hours-time.closed {
  color: #ef4444;
}

/* Appointment Booking Form */
.booking-card {
  padding: 3rem;
}

.booking-card h3 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.booking-card > p {
  margin-bottom: 2.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-full-width {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-group label {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.form-control {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  color: var(--text-primary);
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  transition: all var(--transition-normal);
}

.form-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(0, 245, 212, 0.1);
}

.form-group:focus-within label {
  color: var(--color-primary);
}

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

/* Validation Styling */
.form-group.invalid .form-control {
  border-color: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.15);
}

.form-group.invalid label {
  color: #ef4444 !important;
}

.error-message {
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.3rem;
  display: none;
  font-weight: 500;
}

.form-group.invalid .error-message {
  display: block;
}

/* Form success overlay/feedback */
.success-message-container {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 0;
  animation: fadeIn 0.5s ease forwards;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(0, 245, 212, 0.1);
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--glow-primary);
  animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.success-message-container h3 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.success-message-container p {
  color: var(--text-secondary);
  max-width: 400px;
  margin-bottom: 2rem;
}

@keyframes scaleUp {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* FAQ Accordions */
.faq-section {
  max-width: 850px;
  margin: 0 auto 5rem auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  overflow: hidden;
  border-radius: 16px;
  transition: all var(--transition-normal);
}

.faq-header {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-header h4 {
  font-size: 1.15rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  color: var(--text-primary);
  font-size: 0.9rem;
}

.faq-item:hover .faq-header h4 {
  color: var(--color-primary);
}

.faq-item.active {
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.85);
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
  background: var(--color-primary);
  color: var(--bg-primary);
  box-shadow: var(--glow-primary);
}

.faq-item.active .faq-header h4 {
  color: var(--color-primary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  padding: 0 2rem;
}

.faq-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  padding-bottom: 1.5rem;
}

/* ---------------------------------------------------- */
/* FOOTER                                               */
/* ---------------------------------------------------- */

footer {
  border-top: 1px solid var(--border-color);
  background-color: #0b0f19;
  padding: 5rem 2rem 2.5rem 2rem;
  position: relative;
  z-index: 5;
  color: #ffffff;
}

footer .logo {
  color: #ffffff;
}

footer p {
  color: #94a3b8;
}

footer .footer-col ul a {
  color: #94a3b8;
}

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

.footer-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo-col p {
  font-size: 0.95rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  max-width: 250px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.social-links a:hover {
  background: var(--color-primary);
  color: var(--bg-primary);
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: var(--glow-primary);
}

.footer-col h4 {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-primary);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-col ul a {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

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

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-form .form-control {
  border-radius: 50px;
  padding: 0.7rem 1.2rem;
  flex-grow: 1;
  font-size: 0.9rem;
}

.newsletter-form .btn-primary {
  padding: 0.7rem 1.2rem;
}

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a:hover {
  color: var(--color-primary);
}

/* Keyframes Animations */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(0, 245, 212, 0.4); }
  70% { transform: scale(1.1); opacity: 0.8; box-shadow: 0 0 0 8px rgba(0, 245, 212, 0); }
  100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(0, 245, 212, 0); }
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes floatCard {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* ---------------------------------------------------- */
/* MEDIA QUERIES & RESPONSIVENESS                       */
/* ---------------------------------------------------- */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 5rem;
    padding-top: 8rem;
  }
  
  .hero-tag {
    align-self: center;
  }
  
  .hero-desc {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }
  
  .menu-btn {
    display: flex;
  }
  
  header {
    padding: 1.2rem 1.5rem;
  }
  
  header.scrolled {
    padding: 0.8rem 1.5rem;
  }
  
  .section-title {
    font-size: 2.1rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 2rem;
  }
  
  .floating-card {
    display: none; /* Hide floating cards on small devices */
  }
  
  .testimonial-slide {
    padding: 2rem;
  }
  
  .testimonial-text {
    font-size: 1.1rem;
  }
  
  .cta-banner {
    padding: 3rem 1.5rem;
  }
  
  .cta-banner h2 {
    font-size: 2rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-full-width {
    grid-column: span 1;
  }
  
  .booking-card {
    padding: 2rem 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Mobile Proof Horizontal Slider Snapping */
  .proof-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 1rem 0;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE/Edge */
    scrollbar-width: none;  /* Firefox */
    margin-bottom: 1.5rem;
  }
  
  .proof-grid::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  
  .proof-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
  
  .proof-mobile-controls {
    display: flex;
  }
}

/* Proof Section Grid */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.proof-card {
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.proof-img-container {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
  background-color: #0b0f19;
}

.proof-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.proof-card:hover .proof-img-container img {
  transform: scale(1.04);
}

.proof-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(13, 148, 136, 0.95);
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-primary);
  letter-spacing: 0.02em;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.proof-info {
  padding: 1.8rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.proof-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  transition: color var(--transition-fast);
}

.proof-card:hover .proof-info h3 {
  color: var(--color-primary);
}

.proof-info p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.proof-action-text {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(6, 9, 19, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.4s ease forwards;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  object-fit: contain;
}

.lightbox-caption {
  font-family: var(--font-primary);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 1.5rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  color: #ffffff;
  font-size: 3rem;
  font-weight: 300;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 10010;
}

.lightbox-close:hover {
  color: var(--color-primary);
}

.lightbox-nav-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  user-select: none;
  z-index: 10010;
}

.lightbox-nav-btn:hover {
  background: var(--color-primary);
  color: var(--bg-primary);
  border-color: var(--color-primary);
  box-shadow: var(--glow-primary);
}

.lightbox-prev {
  left: 3rem;
}

.lightbox-next {
  right: 3rem;
}

@media (max-width: 768px) {
  .lightbox-prev {
    left: 1rem;
  }
  .lightbox-next {
    right: 1rem;
  }
  .lightbox-nav-btn {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  .lightbox-close {
    top: 1rem;
    right: 1.5rem;
  }
}

/* Mobile Proof controls (default hidden on desktop) */
.proof-mobile-controls {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.proof-mobile-dots {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.proof-mdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.15);
  cursor: pointer;
  transition: var(--transition-fast);
}

.proof-mdot.active {
  background: var(--color-primary);
  width: 25px;
  border-radius: 10px;
  box-shadow: var(--glow-primary);
}
