/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --black:        #0a0a0a;
  --black-deep:   #000000;
  --red:          #e60000;
  --red-dark:     #8b0000;
  --red-glow:     rgba(230, 0, 0, 0.4);
  --red-subtle:   rgba(230, 0, 0, 0.08);
  --white:        #ffffff;
  --white-dim:    rgba(255, 255, 255, 0.7);
  --white-faint:  rgba(255, 255, 255, 0.05);
  --glass-bg:     rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font:         'Montserrat', sans-serif;
  --ease:         0.3s ease;
  --nav-h:        75px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

/* FIX: Ensure no horizontal scrolling */
html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.7;
}

img, svg { display: block; max-width: 100%; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black-deep); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding { padding: 100px 0; }

/* ============================================================
   GLASS CARD - ANIMATED TRACING BORDER
   ============================================================ */
/* 1. Itha mela add pannunga (Gradient angle ah animate panna) */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* 2. Base Card Styles */
.glass-card {
  background: rgba(30, 0, 0, 0.4);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-radius: 16px;
  position: relative;
  z-index: 1;
  border: none;
}

/* Ensure card content (icons, text) stacks above the animated background */
.glass-card > * {
  position: relative;
  z-index: 2;
}

/* Suthura antha red light (Animated Line) */
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0; /* Card size-kku exact ah fit aagum */
  border-radius: inherit; /* Card oda radius ah apdiye eduthukkum */
  padding: 2px; /* Ithu thaan unga border thickness */
  
  /* Suthura Red Gradient */
  background: conic-gradient(
    from var(--angle),
    transparent 0%,
    transparent 70%,
    var(--red) 100%
  );


  /* Masking Magic: Center ah cut pandrathu ithuthaan */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
          
  z-index: -1;
  animation: spinBorder 3s linear infinite;
}

/* Ulla irukka main dark reddish glass container (Ithu thaan border create pannum) */
.glass-card::after {
  content: '';
  position: absolute;
  inset: 2px; /* Ithu thaan border thickness (2px) */
  background: rgba(30, 0, 0, 0.6); /* Inner clean dark reddish glass */
  border-radius: 14px; /* Outer 16px - Inset 2px = 14px for perfect corners */
  z-index: -1;
}
@keyframes spinBorder {
  to { --angle: 360deg; }
}
/* Suthurathukkana Animation Keyframe */
@keyframes borderRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.section-header { text-align: center; margin-bottom: 60px; }

.section-badge {
  display: inline-block;
  background: rgba(230, 0, 0, 0.12);
  color: var(--red);
  border: 1px solid rgba(230, 0, 0, 0.3);
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #fff 0%, #bbb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--white-dim);
  font-size: 1rem;
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 0 24px var(--red-glow);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 44px rgba(230, 0, 0, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.btn-outline:hover {
  transform: translateY(-2px) scale(1.03);
  background: var(--red-subtle);
  border-color: var(--red);
  color: var(--red);
}

.btn-full { width: 100%; justify-content: center; }
.btn-full svg { width: 17px; height: 17px; flex-shrink: 0; }

/* Scroll-reveal animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity  0.7s ease var(--stagger, 0ms),
    transform 0.7s ease var(--stagger, 0ms);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  height: var(--nav-h);
  z-index: 900;
  transition: background var(--ease), box-shadow var(--ease);
}
.navbar.scrolled {
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 901;
}
.logo-text {
  font-size: 1.65rem;
  color: var(--red);
  letter-spacing: -1px;
  line-height: 1;
  text-shadow: 0 0 20px var(--red-glow);
  font-family: 'Playfair Display', serif;
  font-weight: bold !important;
}
.logo-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
  font-family: 'Playfair Display', serif;
}
.card-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
.nav-dropdown {
  position: relative;
  align-self: center;
  display: flex; 
  align-items: center;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.nav-dropdown.open .dropdown-arrow,
.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 10px;
  background: transparent;
  z-index: 999;
  min-width: 200px;
}

.dropdown-menu-inner {
  background: #0c0a0a;
  border: 1px solid rgba(255, 60, 60, 0.25);
  border-radius: 10px;
  overflow: hidden;
}

/* Desktop — hover */
@media (min-width: 769px) {
  .nav-dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* Mobile — click */
@media (max-width: 768px) {
  .nav-dropdown {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .dropdown-toggle {
    justify-content: center;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .dropdown-arrow {
    display: inline-block;
  }

  .dropdown-menu {
    position: static;
    padding-top: 0;
    transform: none;
    width: 100%;
  }

  .dropdown-menu-inner {
    background: transparent;
    border: none;
    border-radius: 0;
    padding-left: 0;
    width: 100%;
  }

  .dropdown-item {
    text-align: center;
    border-bottom: 1px solid rgba(255, 60, 60, 0.08);
    padding: 12px 20px;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }
}

.dropdown-item {
  display: block;
  padding: 12px 20px;
  color: #cccccc;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
  border-bottom: 1px solid rgba(255, 60, 60, 0.08);
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: rgba(255, 26, 26, 0.1);
  color: #ff1a1a;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  transition: color var(--ease);
  position: relative;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transition: width var(--ease);
}
.nav-link:hover,
.nav-link.active { color: var(--white); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* ============================================================
   SOCIAL MEDIA ICONS (Realistic & Animated)
   ============================================================ */
.nav-social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05); /* Premium Glass Look */
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white, #fff);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  transition: transform 0.4s ease, fill 0.4s ease;
  z-index: 2;
}

/* Base Hover Animation (Pop Up) */
.social-icon:hover {
  transform: translateY(-5px) scale(1.05);
}
.social-icon:hover svg {
  transform: scale(1.1);
  fill: #fff; /* Ensures icon stays white over colors */
}

/* --- Brand Specific Realistic Colors --- */

/* Instagram */
.social-icon.insta:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(214, 36, 159, 0.4);
}

/* Facebook */
.social-icon.fb:hover {
  background: #1877F2;
  border-color: #1877F2;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

/* X (Twitter) */
.social-icon.x-twitter:hover {
  background: #000000;
  border-color: #ffffff;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* YouTube */
.social-icon.yt:hover {
  background: #FF0000;
  border-color: #FF0000;
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nav-social { gap: 12px; }
  .social-icon { width: 40px; height: 40px; }
  .social-icon svg { width: 18px; height: 18px; }
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  z-index: 901;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #1a0000 0%, #080000 40%, #000 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(139,0,0,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 15% 85%, rgba(230,0,0,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 85% 15%, rgba(230,0,0,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  width: 100%;
  padding: calc(var(--nav-h) + 40px) 24px 60px;
  animation: heroFadeIn 1s ease 0.2s both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-logo-mark { margin-bottom: 32px; display: flex; justify-content: center; }



@media (max-width: 768px) {
  .logo-emblem {
    width: 320px !important;  /* Mobile screen-oda 85% width eduthukkum */
    height: 320px !important; 
    max-width: 85vw; /* Romba chinna phone-la scroll bar varama thadukka */
    max-height: 85vw;
  }

}
@media (max-width: 768px) {
    .hero-title{
        white-space: nowrap;
        font-size: 35px !important; /* adjust if needed */
    }
}
@media (max-width: 368px) {
    .hero-title{
        white-space: nowrap;
        font-size: 30px !important; /* adjust if needed */
    }
}
/* Container remains the same */
.logo-emblem {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 2px solid rgba(230, 0, 0, 0.38);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(230, 0, 0, 0.28);
}

/* 1. Keela irukka Outer Gold image - Ithu Suthum */
.outer-gold-spin {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  object-fit: cover;
  z-index: 1;
  animation: spinLogo 15s linear infinite;
}

/* 2. Mela irukka Inner Red image - Ithu Nikkum (Magic is here) */
.inner-red-static {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  object-fit: cover;
  z-index: 2;
  /* Ithu thaan trick: Image oda center 24% ah mattum crop panni kaattum */
  clip-path: circle(24% at 50% 50%); 
}

/* Suthurathukkana Animation */
@keyframes spinLogo {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



/* ============================================================
   NEW ACCORDION BOX STYLES (NO SPINNING BORDER)
   ============================================================ */
.accordion-box {
  background: rgba(30, 0, 0, 0.4);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  margin-bottom: 16px; /* Space between each accordion */
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border-color: rgba(230, 0, 0, 0.35);
}

/* Hover and Active State Animation */
.accordion-box:hover,
.accordion-item--open.accordion-box {
  transform: translateY(-4px); /* Moves slightly up */
  border-color: rgba(230, 0, 0, 0.35); /* Subtle red border */
  /* Red glowing box shadow + Inner soft glow */
  box-shadow: 0 12px 30px rgba(230, 0, 0, 0.25), inset 0 0 20px rgba(230, 0, 0, 0.05);
}



.logo-emblem::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(230, 0, 0, 0.18);
}
.logo-emblem:hover {
  box-shadow:
    0 0 70px rgba(230, 0, 0, 0.45),
    0 0 130px rgba(230, 0, 0, 0.2),
    inset 0 0 40px rgba(230, 0, 0, 0.1);
}
.logo-emblem span {
  font-size: 2.9rem;
  font-weight: 900;
  background: linear-gradient(135deg, #fff 0%, #e0c080 45%, #fff4d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: bold;
  letter-spacing: -2px;
  line-height: 1.08;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #fff 0%, #ccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Playfair Display', serif;

}
.hero-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.3rem);
  font-weight: 700;
  color: var(--red);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hero-tagline {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  margin-bottom: 40px;
  letter-spacing: 1px;
}


/* Container Spacing */
.hero-service-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
}

/* Base Tag Style with Inner Glow & Bright Border */
.hero-tag {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: linear-gradient(135deg, rgba(30, 0, 0, 0.8) 0%, rgba(10, 0, 0, 0.9) 100%);
  border: 1px solid rgba(255, 30, 30, 0.45); 
  border-radius: 12px;
  color: #ffffff;
  
  /* Intha line-ah thaan mathirukkom: 0.75rem to 0.95rem */
  font-size: 0.95rem; 
  
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.15), inset 0 0 10px rgba(255, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Pulsing Red Dot Indicator */
.pulse-dot {
  width: 8px;
  height: 8px;
  background: #ff1a1a;
  border-radius: 50%;
  box-shadow: 0 0 8px #ff1a1a, 0 0 15px #ff1a1a;
  animation: dotPulse 2s infinite;
  
  /* Intha line thaan dot marayama irukka help pannum */
  flex-shrink: 0; 
}

@keyframes dotPulse {
  0% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
  100% { opacity: 0.4; transform: scale(0.8); }
}

/* Hover State - Turns Solid Red and Pops Up */
.hero-tag:hover {
  transform: translateY(-5px) scale(1.03);
  background: var(--red);
  border-color: #ff4d4d;
  box-shadow: 0 10px 25px rgba(230, 0, 0, 0.4);
}

.hero-tag:hover .pulse-dot {
  background: #ffffff; /* Dot turns white on hover */
  box-shadow: 0 0 10px #ffffff;
}

/* Mobile responsive tweak */
@media (max-width: 768px) {
  .hero-service-tags {
    display: flex;
    flex-direction: column;
    
    /* Intha 3 lines thaan magic pannum */
    width: max-content;      /* Periya text alavukku thaguntha maathiri box-ai set pannum */
    max-width: 95%;          /* Screen-ah vittu veliya pogama safe-ah vechikkum */
    margin: 0 auto;          /* Total 3 boxes-aiyum screen-oda center-la kondu varum */
    
    align-items: stretch;    /* Moonu boxes-aiyum ore width-la uniform-ah aakkum */
  }

  .hero-tag {
    width: 100%;             /* Container alavukku expand aaga */
    justify-content: flex-start; /* Dots-ah straight-ah maintain panna */
    box-sizing: border-box;
    white-space: nowrap;     /* Single line-la text irukka */
    
    font-size: 0.75rem;      /* Mobile-ku sariyaana size */
    padding: 14px 24px;      /* Ulla irukka spacing correct-ah set panna */
  }
}






@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0);  }
  50%       { transform: rotate(45deg) translateY(7px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================================
   ABOUT US
   ============================================================ */
.about {background: linear-gradient(180deg, #000 0%, #070707 100%); }

.about-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.about-glass::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(230,0,0,0.055) 0%, transparent 70%);
  pointer-events: none;
}
.about-glass .section-title { text-align: left; margin-bottom: 36px; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-text p {
  color: rgba(255,255,255,0.72);
  margin-bottom: 18px;
  line-height: 1.85;
}
.about-text .lead-text { font-size: 1.08rem; font-weight: 400; color: var(--white); }
.about-text strong { color: var(--red); font-weight: 700; }

.about-highlights { display: flex; flex-direction: column; gap: 28px; }
.highlight-item { display: flex; gap: 18px; align-items: flex-start; }
.highlight-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red-glow);
  margin-top: 8px;
  flex-shrink: 0;
}
.highlight-item h4 { font-size: 0.92rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.highlight-item p  { font-size: 0.82rem; color: var(--white-dim); }

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: var(--black-deep);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(139,0,0,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  padding: 44px 24px;
  text-align: center;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(230,0,0,0.25);
  box-shadow: 0 20px 60px rgba(230,0,0,0.14), 0 0 30px rgba(230,0,0,0.07);
}

.stat-number {
  display: block;
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--red);
  text-shadow: 0 0 22px rgba(230,0,0,0.5);
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============================================================
   SERVICES – TABS
   ============================================================ */
.services { background: linear-gradient(180deg, #000 0%, #040404 100%); }

.tab-pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}
.tab-pill {
  padding: 11px 26px;
  border-radius: 50px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.62);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: all var(--ease);
  white-space: nowrap;
}
.tab-pill:hover {
  border-color: rgba(230,0,0,0.45);
  color: var(--white);
  background: rgba(230,0,0,0.07);
}
.tab-pill.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 0 22px rgba(230,0,0,0.38);
}

.tab-content-wrapper {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
}

/* Tab pane main style with glowing box */
.tab-pane {
  /* Unga pazhaya code */
  display: none; 
  padding: 50px; 
  animation: paneFadeIn 0.4s ease;
  
  /* Puthu Box & Shadow Design */
  background: rgba(15, 0, 0, 0.4);
  border: 1px solid rgba(230, 0, 0, 0.15);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(230, 0, 0, 0.804), inset 0 0 20px rgba(230, 0, 0, 0.05);
}

/* Tab open aagurathukkana mukkiyamana code */
.tab-pane.active {
  display: block;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .tab-pane {
    padding: 25px 20px;
  }
}
.google-gradient {
  font-size: 1.5rem;
  background: linear-gradient(90deg, #EA4335, #FBBC05, #34A853, #4285F4);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

@keyframes paneFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tab-pane-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.tab-pane-text h3 { font-size: 1.75rem; font-weight: 800; margin-bottom: 14px; color: var(--white); }
.tab-pane-text p  { color: rgba(255,255,255,0.68); margin-bottom: 24px; line-height: 1.85; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
}
.feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--red-glow);
  flex-shrink: 0;
}

.tab-pane-visual { display: flex; align-items: center; justify-content: center; }
.service-icon-large { font-size: 4.5rem; filter: drop-shadow(0 0 18px rgba(230,0,0,0.28)); }

/* ============================================================
   SERVICE BREAKDOWN – ACCORDION
   ============================================================ */
.service-breakdown { background: var(--black-deep); }

.accordion { display: flex; flex-direction: column; gap: 14px; }

.accordion-item { overflow: hidden; transition: box-shadow var(--ease), border-color var(--ease); }
.accordion-item--open,
.accordion-item:focus-within {
  border-color: rgba(230,0,0,0.22);
  box-shadow: 0 0 30px rgba(230,0,0,0.08);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--ease);
  text-align: left;
}
.accordion-header:hover { background: rgba(255,255,255,0.025); }

.accordion-icon-wrap { display: flex; align-items: center; gap: 14px; }

.platform-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 3px 8px;
  border-radius: 6px;
}

.accordion-arrow {
  font-size: 1.35rem;
  color: var(--red);
  transition: transform var(--ease);
  line-height: 1;
  flex-shrink: 0;
}
.accordion-header[aria-expanded="true"] .accordion-arrow { transform: rotate(180deg); }

.accordion-body { display: none; padding: 0 28px 28px; }
.accordion-body.active {
  display: block;
  animation: paneFadeIn 0.3s ease;
}

.accordion-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 22px;
}
.accordion-feature h4 { font-size: 0.9rem; font-weight: 700; color: var(--red); margin-bottom: 8px; }
.accordion-feature p  { font-size: 0.82rem; color: rgba(255,255,255,0.6); line-height: 1.75; }

/* ============================================================
   OUR APPROACH
   ============================================================ */
.approach {
  background: linear-gradient(180deg, #000 0%, #050000 100%);
  position: relative;
  overflow: hidden;
}
.approach::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(139,0,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.approach-content { text-align: center; position: relative; z-index: 1; }
.approach-lead {
  color: rgba(255,255,255,0.68);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 52px;
}

/* ============================================================
   OUR APPROACH (4 PILLARS) - GLASSY & RED GLOW (ALWAYS ON)
   ============================================================ */
   
/* Grid Setup for the 4 Cards */
.approach-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 50px;
}

/* Base Card Style: Glassy Effect + Red Glow Always On */
.pillar {
  position: relative;
  background: rgba(25, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(230, 0, 0, 0.4); /* Red border always on */
  border-radius: 20px;
  padding: 40px 30px;
  overflow: hidden;
  z-index: 1;
  /* Glowing red shadow always on */
  box-shadow: 0 15px 40px rgba(230, 0, 0, 0.25), 
              inset 0 0 20px rgba(230, 0, 0, 0.1);
  transition: transform 0.4s ease; 
}

/* PC Users kaga chinna bounce effect mattum */
.pillar:hover {
  transform: translateY(-8px);
}

/* Watermark Numbers - Always popped out and red */
.pillar-number {
  position: absolute;
  top: -5px;
  right: 15px;
  font-size: 2rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(230, 0, 0, 0.8); /* Red outline always */
  opacity: 1; /* Fully visible */
  transform: scale(1.1) rotate(5deg);
  z-index: -1;
}

/* Card Heading Style */
.pillar h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

/* Red Underline - Always full width */
.pillar h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%; /* Full width always */
  height: 3px;
  background: var(--red); /* Red line */
  border-radius: 2px;
  box-shadow: 0 0 10px var(--red); /* Glow always on */
}

/* Card Paragraph Text */
.pillar p {
  color: rgba(255, 255, 255, 0.95); /* Bright text always */
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   RESPONSIVE DESIGN FOR PILLARS
   ============================================================ */
/* Tablet */
@media (max-width: 1024px) {
  .approach-pillars {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
  }
}

/* Mobile */
@media (max-width: 768px) {
  .approach-pillars {
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 20px;
  }
  .pillar {
    padding: 30px 25px;
  }
  .pillar-number {
    font-size: 2rem;
    top: -5px;
  }
}

/* ============================================================
   WHY CHOOSE US (Premium Static Look for Mobile & PC)
   ============================================================ */
.why-us { background: var(--black-deep); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.why-card {
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  /* Premium dark gradient background by default */
  background: linear-gradient(145deg, rgba(30, 0, 0, 0.4) 0%, rgba(10, 10, 10, 0.6) 100%);
  border: 1px solid rgba(230, 0, 0, 0.15); /* Subtle red border always visible */
  border-radius: 24px; 
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Permanent Top Border Line (Red Gradient) */
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0.8;
}

/* Permanent subtle red glow in the top right corner */
.why-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(230, 0, 0, 0.15), transparent 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

/* PC-ku mattum light hover lift effect */
@media (min-width: 993px) {
  .why-card:hover { 
    transform: translateY(-6px); 
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(230, 0, 0, 0.1);
  }
}

/* Premium Number Styling - Default state itself looks awesome */
.why-card-number { 
  font-size: 3rem; 
  font-weight: 900; 
  color: transparent; 
  /* Red outline by default so it pops on mobile */
  -webkit-text-stroke: 1.5px rgba(230, 0, 0, 0.5); 
  line-height: 1; 
  margin-bottom: 24px; 
  display: inline-block;
  text-shadow: 0 8px 20px rgba(230, 0, 0, 0.2); /* Soft red shadow */
}

.why-card h3 { 
  font-size: 1.25rem; 
  font-weight: 700; 
  color: var(--white); 
  margin-bottom: 16px; 
}

.why-card p { 
  font-size: 0.95rem; 
  color: rgba(255, 255, 255, 0.7); 
  line-height: 1.8; 
}

/* ============================================================
   MOBILE RESPONSIVENESS
   ============================================================ */
@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .why-card {
    padding: 32px 28px;
  }
  .why-card-number {
    font-size: 2.5rem;
    margin-bottom: 16px;
  }
}

/* ============================================================
   WORKS – CAROUSEL (Premium Look)
   ============================================================ */
.works { 
  background: linear-gradient(180deg, #000 0%, #040404 100%); 
  overflow: hidden; /* Prevents horizontal scroll issues */
}

.works-carousel-wrapper { 
  position: relative; 
  width: 100%;
}

.works-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0; /* Breathing room for shadows */
}
.works-carousel::-webkit-scrollbar { display: none; }

.work-item {
  min-width: calc(33.333% - 16px);
  max-width: calc(33.333% - 16px);
  flex-shrink: 0;
  scroll-snap-align: start;
  overflow: hidden;
  padding: 0 !important; 
  border-radius: 20px; /* Enhanced modern curve */
  background: rgba(30, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05); /* Premium glass edge */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Depth shadow */
  transition: transform var(--ease, 0.3s ease), box-shadow var(--ease, 0.3s ease);
}

/* Optional: Slight lift on hover for PC */
@media (min-width: 769px) {
  .work-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(230, 0, 0, 0.15);
  }
}

.video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0;
  border-radius: 20px;
  background: #000;
}

.video-placeholder iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 1;
}

.video-thumb-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a0000 0%, #0c0c0c 55%, #080000 100%);
}

.video-thumb-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(230,0,0,0.07) 0%, transparent 50%),
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  background: var(--red, #e60000); /* Fallback added if var is missing */
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(230, 0, 0, 0.6);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}
.play-btn svg { width: 22px; height: 22px; color: white; margin-left: 3px; }
.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 40px rgba(230, 0, 0, 0.8);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  position: relative;
  z-index: 20; /* Fixed: Ensures nothing blocks the button clicks */
}
.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white, #fff);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}
.carousel-btn:hover { 
  background: rgba(230, 0, 0, 0.1); 
  border-color: var(--red, #e60000); 
  color: var(--red, #e60000);
}

/* Mobile View - Single Card Center Fix */
@media (max-width: 768px) {
  .works-carousel {
    gap: 0px !important; /* Gap remove panniyachu */
    padding: 10px 0px; /* Side padding removed so it takes full space */
  }
  .work-item {
    min-width: 100% !important; /* Strictly 100% width */
    max-width: 100% !important;
    scroll-snap-align: center !important; 
    border-radius: 12px; /* Mobile-ku etha mathiri slight radius reduction */
  }
}
/* ============================================================
   REVIEWS – TESTIMONIAL SLIDER (Updated for Smooth Loop)
   ============================================================ */
.reviews {
  background: var(--black-deep);
  position: relative;
  overflow: hidden;
}
.reviews::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(139,0,0,0.055) 0%, transparent 70%);
  pointer-events: none;
}

.testimonial-slider { 
  position: relative; 
  overflow: hidden; 
  width: 100%;
}

.testimonial-track {
  display: flex;
  width: 100%;
  will-change: transform; /* Helps with smooth animations */
}

.testimonial-slide {
  flex: 0 0 100%; /* Ithu thaan card-ah exact 100% width-la lock pannum */
  width: 100%;
  max-width: 100%;
  padding: 52px;
  text-align: center;
  box-sizing: border-box; /* Padding width-oda serthu calculate aaga ithu must */
  margin: 0; /* Extra margin iruntha remove pannidum */
}

.quote-icon {
  display: block;
  font-size: 3.8rem;
  color: rgba(230,0,0,0.28);
  line-height: 1;
  margin-bottom: 22px;
}

.testimonial-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.85;
  max-width: 680px;
  margin: 0 auto 30px;
  font-style: italic;
  font-weight: 300;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  border: 2px solid rgba(230,0,0,0.38);
  flex-shrink: 0;
}

.author-info strong { display: block; font-size: 0.92rem; font-weight: 700; color: var(--white); text-align: left; }
.author-info span   { font-size: 0.78rem; color: var(--white-dim); display: block; text-align: left; }

.star-rating { color: var(--red); font-size: 1rem; letter-spacing: 3px; text-shadow: 0 0 8px rgba(230,0,0,0.45); }

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
  position: relative;
  z-index: 10;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--ease);
}
.slider-btn:hover { background: var(--red); border-color: var(--red); box-shadow: 0 0 20px rgba(230,0,0,0.38); }

.slider-dots { display: flex; gap: 8px; align-items: center; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: all var(--ease);
  padding: 0;
}
.dot.active { background: var(--red); width: 24px; border-radius: 4px; box-shadow: 0 0 8px var(--red-glow); }

/* ============================================================
   MOBILE RESPONSIVENESS (Strict Single Card Fix)
   ============================================================ */
@media (max-width: 768px) {
  .testimonial-slider {
    width: 100%;
    overflow: hidden;
  }
  
  .testimonial-slide {
    padding: 30px 20px; /* Mobile-ku etha mathiri correct aana padding */
    border-radius: 16px;
  }
  
  .quote-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }
  
  .testimonial-text {
    font-size: 0.95rem; 
    line-height: 1.6;
    margin-bottom: 25px;
    width: 100%; /* Text exact-ah card kulla irukka */
    box-sizing: border-box;
  }
  
  /* Mobile-la author info align aaga */
  .testimonial-author {
    justify-content: center;
    gap: 12px;
  }
  
  .slider-controls {
    gap: 12px;
    margin-top: 20px;
  }
  
  .slider-btn {
    width: 40px;
    height: 40px;
  }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { 
  background: linear-gradient(180deg, #000 0%, #040404 100%); 
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* Map Card Adjustments */
.contact-map {
  padding: 24px; /* Card kulla map ukanthu irukka padding add panniyachu */
  display: flex;
  flex-direction: column;
  min-height: 500px;
  background: rgba(30, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  box-sizing: border-box;
}

.map-placeholder { 
  flex: 1; 
  overflow: hidden; 
  border-radius: 12px; /* Map-oda sharp edges-ah curve panniyachu */
  background: #111; /* Loading appo blank theriyama irukka */
}

.map-placeholder iframe { 
  display: block; 
  width: 100%; 
  height: 100%; 
  min-height: 360px; 
  border-radius: 12px; /* iframe kum same radius */
}

/* Contact Info Layout */
.contact-info {
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* Subtle divider */
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

.info-icon { 
  font-size: 1.1rem; 
  flex-shrink: 0; 
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(230,0,0,0.1); /* Icon-ku light red background */
  border-radius: 8px;
}

/* Form Styles */
.contact-form-wrap { 
  padding: 44px; 
  background: rgba(30, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
}

.contact-form-wrap h3 { 
  font-size: 1.6rem; 
  font-weight: 700; 
  margin-bottom: 28px; 
  color: var(--white); 
}

.contact-form { 
  display: flex; 
  flex-direction: column; 
  gap: 20px; 
}

.form-group { 
  display: flex; 
  flex-direction: column; 
  gap: 8px; 
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-group label span { color: var(--red); }

.form-group input,
.form-group textarea {
  background: rgba(0,0,0,0.4); /* Darker input background */
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  resize: vertical;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: rgba(30,0,0,0.6);
  box-shadow: 0 0 0 3px rgba(230,0,0,0.15);
}

/* ============================================================
   MOBILE RESPONSIVENESS
   ============================================================ */
@media (max-width: 992px) {
  /* Switch to single column on tablets and mobile */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .contact-map {
    padding: 16px; /* Reduced padding for mobile */
    min-height: 400px;
  }
  
  .map-placeholder iframe {
    min-height: 250px; /* Map height reduction for mobile */
  }

  .contact-form-wrap {
    padding: 32px 20px; /* Adjust form padding */
  }

  .contact-form-wrap h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px 16px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black-deep);
  border-top: 1px solid var(--glass-border);
  padding-top: 68px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 22px;
}
.footer-social { display: flex; gap: 10px; }

.footer-links-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links-col ul li a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--ease);
}
.footer-links-col ul li a:hover { color: var(--red); }

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 22px 0;
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center;
  text-align: center; /* Ensures text stays centered on small screens */
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p { 
  font-size: 0.78rem; 
  color: rgba(255,255,255,0.28); 
  margin: 0; /* Removes default margin so it centers perfectly */
}

/* ============================================================
   RESPONSIVE – TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .stats-grid        { grid-template-columns: repeat(2, 1fr); }
  .approach-pillars  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid       { grid-template-columns: 1fr 1fr; }
  .footer-brand      { grid-column: 1 / -1; }
  .work-item         { min-width: calc(50% - 12px); max-width: calc(50% - 12px); }
}

/* ============================================================
   RESPONSIVE – MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 65px; }

  .section-padding { padding: 70px 0; }
  .container { padding: 0 16px; }

  /* Nav Fixes */
  .nav-container { padding: 0 16px; }
  .nav-links {
    position: absolute; /* Fixed inside relative/fixed parent */
    top: var(--nav-h);
    left: 0;
    width: 100%; /* Ensures it doesn't stretch past screen */
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0 20px;
    gap: 0;
    border-bottom: 1px solid var(--glass-border);
    /* Safe hide animation */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 899;
  }
  .nav-links.open { 
    opacity: 1;
    visibility: visible;
    transform: translateY(0); 
  }
  .nav-link {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.95rem;
    text-align: center;
  }
  .nav-link:last-child { border-bottom: none; }
  .nav-social  { display: none; }
  .hamburger   { display: flex; }
  
  /* Logo tweaks so hamburger doesn't get pushed out */
  .logo-text { font-size: 1.4rem; }
  .logo-sub { font-size: 0.55rem; }

  /* Hero */
  .hero-content { padding-top: calc(var(--nav-h) + 50px); }
  .hero-title   { font-size: clamp(2rem, 10vw, 3.2rem); }
  .hero-cta     { flex-direction: column; align-items: center; }
  .logo-emblem  { width: 110px; height: 110px; }
  .logo-emblem span { font-size: 2.2rem; }

  /* About */
  .about-glass              { padding: 30px 22px; }
  .about-grid               { grid-template-columns: 1fr; gap: 32px; }
  .about-glass .section-title { text-align: center; }

  /* Services tabs */
  .tab-pill     { padding: 9px 16px; font-size: 0.76rem; }
  .tab-pane     { padding: 26px 22px; }
  .tab-pane-grid { grid-template-columns: 1fr; }
  .tab-pane-visual { display: none; }

  /* Accordion */
  .accordion-content-grid { grid-template-columns: 1fr; }

  /* Approach */
  .approach-pillars { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: 28px 22px; }

  /* Works */
  .work-item { min-width: min(320px, 82vw); max-width: min(320px, 82vw); }

  /* Testimonials */
  .testimonial-slide { padding: 32px 22px; }

  /* Contact */
  .contact-grid      { grid-template-columns: 1fr; }
  .contact-map       { min-height: 360px; }
  .contact-form-wrap { padding: 28px 22px; }

  /* Footer */
  .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .approach-pillars { grid-template-columns: 1fr; }
  .section-title    { font-size: 1.75rem; }
  .stats-grid       { gap: 14px; }
}



/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--red, #e60000); /* Premium Red */
  color: var(--white, #fff);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  
  /* Initial Hidden State */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Glow Effect */
  box-shadow: 0 5px 15px rgba(230, 0, 0, 0.4);
}

/* Class added by JS to show the button */
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(230, 0, 0, 0.6);
  background: #ff0000; /* Slightly brighter red on hover */
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px); /* Arrow moves up slightly */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  .back-to-top svg {
    width: 20px;
    height: 20px;
  }
}




.showcase-section {
  background: var(--black-deep);
  display: flex;
  flex-direction: column;
}

/* 1. SEPARATED VIDEO FRAME */
/* 1. SEPARATED VIDEO FRAME */
.showcase-bg {
  position: relative;
  height: 85vh; 
  width: 100%; 
  margin: 0; 
  border-radius: 0; 
  overflow: hidden;
  z-index: 1;
}

/* Background YouTube Video Full Cover Hack */
.bg-video { 
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 Aspect Ratio */
  min-height: 100%;
  min-width: 177.77vh; /* Height-ah base panni exact width calc panna */
  transform: translate(-50%, -50%) scale(1.2); /* 1.2 Scale panna thaan YouTube title & black bars hide aagum */
  pointer-events: none;
  border: none;
}
.showcase-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); }

.showcase-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  width: 100%;
}

/* 2. GAP BETWEEN VIDEO AND CARDS */
.section-gap {
  height: 60px; /* Intha space-ah adjust panni gap mathikkalam */
}

/* 3. CONTINUOUS MARQUEE */
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 20px 0 60px;
  background: var(--black-deep);
}

.marquee-track {
  display: flex;
  gap: 25px;
  width: max-content;
  animation: scrollMarquee 25s linear infinite;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Half of total width for seamless loop */
}

/* 4. RECTANGLE CARDS (Apple TV+ Size Match) */
.marquee-card {
  width: 320px; 
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px; /* Image-kkum text-kkum naduvula gap */
  /* Border, background, overflow ellam thookiyachu! */
}
.marquee-card:hover .card-thumb { 
  transform: translateY(-5px); 
  border-color: var(--red); 
  box-shadow: 0 10px 20px rgba(230, 0, 0, 0.2);
}

/* .marquee-card:hover { 
  transform: scale(1.05); 
  border-color: var(--red); 
} */

.card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* Ultra-wide rectangle */
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s ease;
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }

.card-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 50px; height: 50px;
  background: var(--red);
  border-radius: 50%; border: none; color: white;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.8;
}

/* 3. Text Info (Frame-kku veliya ukkarum) */
.card-info { 
  padding: 0 5px; /* Veliya irukkurathala padding theva illa */
  text-align: left;
}

.card-info h4 { 
  color: white; 
  margin: 0 0 5px 0; 
  font-size: 1.1rem; 
  transition: color 0.3s ease;
}
.card-info span { color: #888; font-size: 0.8rem; }

.marquee-card:hover .card-info h4 {
  color: var(--red); /* Hover pannumbothu title light-a red aagum */
}

.card-info span { 
  color: #888; 
  font-size: 0.85rem; 
}

/* VIDEO MODAL STYLES */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.modal-content { width: 80%; max-width: 900px; aspect-ratio: 16/9; }
/* Intha code-ah CSS-la irunthu thookidunga! */
.marquee-track:hover .marquee-group {
  animation-play-state: paused;
}





/* --- Pazhaiya CSS (Already irukurathu) --- */
.cards-list-layout { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.service-card.wide-card { background-color: #0c0a0a; border: 1px solid rgba(255, 60, 60, 0.15); border-radius: 20px; padding: 40px 50px; width: 100%; max-width: 900px; }
/* ... Matha pazhaiya styles ... */

/* --- PUTHU CSS (Digital Promotions Icons-kaga) --- */

/* 2 Column layout for Digital Promotions */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 varisaiyil varum */
  gap: 30px;
  margin-top: 15px;
}

/* Icon & Text-ah pakathula pakathula vekka */
.platform-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

/* Periya Image / Logo Style */
.large-platform-icon {
  width: 80px; /* Icon-oda agalam (perusa venumna 70px vekkalam) */
  height: 80px; /* Icon-oda uyaram */
  object-fit: contain;
  flex-shrink: 0; /* Image size kuraiyama irukka */
  background: rgba(255, 255, 255, 0.03); /* Lighter background for the icon box */
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Text styles inside the platform item */
.platform-details {
  display: flex;
  flex-direction: column;
}

.platform-name {
  color: #ffffff;
  font-size: 1.3rem;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.platform-details p {
  color: #cccccc;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

/* Mobile View - Platforms grid ah 1 column-a matha */
@media (max-width: 768px) {
  .platforms-grid {
    grid-template-columns: 1fr; /* Mobile-la onnukku keela onna varum */
    gap: 25px;
  }
  
  .large-platform-icon {
    width: 50px;
    height: 50px;
  }
}

#services .container {
  max-width: 1150px !important; 
}


.service-card.wide-card {
  background-color: #0c0a0a; 
  border: 1px solid rgba(255, 60, 60, 0.15); 
  border-radius: 20px;
  padding: 40px 50px; 
  width: 100%; 
  max-width: 100% !important; 
}




.contact-form select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23ff1a1a' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  background-color: #0c0a0a !important;
  transition: border-color 0.3s ease;
  -webkit-text-fill-color: #ffffff;
}

.contact-form select:focus {
  border-color: rgba(255, 26, 26, 0.6);
  background-color: rgba(255, 255, 255, 0.05);
}

.contact-form select option {
  background-color: #0c0a0a !important;
  background: #0c0a0a !important;
  color: #ffffff !important;
}

.contact-form select option:checked,
.contact-form select option:hover {
  background-color: #1a0000 !important;
  color: #ff1a1a !important;
}
.contact-form select option:checked {
  background: linear-gradient(#1a0000, #1a0000) !important;
  background-color: #1a0000 !important;
  color: #ff1a1a !important;
}
#othersGroup {
  display: flex;
  flex-direction: column;
}

#othersGroup textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  outline: none;
  resize: vertical;
  transition: border-color 0.3s ease;
}

#othersGroup textarea:focus {
  border-color: rgba(255, 26, 26, 0.6);
}