/* Root variables and base styles */
:root {
  /* Dark Theme (Default) */
  --bg-main: #070b13;
  --bg-gradient: linear-gradient(135deg, #0a0d18 0%, #16203a 100%);
  --text-main: #fff;
  --text-secondary: #b3c2d1;
  --accent1: #4fd1ff;
  --accent2: #2176ae;
  --footer-bg: linear-gradient(90deg,#10131a 0%,#1a2333 100%);
  --footer-text: #b3c2d1;
  --header-bg: rgba(10,10,20,0.97);
  --card-bg: rgba(30,38,54,0.65);
  --card-border: rgba(79,209,255,0.32);
  --shadow: 0 12px 40px rgba(33,118,174,0.22);
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
  --section-bg: transparent;
  --glass-blur: blur(18px) saturate(1.3);
  --glass-bg: rgba(40,60,90,0.22);
  --glass-border: 1.5px solid rgba(79,209,255,0.18);
  --glow: 0 0 24px 0 #4fd1ff66, 0 0 8px 0 #2176ae33;
  
  /* Legacy variables for compatibility */
  --color-bg: var(--bg-main);
  --color-text: var(--text-main);
  --color-grey: var(--card-bg);
  --color-accent: var(--accent1);
  --color-accent-dark: var(--accent2);
  --color-header: var(--header-bg);
  --color-footer: var(--footer-bg);
  --font-main: 'Inter', 'Poppins', Arial, sans-serif;
  --shadow-main: var(--shadow);
  --radius-main: 16px;
}

/* Light Theme */
body.light-theme {
  --bg-main: #fafdff;
  --bg-gradient: linear-gradient(135deg, #fafdff 0%, #e6f6ff 100%);
  --text-main: #1a2233;
  --text-secondary: #3a4a5a;
  --accent1: #2176ae;
  --accent2: #4fd1ff;
  --footer-bg: linear-gradient(90deg,#fafdff 0%,#e6f6ff 100%);
  --footer-text: #3a4a5a;
  --header-bg: #fff;
  --card-bg: rgba(255,255,255,0.98);
  --card-border: #b8e6fa;
  --shadow: 0 6px 18px rgba(33,118,174,0.11);
  --section-bg: #fafdff;
  --glass-blur: blur(14px) saturate(1.1);
  --glass-bg: rgba(255,255,255,0.55);
  --glass-border: 1.5px solid #b8e6fa;
  --glow: 0 0 18px 0 #2176ae44, 0 0 6px 0 #4fd1ff22;
  
  /* Legacy variables for compatibility */
  --color-bg: var(--bg-main);
  --color-text: var(--text-main);
  --color-grey: var(--card-bg);
  --color-accent: var(--accent1);
  --color-accent-dark: var(--accent2);
  --color-header: var(--header-bg);
  --color-footer: var(--footer-bg);
  --shadow-main: var(--shadow);
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  padding: 0;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 1.08rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  transition: background var(--transition), color var(--transition);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', var(--font-main);
  font-weight: 700;
  margin: 0 0 0.5em 0;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.7rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }
a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--color-accent-dark);
}
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header & Navigation */
.sticky-header {
  position: sticky;
  top: 0;
  background: var(--header-bg);
  z-index: 10000;
  box-shadow: 0 2px 12px rgba(33,118,174,0.07);
  border-bottom: 1px solid var(--card-border);
  transition: background var(--transition);
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2em;
}
.logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.7em;
}
.main-nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-weight: 600;
  font-size: 1.08rem;
  padding: 0.5em 0;
  position: relative;
  letter-spacing: 0.01em;
  color: var(--accent1);
  transition: color var(--transition);
}
.main-nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--accent1);
  transition: width 0.2s;
  position: absolute;
  left: 0;
  bottom: -2px;
}
.main-nav a:hover::after {
  width: 100%;
}
.login-btn {
  background: linear-gradient(135deg, var(--accent1) 0%, var(--accent2) 100%);
  color: #fff;
  padding: 0.6em 2em;
  border-radius: 24px;
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  margin-left: 2em;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(33,118,174,0.15);
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.01em;
}
.login-btn:hover {
  background: linear-gradient(135deg, var(--accent2) 0%, var(--accent1) 100%);
  box-shadow: 0 4px 16px rgba(33,118,174,0.25);
  transform: translateY(-2px);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--accent1);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Theme Toggle Button */
.theme-toggle {
  margin-left: 1em;
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 50%;
  box-shadow: var(--shadow);
  padding: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border var(--transition);
  color: var(--accent1);
  font-size: 1.1rem;
  user-select: none;
  height: 38px;
  width: 38px;
}

.theme-toggle svg { 
  width: 22px; 
  height: 22px; 
  display: block; 
  transition: color 0.3s; 
}

/* Fade-in animation */
.fade-in { opacity: 0; transform: translateY(40px); animation: fadeInUp 1.1s cubic-bezier(.23,1.01,.32,1) forwards; }
@keyframes fadeInUp {
  to { opacity: 1; transform: none; }
}

/* Classy Blue Header */
.classy-header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(30,40,60,0.08);
  border-bottom: 1px solid #e6eaf0;
}
.logo img {
  height: 70px !important;
  max-height: 70px;
  width: auto;
  margin-left: 18px;
  margin-right: 40px;
  display: block;
}
.header-flex {
  align-items: center;
  gap: 3.2em;
  min-height: 90px;
}
.classy-header nav ul li a {
  white-space: nowrap;
}
.classy-header nav ul li a {
  color: #1a2233 !important;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  padding: 0.7em 1.2em 0.7em 1.2em;
  transition: color 0.2s;
  text-shadow: 0 1px 4px rgba(30,40,60,0.07);
  position: relative;
  background: none;
}
.classy-header nav ul li a::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #2176ae 0%, #4fd1ff 100%);
  border-radius: 2px;
  transition: width 0.25s cubic-bezier(.4,0,.2,1);
  position: absolute;
  left: 0;
  bottom: 0.2em;
}
.classy-header nav ul li a:hover::after,
.classy-header nav ul li a:focus::after {
  width: 100%;
}
.classy-header .login-btn {
  background: linear-gradient(90deg, #2176ae 0%, #4fd1ff 100%);
  color: #fff !important;
  border: none;
  font-weight: 700;
  border-radius: 32px;
  padding: 0.7em 2.2em;
  margin-left: 2.5em;
  font-size: 1.13rem;
  box-shadow: 0 2px 8px rgba(33,118,174,0.10);
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  height: 48px;
}
.classy-header .login-btn:hover {
  background: linear-gradient(90deg, #14507b 0%, #2176ae 100%);
  color: #fff !important;
}

/* Classy Hero Slideshow */
.classy-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #2176ae;
}
.hero-slideshow {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.slide {
  position: absolute;
  top: 0; left: 0; width: 100vw; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(.4,0,.2,1);
  z-index: 1;
}
.slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100vw; height: 100%;
  background: linear-gradient(120deg, rgba(33,118,174,0.45) 0%, rgba(20,80,123,0.45) 100%);
  z-index: 3;
}
.hero-slideshow-overlay { position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.45);z-index:2;pointer-events:none; }
.classy-hero-content {
  position: relative;
  z-index: 4;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 7vh 0 7vh 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-title {
  font-size: 3.6rem;
  font-weight: 900;
  margin-bottom: 0.7em;
  color: #fff;
  letter-spacing: 0.01em;
  line-height: 1.08;
}
.hero-accent {
  display: inline;
  background: linear-gradient(90deg, #4fd1ff 0%, #2176ae 100%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  font-weight: 900;
  transition: background 0.7s cubic-bezier(.4,0,.2,1);
}
.accent-blue {
  background: linear-gradient(90deg, #4fd1ff 0%, #2176ae 100%);
}
.accent-green {
  background: linear-gradient(90deg, #3ed598 0%, #1abc9c 100%);
}
.accent-orange {
  background: linear-gradient(90deg, #ffb86b 0%, #ff7e5f 100%);
}
.accent-purple {
  background: linear-gradient(90deg, #a259ff 0%, #6a82fb 100%);
}
.accent-teal {
  background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
}
.accent-pink {
  background: linear-gradient(90deg, #ff6b81 0%, #f797a7 100%);
}
.hero-subtitle {
  font-size: 1.35rem;
  margin-bottom: 2.5em;
  color: #e6eaf0;
  font-weight: 500;
  min-height: 2.2em;
}
.cta-hero {
  font-size: 1.22rem;
  padding: 1.1em 2.8em;
  border-radius: 32px;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: linear-gradient(90deg, #2176ae 0%, #4fd1ff 100%);
  box-shadow: 0 6px 32px rgba(33,118,174,0.13);
  border: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  color: #fff !important;
}
.cta-hero svg {
  stroke: #fff !important;
}
.cta-hero:hover {
  background: linear-gradient(90deg, #14507b 0%, #2176ae 100%);
  box-shadow: 0 12px 32px rgba(33,118,174,0.18);
  transform: translateY(-2px) scale(1.03);
}

/* Service Tiles */
.service-tiles {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2.2rem;
  margin: 0 0 3.5rem 0;
  flex-wrap: wrap;
  background: none;
}
.service-tile {
  flex: 0 1 120px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(30,40,60,0.08);
  padding: 2em 1.2em 1.2em 1.2em;
  text-align: center;
  font-weight: 700;
  color: #2176ae;
  font-size: 1.12rem;
  border: 1.5px solid #e6eaf0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
  max-width: 150px;
  transition: box-shadow 0.2s, transform 0.2s, border 0.2s;
  margin: 0 auto;
  cursor: pointer;
}
.service-tile img {
  width: 54px;
  height: 54px;
  margin-bottom: 0.7em;
  filter: grayscale(0.1) contrast(1.1);
  display: block;
}
.service-tile:hover {
  box-shadow: 0 8px 32px rgba(33,118,174,0.13);
  border: 1.5px solid #2176ae;
  transform: translateY(-8px) scale(1.06);
  background: #f5faff;
}
.service-tile span {
  margin-top: 0.5em;
  font-size: 1.08rem;
  font-weight: 700;
}

/* About Section */
.classy-about {
  display: flex;
  gap: 4.5rem;
  align-items: center;
  margin: 5rem 0 3.5rem 0;
}
.about-left {
  flex: 1 1 340px;
  font-size: 1.18rem;
  line-height: 1.8;
}
.about-right {
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-right img {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(30,40,60,0.10);
}
.cta-link {
  display: inline-block;
  color: #2176ae;
  font-weight: 700;
  margin-top: 1.8em;
  text-decoration: underline;
  font-size: 1.12rem;
}

/* Footer */
#site-footer {
  background: var(--footer-bg);
  padding: 2.5rem 0 1.2rem 0;
  font-size: 1.08rem;
  color: var(--footer-text);
  border-top: 1px solid var(--card-border);
  margin-top: 3rem;
  transition: background var(--transition), color var(--transition);
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.footer-brand {
  font-weight: 800;
  color: var(--accent1);
  font-size: 1.15rem;
}
.footer-contact {
  font-size: 1.05rem;
}
.footer-copy {
  text-align: left;
  color: var(--footer-text);
  font-size: 0.98rem;
  font-weight: 500;
  margin-top: 1.2em;
  margin-left: 2em;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

/* Classy Blue Footer */
.blue-footer {
  background: var(--footer-bg) !important;
  color: var(--footer-text) !important;
  padding: 2.2em 0 1.2em 0;
  border-top: 1px solid var(--card-border);
  transition: background var(--transition), color var(--transition);
}
body.light-theme .blue-footer {
  background: linear-gradient(90deg,#fafdff 0%,#e6f6ff 100%) !important;
  color: #3a4a5a !important;
}
body.light-theme .footer-copy {
  color: #3a4a5a;
}
.blue-footer .footer-brand {
  font-weight: 800;
  color: #fff;
  font-size: 1.15rem;
  text-align: center;
  width: 100%;
}

/* Stylish CTA Section */
.cta-section.classy-cta {
  background: linear-gradient(90deg, #2176ae 0%, #4fd1ff 100%);
  padding: 64px 0 48px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cta-card {
  background: #fff;
  border-radius: 2em;
  box-shadow: 0 8px 32px rgba(30,40,60,0.10), 0 1.5px 8px rgba(33,118,174,0.08);
  padding: 48px 32px 40px 32px;
  max-width: 540px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
}
.cta-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #2176ae;
  margin-bottom: 0.6em;
}
.cta-subtitle {
  font-size: 1.15rem;
  color: #4a5a6a;
  margin-bottom: 2em;
}
.cta-btn-main {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(90deg, #2176ae 0%, #4fd1ff 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.85em 2.2em;
  border-radius: 2em;
  box-shadow: 0 2px 8px rgba(33,118,174,0.10);
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  border: none;
  outline: none;
  cursor: pointer;
}
.cta-btn-main:hover, .cta-btn-main:focus {
  background: linear-gradient(90deg, #4fd1ff 0%, #2176ae 100%);
  box-shadow: 0 4px 16px rgba(33,118,174,0.16);
  transform: translateY(-2px) scale(1.03);
}
.cta-btn-icon {
  font-size: 1.3em;
  margin-right: 0.7em;
  display: inline-block;
}
@media (max-width: 600px) {
  .cta-card {
    padding: 32px 10px 28px 10px;
    border-radius: 1.2em;
  }
  .cta-title {
    font-size: 1.3rem;
  }
  .cta-subtitle {
    font-size: 1rem;
  }
  .cta-btn-main {
    font-size: 1rem;
    padding: 0.7em 1.3em;
  }
}
/* Remove any white bar below CTA */
.cta-section.classy-cta + * {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border: none !important;
  background: none !important;
}

/* Classy Services Section */
.classy-services {
  background: #fff;
  padding: 5rem 0 4rem 0;
}
.services-title {
  color: #1a2233;
  font-size: 2.2rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}
.services-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #2176ae 0%, #4fd1ff 100%);
  border-radius: 2px;
  margin: 1.1rem auto 0 auto;
}
.service-tiles {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2.2rem;
  flex-wrap: wrap;
  background: none;
}
.service-tile {
  flex: 0 1 140px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(30,40,60,0.08);
  padding: 2.2em 1.2em 1.5em 1.2em;
  text-align: center;
  font-weight: 700;
  color: #1a2233;
  font-size: 1.13rem;
  border: 2px solid #f2f6fa;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 140px;
  max-width: 170px;
  transition: box-shadow 0.2s, transform 0.2s, border 0.2s;
  margin: 0 auto;
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1.1s cubic-bezier(.23,1.01,.32,1) forwards;
}
@keyframes fadeInUp {
  to { opacity: 1; transform: none; }
}
/* Service Tiles - Single Label Centered */
.service-tile .icon-bg {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2em;
  box-shadow: 0 2px 8px rgba(30,40,60,0.10);
  position: relative;
}
.service-tile .icon-bg img {
  width: 64px;
  height: 64px;
  display: block;
}
.service-tile .icon-bg span {
  display: block;
  font-size: 1.13rem;
  font-weight: 800;
  color: #1a2233;
  text-align: center;
  margin: 0;
  line-height: 1.1;
}
.service-tile span:not(.icon-bg span) {
  display: none;
}
.service-tile.accent1 .icon-bg { background: #e3f6fd; }
.service-tile.accent2 .icon-bg { background: #eafaf1; }
.service-tile.accent3 .icon-bg { background: #fff4e6; }
.service-tile.accent4 .icon-bg { background: #f3e8ff; }
.service-tile.accent5 .icon-bg { background: #ffe6ec; }
.service-tile.accent1:hover { border-color: #4fd1ff; }
.service-tile.accent2:hover { border-color: #3ed598; }
.service-tile.accent3:hover { border-color: #ffb86b; }
.service-tile.accent4:hover { border-color: #a259ff; }
.service-tile.accent5:hover { border-color: #ff6b81; }
.service-tile:hover {
  box-shadow: 0 8px 32px rgba(33,118,174,0.13);
  transform: translateY(-8px) scale(1.06);
  background: #f8fafc;
}

/* Floating Shapes in Hero */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.13;
  z-index: 2;
  pointer-events: none;
  animation: floatShape 7s ease-in-out infinite alternate;
}
.shape1 { width: 120px; height: 120px; background: #4fd1ff; top: 12%; left: 8%; animation-delay: 0s; }
.shape2 { width: 80px; height: 80px; background: #ffb86b; bottom: 18%; right: 12%; animation-delay: 2s; }
.shape3 { width: 60px; height: 60px; background: #a259ff; top: 30%; right: 18%; animation-delay: 1s; }
@keyframes floatShape {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-30px) scale(1.08); }
}

/* Featured Projects Section */
.featured-projects-section {
  background: #f8fafc;
  padding: 4rem 0 3rem 0;
}
.projects-title {
  color: #1a2233;
  font-size: 2rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 2.2rem;
  position: relative;
}
.projects-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #2176ae 0%, #4fd1ff 100%);
  border-radius: 2px;
  margin: 1rem auto 0 auto;
}
.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
  margin-bottom: 2.5em;
}
.project-filter {
  background: rgba(255,255,255,0.18);
  border: 1.5px solid var(--accent1);
  color: var(--accent1);
  font-weight: 700;
  font-size: 1.08rem;
  border-radius: 2em;
  padding: 0.7em 2.2em;
  margin-bottom: 0.5em;
  box-shadow: 0 2px 12px rgba(33,118,174,0.10);
  cursor: pointer;
  transition: background 0.22s, color 0.22s, border 0.22s, box-shadow 0.22s;
  outline: none;
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  letter-spacing: 0.01em;
  min-width: 120px;
  text-align: center;
}
.project-filter.active, .project-filter:focus, .project-filter:hover {
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  color: #fff;
  border-color: var(--accent2);
  box-shadow: 0 4px 16px rgba(33,118,174,0.13);
}
.projects-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.2em;
  padding: 0 0.5em;
  justify-items: center;
  align-items: stretch;
}
@media (min-width: 1400px) {
  .projects-row {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (max-width: 1200px) {
  .projects-row { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
@media (max-width: 900px) {
  .projects-row { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.2em; }
}
@media (max-width: 700px) {
  .projects-row { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1em; display: grid !important; }
  .project-filter { font-size: 0.98rem; padding: 0.6em 1.2em; }
}
.project-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(30,40,60,0.08);
  overflow: hidden;
  width: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1.1s cubic-bezier(.23,1.01,.32,1) forwards;
}
.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 8px 8px 0 0;
}
.project-caption {
  font-size: 1.08rem;
  font-weight: 700;
  color: #2176ae;
  padding: 1.1em 0.7em 1.2em 0.7em;
  text-align: center;
}
.project-card:hover {
  box-shadow: 0 8px 32px rgba(33,118,174,0.13);
  transform: translateY(-8px) scale(1.04);
}

/* Animated Hero Bubbles */
.hero-bubbles {
  position: absolute;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  background: #fff;
  animation: bubbleFloat 12s ease-in-out infinite alternate;
}
.b1 { width: 120px; height: 120px; left: 10vw; top: 20vh; animation-delay: 0s; }
.b2 { width: 80px; height: 80px; right: 12vw; top: 30vh; animation-delay: 2s; }
.b3 { width: 60px; height: 60px; left: 30vw; bottom: 18vh; animation-delay: 4s; }
.b4 { width: 100px; height: 100px; right: 20vw; bottom: 10vh; animation-delay: 1s; }
.b5 { width: 50px; height: 50px; left: 60vw; top: 10vh; animation-delay: 3s; }
@keyframes bubbleFloat {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-40px) scale(1.08); }
}

/* Stylish Hero Headline Animation */
.stylish-hero-title {
  text-shadow: 0 4px 24px rgba(30,40,60,0.10);
  font-size: 3.6rem;
  font-weight: 900;
  margin-bottom: 0.7em;
  color: #fff;
  letter-spacing: 0.01em;
  line-height: 1.08;
}
.headline-line {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1.1s cubic-bezier(.23,1.01,.32,1) forwards;
}
.stylish-hero-title .headline-line:nth-child(1) { animation-delay: 0.1s; }
.stylish-hero-title .headline-line:nth-child(2) { animation-delay: 0.4s; }

.stylish-hero-sub {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1.1s cubic-bezier(.23,1.01,.32,1) forwards;
  animation-delay: 0.8s;
  font-size: 1.35rem;
  margin-bottom: 2.5em;
  color: #e6eaf0;
  font-weight: 500;
  min-height: 2.2em;
}
.stylish-cta {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1.1s cubic-bezier(.23,1.01,.32,1) forwards;
  animation-delay: 1.2s;
}

/* Responsive Styles (refined) */
@media (max-width: 1100px) {
  .classy-about { gap: 2.5rem; }
}
@media (max-width: 900px) {
  .header-flex { height: 60px; gap: 1em; }
  .service-tiles { gap: 1.5rem; }
  .classy-about { flex-direction: column; gap: 2.5rem; }
  .about-right img { max-width: 320px; }
  .hero-title { font-size: 2.1rem; }
  .service-tiles { gap: 1.2rem; }
  .projects-row { gap: 1.2rem; }
}
@media (max-width: 700px) {
  .main-nav ul { flex-direction: column; gap: 1.5rem; background: var(--header-bg); position: absolute; top: 64px; right: 0; width: 200px; box-shadow: 0 2px 8px rgba(33,118,174,0.08); padding: 2rem 1rem; display: none; }
  .main-nav.open ul { display: flex; }
  .nav-toggle { display: flex; }
  .main-nav { position: relative; }
  .service-tiles { flex-direction: column; gap: 1.2rem; }
  .classy-about { flex-direction: column; gap: 2rem; }
  .cta-content h2 { font-size: 1.5rem; }
  .cta-content p { font-size: 1rem; }
  .cta-section.classy-cta { padding: 2.5rem 0 2rem 0; }
  .service-tiles { flex-direction: column; gap: 1.2rem; }
  .projects-row { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1em; }
}
@media (max-width: 500px) {
  .container { width: 99%; }
  .hero-title { font-size: 1.3rem; }
  .about-right img { max-width: 100%; }
}
@media (max-width: 900px) {
  .stylish-hero-title { font-size: 2.1rem; }
}
@media (max-width: 600px) {
  .stylish-hero-title { font-size: 1.3rem; }
} 

.rotating-tagline {
  transition: opacity 0.4s cubic-bezier(.4,0,.2,1);
  display: inline-block;
} 

@keyframes ctaPopIn { from { opacity:0; transform:scale(0.97);} to { opacity:1; transform:scale(1);} }
.cta-card { transition: box-shadow 0.18s, transform 0.18s; }
.cta-card:hover { box-shadow:0 6px 24px rgba(33,118,174,0.13); transform:scale(1.01); }
.cta-btn-main:hover, .cta-btn-main:focus { background:linear-gradient(90deg,#4fd1ff 0%,#2176ae 100%); box-shadow:0 2px 12px rgba(33,118,174,0.13); transform:translateY(-2px) scale(1.04); } 

/* --- UrbanGrey Projects Interactive Modals --- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(10,18,30,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: background 0.3s;
  animation: fadeInModal 0.3s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-content {
  background: rgba(255,255,255,0.18);
  border-radius: 1.2em;
  box-shadow: 0 8px 32px 0 rgba(33,118,174,0.18);
  border: 1.5px solid var(--card-border);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  padding: 2.2em 1.5em 1.5em 1.5em;
  position: relative;
  max-width: 98vw;
  width: 100%;
  animation: fadeInModal 0.3s cubic-bezier(.4,0,.2,1);
}
.modal-close {
  position: absolute;
  top: 1.1em;
  right: 1.1em;
  background: none;
  border: none;
  color: var(--accent2);
  font-size: 2.1rem;
  font-weight: 900;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
  line-height: 1;
}
.modal-close:hover { color: var(--accent1); }
.project-card-modal {
  background: rgba(255,255,255,0.18);
  border-radius: 1.5em;
  box-shadow: 0 2px 16px rgba(33,118,174,0.07);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.18s, transform 0.18s;
  border: 2px solid rgba(33,118,174,0.13);
  backdrop-filter: blur(6px) saturate(1.1);
  -webkit-backdrop-filter: blur(6px) saturate(1.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.2em;
  padding: 0;
  width: 100%;
  max-width: 340px;
}
.project-card-modal img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 1.5em 1.5em 0 0;
  transition: filter 0.3s;
}
.project-modal-caption {
  padding: 1.1em 1em 1.2em 1em;
  text-align: center;
  width: 100%;
}
.project-card-modal:hover, .project-card-modal:focus {
  box-shadow: 0 12px 40px 0 var(--accent2), 0 2px 12px 0 var(--accent1);
  transform: scale(1.04) translateY(-4px);
  z-index: 3;
}
.project-modal-title {
  font-size: 1.13rem;
  font-weight: 800;
  color: var(--accent2);
  margin-bottom: 0.2em;
}
.project-modal-client {
  color: var(--text-secondary);
  font-size: 0.98rem;
  margin-bottom: 0.5em;
}
.view-details-btn {
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  color: #fff;
  border: none;
  border-radius: 32px;
  padding: 0.5em 1.5em;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(33,118,174,0.10);
  cursor: pointer;
  margin-top: 0.3em;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.view-details-btn:hover {
  background: linear-gradient(90deg, var(--accent2), var(--accent1));
  box-shadow: 0 4px 16px rgba(33,118,174,0.13);
  transform: translateY(-2px) scale(1.04);
}
.project-details-modal-content {
  padding: 0.5em 0.2em;
  color: var(--text-main);
}
@media (max-width: 700px) {
  .modal-content { padding: 1.2em 0.5em 1em 0.5em; }
  .project-card-modal { flex-direction: column; align-items: stretch; }
  .project-card-modal img { width: 100%; height: 120px; }
} 

/* --- FRESH PROJECTS GRID FOR projects.html --- */
.projects-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.2em;
  padding: 0 0.5em;
  justify-items: center;
  align-items: stretch;
}
@media (max-width: 1400px) {
  .projects-row { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .projects-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .projects-row { grid-template-columns: 1fr; }
}
.project-card {
  background: rgba(255,255,255,0.18);
  border-radius: 1.5em;
  box-shadow: 0 2px 16px rgba(33,118,174,0.07);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.18s, transform 0.18s;
  animation: fadeInUp 0.8s cubic-bezier(.4,0,.2,1) both;
  border: 2px solid rgba(33,118,174,0.13);
  backdrop-filter: blur(6px) saturate(1.1);
  -webkit-backdrop-filter: blur(6px) saturate(1.1);
  margin: 0 auto 2em auto;
  height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
body.light-theme .project-card {
  background: #fff;
  border: 2px solid #b8e6fa;
  color: #1a2233;
}
body.light-theme .project-caption {
  background: #e6f6ff;
  color: #1a2233;
}
.project-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 1.5em 1.5em 0 0;
  aspect-ratio: 16/9;
  display: block;
  transition: filter 0.3s;
}
.project-caption {
  background: #232a33;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  text-align: center;
  padding: 1.1em 0.7em 1.2em 0.7em;
  border-radius: 0 0 1.5em 1.5em;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg,rgba(33,118,174,0.92) 0%,rgba(79,209,255,0.92) 100%);
  color: #fff;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2em 1.2em;
  text-align: center;
  transition: opacity 0.32s cubic-bezier(.4,0,.2,1), backdrop-filter 0.32s;
  pointer-events: none;
  border-radius: 1.5em;
  z-index: 2;
}
.project-card:hover, .project-card:focus {
  box-shadow: 0 12px 40px 0 var(--accent2), 0 2px 12px 0 var(--accent1);
  transform: scale(1.04) translateY(-4px);
  z-index: 3;
}
.project-card:hover .project-overlay, .project-card:focus .project-overlay {
  opacity: 1;
  backdrop-filter: blur(2px) saturate(1.2);
}
.project-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.project-info {
  font-size: 0.95rem;
  color: #e6eaf0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.15);
} 

/* --- UrbanGrey Team Page Styles --- */
.team-hero-section {
  background: var(--section-bg);
  padding: 3em 0 2em 0;
}
.team-title {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text-main);
  margin-bottom: 0.5em;
}
.team-founders-row {
  display: flex;
  justify-content: center;
  gap: 3em;
  margin: 3em 0 2em 0;
  flex-wrap: wrap;
}
.team-founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.10);
  border-radius: 1.5em;
  box-shadow: 0 4px 24px rgba(33,118,174,0.10);
  padding: 1.5em 2em 1.2em 2em;
  min-width: 220px;
  max-width: 260px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.team-founder-card:hover {
  box-shadow: 0 12px 40px 0 var(--accent2), 0 2px 12px 0 var(--accent1);
  transform: scale(1.04) translateY(-4px);
}
.team-founder-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 1.2em;
  margin-bottom: 1.1em;
  box-shadow: 0 2px 12px rgba(33,118,174,0.10);
}
.team-founder-name {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--accent2);
  margin-bottom: 0.3em;
}
.team-founder-role {
  font-size: 1.02rem;
  color: var(--text-secondary);
  font-weight: 600;
}
.team-slider-section {
  padding: 2em 0 4em 0;
}
.team-slider-outer {
  overflow-x: auto;
  width: 100%;
  padding-bottom: 0.5em;
}
.team-slider {
  display: flex;
  gap: 2em;
  transition: all 0.3s;
  will-change: transform;
  scroll-behavior: smooth;
  padding: 0.5em 0;
}
.team-slide-card {
  background: rgba(255,255,255,0.13);
  border-radius: 1.2em;
  box-shadow: 0 2px 12px rgba(33,118,174,0.08);
  min-width: 200px;
  max-width: 220px;
  flex: 0 0 220px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.22s, transform 0.22s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.team-slide-card:hover {
  box-shadow: 0 8px 32px rgba(33,118,174,0.13);
  transform: scale(1.04) translateY(-4px);
  z-index: 2;
}
.team-slide-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 1.2em 1.2em 0 0;
  display: block;
}
.team-slide-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(33,118,174,0.82);
  color: #fff;
  width: 100%;
  padding: 1.1em 0.7em 1.2em 0.7em;
  border-radius: 0 0 1.2em 1.2em;
  opacity: 0;
  transition: opacity 0.22s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.team-slide-card:hover .team-slide-overlay {
  opacity: 1;
}
.team-slide-name {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.3em;
}
.team-slide-role {
  font-size: 0.98rem;
  color: #e6eaf0;
  font-weight: 500;
}
@media (max-width: 1200px) {
  .team-founders-row { gap: 1.5em; }
  .team-slider { gap: 1.2em; }
}
@media (max-width: 900px) {
  .team-founder-img { width: 100px; height: 100px; }
  .team-slide-card { min-width: 150px; max-width: 160px; flex: 0 0 160px; }
  .team-slide-img { height: 120px; }
}
@media (max-width: 600px) {
  .team-founders-row { flex-direction: column; align-items: center; }
  .team-slider { gap: 0.7em; }
} 

/* Enhanced Hero SVG/Video Overlay */
.enhanced-hero-svg-bg { position:absolute;top:0;left:0;width:100%;height:100%;z-index:0;pointer-events:none; }
.enhanced-hero-bg-video { position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;z-index:1;opacity:0.13;pointer-events:none; }

/* Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 160px;
  right: 32px;
  z-index: 1000;
  background: none;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  box-shadow: none;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 2rem;
  transition: background 0.2s, box-shadow 0.2s;
  opacity: 0.85;
  outline: none;
}
.back-to-top-btn svg { display: block; }
.back-to-top-btn:hover {
  background: rgba(33,118,174,0.08);
  opacity: 1;
}

/* SVG Section Divider */
.svg-section-divider { width:100%;overflow:hidden;line-height:0; }
.svg-section-divider svg { display:block;width:100%;height:80px; } 

.stylish-counters { background: var(--bg-main); padding: 4em 0 3em 0; }
.stylish-counters .counters-container { display: flex; justify-content: center; gap: 3em; flex-wrap: wrap; }
.stylish-counters .counter-block {
  background: #fff;
  border-radius: 1.5em;
  box-shadow: 0 4px 24px rgba(33,118,174,0.10);
  padding: 2.5em 2.5em 2em 2.5em;
  min-width: 200px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1.5px solid #b8e6fa;
  margin: 1em 0;
}
.stylish-counters .counter-block:hover {
  box-shadow: 0 8px 32px rgba(33,118,174,0.13);
  transform: translateY(-8px) scale(1.04);
}
.stylish-counters .counter-icon {
  background: linear-gradient(135deg, #e3f6fd 0%, #fafdff 100%);
  border-radius: 50%;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2em;
  box-shadow: 0 2px 8px rgba(33,118,174,0.10);
}
.stylish-counters .counter-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.stylish-counters .counter-value {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 3rem;
  font-weight: 900;
  color: #2176ae;
  margin-bottom: 0.2em;
  line-height: 1;
}
.stylish-counters .counter-plus {
  color: #2176ae;
  font-size: 2rem;
  font-weight: 900;
  margin-left: 2px;
  vertical-align: bottom;
}
.stylish-counters .counter-label {
  font-size: 1.18rem;
  color: #1a2233;
  font-weight: 700;
  text-align: center;
  margin-top: 0.5em;
}
@media (max-width: 900px) {
  .stylish-counters .counters-container { flex-direction: column; gap: 1.2em; }
  .stylish-counters .counter-block { min-width: 140px; min-height: 180px; padding: 1.2em 1em; }
  .stylish-counters .counter-icon { width: 48px; height: 48px; }
  .stylish-counters .counter-icon img { width: 32px; height: 32px; }
  .stylish-counters .counter-value { font-size: 2rem; }
}

.whatsapp-fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 1000;
  background: none !important;
  border: none;
  box-shadow: none;
  border-radius: 0 !important;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.whatsapp-fab img {
  width: 44px;
  height: 44px;
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block;
}
.whatsapp-fab:hover {
  box-shadow: 0 8px 32px rgba(33,118,174,0.22);
} 

.core-value-card {
  background: var(--card-bg);
  border-radius: 1.6em;
  box-shadow: 0 4px 24px rgba(33,118,174,0.10);
  padding: 2.2em 1.5em 1.5em 1.5em;
  min-width: 150px;
  max-width: 180px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1.5px solid var(--card-border);
  backdrop-filter: blur(8px) saturate(1.1);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
}
.core-value-card img {
  width: 64px;
  height: 64px;
  margin-bottom: 1.2em;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.core-value-card .tooltip {
  font-size: 1rem;
}
.core-value-card .core-value-title {
  margin-top: 1em;
  font-size: 1.13rem;
  font-weight: 700;
  color: #2176ae;
  text-align: center;
  letter-spacing: 0.01em;
}
@media (max-width: 900px) {
  .core-value-card {
    min-width: 110px;
    max-width: 130px;
    min-height: 130px;
    padding: 1.2em 0.7em 1em 0.7em;
  }
  .core-value-card img {
    width: 48px;
    height: 48px;
  }
  
  .project-card img {
    height: 160px;
  }
}

@media (max-width: 768px) {
  .hero-slideshow img {
    height: 80vh;
  }
  
  .project-card img {
    height: 140px;
  }
  
  .core-value-card img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .hero-slideshow img {
    height: 70vh;
  }
  
  .project-card img {
    height: 120px;
  }
  
  .core-value-card img {
    width: 36px;
    height: 36px;
  }
} 

.core-values-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  gap: 2.2em;
  flex-wrap: wrap !important;
  width: 100%;
  margin: 0 auto;
  padding: 0 1em;
  position: relative;
  z-index: 2;
  overflow-x: hidden !important;
  max-width: none !important;
} 

/* Enhanced Mobile Optimization & Theme Consistency */

/* Mobile-First Responsive Design */
@media (max-width: 768px) {
  /* Header Mobile Optimization */
  .header-flex {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: auto;
    padding: 1rem;
    gap: 1rem;
    position: relative;
    flex-wrap: wrap;
  }
  
  .logo {
    order: 1;
  }
  
  .nav-toggle {
    order: 2;
    display: flex;
  }
  
  .theme-toggle {
    order: 3;
    position: static;
    margin-left: auto;
  }
  
  .main-nav {
    order: 4;
    width: 100%;
    margin-top: 1rem;
    position: relative;
  }
  
  .main-nav ul {
    flex-direction: column;
    width: 100%;
    background: var(--header-bg);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
    border-radius: 0 0 12px 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
  }
  
  .main-nav ul li {
    margin: 0.5rem 0;
  }
  
  .main-nav ul li a {
    display: block;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .main-nav ul li a:hover {
    background: rgba(79, 209, 255, 0.1);
    transform: translateX(5px);
  }
  
  .main-nav.open ul {
    display: flex;
  }
  
  /* Ensure content doesn't overlap with mobile nav */
  main {
    margin-top: 0;
    position: relative;
    z-index: 1;
  }
  
  /* Add proper spacing for mobile navigation */
  .about-hero,
  .hero-section,
  .team-hero,
  .services-hero,
  .projects-hero,
  .contact-hero {
    margin-top: 0;
    padding-top: 2rem;
  }
  
  /* Hero Section Mobile */
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .cta-hero {
    font-size: 1rem;
    padding: 0.8em 1.5em;
  }
  
  /* Service Tiles Mobile */
  .service-tiles {
    flex-direction: column;
    gap: 1rem;
  }
  
  .service-tile {
    min-width: 100%;
    max-width: 100%;
  }
  
  /* About Section Mobile */
  .classy-about {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
  }
  
  .about-right img {
    max-width: 100%;
  }
  
  /* Projects Grid Mobile */
  .projects-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .project-card {
    width: 100%;
    max-width: none;
  }
  
  /* Team Section Mobile */
  .team-founders-row {
    flex-direction: column;
    gap: 2rem;
  }
  
  .team-founder-card {
    min-width: 100%;
    max-width: 100%;
  }
  
  /* Contact Form Mobile */
  .contact-form {
    padding: 1rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  /* Footer Mobile */
  .footer-flex {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .footer-social-icons {
    position: static;
    justify-content: center;
    margin-top: 1rem;
  }
  
  /* Floating Buttons Mobile */
  .whatsapp-fab,
  .faq-button,
  .back-to-top-btn {
    bottom: 1rem;
    right: 1rem;
  }
  
  .faq-button {
    bottom: 5rem;
  }
  
  .back-to-top-btn {
    bottom: 9rem;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .container {
    width: 95%;
    padding: 0 0.5rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .cta-hero {
    font-size: 0.9rem;
    padding: 0.7em 1.2em;
  }
  
  /* Service Cards Mobile */
  .service-card {
    padding: 1.5rem 1rem;
  }
  
  .service-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .service-title {
    font-size: 1.1rem;
  }
  
  /* Contact Info Mobile */
  .contact-info {
    padding: 1rem;
  }
  
  .contact-details {
    font-size: 1rem;
  }
}

/* Tablet Optimization */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    width: 95%;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .service-tiles {
    gap: 1.5rem;
  }
  
  .service-tile {
    min-width: 200px;
    max-width: 250px;
  }
  
  .projects-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Enhanced Theme Functionality */
body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Theme Toggle Improvements */
.theme-toggle {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(79, 209, 255, 0.3);
}

.theme-toggle:active {
  transform: scale(0.95);
}

/* Theme Transition Smoothness */
* {
  transition: background-color 0.3s ease, 
              color 0.3s ease, 
              border-color 0.3s ease, 
              box-shadow 0.3s ease;
}

/* Dark Theme Enhancements */
body:not(.light-theme) {
  color-scheme: dark;
}

body.light-theme {
  color-scheme: light;
}

/* Improved Card Contrast */
body:not(.light-theme) .service-card,
body:not(.light-theme) .project-card,
body:not(.light-theme) .team-founder-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

body.light-theme .service-card,
body.light-theme .project-card,
body.light-theme .team-founder-card {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Mobile Navigation Improvements */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background 0.3s ease;
  position: absolute;
  top: 1rem;
  right: 4rem;
  z-index: 1001;
}

/* Ensure proper z-index layering for mobile */
@media (max-width: 768px) {
  .glassy-header {
    z-index: 1000;
  }
  
  .main-nav {
    z-index: 999;
  }
  
  main {
    z-index: 1;
    position: relative;
  }
  
  /* Prevent content from showing through mobile nav */
  .main-nav ul {
    background: var(--header-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--card-border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  }
}

.nav-toggle:hover {
  background: rgba(79, 209, 255, 0.1);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--accent1);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Touch-Friendly Buttons */
button, 
.btn, 
.cta-button,
.login-btn {
  min-height: 44px;
  min-width: 44px;
  touch-action: manipulation;
}

/* Improved Form Elements */
input, 
textarea, 
select {
  font-size: 16px; /* Prevents zoom on iOS */
  touch-action: manipulation;
}

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

/* Focus States for Accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--accent1);
  outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --accent1: #00ffff;
    --accent2: #0080ff;
    --text-main: #ffffff;
    --text-secondary: #cccccc;
  }
  
  body.light-theme {
    --accent1: #0000ff;
    --accent2: #0080ff;
    --text-main: #000000;
    --text-secondary: #333333;
  }
}

/* Print Styles */
@media print {
  .theme-toggle,
  .whatsapp-fab,
  .faq-button,
  .back-to-top-btn,
  .nav-toggle {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  * {
    box-shadow: none !important;
  }
}

/* FAQ Button Styles */
.faq-button {
  position: fixed;
  bottom: 100px;
  right: 32px;
  z-index: 1000;
  background: linear-gradient(135deg, #2176ae, #4fd1ff);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(33,118,174,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.faq-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33,118,174,0.3);
}

/* Empanelment Slider Styles */
.empanelment-slider {
  background: linear-gradient(135deg, #2176ae 0%, #4fd1ff 100%);
  color: #fff;
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(33, 118, 174, 0.2);
  margin-bottom: 0;
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.slider-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: slideLeft 45s linear infinite;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  width: max-content;
  min-width: 100%;
  position: relative;
  z-index: 1;
  line-height: 1.2;
}

.slider-content span {
  margin-right: 40px;
  padding: 0 10px;
  flex-shrink: 0;
  display: inline-block;
  color: #fff;
}

.separator {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  margin: 0 20px;
  flex-shrink: 0;
  display: inline-block;
}

@keyframes slideLeft {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Pause animation on hover */
.empanelment-slider:hover .slider-content {
  animation-play-state: paused;
}

/* Mobile responsive for empanelment slider */
@media (max-width: 768px) {
  .empanelment-slider {
    min-height: 44px;
    padding: 10px 0;
  }
  .slider-content {
    font-size: 0.9rem;
    animation-duration: 35s;
  }
  .slider-content span {
    margin-right: 30px;
  }
  .separator {
    margin: 0 15px;
  }
}

@media (max-width: 480px) {
  .empanelment-slider {
    min-height: 40px;
    padding: 8px 0;
  }
  .slider-content {
    font-size: 0.85rem;
    animation-duration: 30s;
  }
  .slider-content span {
    margin-right: 25px;
  }
  .separator {
    margin: 0 12px;
  }
}

/* Ensure proper layering */
.sticky-header {
  z-index: 10000;
  position: relative;
}

.hero-section {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-gradient);
}

.hero-slideshow {
  position: relative;
  z-index: 1;
}

.hero-slideshow img {
  z-index: 1 !important;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  max-width: 100%;
  max-height: 100vh;
}

.hero-slideshow img.active {
  z-index: 2 !important;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.enhanced-hero-svg-bg {
  z-index: 0 !important;
}

.hero-svg-particles {
  z-index: 1 !important;
}

/* Empanelment slider visibility */
.empanelment-slider {
  display: block;
}

/* Mobile responsive for empanelment slider */
@media (max-width: 768px) {
  .empanelment-slider {
    padding: 10px 0;
  }
  
  .slider-content {
    font-size: 0.85rem;
    animation-duration: 50s;
  }
  
  .slider-content span {
    margin-right: 30px;
  }
  
  .separator {
    margin: 0 15px;
  }
  
  .faq-button {
    bottom: 80px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .slider-content {
    font-size: 0.8rem;
    animation-duration: 40s;
  }
  
  .slider-content span {
    margin-right: 25px;
  }
  
  .faq-button {
    bottom: 70px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 0.75rem;
  }
}

/* Light theme adjustments */
body.light-theme .empanelment-slider {
  background: linear-gradient(135deg, #2176ae 0%, #4fd1ff 100%);
  box-shadow: 0 2px 8px rgba(33, 118, 174, 0.15);
} 

/* Image Optimization Styles */
img {
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Client Slider Styles */
.client-slider-section {
  padding: 2em 0 4em 0;
  background: var(--section-bg);
}

.client-slider-outer {
  overflow-x: auto;
  width: 100%;
  padding-bottom: 0.5em;
  /* Hide scrollbar for Chrome, Safari and Opera */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.client-slider-outer::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.client-slider {
  display: flex;
  gap: 2em;
  transition: all 0.3s;
  will-change: transform;
  scroll-behavior: smooth;
  padding: 0.5em 0;
}

.client-slide-card {
  background: rgba(255,255,255,0.13);
  border-radius: 1.2em;
  box-shadow: 0 2px 12px rgba(33,118,174,0.08);
  min-width: 160px;
  max-width: 180px;
  flex: 0 0 180px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.22s, transform 0.22s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.2em 0.8em;
  text-align: center;
}

.client-slide-card:hover {
  box-shadow: 0 8px 32px rgba(33,118,174,0.13);
  transform: scale(1.04) translateY(-4px);
  z-index: 2;
}

.client-logo-container {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8em;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.6em;
  padding: 8px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.client-slide-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 0.4em;
  display: block;
  transition: transform 0.3s ease;
  max-width: 100%;
  max-height: 100%;
}

.client-slide-card:hover .client-logo-container {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.15);
}

.client-slide-card:hover .client-slide-img {
  transform: scale(1.05);
}

.client-slide-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(33,118,174,0.82);
  color: #fff;
  width: 100%;
  padding: 1.1em 0.7em 1.2em 0.7em;
  border-radius: 0 0 1.2em 1.2em;
  opacity: 0;
  transition: opacity 0.22s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.client-slide-card:hover .client-slide-overlay {
  opacity: 1;
}

.client-slide-name {
  font-size: 1.08rem;
  font-weight: 700;
  margin-top: 0.5em;
  text-align: center;
  color: var(--text-main);
  line-height: 1.3;
  word-wrap: break-word;
  hyphens: auto;
}

.client-slide-role {
  font-size: 0.98rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-align: center;
}

/* Mobile responsive for client slider */
@media (max-width: 1200px) {
  .client-slider { gap: 1.2em; }
}

@media (max-width: 900px) {
  .client-slide-card { 
    min-width: 120px; 
    max-width: 140px; 
    flex: 0 0 140px; 
    padding: 0.8em 0.6em;
  }
  .client-logo-container { 
    width: 60px; 
    height: 60px; 
    padding: 6px;
  }
  .client-slide-img {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 600px) {
  .client-slider { gap: 0.7em; }
  .client-slide-card { 
    min-width: 100px; 
    max-width: 120px; 
    flex: 0 0 120px; 
    padding: 0.6em 0.4em;
  }
  .client-logo-container { 
    width: 50px; 
    height: 50px; 
    padding: 5px;
  }
  .client-slide-img {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .client-slide-card { 
    min-width: 90px; 
    max-width: 110px; 
    flex: 0 0 110px; 
    padding: 0.5em 0.3em;
  }
  .client-logo-container { 
    width: 45px; 
    height: 45px; 
    padding: 4px;
  }
  .client-slide-img {
    width: 37px;
    height: 37px;
  }
}