/* =============================================
   LINGAMSETTY KISHORE KUMAR – PREMIUM PORTFOLIO CSS
   ============================================= */

:root {
  --orange: #ff7a00;
  --orange-light: #ff9a3c;
  --orange-dark: #e06500;
  --orange-glow: rgba(255,122,0,0.18);
  --charcoal: #222222;
  --white: #ffffff;
  --gray-light: #f8f8f8;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  overflow-x: hidden;
  background: #fff;
}

/* ===== PAGE LOADER ===== */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner { text-align: center; }

.loader-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: 4px;
  margin-bottom: 24px;
  animation: pulse-logo 1.2s ease-in-out infinite;
}
@keyframes pulse-logo {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.95); }
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
}
.loader-progress {
  height: 100%;
  background: var(--orange);
  border-radius: 10px;
  animation: loading 2s ease-in-out forwards;
}
@keyframes loading { from { width: 0; } to { width: 100%; } }

/* ===== NAVBAR ===== */
#navbar {
  background: transparent;
}
#navbar.scrolled {
  background: rgba(34,34,34,0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

/* ===== NAVBAR FLAG LOGO ===== */
.nav-round-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  margin-right: 8px;
}

.navflag-staff {
  width: 3px;
  height: 46px;
  background: linear-gradient(to bottom, #f5e070 0%, #b8860b 45%, #f5e070 100%);
  border-radius: 2px 2px 3px 3px;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(200,160,20,0.5);
}

.navflag-wrap {
  position: relative;
  width: 165px;
  height: 44px;
}

.navflag-wrap svg {
  position: absolute;
  inset: 0;
  overflow: visible;
}

.navflag-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 6px 0 10px;
  pointer-events: none;
  z-index: 2;
  user-select: none;
}

.navflag-text span:first-child {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.35;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.navflag-text span:last-child {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #ffffff;
  text-transform: uppercase;
  opacity: 0.92;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.nav-link {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--orange); }
.nav-link:hover::after { width: 100%; }

.nav-link-mobile {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: block;
  transition: color 0.3s;
}
.nav-link-mobile:hover { color: var(--orange); }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--orange);
  color: white;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--orange);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,122,0,0.4); }
.btn-primary:hover::before { transform: translateX(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: white;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

/* ===== HERO ===== */
#hero { background: #111; }

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: float-orb 8s ease-in-out infinite;
}
.glow-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,122,0,0.15) 0%, transparent 70%);
  top: -200px; left: -200px;
  animation-delay: 0s;
}
.glow-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,122,0,0.1) 0%, transparent 70%);
  bottom: -100px; right: -150px;
  animation-delay: 3s;
}
.glow-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,154,60,0.12) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation-delay: 5s;
}
@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.05); }
}

/* HERO NAME — Indian flag wave via CSS background-clip */
/* Repeating horizontal stripes (saffron → white → green) sweep across the text. */
@keyframes flagWave {
  from { background-position: 0% 0; }
  to   { background-position: -300% 0; }
}

.hero-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  user-select: none;
  display: block;
  width: 100%;
  line-height: 1.0;
  text-align: center;
}

/* Each line carries its own gradient + clip so sizing is independent */
.hero-name-line1,
.hero-name-line2 {
  display: block;
  background-image: repeating-linear-gradient(
    90deg,
    #FF9933 0%,
    #FF9933 33.33%,
    
    #FFFFFF 33.33%,
    #FFFFFF 66.66%,
    
    #138808 0%,
    #138808 0%
  );

  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: flagWave 6s linear infinite;
}

/* Surname — compact, spaced */
.hero-name-line1 {
  font-size: clamp(20px, 5vw, 78px);
  letter-spacing: clamp(6px, 1.2vw, 16px);
  margin-bottom: 0.08em;
}

/* First name — dominant, large */
.hero-name-line2 {
  font-size: clamp(28px, 8vw, 100px);
  letter-spacing: clamp(2px, 0.5vw, 8px);
}

/* Scroll indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* ===== SECTION COMMON ===== */
.section-label {
  display: inline-block;
  background: rgba(255,122,0,0.1);
  color: var(--orange);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,122,0,0.2);
}
.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 16px;
}

/* ===== ABOUT ===== */
.section-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,122,0,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.about-image-wrapper { position: relative; }

.about-image-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}
.about-image-frame::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light), transparent, transparent);
  border-radius: 18px;
  z-index: -1;
}
.about-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.about-image-badge {
  position: absolute;
  bottom: 24px;
  right: -20px;
  background: white;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  text-align: center;
}
@media (max-width: 1024px) {
  .about-image-badge { right: 16px; }
}

.trait-card {
  background: var(--gray-light);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid rgba(255,122,0,0.08);
  transition: all 0.3s;
}
.trait-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255,122,0,0.1);
}

/* ===== STATS ===== */
.stats-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,122,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  transition: all 0.4s;
}
.stat-card:hover {
  background: rgba(255,122,0,0.08);
  border-color: rgba(255,122,0,0.3);
  transform: translateY(-6px);
}
.stat-icon {
  width: 56px; height: 56px;
  background: rgba(255,122,0,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--orange);
  font-size: 20px;
}
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== BUSINESS CARDS ===== */
.business-card {
  border-radius: 16px;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(0,0,0,0.06);
}
.business-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(255,122,0,0.2);
}
.business-card-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.business-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.business-card:hover .business-card-image img { transform: scale(1.08); }

.business-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(34,34,34,0.85));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.business-card:hover .business-card-overlay { opacity: 1; }

.business-card-body { padding: 24px; }
.business-icon {
  width: 44px; height: 44px;
  background: rgba(255,122,0,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 18px;
  margin-bottom: 12px;
  transition: all 0.3s;
}
.business-card:hover .business-icon {
  background: var(--orange);
  color: white;
}

/* ===== TIMELINE ===== */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline-track {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange), rgba(255,122,0,0.2));
  transform: translateX(-50%);
}
@media (max-width: 768px) {
  .timeline-track { left: 8px; }
  /* Reduce section padding so cards use the full viewport width */
  #timeline > div { padding-left: 10px; padding-right: 10px; }
}

.timeline-item {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 60px;
}
.timeline-item:nth-child(even) .timeline-content { margin-left: auto; padding-left: 48px; }
.timeline-item:nth-child(odd) .timeline-content { margin-right: auto; padding-right: 48px; text-align: right; }

@media (max-width: 768px) {
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin: 0 0 0 22px;
    padding: 0;
    text-align: center;
  }
  .timeline-year { text-align: left; }
}

.timeline-content {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 24px;
  width: 45%;
  transition: all 0.3s;
}
.timeline-content:hover {
  background: rgba(255,122,0,0.08);
  border-color: rgba(255,122,0,0.3);
}

@media (max-width: 768px) {
  .timeline-content {
    width: calc(100% - 22px);
    padding: 16px;
  }
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--orange);
  border-radius: 50%;
  border: 3px solid #1a1a1a;
  box-shadow: 0 0 20px rgba(255,122,0,0.5);
  z-index: 2;
}
.timeline-dot.active {
  width: 22px;
  height: 22px;
  box-shadow: 0 0 30px rgba(255,122,0,0.8);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 30px rgba(255,122,0,0.8); }
  50% { box-shadow: 0 0 50px rgba(255,122,0,1); }
}

@media (max-width: 768px) {
  .timeline-dot { left: 8px; }
}

.timeline-year {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.timeline-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}
.timeline-desc { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.7; }

/* ===== PHILOSOPHY CARDS ===== */
.philosophy-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,122,0,0.12);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.philosophy-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,122,0,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.philosophy-card:hover {
  border-color: var(--orange);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(255,122,0,0.15);
}
.philosophy-card:hover::before { opacity: 1; }

.philosophy-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(255,122,0,0.35);
}
.philosophy-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.philosophy-card p { color: rgba(34,34,34,0.65); font-size: 14px; line-height: 1.7; }

/* ===== GALLERY ===== */
.gallery-masonry {
  columns: 3;
  column-gap: 16px;
}
@media (max-width: 1024px) { .gallery-masonry { columns: 2; } }
@media (max-width: 600px)  { .gallery-masonry { columns: 1; } }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item.tall img { height: 400px; object-fit: cover; }
.gallery-item.wide img { height: 250px; object-fit: cover; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(255,122,0,0.7));
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s;
  color: white;
  font-size: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(10px);
}
.lightbox.hidden { display: none; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.1);
  color: white;
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s;
}
.lightbox-close:hover { background: var(--orange); }

/* ===== TESTIMONIALS ===== */
.testimonials-swiper { padding-bottom: 50px !important; }

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 36px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 80px;
  font-family: 'Cormorant Garamond', serif;
  color: var(--orange);
  opacity: 0.3;
  line-height: 1;
}
.testimonial-stars { color: var(--orange); margin-bottom: 16px; gap: 4px; display: flex; }
.testimonial-card > p { color: rgba(255,255,255,0.75); font-size: 15px; line-height: 1.8; margin-bottom: 24px; font-style: italic; }

.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author img {
  width: 50px; height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--orange);
}
.testimonial-author strong { display: block; color: white; font-size: 14px; }
.testimonial-author span { color: var(--orange); font-size: 12px; letter-spacing: 1px; }

.testimonials-pagination .swiper-pagination-bullet { background: rgba(255,255,255,0.3); }
.testimonials-pagination .swiper-pagination-bullet-active { background: var(--orange); }

/* ===== AWARDS ===== */
.award-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255,122,0,0.1);
  background: white;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.award-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--orange), var(--orange-light));
  transform: scaleX(0);
  transition: transform 0.3s;
}
.award-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(255,122,0,0.15); }
.award-card:hover::after { transform: scaleX(1); }

.award-trophy {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 24px;
  margin: 0 auto 16px;
  box-shadow: 0 10px 30px rgba(255,122,0,0.35);
  animation: float-trophy 3s ease-in-out infinite;
}
@keyframes float-trophy {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.award-card h3 { font-weight: 700; margin-bottom: 8px; font-size: 1rem; }
.award-card p { color: rgba(34,34,34,0.6); font-size: 13px; }

/* ===== CSR ===== */
.csr-pattern {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23fff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.csr-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}
.csr-card:hover { background: rgba(255,255,255,0.2); transform: translateY(-6px); }
.csr-card i { font-size: 2.5rem; color: rgba(255,255,255,0.9); margin-bottom: 16px; display: block; }
.csr-card h3 { font-weight: 700; margin-bottom: 10px; font-size: 1rem; }
.csr-card p { opacity: 0.85; font-size: 14px; line-height: 1.7; }

/* ===== CONTACT ===== */
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border: 1px solid rgba(255,122,0,0.08);
  transition: all 0.3s;
}
.contact-card:hover {
  border-color: var(--orange);
  transform: translateX(6px);
  box-shadow: 0 8px 30px rgba(255,122,0,0.12);
}
.contact-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-card strong { display: block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--charcoal); }
.contact-card span { color: rgba(34,34,34,0.65); font-size: 14px; }

.social-btn {
  width: 44px; height: 44px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s;
}
.social-btn:hover { transform: translateY(-4px) scale(1.1); box-shadow: 0 8px 20px rgba(255,122,0,0.4); }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: all 0.3s;
  outline: none;
  background: white;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,122,0,0.1);
}
.contact-form .btn-primary { width: 100%; justify-content: center; }

/* ===== FOOTER ===== */
footer { padding-top: 0; }

.footer-wave {
  width: 100%;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23f8f8f8' fill-opacity='1' d='M0,30 C240,60 480,0 720,30 C960,60 1200,0 1440,30 L1440,0 L0,0 Z'/%3E%3C/svg%3E") no-repeat top center / cover;
}

.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-links a:hover { color: var(--orange); }

.social-btn-sm {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s;
}
.social-btn-sm:hover { background: var(--orange); color: white; }

/* ===== MAGNETIC BUTTONS ===== */
.magnetic-btn { position: relative; }

/* ===== HERO ENTRANCE — initial hidden state set by JS =====
   JS sets opacity:0 / translateY(30px) immediately, then transitions
   to visible after the loader dismisses. CSS animations are avoided
   here because browsers pause them in background/headless tabs. */
.hero-anim-1,
.hero-anim-photo,
.hero-anim-2,
.hero-anim-3,
.hero-anim-4,
.hero-anim-5 {
  will-change: opacity, transform;
}

/* ===== HERO PORTRAIT PHOTO ===== */
.hero-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 28px auto 24px;
  width: fit-content;
}

.hero-photo-ring {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, #ff7a00 0%, #ff9a3c 50%, #e06500 100%);
  box-shadow: 0 0 0 4px rgba(255,122,0,0.15), 0 0 40px rgba(255,122,0,0.3);
  animation: photo-float 4s ease-in-out infinite;
}

.hero-photo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  object-position: center top;
  background: linear-gradient(to bottom, #71403f 0%, #b4936f 50%, #f4e39b 100%);
  border: none;
  display: block;
}

.hero-photo-glow {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,0,0.18) 0%, transparent 70%);
  animation: photo-pulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes photo-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

@keyframes photo-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.08); }
}

@media (max-width: 768px) {
  .hero-photo-ring { width: 140px; height: 140px; }
}

/* ===== WHATSAPP FLOATING WIDGET ===== */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 28px;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
}

.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); pointer-events: auto; }

.whatsapp-tooltip {
  background: #111;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.whatsapp-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: #fff;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease;
  animation: wa-pulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover .whatsapp-icon {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37,211,102,0.6);
  animation: none;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 0 0 12px rgba(37,211,102,0); }
}

/* ===== AOS OVERRIDES ===== */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ===== TIMELINE SCROLL REVEAL =====
   Elements start visible (no opacity:0 default) so they never get stuck.
   The IntersectionObserver adds .tl-visible which triggers the slide-in. */
.timeline-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.timeline-item.tl-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SECTION HEADING REVEAL ===== */
.section-heading {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.section-heading.heading-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-name-line1 { letter-spacing: 4px; }
  .hero-name-line2 { letter-spacing: 2px; }
  .about-image { height: 350px; }
  .about-image-badge { right: 16px; }
  .gallery-masonry { columns: 1; }
}

/* ===== COMPANY PAGE STYLES ===== */
.company-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.company-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34,34,34,0.85) 0%, rgba(34,34,34,0.6) 100%);
}
.company-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.company-nav-back {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 100;
  background: var(--orange);
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}
.company-nav-back:hover { transform: translateX(-4px); box-shadow: 0 6px 20px rgba(255,122,0,0.4); }

.service-card {
  padding: 28px;
  border-radius: 14px;
  border: 1px solid rgba(255,122,0,0.1);
  background: white;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.service-card:hover { border-color: var(--orange); transform: translateY(-5px); box-shadow: 0 15px 40px rgba(255,122,0,0.12); }
.service-icon { font-size: 2rem; color: var(--orange); margin-bottom: 14px; }
.service-card h3 { font-weight: 700; margin-bottom: 8px; }
.service-card p { color: rgba(34,34,34,0.65); font-size: 14px; line-height: 1.7; }

.milestone-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.milestone-year {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--orange);
  min-width: 80px;
}
.milestone-text strong { display: block; font-weight: 700; margin-bottom: 4px; }
.milestone-text p { color: rgba(34,34,34,0.65); font-size: 14px; }
