/* ===== BALANCEBIT SOLUTIONS - MAIN STYLESHEET ===== */
/* Theme: Purple (#5B3CC4) | Blue (#2D8CFF) | Cyan (#18D4FF) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #5B3CC4;
  --primary-dark: #4A2EA3;
  --primary-light: #7B5ED4;
  --blue: #2D8CFF;
  --cyan: #18D4FF;
  --gradient-main: linear-gradient(135deg, #5B3CC4, #2D8CFF);
  --gradient-hover: linear-gradient(135deg, #2D8CFF, #18D4FF);
  --gradient-hero: linear-gradient(135deg, #1a0a3e, #0d1b3e);
  --dark: #222;
  --darker: #111;
  --light: #F7F7F7;
  --white: #FFFFFF;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --gray-dark: #343a40;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
  --shadow-md: 0 5px 30px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 50px rgba(0,0,0,0.15);
  --shadow-purple: 0 5px 30px rgba(91,60,196,0.3);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}

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

ul { list-style: none; }

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

/* ===== UTILITY CLASSES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.section-padding { padding: 100px 0; }

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

.section-title .subtitle {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
  position: relative;
}

.section-title .subtitle::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--gradient-main);
  margin-left: 10px;
  vertical-align: middle;
}

.section-title h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--dark);
}

.section-title h2 span {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  font-size: 17px;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-bg {
  background: var(--gradient-main);
}

.gradient-bg-hover:hover {
  background: var(--gradient-hover);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-main);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(91,60,196,0.35);
}

.btn-primary:hover {
  background: var(--gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(45,140,255,0.4);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

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

.btn-outline-primary:hover {
  background: var(--gradient-main);
  color: var(--white);
  border-color: transparent;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 13px;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: all 0.4s ease;
  padding: 18px 0;
}

.header.scrolled {
  background: rgba(12,5,32,0.95);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(91,60,196,0.1);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 45px;
  width: auto;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
}

.logo-text span {
  color: var(--cyan);
}

/* Navigation */
.nav-menu { display: flex; align-items: center; gap: 5px; }

.nav-menu > li { position: relative; }

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 14px;
  transition: var(--transition);
  border-radius: var(--radius-sm);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-menu > li > a i {
  font-size: 10px;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 260px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-menu li a i {
  width: 18px;
  color: var(--primary);
  font-size: 14px;
}

.dropdown-menu li a:hover {
  background: var(--light);
  color: var(--primary);
  padding-left: 28px;
}

.nav-menu li:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
  z-index: 1001;
  position: relative;
}

/* no-scroll for mobile menu open */
.no-scroll { overflow: hidden !important; height: 100% !important; position: relative !important; }

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #0c0520 0%, #150a35 35%, #0a1628 70%, #0d0d2b 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(91,60,196,0.1), transparent 65%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45,140,255,0.06), transparent 65%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: -1px;
}

.hero-content h1 span {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 35px;
  max-width: 520px;
  line-height: 1.8;
}

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

.hero-stats {
  display: flex;
  gap: 35px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat h3 {
  font-size: 34px;
  font-weight: 800;
  color: var(--white);
}

.hero-stat h3 span { color: var(--cyan); }

.hero-stat p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}

.hero-circle {
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(91,60,196,0.15), rgba(45,140,255,0.04));
  border: 2px solid rgba(91,60,196,0.12);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 5s ease-in-out infinite;
  box-shadow: 0 0 80px rgba(91,60,196,0.1), 0 0 160px rgba(45,140,255,0.05), inset 0 0 60px rgba(91,60,196,0.04);
}

.hero-circle::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(91,60,196,0.1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-circle::after {
  content: '';
  position: absolute;
  inset: -45px;
  border-radius: 50%;
  border: 1px dashed rgba(45,140,255,0.06);
  animation: spin 60s linear infinite reverse;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* Circular Text around the circle — FIXED (not spinning) */
.hero-circle-text {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 3;
}

.hero-circle-text-path {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  fill: rgba(255,255,255,0.3);
  letter-spacing: 3.5px;
  text-transform: uppercase;
}

/* Center Brand */
.hero-brand-center {
  text-align: center;
  z-index: 5;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-brand-dot-top,
.hero-brand-dot-bottom {
  font-size: 12px;
  color: var(--cyan);
  opacity: 0.6;
  line-height: 1;
  margin: 4px 0;
}

.hero-brand-tagline {
  display: block;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.hero-brand-dot {
  display: block;
  font-size: 18px;
  color: var(--cyan);
  line-height: 1;
  margin: 4px 0;
  text-shadow: 0 0 20px rgba(24,212,255,0.6);
}

.hero-brand-tagline2 {
  display: block;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 900;
  background: var(--gradient-hover);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

/* Icon Ring */
.hero-icon-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.hero-icon-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  background: linear-gradient(135deg, rgba(91,60,196,0.4), rgba(45,140,255,0.3));
  backdrop-filter: blur(12px);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--cyan);
  border: 1px solid rgba(91,60,196,0.35);
  box-shadow: 0 8px 32px rgba(91,60,196,0.3), 0 0 20px rgba(45,140,255,0.1);
  transition: all 0.3s ease;
  animation: iconOrbit 40s linear infinite;
}

.hero-icon-item:hover {
  animation-play-state: paused;
  box-shadow: 0 8px 40px rgba(91,60,196,0.5), 0 0 30px rgba(24,212,255,0.2);
  border-color: rgba(24,212,255,0.4);
  color: var(--white);
  background: linear-gradient(135deg, rgba(91,60,196,0.6), rgba(45,140,255,0.5));
  transform: rotate(0deg) translateY(-165px) rotate(0deg) scale(1.15);
}

/* Orbit animation — rotates from center, stays upright */
@keyframes iconOrbit {
  0%   { transform: rotate(0deg)   translateY(-165px) rotate(0deg); }
  12.5% { transform: rotate(45deg)  translateY(-165px) rotate(-45deg); }
  25%  { transform: rotate(90deg)  translateY(-165px) rotate(-90deg); }
  37.5% { transform: rotate(135deg) translateY(-165px) rotate(-135deg); }
  50%  { transform: rotate(180deg) translateY(-165px) rotate(-180deg); }
  62.5% { transform: rotate(225deg) translateY(-165px) rotate(-225deg); }
  75%  { transform: rotate(270deg) translateY(-165px) rotate(-270deg); }
  87.5% { transform: rotate(315deg) translateY(-165px) rotate(-315deg); }
  100% { transform: rotate(360deg) translateY(-165px) rotate(-360deg); }
}

/* Each icon starts at a different position */
.hero-icon-item:nth-child(1) { animation-delay: -0s; }
.hero-icon-item:nth-child(2) { animation-delay: -5s; }
.hero-icon-item:nth-child(3) { animation-delay: -10s; }
.hero-icon-item:nth-child(4) { animation-delay: -15s; }
.hero-icon-item:nth-child(5) { animation-delay: -20s; }
.hero-icon-item:nth-child(6) { animation-delay: -25s; }
.hero-icon-item:nth-child(7) { animation-delay: -30s; }
.hero-icon-item:nth-child(8) { animation-delay: -35s; }

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(91,60,196,0.1);
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--light);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gradient-main);
  color: var(--white);
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-main {
  width: 100%;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.about-image-main img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
}

.about-image-main i {
  font-size: 120px;
  color: rgba(255,255,255,0.2);
}

.about-experience {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  padding: 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-experience h3 {
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-experience p {
  color: var(--gray);
  font-size: 13px;
  margin: 0;
}

.about-content h2 {
  font-size: 38px;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--gray);
  margin-bottom: 20px;
}

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

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-feature i {
  color: var(--primary);
  font-size: 16px;
}

.about-feature span {
  font-size: 15px;
  font-weight: 500;
}

/* ===== WHY CHOOSE US ===== */
.why-choose {
  background: var(--light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

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

.why-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.why-card p {
  color: var(--gray);
  font-size: 14px;
}

/* ===== INDUSTRIES ===== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.industry-card {
  background: var(--light);
  padding: 30px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.industry-card:hover {
  background: var(--gradient-main);
  transform: translateY(-5px);
  box-shadow: var(--shadow-purple);
}

.industry-card i {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 15px;
  transition: var(--transition);
}

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

.industry-card h4 {
  font-size: 15px;
  color: var(--dark);
  transition: var(--transition);
}

.industry-card:hover h4 {
  color: var(--white);
}

.industry-card p {
  transition: var(--transition);
}

.industry-card:hover p {
  color: rgba(255,255,255,0.85) !important;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--gradient-hero);
}

.testimonials .section-title h2,
.testimonials .section-title p {
  color: var(--white);
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: center;
  display: none;
}

.testimonial-card.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-stars {
  color: #ffc107;
  margin-bottom: 20px;
  font-size: 18px;
}

.testimonial-card p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 25px;
}

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

.testimonial-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--white);
  font-weight: 700;
}

.testimonial-info h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 2px;
}

.testimonial-info span {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

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

.testimonial-dot.active,
.testimonial-dot:hover {
  background: var(--cyan);
}

/* ===== PORTFOLIO ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 300px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.portfolio-item-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: var(--gradient-main);
  opacity: 0.1;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17,17,17,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  transition: var(--transition);
}

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

.portfolio-overlay h4 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 8px;
  text-align: center;
}

.portfolio-overlay p {
  color: var(--cyan);
  font-size: 13px;
  margin-bottom: 15px;
}

.portfolio-overlay span {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  text-align: center;
}

.portfolio-icon {
  font-size: 48px;
  color: var(--primary);
  opacity: 0.3;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--gradient-main);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 36px;
  color: var(--white);
  margin-bottom: 15px;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-outline {
  border-color: rgba(255,255,255,0.5);
}

.cta-section .btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.blog-card-image {
  height: 220px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.blog-card-image i {
  font-size: 48px;
  color: var(--primary);
  opacity: 0.3;
}

.blog-card-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.blog-card-body {
  padding: 25px;
}

.blog-card-meta {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 10px;
}

.blog-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.blog-card h3 a {
  color: var(--dark);
}

.blog-card h3 a:hover {
  color: var(--primary);
}

.blog-card-body p {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 15px;
}

.blog-card-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card-link:hover {
  color: var(--primary-dark);
  gap: 10px;
}

/* ===== PROCESS SECTION ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  position: relative;
  z-index: 2;
}

.process-step h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.process-step p {
  color: var(--gray);
  font-size: 14px;
}

/* ===== CLIENT LOGOS / TECH STACK ===== */
.client-logos {
  background: var(--light);
  padding: 50px 0;
}

.client-logos-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.client-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 13px;
  font-weight: 500;
}

.client-logo-item i {
  font-size: 36px;
  color: var(--gray-dark);
  transition: var(--transition);
}

.client-logo-item:hover i {
  color: var(--primary);
  transform: scale(1.1);
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.contact-info > p {
  color: var(--gray);
  margin-bottom: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  background: var(--light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-detail p {
  color: var(--gray);
  font-size: 14px;
}

.contact-form {
  background: var(--light);
  padding: 40px;
  border-radius: var(--radius-md);
}

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

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

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  transition: var(--transition);
  background: var(--white);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91,60,196,0.1);
}

.form-control.error {
  border-color: var(--danger);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ===== BROWSER / PAGE HEADER ===== */
.page-header {
  background: var(--gradient-hero);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
}

.page-header h1 {
  font-size: 44px;
  color: var(--white);
  margin-bottom: 10px;
}

.page-header p {
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  max-width: 550px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  font-size: 14px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
}

.breadcrumb a:hover {
  color: var(--cyan);
}

.breadcrumb span {
  color: var(--cyan);
}

.breadcrumb .sep {
  color: rgba(255,255,255,0.3);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--darker);
  padding: 80px 0 0;
  color: rgba(255,255,255,0.7);
}

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

.footer-about .logo {
  margin-bottom: 20px;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gradient-main);
  color: var(--white);
  transform: translateY(-3px);
}

.footer h4 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

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

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

.footer-links li a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

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

.footer-links li a i {
  font-size: 10px;
  color: var(--primary-light);
}

.footer-newsletter p {
  font-size: 14px;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  gap: 0;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.4);
}

.newsletter-form button {
  padding: 12px 20px;
  background: var(--gradient-main);
  border: none;
  color: var(--white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--gradient-hover);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 14px;
}

.footer-contact-item i {
  color: var(--cyan);
  margin-top: 4px;
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

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

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

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 400px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 25px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: none;
}

.cookie-consent p {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 15px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-buttons .btn {
  padding: 8px 20px;
  font-size: 13px;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  right: auto;
  width: 48px;
  height: 48px;
  background: var(--gradient-main);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: grab;
  box-shadow: 0 4px 15px rgba(91,60,196,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
  z-index: 998;
  touch-action: none;
}

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

.back-to-top:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(91,60,196,0.5);
}

.back-to-top:active { cursor: grabbing; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  text-decoration: none;
  cursor: grab;
  touch-action: none;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--white);
  box-shadow: 0 6px 30px rgba(37,211,102,0.6);
}

.whatsapp-float:active { cursor: grabbing; }

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 40px rgba(37,211,102,0.7); }
}

/* Floating button tooltips */
.whatsapp-float .tooltip,
.back-to-top .tooltip {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  pointer-events: none;
  font-family: 'Segoe UI',Arial,sans-serif;
}

.whatsapp-float .tooltip {
  right: calc(100% + 12px);
}

.back-to-top .tooltip {
  left: calc(100% + 12px);
}

.whatsapp-float:hover .tooltip,
.back-to-top:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

.whatsapp-float .tooltip::after,
.back-to-top .tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.whatsapp-float .tooltip::after {
  right: -5px;
  border-left: 5px solid rgba(0,0,0,0.85);
}

.back-to-top .tooltip::after {
  left: -5px;
  border-right: 5px solid rgba(0,0,0,0.85);
}

/* Drag handle indicator */
.back-to-top::before,
.whatsapp-float::before {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  opacity: 0;
  transition: opacity 0.2s;
}

.back-to-top::before { border-color: rgba(255,255,255,0.4); }
.whatsapp-float::before { border-color: rgba(255,255,255,0.3); }
.back-to-top:hover::before,
.whatsapp-float:hover::before { opacity: 1; }

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  background: var(--white);
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

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

.faq-question i {
  transition: var(--transition);
  color: var(--primary);
}

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

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

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

.faq-answer p {
  color: var(--gray);
  font-size: 15px;
}

/* ===== PRICING SECTION (if needed) ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: 45px 30px;
  text-align: center;
  transition: var(--transition);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-purple);
  position: relative;
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-main);
  color: var(--white);
  padding: 6px 20px;
  border-radius: 0 0 8px 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.pricing-card h3 {
  font-size: 22px;
  margin-bottom: 5px;
}

.pricing-card .price {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  margin: 15px 0;
}

.pricing-card .price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--gray);
}

.pricing-card p {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 25px;
}

.pricing-features {
  text-align: left;
  margin-bottom: 30px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li i {
  color: var(--success);
  font-size: 14px;
}

/* ===== VALUES / COUNTERS ===== */
.counters-section {
  background: var(--gradient-hero);
  padding: 60px 0;
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.counter-item h3 {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
}

.counter-item h3 span { color: var(--cyan); }

.counter-item p {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  margin: 0;
}

/* ===== TEAM SECTION ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

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

.team-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 44px;
  color: var(--white);
}

.team-card h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.team-card span {
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
}

.team-card p {
  color: var(--gray);
  font-size: 13px;
  margin-top: 8px;
}

/* ===== CAREERS ===== */
.job-list {
  max-width: 800px;
  margin: 0 auto;
}

.job-item {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: 25px 30px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.job-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.job-info h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.job-info p {
  color: var(--gray);
  font-size: 14px;
}

.job-type {
  display: inline-block;
  padding: 4px 12px;
  background: var(--light);
  border-radius: 20px;
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-top: 8px;
}

/* ===== SITEMAP ===== */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.sitemap-group h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--dark);
}

.sitemap-group ul li {
  margin-bottom: 10px;
}

.sitemap-group ul li a {
  color: var(--gray);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sitemap-group ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.sitemap-group ul li a i {
  font-size: 10px;
  color: var(--primary);
}

/* ===== SPACING HELPERS ===== */
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.text-center { text-align: center; }
.text-center.mt-30 { text-align: center !important; }
.text-center.mt-30 .btn { margin-left: auto; margin-right: auto; }
.text-gradient { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ===== SERVICE DETAIL PAGE EXTRA ===== */
.service-hero {
  background: var(--gradient-hero);
  padding: 150px 0 80px;
}

.service-hero h1 { color: var(--white); font-size: 42px; }
.service-hero p { color: rgba(255,255,255,0.7); font-size: 17px; max-width: 600px; margin-top: 15px; }

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.service-detail-icon {
  width: 80px;
  height: 80px;
  background: var(--light);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 20px;
}

.service-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.service-features-list li i {
  color: var(--primary);
  font-size: 14px;
}

/* ===== PAGE NOT FOUND (404) ===== */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-hero);
}

.error-page h1 {
  font-size: 140px;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.error-page h2 {
  color: var(--white);
  font-size: 28px;
  margin-bottom: 15px;
}

.error-page p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 30px;
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* ===== STICKY HEADER FIX ===== */
body { padding-top: 0; }
.page-wrapper { padding-top: 70px; }

/* ===== 404 PAGE PREVENTION ===== */
.error-page .logo { justify-content: center; margin-bottom: 30px; }

/* ===== SELECT2 STYLING FOR FORM ===== */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ===== ALERTS ===== */
.alert {
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ===== PORTFOLIO CARD WRAPPER ===== */
.portfolio-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.portfolio-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.portfolio-card .portfolio-item {
  border-radius: 0;
  min-height: 260px;
}

.portfolio-extras {
  padding: 10px 15px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.portfolio-gallery {
  padding: 0 15px 15px;
}

.portfolio-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.portfolio-gallery-item {
  border-radius: 6px;
  overflow: hidden;
  display: block;
  height: 80px;
  position: relative;
}

.portfolio-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-cta {
  padding: 0 15px 15px;
}

/* Image sizing — auto-fit inside cards */
.blog-card-image img,
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
.blog-card-image,
.portfolio-item,
.team-card-photo {
  position: relative;
  overflow: hidden;
}
.team-card-photo {
  width: 100%;
  height: 280px;
  border-radius: 12px 12px 0 0;
}
.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

