/* ============================================================
   TechNova IT Solutions – Main Stylesheet
   Brand: Navy #0a2342 | Blue #1e6fc5 | Cyan #00c8ff | White
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #0a2342;
  --blue: #1e6fc5;
  --blue-dark: #1558a0;
  --cyan: #00c8ff;
  --cyan-light: #e0f7ff;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gradient: linear-gradient(135deg, #0a2342 0%, #1e6fc5 60%, #00c8ff 100%);
  --gradient2: linear-gradient(135deg, #1e6fc5 0%, #00c8ff 100%);
  --shadow-sm: 0 2px 8px rgba(30, 111, 197, 0.10);
  --shadow-md: 0 8px 30px rgba(30, 111, 197, 0.15);
  --shadow-lg: 0 20px 60px rgba(10, 35, 66, 0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--gradient2);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(0, 200, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 200, 255, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
  background: var(--cyan);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ── TOPBAR ────────────────────────────────────────────── */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.83rem;
  padding: 9px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-left a,
.topbar-right a {
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-left a:hover,
.topbar-right a:hover {
  color: var(--cyan);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-right .sep {
  opacity: 0.3;
}

/* ── NAVBAR ────────────────────────────────────────────── */
.navbar {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(10, 35, 66, 0.08);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(10, 35, 66, 0.14);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand .brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  max-width: 180px;
  /* Turns image black first, then shifts to a deep navy blue #0a2342 */
  filter: brightness(0) saturate(100%) invert(9%) sepia(19%) saturate(4787%) hue-rotate(183deg) brightness(97%) contrast(102%);
}

.navbar-brand .brand-icon {
  width: 42px;
  height: 42px;
  background: #00008b;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.navbar-brand span {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #00008b;
}

.navbar-brand span em {
  color: #00008b;
  font-style: normal;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  padding: 8px 14px;
  color: var(--gray-700);
  font-weight: 500;
  border-radius: 8px;
  font-size: 0.93rem;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--blue);
  background: var(--cyan-light);
}

.nav-menu .dropdown {
  position: relative;
}

.nav-menu .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
}

.nav-menu .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu .dropdown-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  color: var(--gray-700);
  font-size: 0.88rem;
}

.nav-menu .dropdown-menu a:hover {
  background: var(--cyan-light);
  color: var(--blue);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--navy);
}

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(0, 200, 255, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 10% 70%, rgba(30, 111, 197, 0.06) 0%, transparent 70%),
    var(--white);
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan-light);
  color: var(--blue);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.83rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 200, 255, 0.3);
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4)
  }
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero-title .highlight {
  color: var(--blue);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient2);
  border-radius: 2px;
  opacity: 0.5;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-video {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.btn-video .play-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.1rem;
  transition: var(--transition);
  background: white;
  box-shadow: var(--shadow-sm);
}

.btn-video:hover {
  color: var(--blue);
}

.btn-video:hover .play-icon {
  background: var(--blue);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(30, 111, 197, 0.4);
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.hero-stat .stat-num span {
  color: var(--cyan);
}

.hero-stat .stat-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 3px;
}

/* Hero Image */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-diamond {
  position: relative;
  width: 420px;
  height: 420px;
}

.diamond-frame {
  position: absolute;
  inset: 0;
  background: var(--gradient2);
  border-radius: 30px;
  transform: rotate(45deg);
  opacity: 0.15;
}

.diamond-frame-2 {
  position: absolute;
  inset: 20px;
  border: 2px solid var(--cyan);
  border-radius: 24px;
  transform: rotate(45deg);
  opacity: 0.4;
}

.hero-img-wrap {
  position: absolute;
  inset: 30px;
  border-radius: 24px;
  overflow: hidden;
  transform: rotate(45deg);
  box-shadow: var(--shadow-lg);
}

.hero-img-wrap img {
  transform: rotate(-45deg) scale(1.5);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  background: white;
  border-radius: var(--radius);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  animation: float 4s ease-in-out infinite;
}

.hero-float-card i {
  color: var(--cyan);
  font-size: 1.2rem;
}

.hero-float-card:nth-child(4) {
  bottom: 60px;
  left: -10px;
  animation-delay: 0s;
}

.hero-float-card:nth-child(5) {
  top: 60px;
  right: -20px;
  animation-delay: 1.5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-12px)
  }
}

.hero-decor-dots {
  position: absolute;
  bottom: -10px;
  left: 30px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.hero-decor-dots span {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  opacity: 0.25;
}

/* ── SECTION LAYOUT ────────────────────────────────────── */
section {
  padding: 90px 0;
}

.section-tag {
  display: inline-block;
  background: var(--cyan-light);
  color: var(--blue);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 200, 255, 0.3);
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--blue);
}

.section-subtitle {
  color: var(--gray-500);
  font-size: 1rem;
  max-width: 560px;
}

.section-header {
  margin-bottom: 56px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

/* ── SERVICES ──────────────────────────────────────────── */
.services {
  background: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient2);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--cyan-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gradient2);
  color: white;
}

.service-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--gray-500);
  font-size: 0.92rem;
  line-height: 1.65;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 18px;
}

.service-link i {
  transition: var(--transition);
}

.service-card:hover .service-link i {
  transform: translateX(4px);
}

/* ── STATS ─────────────────────────────────────────────── */
.stats {
  background: var(--gradient);
  color: white;
  padding: 70px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: white;
  line-height: 1;
}

.stat-number em {
  color: var(--cyan);
  font-style: normal;
}

.stat-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-top: 6px;
}

.stat-divider {
  width: 40px;
  height: 3px;
  background: var(--cyan);
  border-radius: 2px;
  margin: 8px auto;
}

/* ── ABOUT ─────────────────────────────────────────────── */
.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-badge-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gradient2);
  color: white;
  padding: 20px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-badge-card .num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.about-badge-card .label {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-top: 2px;
}

.about-check {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 32px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--gray-700);
}

.check-item i {
  color: var(--cyan);
  font-size: 1.1rem;
}

/* ── PORTFOLIO ─────────────────────────────────────────── */
.portfolio {
  background: var(--gray-50);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 35, 66, 0.92) 0%, rgba(10, 35, 66, 0.3) 60%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-info {
  color: white;
}

.portfolio-info .cat {
  font-size: 0.78rem;
  color: var(--cyan);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portfolio-info h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 4px;
}

/* ── TESTIMONIALS ──────────────────────────────────────── */
.testimonials {
  background: var(--white);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testi-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.testi-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--cyan);
}

.testi-stars {
  color: #f59e0b;
  margin-bottom: 16px;
  font-size: 0.88rem;
}

.testi-text {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 22px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.testi-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}

.testi-role {
  color: var(--gray-500);
  font-size: 0.8rem;
}

/* ── WHY US ────────────────────────────────────────────── */
.why-us {
  background: var(--gray-50);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  text-align: center;
  padding: 36px 24px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.why-icon {
  font-size: 2.4rem;
  color: var(--blue);
  margin-bottom: 16px;
}

.why-card h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.why-card p {
  color: var(--gray-500);
  font-size: 0.88rem;
}

/* ── CTA ───────────────────────────────────────────────── */
.cta {
  background: var(--gradient);
  color: white;
  text-align: center;
  padding: 90px 0;
}

.cta h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  margin: 0 auto 36px;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── CONTACT ───────────────────────────────────────────── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}

.contact-info p {
  color: var(--gray-500);
  margin-bottom: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-ico {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--cyan-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item h5 {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
}

.contact-item p {
  color: var(--gray-500);
  font-size: 0.88rem;
  margin: 0;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  color: var(--gray-700);
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  background: var(--gray-50);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(30, 111, 197, 0.1);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-success {
  display: none;
  background: #d1fae5;
  color: #065f46;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-top: 12px;
  font-weight: 500;
}

/* ── FOOTER ────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
}

.footer-top {
  padding: 70px 0 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .brand-desc {
  font-size: 0.88rem;
  margin: 16px 0 24px;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--blue);
  color: white;
}

.footer-col h4 {
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  margin-bottom: 18px;
  font-size: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul a:hover {
  color: var(--cyan);
}

.footer-col ul a::before {
  content: '›';
  color: var(--cyan);
  font-size: 1.1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a {
  color: var(--cyan);
}

/* ── INNER PAGE HERO ───────────────────────────────────── */
.page-hero {
  background: var(--gradient);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: var(--cyan);
}

.breadcrumb .sep {
  opacity: 0.5;
}

/* ── ALERT / TOAST ─────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 0.92rem;
}

.alert-success {
  background: #d1fae5;
  color: #065f46;
}

.alert-danger {
  background: #fee2e2;
  color: #991b1b;
}

/* ── AOS Overrides ─────────────────────────────────────── */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {

  .services-grid,
  .portfolio-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    margin-top: 30px;
  }

  .hero-diamond {
    width: 280px;
    height: 280px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .nav-menu,
  .navbar-actions .btn-primary {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .about .container {
    grid-template-columns: 1fr;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testi-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .portfolio-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .topbar-left {
    display: none;
  }

  .hero-float-card {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-diamond {
    width: 220px;
    height: 220px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: white;
  border-top: 1px solid var(--gray-200);
  padding: 12px 24px 20px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover {
  color: var(--blue);
}

/* Search Trigger & Overlay */
.search-trigger {
  background: none;
  border: none;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  transition: all 0.3s;
}

.search-trigger:hover {
  color: var(--blue);
  transform: scale(1.1);
}

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 35, 66, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-content {
  width: 100%;
}

.search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search-close {
  background: none;
  border: none;
  color: white;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
}

.search-form {
  position: relative;
  display: flex;
  margin-top: 30px;
}

.search-form input {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 2.5rem;
  padding: 10px 60px 10px 0;
  font-family: 'Outfit', sans-serif;
  transition: all 0.3s;
}

.search-form input:focus {
  outline: none;
  border-color: var(--blue);
}

.search-form button {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.search-suggestions {
  margin-top: 25px;
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.search-suggestions a {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.search-suggestions a:hover {
  background: var(--blue);
}

@media (max-width: 768px) {
  .search-form input {
    font-size: 1.5rem;
  }

  .search-close {
    font-size: 2.5rem;
  }
}

/* Blog Page Responsive Layout */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.blog-featured-img {
  overflow: hidden;
  max-height: 420px;
}

@media (max-width: 900px) {
  .blog-featured {
    grid-template-columns: 1fr;
  }

  .blog-featured-img {
    max-height: 300px;
  }
}