/* ==========================================================================
   WEBRAINERSC — Main Stylesheet
   Design Reference: VOCSO.com
   Font: Montserrat (Google Fonts, 300–900)
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Google Fonts Import
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* --------------------------------------------------------------------------
   1. CSS Custom Properties — Light Mode (Default)
   -------------------------------------------------------------------------- */
:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F9FA;
  --bg-tertiary: #F1F3F5;
  --accent-gold: #F2BC18;
  --accent-gold-rgb: 242, 188, 24;
  --accent-blue: #090135;
  --text-primary: #090135;
  --text-secondary: #4E4A6A;
  --text-dark: #FFFFFF;
  --border-light: rgba(9, 1, 53, 0.08);
  --border-glow: rgba(242, 188, 24, 0.25);
  --container-width: 1200px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --shadow-card: 0 2px 20px rgba(9, 1, 53, 0.04);
  --shadow-card-hover: 0 10px 40px rgba(9, 1, 53, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-blur: blur(12px);
}

/* --------------------------------------------------------------------------
   1b. CSS Custom Properties — Dark Mode
   -------------------------------------------------------------------------- */
.darkmode {
  --bg-primary: #090135;
  --bg-secondary: #0F054A;
  --bg-tertiary: #170B66;
  --text-primary: #FFFFFF;
  --text-secondary: #B5B0D8;
  --text-dark: #090135;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(242, 188, 24, 0.18);
  --shadow-card: 0 2px 20px rgba(0, 0, 0, 0.3);
  --shadow-card-hover: 0 15px 40px rgba(0, 0, 0, 0.5);
  --glass-bg: rgba(9, 1, 53, 0.85);
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s ease, color 0.4s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

input,
textarea,
select {
  font-family: inherit;
  outline: none;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.2;
  transition: color 0.4s ease;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.7;
  transition: color 0.4s ease;
}

.gradient-text {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.red-text {
  color: var(--accent-gold);
}

.red-underline {
  display: inline;
  border-bottom: 3px solid var(--accent-gold);
  padding-bottom: 2px;
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section-padding {
  padding: 100px 0;
}

.padding-130 {
  padding: 130px 0;
}

.text-center {
  text-align: center;
}

/* --------------------------------------------------------------------------
   5. Navigation (Fixed Header)
   -------------------------------------------------------------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  transition: var(--transition-smooth);
}

.darkmode header {
  background: rgba(0, 0, 0, 0.2);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.darkmode header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand img {
  height: 45px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  transition: var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-btn {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #e02d24 100%);
  color: #FFFFFF;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(var(--accent-gold-rgb), 0.3);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(var(--accent-gold-rgb), 0.4);
}

.dark-mode-toggle {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-fast);
  color: var(--text-primary);
  font-size: 1.2rem;
}

.dark-mode-toggle:hover {
  background: var(--bg-tertiary);
}

.dark-mode-toggle svg {
  width: 22px;
  height: 22px;
  fill: var(--text-primary);
  transition: var(--transition-fast);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 36px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #e02d24 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(var(--accent-gold-rgb), 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(var(--accent-gold-rgb), 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: 0 8px 30px rgba(var(--accent-gold-rgb), 0.1);
}

/* --------------------------------------------------------------------------
   7. Section Headers
   -------------------------------------------------------------------------- */
.section-header {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   8. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  padding-top: 120px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at center, rgba(var(--accent-gold-rgb), 0.15) 0%, var(--bg-primary) 60%);
  background-size: 200% 200%;
  animation: animateBannerBg 8s ease infinite;
}

.darkmode .hero-section {
  background: radial-gradient(ellipse at center, rgba(var(--accent-gold-rgb), 0.05) 0%, var(--bg-primary) 60%);
  background-size: 200% 200%;
  animation: animateBannerBg 8s ease infinite;
}

@keyframes animateBannerBg {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-slider-container {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 991px) {
  .hero-slider-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.hero-slider-text {
  position: relative;
  min-height: 420px;
}

@media (max-width: 991px) {
  .hero-slider-text {
    min-height: 380px;
  }
}

.hero-slide-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease, transform 0.8s ease;
  transform: translateY(20px);
}

.hero-slide-content.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  position: relative;
}

.hero-slide-subtitle {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}

.hero-slide-title {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
}

@media (max-width: 1200px) {
  .hero-slide-title {
    font-size: 3rem;
  }
}

.hero-slide-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Graphics */
.hero-graphic-container {
  position: relative;
  height: 420px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991px) {
  .hero-graphic-container {
    height: 320px;
  }
}

.hero-graphic-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-graphic-slide.active {
  opacity: 1;
}

.hero-graphic-slide img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

/* Hero Tab Navigation */
.hero-tabs-nav {
  display: flex;
  gap: 0;
  margin-top: 40px;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-secondary);
}

.hero-tab-button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex: 1;
  transition: var(--transition-fast);
}

.hero-tab-button.active {
  background: var(--bg-primary);
}

.hero-tab-button.active .hero-tab-label {
  color: var(--text-primary);
  font-weight: 700;
}

.hero-tab-icon {
  width: 24px;
  height: 24px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.hero-tab-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--text-secondary);
}

.hero-tab-button.active .hero-tab-icon svg {
  fill: var(--accent-gold);
}

.hero-tab-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.hero-tab-progress-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.05);
}

.darkmode .hero-tab-progress-bg {
  background: rgba(255, 255, 255, 0.05);
}

.hero-tab-progress-bar {
  height: 100%;
  width: var(--progress, 0%);
  background: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   9. Client Logo Marquee
   -------------------------------------------------------------------------- */
.logo-marquee-wrapper {
  overflow: hidden;
  padding: 30px 0;
  position: relative;
  background: var(--bg-secondary);
}

.logo-marquee-wrapper::before,
.logo-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-secondary) 0%, transparent 100%);
}

.logo-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-secondary) 0%, transparent 100%);
}

.logo-track {
  display: flex;
  gap: 0;
  animation: scrollMarquee 30s linear infinite;
  width: max-content;
}

.logo-track:hover {
  animation-play-state: paused;
}

.logo-slide {
  flex-shrink: 0;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-slide img {
  height: 40px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: var(--transition-fast);
}

.logo-slide img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.darkmode .logo-slide img {
  filter: grayscale(100%) brightness(1.5);
  opacity: 0.4;
}

.darkmode .logo-slide img:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-230px * 8));
  }
}

/* --------------------------------------------------------------------------
   10. Services Grid (VOCSO-exact)
   -------------------------------------------------------------------------- */
.services-section {
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  min-height: 320px;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-card-hover);
}

.service-default {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px 24px;
  text-align: center;
  transition: all 0.5s ease;
}

.service-default svg {
  width: 48px;
  height: 48px;
  fill: var(--text-primary);
  margin-bottom: 20px;
  transition: all 0.5s ease;
}

.service-default img {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  transition: all 0.5s ease;
}

.service-default h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.5s ease;
}

.service-card:hover .service-default {
  opacity: 0;
  transform: translateY(-20px);
}

.service-card:hover .service-default svg {
  fill: #FFFFFF;
}

.service-card:hover .service-default h3 {
  color: #FFFFFF;
}

.service-hover {
  position: absolute;
  inset: 0;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.service-card:hover .service-hover {
  opacity: 1;
  transform: translateY(0);
}

.service-hover svg {
  width: 36px;
  height: 36px;
  fill: #FFFFFF;
  margin-bottom: 12px;
}

.service-hover h3 {
  color: #FFFFFF;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-hover p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-detail-link {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.service-detail-link:hover {
  gap: 10px;
}

/* --------------------------------------------------------------------------
   11. CEO / Founder Message
   -------------------------------------------------------------------------- */
.ceo-section {
  padding: 130px 0;
}

.ceo-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: center;
}

.ceo-img img {
  width: 100%;
  border-radius: 16px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  }
  50% {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  }
}

.ceo-quote-icon img {
  width: 50px;
  margin-bottom: 20px;
}

.ceo-quote-icon svg {
  width: 50px;
  height: 50px;
  fill: var(--accent-gold);
  margin-bottom: 20px;
}

.ceo-heading {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.ceo-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.ceo-name {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: capitalize;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.ceo-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  font-weight: 500;
}

.ceo-read-more {
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 16px;
  padding: 0;
  transition: var(--transition-fast);
}

.ceo-read-more:hover {
  gap: 12px;
}

.ceo-read-more svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-gold);
  transition: transform 0.3s ease;
}

.ceo-expandable {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.ceo-expandable.expanded {
  max-height: 500px;
}

/* --------------------------------------------------------------------------
   12. Tech Stack Vertical Scroll
   -------------------------------------------------------------------------- */
.techstack-section {
  padding: 130px 0;
  overflow: hidden;
}

.techstack-columns {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  height: 500px;
  position: relative;
}

.techstack-columns::before,
.techstack-columns::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 2;
  pointer-events: none;
}

.techstack-columns::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bg-primary) 0%, transparent 100%);
}

.techstack-columns::after {
  bottom: 0;
  background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
}

.techstack-column {
  overflow: hidden;
  position: relative;
}

.techstack-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: techScrollUp 25s linear infinite;
}

.techstack-track.reverse {
  animation-name: techScrollDown;
}

@keyframes techScrollUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes techScrollDown {
  0% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(0);
  }
}

.techstack-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.techstack-item:hover {
  border-color: var(--border-glow);
  transform: scale(1.05);
}

.techstack-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.techstack-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.techstack-icon {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
}

/* --------------------------------------------------------------------------
   13. Portfolio Section
   -------------------------------------------------------------------------- */
.portfolio-section {
  position: relative;
}

.portfolio-wrapper {
  transition: background-color 0.8s ease;
  background-color: #1a365d;
}

.portfolio-wrapper.color-blue {
  background-color: #1a365d;
}

.portfolio-wrapper.color-navy {
  background-color: #1e293b;
}

.portfolio-wrapper.color-violet {
  background-color: #4c1d95;
}

.portfolio-wrapper.color-indigo {
  background-color: #312e81;
}

.portfolio-wrapper.color-teal {
  background-color: #134e4a;
}

.portfolio-wrapper.color-slate {
  background-color: #1e293b;
}

.portfolio-panel {
  min-height: 80vh;
  display: block;
  padding: 80px 0;
}

.portfolio-panel-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 991px) {
  .portfolio-panel-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.portfolio-panel * {
  color: #FFFFFF;
}

.portfolio-screen {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.portfolio-screen-inner {
  overflow: hidden;
  height: 400px;
  position: relative;
}

.portfolio-screen-inner img {
  width: 100%;
  position: relative;
  top: 0;
  transition: top 3s ease;
}

.portfolio-screen:hover .portfolio-screen-inner img {
  /* top value set via JS for scroll effect */
}

.portfolio-mobile {
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  max-width: 250px;
}

.portfolio-mobile img {
  width: 100%;
}

.portfolio-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.portfolio-info h3 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.portfolio-info p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.portfolio-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.portfolio-tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-weight: 500;
}

.portfolio-link {
  color: #FFFFFF;
  font-weight: 700;
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.portfolio-link:hover {
  gap: 10px;
}

.portfolio-link svg {
  width: 18px;
  height: 18px;
  fill: #FFFFFF;
}

/* --------------------------------------------------------------------------
   14. How We Deliver Impact (Scrollspy)
   -------------------------------------------------------------------------- */
.impact-section {
  padding: 130px 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
}

.impact-nav {
  position: sticky;
  top: 120px;
  align-self: start;
}

.impact-nav-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.impact-nav-desc {
  margin-bottom: 30px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.impact-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.impact-nav-item {
  padding: 16px 20px;
  border-left: 3px solid var(--border-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.impact-nav-item:hover {
  background: rgba(var(--accent-gold-rgb), 0.03);
}

.impact-nav-item.active {
  border-left-color: var(--accent-gold);
  background: rgba(var(--accent-gold-rgb), 0.05);
}

.impact-nav-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.impact-nav-item.active h4 {
  color: var(--accent-gold);
}

.impact-cta {
  margin-top: 30px;
}

.impact-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.impact-block {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-light);
}

.impact-block:first-child {
  padding-top: 0;
}

.impact-block:last-child {
  border-bottom: none;
}

.impact-block h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

.impact-block p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.impact-block .block-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-right: 16px;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   15. Stats Counter
   -------------------------------------------------------------------------- */
.stats-section {
  background: var(--bg-secondary);
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-item p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   16. Testimonials
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: 130px 0;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  flex: 0 0 100%;
  padding: 0 20px;
}

.testimonial-inner {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: start;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: #FFFFFF;
  flex-shrink: 0;
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-quote {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: #FFC107;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-light);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0;
}

.dot.active {
  background: var(--accent-gold);
  transform: scale(1.2);
}

.dot:hover {
  background: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   17. CTA Banner
   -------------------------------------------------------------------------- */
.cta-banner {
  padding: 100px 0;
  background: var(--bg-secondary);
  text-align: center;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.cta-banner h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.cta-banner p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.cta-banner .btn {
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   18. WhatsApp Float
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #FFFFFF;
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
}

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 80px 0 30px;
  transition: background-color 0.4s ease;
}

.darkmode .site-footer {
  background: #141414;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand img {
  height: 45px;
  width: auto;
}

.footer-brand p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  color: var(--text-secondary);
}

.footer-social a:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #FFFFFF;
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column ul li a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.footer-column ul li a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   20. Glass Card
   -------------------------------------------------------------------------- */
.glass-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.glass-card::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(var(--accent-gold-rgb), 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  transform: translate(-50%, -50%);
  left: var(--x, 50%);
  top: var(--y, 50%);
}

.glass-card:hover::before {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   21. Scroll Reveal Animations
   -------------------------------------------------------------------------- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

.delay-400 {
  transition-delay: 0.4s;
}

/* Fade-in from left */
.scroll-reveal.from-left {
  transform: translateX(-30px);
}

.scroll-reveal.from-left.active {
  transform: translateX(0);
}

/* Fade-in from right */
.scroll-reveal.from-right {
  transform: translateX(30px);
}

.scroll-reveal.from-right.active {
  transform: translateX(0);
}

/* Scale up */
.scroll-reveal.scale-up {
  transform: scale(0.95);
}

.scroll-reveal.scale-up.active {
  transform: scale(1);
}

/* --------------------------------------------------------------------------
   22. Responsive — 1024px (Tablets & Small Laptops)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ceo-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ceo-img {
    max-width: 400px;
    margin: 0 auto;
  }

  .techstack-columns {
    grid-template-columns: repeat(4, 1fr);
  }

  .portfolio-panel {
    min-height: auto;
    padding: 40px 0;
  }

  .portfolio-panel-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .impact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .impact-nav {
    position: relative;
    top: 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .hero-slide-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.4rem;
  }
}

/* --------------------------------------------------------------------------
   23. Responsive — 768px (Tablets)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
  }

  .section-padding {
    padding: 70px 0;
  }

  .padding-130 {
    padding: 80px 0;
  }

  .hero-section {
    padding-top: 100px;
  }

  .hero-slide-title {
    font-size: 2.5rem;
  }

  .hero-slide-desc {
    font-size: 1rem;
  }

  .hero-graphic-container {
    height: 280px;
  }

  .hero-tabs-nav {
    flex-direction: column;
  }

  .hero-tab-button {
    padding: 16px 20px;
  }

  /* Mobile Navigation */
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 380px;
    height: 100vh;
    background: var(--bg-primary);
    opacity: 0.98;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .nav-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Mobile overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Services */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .service-card {
    min-height: 280px;
  }

  /* Tech Stack */
  .techstack-columns {
    grid-template-columns: repeat(4, 1fr);
    height: 350px;
    gap: 12px;
  }

  .techstack-section {
    padding: 80px 0;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-item h3 {
    font-size: 2.4rem;
  }

  /* CEO */
  .ceo-section {
    padding: 80px 0;
  }

  .ceo-heading {
    font-size: 1.6rem;
  }

  /* Impact */
  .impact-section {
    padding: 80px 0;
  }

  .impact-nav-title {
    font-size: 1.8rem;
  }

  /* Portfolio */
  .portfolio-info h3 {
    font-size: 1.6rem;
  }

  /* Testimonials */
  .testimonial-inner {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  /* CTA */
  .cta-banner {
    padding: 60px 0;
  }

  .cta-banner h2 {
    font-size: 2rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* --------------------------------------------------------------------------
   24. Responsive — 480px (Small Phones)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero-slide-title {
    font-size: 2rem;
  }

  .hero-slide-subtitle {
    font-size: 0.75rem;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .btn {
    width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .techstack-columns {
    grid-template-columns: repeat(3, 1fr);
    height: 300px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item h3 {
    font-size: 2rem;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
  }

  .btn {
    padding: 14px 28px;
    font-size: 0.9rem;
  }

  h1 { font-size: 2.4rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg,
  .whatsapp-float img {
    width: 26px;
    height: 26px;
  }
}

/* --------------------------------------------------------------------------
   25. Utility Classes
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.no-scroll {
  overflow: hidden;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* --------------------------------------------------------------------------
   26. Print Styles
   -------------------------------------------------------------------------- */
@media print {
  header,
  .whatsapp-float,
  .menu-toggle,
  .dark-mode-toggle {
    display: none !important;
  }

  body {
    background: #FFFFFF;
    color: #000000;
    font-size: 12pt;
  }

  .section-padding,
  .padding-130 {
    padding: 30px 0;
  }

  .hero-section {
    min-height: auto;
    padding-top: 20px;
  }

  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   End of Stylesheet
   -------------------------------------------------------------------------- */
