/* ========================
   THEME VARIABLES
======================== */
:root{
  --bg:#f6f9ff;
  --text:#0b1220;
  --primary:#1e6fff;
  --accent:#3ba3ff;
  --card:rgba(11,18,32,0.04);
  --transition:300ms ease;
  /* CTA Colors for Light mode */
  --cta-bg: linear-gradient(135deg, #b6cffc, #3ba3ff);
  --cta-text: #ffffff;
  --cta-subtext: #e8f1ff;
  --cta-btn-bg: #ffffff;
  --cta-btn-text: #1e6fff;
  --cta-btn-hover-bg: #eef2ff;
  --cta-btn-hover-text: #1d3ed8;
  
}

/* DARK MODE */
body.dark {
  --bg:#071126;
  --text:#eaf6ff;
  --primary:#3ba3ff;
  --card:rgba(255,255,255,0.04);
  --cta-bg: linear-gradient(135deg, #111827, #1f2937);
  --cta-text: #eaf6ff;
  --cta-subtext: #cbd5f5;
  --cta-btn-bg: #3ba3ff;
  --cta-btn-text: #071126;
  --cta-btn-hover-bg: #60a5ff;
  --cta-btn-hover-text: #020617;

  /* NEW: Header background for dark mode */
  /* --header-bg:rgba(255,255,255,0.06); */
  /* --header-bg: linear-gradient(135deg, #001933, #003366); */
/* --header-bg: #0b1a3a; */
/* --header-bg: #111920; */
--header-bg: rgba(0,0,0,0.45);


}


/* ========================
   GLOBAL
======================== */
*{box-sizing:border-box;}

body{
  margin:0;
  font-family:Inter,Segoe UI,system-ui,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  transition:background var(--transition), color var(--transition);
}
.navbar {
  display: flex;
  justify-content: space-between;  /* forces left + right layout */
  align-items: center;
  padding: 10px 20px;
}

/* Right side controls */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Hamburger Styling */
.menu-btn {
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

/* Desktop navbar disappears on mobile */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
}

/* ========================
   NAVBAR
======================== */
.navbar{
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:space-between;
  padding:14px 28px;
  position:sticky;
  top:0;
  background:var(--header-bg, 
    linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.2))
  );
  backdrop-filter: blur(6px);
  z-index:50;
}

.logo{display:flex;align-items:center;gap:10px;}
.logo img{height:40px;width:auto;}
.brand-text{font-weight:700;font-size:1.05rem;color:var(--primary);}

.nav-links{
  list-style:none;
  display:flex;
  gap:22px;
  padding:0;
  margin:0;
}

.nav-links a{
  text-decoration:none;
  color:inherit;
  font-weight:600;
  padding:8px;
  border-radius:6px;
}

.nav-links a:hover{
  color:var(--primary);
}

.nav-links a.active{
  color: purple;
}

.menu-btn{
  display:none;
  background:none;
  border:1px solid rgba(0,0,0,0.06);
  padding:6px 10px;
  border-radius:6px;
}

/* .theme-toggle{
  background:var(--primary);
  color:white;
  border:none;
  padding:8px;
  border-radius:8px;
  cursor:pointer;
} */


/* ========================
   HOME HERO SLIDER
======================== */
.hero{
  height:64vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px;
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg, rgba(30,111,255,0.12), rgba(58,163,255,0.06));
  border-bottom:1px solid rgba(11,18,32,0.03);
}

.slide{
  position:absolute;
  opacity:0;
  width:100%;
  transition:opacity 500ms ease, transform 500ms ease;
  transform:translateY(8px);
  text-align:center;
}

.slide.active{
  opacity:1;
  transform:translateY(0);
}

.slide h1{
  font-size:2.8rem;
  margin-bottom:8px;
}

.slide p{
  font-size:1.1rem;
  opacity:0.9;
}

.slider-controls{
  position:absolute;
  right:20px;
  bottom:20px;
  display:flex;
  gap:8px;
}

.slider-controls button{
  border:none;
  background:white;
  padding:8px 12px;
  border-radius:6px;
  cursor:pointer;
}

/* ========================
   INNER PAGE HERO
======================== */
.page-hero{
  padding:60px 28px;
  background:linear-gradient(135deg, rgba(30,111,255,0.09), rgba(58,163,255,0.04));
  border-bottom:1px solid rgba(0,0,0,0.05);
}

.page-hero .hero-inner{
  max-width:1100px;
  margin:auto;
}

.page-hero h1{
  font-size:2.4rem;
  margin:0 0 6px;
}

.page-hero p{
  opacity:0.9;
  margin:0;
}

/* ========================
   CONTENT SECTIONS
======================== */
.section{
  padding:48px 28px;
  max-width:1100px;
  margin:auto;
}

.content p{
  font-size:1.05rem;
  line-height:1.7;
}

.cards,
.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px,1fr));
  gap:20px;
}

.card{
  background:var(--card);
  padding:20px;
  border-radius:12px;
  box-shadow:0 6px 18px rgba(0,0,0,0.03);
}

/* ========================
   STATS
======================== */
.stats{
  display:flex;
  justify-content:center;
  gap:18px;
  padding:36px 18px;
}

.stat{
  background:var(--card);
  padding:20px;
  border-radius:10px;
  min-width:130px;
  text-align:center;
}

.counter{
  font-size:1.6rem;
  font-weight:700;
}

.stat-label{
  font-size:0.85rem;
  opacity:0.8;
}

/* ========================
   CONTACT FORM
======================== */
.contact-form{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.contact-form input,
.contact-form textarea{
  padding:12px;
  border-radius:8px;
  border:1px solid rgba(0,0,0,0.08);
}

.cta-btn{
  padding:10px 16px;
  background:var(--primary);
  border:none;
  color:white;
  border-radius:8px;
}

/* ========================
   FOOTER
======================== */
footer{
  padding:30px;
  border-top:1px solid rgba(0,0,0,0.06);
}

.footer-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:18px;
}

.footer-grid a{
  color:var(--primary);
  text-decoration:none;
}

/* ========================
   RESPONSIVE
======================== */
@media(max-width:900px){
  .nav-links{display:none;}
  .menu-btn{display:block;}
  .hero{height:56vh;}
  .slide h1{font-size:2rem;}
  .footer-grid{grid-template-columns:1fr;}
  .stats{flex-direction:column;align-items:center;}
}



/* THEME ICON BUTTON – clean, no background */
.theme-toggle {
  background: none !important;
  border: none !important;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Icons default size + transition */
.theme-toggle svg {
  width: 26px;
  height: 26px;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  transition: opacity 0.3s ease, transform 0.35s ease;
}

/* Light Mode = show moon (blue) */
#moonIcon { display: inline; color: #2563eb; }  /* Blue */
#sunIcon { display: none; }

/* Dark Mode = show sun (orange) */
body.dark #moonIcon { display: none; }
body.dark #sunIcon { display: inline; color: #f97316; } /* Orange */

.theme-rotate {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transform: rotate(180deg);
}

.logo-wrapper {
  position: relative;
  display: inline-block;
  margin-left: -13px;
}

.tagline {
  position: absolute;
  bottom: 8px;         /* Pushes slightly below logo */
  right: 8px;          /* Moves tagline to right corner */
  font-size: 7px;       /* Very small & clean */
  opacity: 0.9;         /* Slight fade for premium look */
  letter-spacing: 0.5px;
  white-space: nowrap;
  font-weight: bold;
}
/* ------------- MOBILE / SIDEBAR NAV ------------- */

/* Hamburger button - hidden on desktop, shown on small screens */
.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
  padding: 6px;
}

/* Mobile slide-in nav (hidden off-screen by default) */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -300px;            /* hidden */
  width: 300px;
  height: 100vh;
  background: var(--bg);
  box-shadow: -6px 0 24px rgba(0,0,0,0.18);
  padding: 22px;
  transition: right 0.35s ease;
  z-index: 1200;
}

/* When active */
.mobile-nav.open {
  right: 0;
}

/* Close button inside mobile nav */
.mobile-close {
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--text);
  float: right;
}

/* Mobile nav list */
.mobile-nav ul {
  list-style: none;
  padding: 36px 8px;
  margin: 0;
}

.mobile-nav ul li {
  margin: 16px 0;
}

.mobile-nav ul li a {
  color: var(--text);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  display: block;
}

/* Hide desktop nav on narrow screens and show hamburger */
@media (max-width: 900px) {
  nav > ul.nav-links {      /* your original desktop nav */
    display: none;
  }
  .menu-btn {
    display: block;
  }
}

/* Future Opportunities Card */
.future-card {
  text-align: center;
  padding: 30px;
  border-radius: 14px;
  border: 1px solid rgba(180, 180, 255, 0.2);
  background: var(--card-bg, #ffffff05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

/* Hover animation (Big-Tech subtle scale) */
.future-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

/* Icon styling */
.icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.future-icon {
  width: 52px;
  height: 52px;
  fill: #6a5cff; /* Your purple theme */
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.future-card:hover .future-icon {
  transform: scale(1.08);
}

/* CTA button (use your existing styling if you want) */
.future-card .cta-btn {
  margin-top: 18px;
  display: inline-block;
}


/* Glow on hover */
.glow-card:hover::before {
  opacity: 0.65;
  transform: scale(1.02);
}

/* Enterprise icon */
.future-icon {
  width: 58px;
  height: 58px;
  fill: var(--brand-color, #6a5cff);
  opacity: 0.95;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.dark-mode .future-icon {
  fill: #74a7ff;
}

/* Slight zoom on hover */
.glow-card:hover .future-icon {
  transform: scale(1.15);
  opacity: 1;
}

/* Smooth card hover lift */
.glow-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.glow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}
.animated-icon {
  width: 60px;
  height: 60px;
  stroke: var(--brand-stroke, #6a5cff);
  fill: transparent;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease, fill 0.4s ease;
}

/* Draw animation defaults */
.icon-main,
.icon-node {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: none;
}

/* On hover → draw icon */
.glow-card:hover .animated-icon .icon-main {
  animation: draw 1s ease forwards;
}

.glow-card:hover .animated-icon .icon-node {
  animation: draw 0.6s ease forwards 0.3s;
}

/* After drawing → fill icon */
.glow-card:hover .animated-icon {
  fill: var(--brand-fill, #6a5cff33);
}

/* Theme colors */
:root {
  --brand-stroke: #6a5cff;
  --brand-fill: #6a5cff33;
}
.dark-mode {
  --brand-stroke: #66aaff;
  --brand-fill: #66aaff33;
}

/* Draw animation */
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
/* Wrapper card */
.glow-card {
  position: relative;
  padding: 30px;
  background: var(--card-bg, #ffffff05);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

/* Glowing border using pseudo-element */
.glow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg,
      rgba(120, 80, 255, 0.7),
      rgba(180, 120, 255, 0.4),
      rgba(140, 90, 255, 0.7)
    );
  -webkit-mask: linear-gradient(#fff 0 0) content-box;
  -webkit-mask-composite: xor;
          mask: linear-gradient(#fff 0 0) content-box;
          mask-composite: exclude;
  opacity: 0.3;
  transition: opacity 0.3s ease, transform 0.4s ease;
  animation: glow-rotate 8s linear infinite;
}

/* Hover effect */
.glow-card:hover {
  transform: scale(1.03);
}

.glow-card:hover::before {
  opacity: 0.6;
}

/* Dark mode glow */
.dark-mode .glow-card::before {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.3),      /* soft white glow */
      rgba(200, 230, 255, 0.2),      /* pastel sky blue */
      rgba(255, 255, 255, 0.3)
    );
  opacity: 0.35;
  filter: blur(6px);               /* smooth soft glow */
  transition: background 0.5s ease, opacity 0.3s ease, transform 0.3s ease;
}

/* Dark mode hover: sky/light blue gradient */
.dark-mode .glow-card:hover::before {
  background: linear-gradient(135deg,
      rgba(135, 206, 250, 0.6),   /* sky blue */
      rgba(173, 216, 230, 0.4),   /* light cyan */
      rgba(135, 206, 250, 0.6)
    );
  opacity: 0.6;
  transform: scale(1.05);
}


footer.footer {
  background: #0e0e15;
  color: #ccc;
  padding: 40px 20px 20px;
  font-family: "Inter", sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 12px;
}

.footer-col p, .footer-col li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: -15px;
  color: #ccc;
}
.footer-tagline {
  font-size: 0.25re,;
}


.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #6a5cff; /* Brand color */
}

.footer-col a {
  color: #ccc;
  text-decoration: none;
}

.footer-col a:hover {
  color: #6a5cff;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-icons a img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  margin-top: 24px;
  font-size: 0.85rem;
  color: #999;
}

/* Dark mode example */
.dark-mode footer.footer {
  background: #0b0b12;
  color: #bbb;
}

.dark-mode .footer-col h4 {
  color: #fff;
}




/* ========================
   NEW HOME SECTIONS
   (intro, services, industries, why-us, CTA)
======================== */

/* Keep content width similar to .section */
.intro,
.services-overview,
.industries,
.why-us,
.cta {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 28px;
}

/* INTRO */
.intro-text {
  max-width: 720px;
}

.intro h2 {
  font-size: 2rem;
  margin: 0 0 10px;
}

.intro p {
  margin: 0 0 10px;
  line-height: 1.7;
  color: rgba(11,18,32,0.8);
}

body.dark .intro p {
  color: rgba(234,246,255,0.85);
}

/* SERVICES OVERVIEW */
.services-overview h2 {
  font-size: 2rem;
  margin: 0 0 20px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--card);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.service-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(11,18,32,0.78);
}

body.dark .service-card p {
  color: rgba(234,246,255,0.85);
}

/* INDUSTRIES */
.industries h2 {
  font-size: 2rem;
  margin: 0 0 10px;
}

.industries p {
  margin: 0 0 8px;
  line-height: 1.7;
  color: rgba(11,18,32,0.8);
}

body.dark .industries p {
  color: rgba(234,246,255,0.85);
}

/* WHY US */
.why-us h2 {
  font-size: 2rem;
  margin: 0 0 12px;
}

.why-us ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-us li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  line-height: 1.7;
  color: rgba(11,18,32,0.8);
}

.why-us li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
}

body.dark .why-us li {
  color: rgba(234,246,255,0.85);
}

/* REUSE YOUR STATS LOOK BUT NICER TEXT */
.stats {
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  min-width: 160px;
}

.counter {
  font-size: 2rem;
}

/* ========================
   CTA SECTION WITH INSTAGRAM GLOW
======================== */
/* ========================
   CTA SECTION - PERFECT RESPONSIVE + COLORS
======================== */
.cta {
  max-width: 1100px;
  margin: 10px auto 50px;
  padding: 32px 24px;
  border-radius: 16px;
  background: var(--cta-bg);
  color: var(--cta-text);
  text-align: center;
  box-shadow: 0 14px 32px rgba(0,0,0,0.18);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cta h2,
.cta p,
.primary-btn {
  position: relative;
  z-index: 3;
}

/* PROFESSIONAL GLOW - HOVER ONLY */
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(45deg, 
    #3ba3ff, #1e6fff, #2563eb, #60a5ff, #3ba3ff
  );
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  
}

.cta::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: var(--cta-bg);
  z-index: 2;
}

/* GLOW ON HOVER */
.cta:hover::before {
  opacity: 0.8;
}

/* LIGHT MODE: Professional blue glow (matches your brand) */
@media (prefers-color-scheme: light) {
  .cta:hover::before {
    background: linear-gradient(45deg, 
      #3ba3ff 0%, #ff1e1e 25%, #25eb60 50%, 
      #000408 75%, #ff723b 100%
    );
  }
}

/* DARK MODE: Cyan-blue glow */
body.dark .cta:hover::before {
  background: linear-gradient(45deg, 
    #60a5ff, #93c5fd, #bfdbfe, #93c5fd, #60a5ff
  );
}

/* RESPONSIVE - ALL SCREEN SIZES */
@media (max-width: 1200px) {
  .cta {
    max-width: 95%;
    margin: 10px auto 40px;
  }
}

@media (max-width: 900px) {
  .intro,
  .services-overview,
  .industries,
  .why-us,
  .cta {
    padding: 28px 20px;
  }

  .cta h2,
  .intro h2,
  .services-overview h2,
  .industries h2,
  .why-us h2 {
    font-size: 1.6rem;
  }

  .cta {
    padding: 28px 20px;
  }
}

@media (max-width: 600px) {
  .cta {
    padding: 24px 16px;
    margin: 8px auto 32px;
  }

  .cta h2 {
    font-size: 1.4rem;
  }

  .cta p {
    font-size: 0.95rem;
  }

  .primary-btn {
    padding: 12px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 400px) {
  .cta {
    padding: 20px 12px;
  }

  .cta h2 {
    font-size: 1.3rem;
  }
}

/* BUTTON STYLES */
.primary-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--cta-btn-bg);
  color: var(--cta-btn-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 10px 24px rgba(15,23,42,0.35);
  transition: all 0.2s ease;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15,23,42,0.4);
  background: var(--cta-btn-hover-bg);
  color: var(--cta-btn-hover-text);
}

/* ENHANCED HOVER */
.cta:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  transform: translateY(-2px);
}
/* Light mode text colors inside CTA */
body:not(.dark) .cta {
  color: #0b1220;              /* main heading/text */
}

body:not(.dark) .cta h2 {
  color: #0b1220;              /* black/dark heading */
}

body:not(.dark) .cta p {
  color: #111827;              /* dark paragraph text */
}




/* HERO BASE */
.hero {
  position: relative;
  height: 64vh;
  min-height: 360px;
  max-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(11,18,32,0.03);
}

/* Background video INSIDE each slide */
.hero .hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;                 /* behind slide text */
  pointer-events: none;       /* video is not clickable */
}

/* hide native controls overlays */
.hero .hero-video-bg::-webkit-media-controls {
  display: none !important;
}

/* Bottom gradient to help readability, but NO card */
.hero::after {
  content: "";
  position: absolute;
  inset: 45% 0 0 0;           /* bottom half area */
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.80),
    rgba(0,0,0,0.35),
    transparent
  );
  pointer-events: none;       /* do not block clicks */
  z-index: 1;                 /* above video, below text/buttons */
}

/* Slides (text + their own video) */
.hero .slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 28px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 500ms ease, transform 500ms ease;
  z-index: 2;                 /* above video + gradient */
}

.hero .slide.active {
  opacity: 1;
  transform: translateY(0);
}

/* Heading and subtitle with strong glow so they work on bright video */
.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow:
    0 0 6px rgba(0,0,0,0.85),
    0 0 18px rgba(0,0,0,0.95);
  margin-bottom: 10px;
}

.hero-subtitle {
  max-width: 900px;
  color: #f9fafb;
  text-shadow: 0 0 5px rgba(0,0,0,0.85);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Slider controls (arrows) – always clickable */
.hero .slider-controls {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  gap: 8px;
  z-index: 5;                 /* topmost */
}

.hero .slider-controls button {
  border: none;
  background: rgba(15,23,42,0.85);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}

.hero .slider-controls button:hover {
  background: rgba(37,99,235,0.95);
  transform: translateY(-1px);
}

/* Responsive typography */
@media (max-width: 900px) {
  .hero {
    height: 60vh;
  }
  .hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 600px) {
  .hero {
    height: 56vh;
  }
  .hero-title {
    font-size: 1.9rem;
  }
  .hero-subtitle {
    font-size: 0.98rem;
    padding: 0 10px;
  }
}
