/* ===== RESET & BASE STYLES ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* ===== FRESH "SUNSHINE GARDEN" PALETTE — light yellow + green + white + orange ===== */
  --primary-gold: #FF9F45;    /* light orange — structure, borders, icon backgrounds */
  --accent-gold: #FFD23F;     /* fresh yellow — CTAs, highlights */
  --accent-hover: #FFB627;    /* deeper yellow-orange — hover states */
  --bg-white: #FFFFFF;        /* white — base background */
  --bg-yellow: #FFF6D6;       /* light yellow — section background */
  --bg-green: #E4F5E6;        /* light green — section background */
  --bg-orange: #FFE9D6;       /* light orange — section background */
  --light-cream: #FFFDF7;     /* near-white cream — card backgrounds */
  --text-light: #3A3A2E;      /* dark warm text — used on light backgrounds */
  --deep-accent: #2F5233;     /* deep forest green — contrast text/icons on gold circles ONLY, not a background */
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(31,58,38,0.10);
  --shadow-md: 0 4px 20px rgba(31,58,38,0.12);
  --shadow-lg: 0 8px 40px rgba(31,58,38,0.15);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  background-color: #f8f8f8;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

h2, h3 {
  font-family: "Dancing Script", cursive;
  font-optical-sizing: auto;
  font-weight: 600;
}

/* ===== PAGE LOADER ===== */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:rgb(105, 1, 37);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  color: var(--primary-gold);
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 210, 63, 0.2);
  border-top-color: var(--primary-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader-content p {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 2px;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-gold), var(--accent-gold));
  z-index: 9999;
  transition: width 0.1s ease;
  box-shadow: 0 2px 10px rgba(255, 210, 63, 0.5);
}

/* ===== NAVBAR ===== */
#navall {
  background-color: rgba(255, 253, 245, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 2px 20px rgba(31,58,38,0.12);
  transition: var(--transition-smooth);
  height: 10px;
}

#navall.scrolled {
  background-color: rgba(255, 253, 245, 0.98);
  padding: 5px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.navbar .logo {
  color: rgba(47, 82, 51, 0.9);
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.navbar .logo img {
  filter: brightness(1.2);
  transition: var(--transition-smooth);
}

.navbar .logo:hover img {
  filter: brightness(1.5) drop-shadow(0 0 10px rgba(255, 210, 63, 0.5));
  transform: scale(1.05);
}

.navbar ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar ul li {
  position: relative;
}

.navbar ul li a {
  color: #2F5233;
  padding: 10px 20px;
  display: block;
  text-decoration: none;
  font-weight: 400;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.navbar ul li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.navbar ul li a:hover::before {
  width: 80%;
}

.navbar ul li:hover a {
  color: var(--accent-gold);
  transform: translateY(-2px);
}

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  background: rgba(255, 253, 245, 0.98);
  backdrop-filter: blur(10px);
  top: 50px;
  left: 0;
  min-width: 200px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: var(--transition-smooth);
}

.navbar ul li:hover .dropdown {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown a {
  padding: 15px 20px;
  color: #2F5233;
  transition: var(--transition-smooth);
}

.dropdown a:hover {
  background: linear-gradient(90deg, rgba(76, 175, 80, 0.25), rgba(76, 175, 80, 0.15));
  transform: translateX(5px);
}

.dropdown p {
  margin: 0;
  transition: var(--transition-smooth);
}

.dropdown a:hover p {
  color: var(--accent-gold);
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle div {
  width: 28px;
  height: 3px;
  background-color: #2F5233;
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.menu-toggle.active div:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active div:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active div:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* ===== HERO VIDEO SECTION ===== */
.video-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  color: white;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.video-bg iframe {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  scale: 1.5;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(31,58,38,0.65) 0%, rgba(31,58,38,0.35) 100%);
  z-index: -1;
}

.video-content {
  position: relative;
  z-index: 1;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 20px;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-30%);
  }
  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}

.hero-logo {
  animation: logoFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 10px 30px rgba(255, 210, 63, 0.3));
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-title {
  font-size: 3.5rem;
  margin: 30px 0 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 2px 2px 20px rgba(31,58,38,0.4);
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 1px;
  animation: fadeInUp 1s ease 0.4s both;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-hover));
  color: var(--deep-accent);
  padding: 16px 40px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(255, 159, 69, 0.3);
  animation: fadeInUp 1s ease 0.6s both;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(255, 159, 69, 0.5);
}

.cta-button svg {
  transition: var(--transition-smooth);
}

.cta-button:hover svg {
  transform: translateX(5px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 15px;
  position: relative;
}

.mouse::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: mouseScroll 1.5s infinite;
}

@keyframes mouseScroll {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* ===== SECTION STYLES ===== */
section {
  padding: 100px 5%;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease;
}

.section-tag {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--primary-gold), var(--accent-gold));
  color: var(--deep-accent);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 15px;
  animation: fadeIn 1s ease;
}

.section-header h2 {
  font-size: 3rem;
  color: var(--primary-gold);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-line {
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  margin: 0 auto;
  animation: lineExpand 1s ease;
}

@keyframes lineExpand {
  from { width: 0; }
  to { width: 100px; }
}

/* Scroll Reveal Animation */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SERVICES SECTION ===== */
.services-section {
  background: var(--bg-green);
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--light-cream);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(76, 175, 80, 0.1), transparent);
  transform: rotate(45deg);
  transition: var(--transition-smooth);
}

.service-card:hover::before {
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-gold), var(--accent-gold));
  border-radius: 50%;
  color: var(--deep-accent);
  transition: var(--transition-bounce);
}

.service-card:hover .service-icon {
  transform: rotateY(360deg);
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #333;
  transition: var(--transition-smooth);
}

.service-card:hover h3 {
  color: var(--primary-gold);
}

.service-card p {
  color: #666;
  line-height: 1.8;
  font-size: 1rem;
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
  background: var(--bg-yellow);
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: var(--light-cream);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  opacity: 0;
  transform: scale(0.9);
  animation: cardFadeIn 0.6s ease forwards;
}

@keyframes cardFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.slider {
  width: 100%;
  height: 250px;
  position: relative;
  overflow: hidden;
}

.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slider img.active {
  opacity: 1;
}

.project-info {
  padding: 25px;
}

.project-info h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 12px;
  transition: var(--transition-smooth);
}

.project-card:hover .project-info h3 {
  color: var(--primary-gold);
}

.project-info p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Loading Skeleton */
.loading-skeleton {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.skeleton-card {
  height: 400px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 20px;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.project-card.hidden {
  display: none;
}

/* View More Button */
.view-more-wrapper {
  text-align: center;
  margin-top: 50px;
}

.view-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 35px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-hover));
  border: none;
  color: var(--deep-accent);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 5px 20px rgba(255, 159, 69, 0.3);
}

.view-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 159, 69, 0.5);
}

.view-more-btn svg {
  transition: var(--transition-smooth);
}

.view-more-btn:hover svg {
  transform: translateY(3px);
}

/* ===== NEW PROJECTS SECTION ===== */
.new-projects-section {
  background: var(--bg-orange);
}

.new-projects-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.project-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.project-image iframe {
  border-radius: 20px;
  transition: var(--transition-smooth);
}

.project-image:hover iframe {
  transform: scale(1.02);
}

.project-details {
  text-align: left;
  max-width: 600px;
}

.project-details h3 {
  font-size: 2.2rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.project-details p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.8;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
  color: var(--text-light);
  margin: 15px 0;
  padding: 10px;
  background: rgba(76, 175, 80, 0.05);
  border-radius: 10px;
  transition: var(--transition-smooth);
}

.feature-list li:hover {
  background: rgba(76, 175, 80, 0.1);
  transform: translateX(10px);
}

.feature-list li svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-hover));
  color: var(--deep-accent);
  padding: 14px 35px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 5px 20px rgba(255, 159, 69, 0.3);
}

.btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(255, 159, 69, 0.5);
}

.btn svg {
  transition: var(--transition-smooth);
}

.btn:hover svg {
  transform: translateX(5px);
}

/* ===== OFFICE SECTION ===== */
.office {
  background: var(--bg-white);
}

.office-slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.slider2 {
  width: 100%;
  height: 600px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.slider2 .slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.slider2 .slide.active {
  opacity: 1;
}

.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  pointer-events: none;
}

.slider-btn {
  width: 50px;
  height: 50px;
  background: rgba(76, 175, 80, 0.9);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 50%;
  color: var(--deep-accent);
  cursor: pointer;
  transition: var(--transition-smooth);
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.slider-btn:hover {
  background: var(--accent-gold);
  transform: scale(1.1);
}

.slider-btn:active {
  transform: scale(0.95);
}

/* ===== TEAM SECTION ===== */
.team-section {
  background: var(--bg-green);
}

.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.1), transparent);
  transition: var(--transition-smooth);
}

.team-card:hover::before {
  left: 100%;
}

.team-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-gold);
  box-shadow: 0 10px 40px rgba(76, 175, 80, 0.2);
}

.team-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 4px solid var(--primary-gold);
  transition: var(--transition-smooth);
}

.team-card:hover img {
  transform: scale(1.1) rotate(5deg);
  border-color: var(--accent-gold);
}

.team-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--text-light);
}

.team-card p {
  color: rgba(47, 82, 51, 0.75);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--bg-yellow);
}

.about-container {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text {
  flex: 1;
  text-align: left;
}

.lead-text {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.8;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.8;
}

.about-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  max-width: 100%;
  border-radius: 20px;
  transition: var(--transition-smooth);
  display: block;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.about-image:hover .image-overlay {
  opacity: 1;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* ===== POPUP FORM ===== */
.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(31, 58, 38, 0.55);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.popup.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-content {
  background: linear-gradient(135deg, #ffffff, #f8f8f8);
  margin: auto;
  padding: 40px;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.4s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  color: #999;
  cursor: pointer;
  transition: var(--transition-smooth);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-btn:hover {
  color: #333;
  background: rgba(76, 175, 80, 0.08);
  transform: rotate(90deg);
}

.popup-content h2 {
  margin-top: 0;
  margin-bottom: 25px;
  color: var(--deep-accent);
  font-size: 2rem;
}

form label {
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
  color: #333;
  font-weight: 500;
}

form input,
form select {
  width: 100%;
  margin: 8px 0;
  padding: 14px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition-smooth);
  background: white;
}

form input:focus,
form select:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
}

.checkbox input {
  width: auto;
  margin: 0;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-hover));
  color: var(--deep-accent);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  transition: var(--transition-smooth);
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 159, 69, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn.loading span {
  opacity: 0;
}

.btn-loader {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border: 3px solid rgba(82, 70, 47, 0.15);
  border-top-color: var(--deep-accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.submit-btn.loading .btn-loader {
  display: block;
}

.form-success {
  text-align: center;
  padding: 30px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 20px;
  animation: successPop 0.6s ease;
}

@keyframes successPop {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.form-success p {
  font-size: 1.2rem;
  color: #333;
  font-weight: 500;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-gold), var(--accent-gold));
  color: var(--deep-accent);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-lg);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-green);
  color: #2F5233;
  padding: 60px 5% 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-section h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--accent-gold);
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--primary-gold);
}

.footer-section p {
  color: rgba(47,82,51,0.75);
  line-height: 1.8;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: rgba(47,82,51,0.75);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-section ul li a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(47,82,51,0.15);
  color: rgba(47,82,51,0.55);
  font-size: 0.95rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (min-width: 768px) {
  .about-container {
    flex-direction: row;
  }
  
  .new-projects-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 900px) {
  .projects-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .loading-skeleton {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .navbar ul {
    display: none;
    width: 100%;
    flex-direction: column;
    background: rgba(255, 253, 245, 0.98);
    position: absolute;
    top: 100%;
    left: 0;
    padding: 20px 0;
    box-shadow: var(--shadow-lg);
  }

  .navbar ul.show {
    display: flex;
    animation: slideDown 0.3s ease;
  }

  .navbar ul li {
    width: 100%;
    text-align: center;
  }

  .dropdown {
    position: static;
    margin-top: 10px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .slider2 {
    height: 400px;
  }
}

@media (max-width: 600px) {
  .projects-container {
    grid-template-columns: 1fr;
  }
  
  .loading-skeleton {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2rem;
  }

  .cta-button {
    padding: 14px 30px;
    font-size: 1rem;
  }

  section {
    padding: 60px 5%;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .slider2 {
    height: 300px;
  }

  .popup-content {
    padding: 30px 20px;
  }
}

/* ===== RESPONSIVE IFRAME ===== */
#videof {
  width: 560px;
  height: 315px;
  max-width: 100%;
  border-radius: 15px;
}

@media (max-width: 768px) {
  #videof {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .back-to-top,
  .scroll-progress,
  .page-loader {
    display: none;
  }
}



/*==========================================
        PROJECT SECTION
==========================================*/

.project-section{
  padding:50px 8%;
  background:linear-gradient(180deg, var(--bg-white), var(--bg-green));
  box-sizing:border-box;
}

.project-heading{
  text-align:center;
  max-width:750px;
  margin:auto auto 40px;
}

.section-tag{
  display:inline-block;
  padding:10px 24px;
  background:var(--primary-gold);
  color:var(--deep-accent);
  border-radius:50px;
  font-weight:600;
  margin-bottom:15px;
}

.project-heading h2{
  font-size:2.4rem;
  color:var(--deep-accent);
  margin-bottom:12px;
  font-weight: 900;
}
#aarambh-residensy{
  color: #520505;
}
.project-heading p{
  color:var(--text-light);
  line-height:1.7;
  font-size:0.95rem;
}

.project-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:40px;
  align-items:center;
}

/* Fixed aspect ratio instead of vh-lock — no black letterbox bars,
   scales naturally with the column width, image fills box cleanly */
.main-image{
  position:relative;
  overflow:hidden;
  border-radius:24px;
  box-shadow:var(--shadow-lg);
  aspect-ratio:4 / 3;
}

.main-image img{
  width:100%;
  height:100%;
  object-fit:cover;   /* fills the box, no black bars */
  object-position:center;
  display:block;
  transition:.6s;
}

.main-image:hover img{
  transform:scale(1.05);
}

.image-overlay{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  padding:25px 30px;
  background:linear-gradient(transparent, rgba(0,0,0,.75));
  color:white;
}

.image-overlay h3{
  font-size:1.6rem;
}

.image-overlay span{
  color:var(--bg-yellow);
}

.thumbs{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-top:14px;
}

.thumbs img{
  width:100%;
  height:80px;
  object-fit:cover;
  border-radius:12px;
  cursor:pointer;
  border:3px solid transparent;
  transition:.35s;
}

.thumbs img:hover{
  transform:translateY(-4px);
  border-color:var(--primary-gold);
}

.thumbs img.active{
  border-color:var(--accent-gold);
}

.info-card{
  background:white;
  padding:28px;
  border-radius:20px;
  box-shadow:var(--shadow-md);
  color: #520505;
}

.info-card h3{
  font-size:1.5rem;
  color:var(--deep-accent);
  margin-bottom:18px;
  
}

.highlights-table td{
  padding:8px 10px 8px 0;
  font-size:0.92rem;
  color:var(--text-light);
}

.stats{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
  margin:24px 0;
}

.stat{
  background:var(--bg-orange);
  padding:18px;
  border-radius:16px;
  text-align:center;
  transition:.4s;
}

.stat:hover{
  transform:translateY(-6px);
  background:var(--primary-gold);
}

.stat h2{
  font-size:1.8rem;
  color:var(--deep-accent);
}

.stat span{
  font-size:0.85rem;
  color:var(--text-light);
}

/* ---- BUTTON FIX: matches the actual class used in HTML ---- */
.project-content{
  display:flex;
  flex-direction:column;
}

.view-more-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:16px 32px;
  border-radius:50px;
  background:var(--primary-gold);
  color:var(--deep-accent);
  font-weight:700;
  text-decoration:none;
  transition:.4s;
  text-align:center;
}

.view-more-btn:hover{
  transform:translateY(-4px);
  background:var(--accent-gold);
}

/* wrapper row so the two buttons sit side by side with spacing */
.project-content > .view-more-btn{
  margin-top:10px;
}

#distance, #distance2{
  margin:5px;
}

#resnew{
  color:#FF9F45;
}

@media(min-width:992px){
  .project-content{
    flex-direction:row;
    flex-wrap:wrap;
    gap:15px;
    align-items:center;
  }
  .project-content .info-card,
  .project-content .stats{
    flex-basis:100%;
  }
}

@media(max-width:991px){
  .project-grid{
    grid-template-columns:1fr;
  }
  .main-image{
    aspect-ratio:16 / 10;
  }
}

@media(max-width:650px){
  .project-heading h2{
    font-size:2rem;
  }
  .stats{
    grid-template-columns:1fr;
  }
  .thumbs{
    grid-template-columns:repeat(3,1fr);
  }
}
.highlights-table{
  width:100%;
  border-collapse:collapse;
}

.highlights-table td{
  padding:8px 10px 8px 0;
  font-size:0.92rem;
  color:#3B2A1E;        /* deep brown */
  width:50%;             /* keeps the 2 columns even */
}

.highlights-table td::before{
  content:"★ ";
  color:#FFB020;        /* gold star */
  font-size:1rem;
}
@media(max-width:650px){
  .highlights-table,
  .highlights-table tbody,
  .highlights-table tr{
    display:block;
    width:100%;
  }

  .highlights-table td{
    display:flex;
    align-items:flex-start;
    gap:8px;
    width:100%;
    padding:12px 0;
    border-bottom:1px solid #f0e6da;
  }

  .highlights-table td::before{
    content:"★";
    margin-top:2px;
    flex-shrink:0;
  }

  .highlights-table tr:last-child td:last-child{
    border-bottom:none;
  }
}
/* =========================================================
   PV PATIL - ABOUT SECTION
========================================================= */

.pv-about-section {
    position: relative;
    width: 100%;
    padding: 110px 7%;
    background: #f7f5f0;
    color: #20201d;
    overflow: hidden;
}


/* HEADER */

.pv-about-header {
    max-width: 1250px;
    margin: 0 auto 70px;
}

.pv-small-title {
    display: inline-block;
    margin-bottom: 15px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 4px;

    color:#ff9f45;
}

.pv-about-header h2 {
    margin: 0;

    font-size: clamp(38px, 5vw, 70px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -2px;
}

.pv-about-header h2 span {
    color: #ff9f45;
}

.pv-header-line {
    width: 70px;
    height: 4px;

    margin-top: 25px;

    background: #ff9f45;
}


/* MAIN CONTAINER */

.pv-about-wrapper {
    max-width: 1250px;
    margin: auto;

    display: grid;
    grid-template-columns: 0.95fr 1.05fr;

    gap: 70px;

    align-items: center;
}


/* LEFT CONTENT */

.pv-about-content {
    position: relative;
}

.pv-established {
    display: inline-block;

    margin-bottom: 18px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;

    color: #8b8b82;
}

.pv-about-content h3 {
    margin: 0 0 25px;

    font-size: clamp(30px, 3vw, 48px);
    line-height: 1.08;

    font-weight: 800;
}

.pv-about-content h3 span {
    display: block;
    color: #ff9f45;
}

.pv-about-content p {
    max-width: 580px;

    margin: 0 0 18px;

    color: #66665f;

    font-size: 16px;
    line-height: 1.8;
}

.pv-about-content .pv-lead {
    color: #34342f;

    font-size: 18px;
    line-height: 1.7;

    font-weight: 500;
}


/* FEATURES */

.pv-features {
    margin-top: 32px;

    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pv-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pv-check {
    width: 35px;
    height: 35px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ff9f45;
    color: white;

    font-size: 16px;
    font-weight: bold;
}

.pv-feature strong {
    display: block;

    font-size: 15px;
    font-weight: 800;
}

.pv-feature span {
    display: block;

    margin-top: 3px;

    color: #85857d;

    font-size: 13px;
}


/* STATS */

.pv-stats {
    display: flex;

    margin-top: 40px;
    padding-top: 28px;

    border-top: 1px solid #dcd9d0;
}

.pv-stat {
    min-width: 120px;

    padding-right: 30px;
    margin-right: 30px;

    border-right: 1px solid #dcd9d0;
}

.pv-stat:last-child {
    border-right: none;
}

.pv-stat strong {
    display: block;

    font-size: 28px;
    color: #ff9f45;
}

.pv-stat span {
    display: block;

    margin-top: 4px;

    color: #77776f;

    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* =========================================================
   IMAGE SLIDER
========================================================= */

.pv-slider {
    position: relative;

    width: 100%;
    height: 570px;

    overflow: hidden;

    background: #ddd;

    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.14);
    border-radius: 5%;
}

.pv-slides {
    width: 100%;
    height: 100%;

    position: relative;
}

.pv-slide {
    position: absolute;

    inset: 0;

    opacity: 0;

    transform: scale(1.04);

    transition:
        opacity 0.8s ease,
        transform 1.2s ease;

    pointer-events: none;
}

.pv-slide.active {
    opacity: 1;

    transform: scale(1);

    pointer-events: auto;
}

.pv-slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* DARK IMAGE GRADIENT */

.pv-slide::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.78),
            rgba(0, 0, 0, 0.05) 60%,
            rgba(0, 0, 0, 0.12)
        );
}


/* IMAGE CAPTION */

.pv-image-caption {
    position: absolute;

    z-index: 2;

    left: 35px;
    right: 35px;
    bottom: 65px;

    display: flex;
    align-items: center;

    gap: 20px;

    color: white;
}

.pv-image-caption > span {
    font-size: 50px;

    font-weight: 800;

    color: #b07a32;

    line-height: 1;
}

.pv-image-caption strong {
    display: block;

    font-size: 23px;

    margin-bottom: 5px;
}

.pv-image-caption small {
    color: rgba(255,255,255,0.75);

    font-size: 13px;
}


/* SLIDER BUTTONS */

.pv-slider-btn {
    position: absolute;

    z-index: 5;

    top: 50%;

    transform: translateY(-50%);

    width: 28px;
    height: 28px;

    border: 1px solid rgba(255,255,255,0.5);

    background: rgba(0,0,0,0.25);

    backdrop-filter: blur(8px);

    color: white;

    font-size: 20px;

    cursor: pointer;

    transition: 0.3s;
    
}

.pv-slider-btn:hover {
    background: #ff9f45;

    border-color: #ff9f45;
}

.pv-prev {
    left: 20px;
}

.pv-next {
    right: 20px;
}


/* DOTS */

.pv-slider-dots {
    position: absolute;

    z-index: 5;

    left: 35px;
    bottom: 25px;

    display: flex;

    gap: 8px;
}

.pv-dot {
    width: 28px;
    height: 3px;

    border: none;

    padding: 0;

    cursor: pointer;

    background: rgba(255,255,255,0.4);

    transition: 0.4s;
}

.pv-dot.active {
    width: 55px;

    background:#ff9f45;
}


/* =========================================================
   GROUP COMPANIES
========================================================= */

.pv-group-section {
    max-width: 1250px;

    margin: 120px auto 0;
}

.pv-group-heading {
    max-width: 700px;

    margin-bottom: 45px;
}

.pv-group-heading > span {
    color:#ff9f45;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 3px;
}

.pv-group-heading h3 {
    margin: 10px 0;

    font-size: 38px;

    line-height: 1.1;
}

.pv-group-heading p {
    margin: 0;

    color: #777;

    line-height: 1.7;
}


/* GROUP GRID */

.pv-group-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.pv-group-card {
    position: relative;

    padding: 40px 30px;

    min-height: 300px;

    background: white;

    border: 1px solid #e5e2da;

    transition: 0.4s;

    overflow: hidden;
    border-radius: 5%;
}

.pv-group-card:hover {
    transform: translateY(-8px);

    border-color:#ff9f45;

    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.pv-group-number {
    position: absolute;

    right: 20px;
    top: 15px;

    font-size: 50px;

    font-weight: 900;

    color: #f0eee8;
}

.pv-group-icon {
    position: relative;

    width: 65px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 50%;

    

    font-size: 25px;
}

.pv-group-card h4 {
    position: relative;

    margin: 0 0 12px;

    font-size: 21px;
}

.pv-group-card p {
    position: relative;

    margin: 0 0 20px;

    color: #777;

    font-size: 14px;

    line-height: 1.7;
}

.pv-location {
    position: relative;

    color:#ff9f45;

    font-size: 12px;

    font-weight: 700;
}

.pv-sanskrit {
    position: relative;

    color:#ff9f45;

    font-size: 14px;

    font-weight: 700;
}


/* =========================================================
   VISION STRIP
========================================================= */

.pv-vision-strip {
    max-width: 1250px;

    margin: 100px auto 0;

    padding: 55px;

    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 50px;

    background: #252521;

    color: white;
    
   
}

.pv-vision-text > span {
    color: #ff9f45;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 3px;
}

.pv-vision-text h3 {
    margin: 12px 0 0;

    font-size: 34px;

    line-height: 1.2;
}


/* VALUES */

.pv-values {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}

.pv-values div {
    padding-left: 18px;

    border-left: 2px solid #ff9f45;
}

.pv-values strong {
    display: block;

    margin-bottom: 5px;

    font-size: 12px;

    letter-spacing: 1.5px;
}

.pv-values span {
    color: #aaa;

    font-size: 12px;
}


/* =========================================================
   FINAL TAGLINE
========================================================= */

.pv-final-tagline {
    padding-top: 100px;

    text-align: center;
}

.pv-final-tagline span {
    color: #ff9f45;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 3px;
}

.pv-final-tagline h3 {
    margin: 15px 0 8px;

    font-size: clamp(32px, 4vw, 55px);

    font-weight: 800;
}

.pv-final-tagline p {
    margin: 0;

    color: #888;

    font-size: 13px;

    letter-spacing: 1px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .pv-about-section {
        padding: 80px 5%;
    }

    .pv-about-wrapper {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .pv-slider {
        height: 550px;
        border-radius: 5%;
    }

    .pv-group-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pv-vision-strip {
        grid-template-columns: 1fr;
       
    }
}


@media (max-width: 650px) {

    .pv-about-section {
        padding: 65px 20px;
    }

    .pv-about-header {
        margin-bottom: 45px;
    }

    .pv-about-header h2 {
        letter-spacing: -1px;
    }

    .pv-slider {
        height: 430px;
        border-radius: 5%;
    }

    .pv-image-caption {
        left: 20px;
        right: 20px;
        bottom: 55px;
    }

    .pv-image-caption > span {
        font-size: 35px;
    }

    .pv-image-caption strong {
        font-size: 17px;
    }

    .pv-image-caption small {
        font-size: 11px;
    }

    .pv-slider-btn {
        width: 40px;
        height: 40px;
    }

    .pv-prev {
        left: 10px;
    }

    .pv-next {
        right: 10px;
    }

    .pv-slider-dots {
        left: 20px;
    }

    .pv-stats {
        gap: 10px;
    }

    .pv-stat {
        min-width: auto;

        padding-right: 15px;
        margin-right: 15px;
    }

    .pv-stat strong {
        font-size: 22px;
    }

    .pv-stat span {
        font-size: 9px;
    }

    .pv-group-grid {
        grid-template-columns: 1fr;
    }

    .pv-group-heading h3 {
        font-size: 30px;
    }

    .pv-vision-strip {
        padding: 35px 25px;
    }

    .pv-vision-text h3 {
        font-size: 27px;
    }

    .pv-values {
        grid-template-columns: 1fr;
    }

    .pv-final-tagline {
        padding-top: 70px;
    }
}

#distance{
  text-decoration: none;
}
#distance2{
  text-decoration: none;
}

.team-card.hidden {
  display: none;
}














/* =========================================================
   P V PATIL INFRA PROJECTS
   BOARD OF DIRECTORS & TEAM
   MAIN ACCENT: #ff9f45
========================================================= */

:root {
    --org-orange: #ff9f45;
    --org-orange-dark: #e88932;
    --org-navy: #062f52;
    --org-navy-light: #0a3b63;
    --org-text: #173b59;
    --org-white: #ffffff;
}


/* =========================================================
   SECTION
========================================================= */

.org-section {
    width: 100%;
    padding: 65px 20px 55px;
    background: #fff;
    overflow: hidden;
    box-sizing: border-box;
}


/* =========================================================
   HEADER
========================================================= */

.org-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
    margin-bottom: 8px;
}

.org-title {
    min-width: 0;
}

.org-title h2 {
    margin: 0 !important;

    color: var(--org-navy) !important;

    font-family: inherit !important;

    font-size: clamp(22px, 3vw, 34px) !important;

    font-weight: 800 !important;

    line-height: 1.2 !important;

    letter-spacing: .5px !important;
}

.org-title p {
    margin: 7px 0 0 !important;

    color: var(--org-orange) !important;

    font-family: inherit !important;

    font-size: 14px !important;

    font-weight: 700 !important;

    letter-spacing: 2px !important;
}

.helmet {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;
}


/* =========================================================
   SUBTITLE
========================================================= */

.org-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 9px;

    margin: 10px 0 45px;

    color: var(--org-text);

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 1px;

    text-align: center;
}

.org-subtitle b {
    color: var(--org-orange);
}


/* =========================================================
   CHART CONTAINER
========================================================= */

#orgChartContainer {
    width: 100%;
    max-width: 1120px;

    margin: 0 auto;

    box-sizing: border-box;
}


/* =========================================================
   TOP MANAGEMENT
========================================================= */

.org-top-level {
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* =========================================================
   CONNECTOR
========================================================= */

.org-line {
    width: 2px;
    height: 24px;

    background: var(--org-orange);
}


/* =========================================================
   PERSON CARD
========================================================= */

.org-person {
    width: 255px;
    min-height: 76px;

    padding: 11px 15px;

    display: flex;
    align-items: center;

    gap: 13px;

    box-sizing: border-box;

    position: relative;

    background:
        linear-gradient(
            135deg,
            var(--org-navy),
            var(--org-navy-light)
        );

    border: 2px solid var(--org-orange);

    border-radius: 6px;

    box-shadow:
        0 8px 20px rgba(6, 47, 82, .14);

    z-index: 2;

    opacity: 0;

    transform: translateY(18px);

    animation:
        orgCardAppear
        .55s
        ease
        forwards;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


/* Inner border */

.org-person::after {
    content: "";

    position: absolute;

    inset: 4px;

    border: 1px solid rgba(255, 159, 69, .35);

    border-radius: 3px;

    pointer-events: none;
}


/* Hover */

.org-person:hover {
    transform: translateY(-3px) !important;

    box-shadow:
        0 12px 25px rgba(6, 47, 82, .22);
}


/* =========================================================
   ICON
========================================================= */

.org-icon {
    width: 42px;
    height: 42px;

    min-width: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255, 159, 69, .13);

    font-size: 22px;

    position: relative;

    z-index: 2;
}


/* =========================================================
   TEXT
========================================================= */

.org-content {
    min-width: 0;

    position: relative;

    z-index: 2;
}

.org-role {
    color: var(--org-orange);

    font-size: 15px;

    line-height: 1.15;

    font-weight: 800;
}

.org-name {
    margin-top: 4px;

    color: #fff;

    font-size: 14px;

    line-height: 1.2;

    font-weight: 700;
}


/* =========================================================
   DEPARTMENT LEVEL
========================================================= */

.org-management {
    position: relative;

    padding-top: 25px;

    margin-top: 0;
}


/* =========================================================
   MAIN HORIZONTAL CONNECTOR
========================================================= */

.org-management::before {
    content: "";

    position: absolute;

    top: 0;

    left: 16.66%;

    right: 16.66%;

    height: 2px;

    background: var(--org-orange);
}


/* =========================================================
   THREE BRANCHES
========================================================= */

.org-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 30px;

    position: relative;
}

.org-column {
    min-width: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    position: relative;
}


/* Vertical branch */

.org-column::before {
    content: "";

    position: absolute;

    top: -25px;

    width: 2px;

    height: 25px;

    background: var(--org-orange);
}


/* =========================================================
   CHILD CARDS
========================================================= */

.org-column .org-person + .org-person {
    margin-top: 20px;
}


/* Child connector */

.org-column .org-person + .org-person::before {
    content: "";

    position: absolute;

    left: 50%;

    top: -22px;

    width: 2px;

    height: 20px;

    background: var(--org-orange);
}


/* =========================================================
   LOADING
========================================================= */

.org-loading {
    min-height: 220px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    color: var(--org-navy);
}

.spinner {
    width: 40px;
    height: 40px;

    border-radius: 50%;

    border:
        4px solid #eeeeee;

    border-top-color:
        var(--org-orange);

    animation:
        orgSpin
        .8s
        linear
        infinite;
}

.org-loading p {
    margin-top: 13px;

    color: var(--org-navy);

    font-size: 14px;

    font-weight: 600;
}


/* =========================================================
   FOOTER
========================================================= */

.org-footer {
    margin-top: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

    color: var(--org-text);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.8px;

    text-align: center;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes orgSpin {

    to {
        transform: rotate(360deg);
    }

}

@keyframes orgCardAppear {

    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .org-section {
        padding: 55px 15px 50px;
    }

    .org-title h2 {
        font-size: 26px !important;
    }

    .org-person {
        width: 100%;
        max-width: 245px;
    }

    .org-grid {
        gap: 15px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .org-section {
        width: 100%;

        padding:
            35px
            5px
            45px;

        overflow-x: hidden;
    }


    /* -----------------------------------------
       HEADER
    ----------------------------------------- */

    .org-header {
        gap: 5px;

        width: 100%;
    }

    .helmet {
        width: 22px;
        height: 22px;

        font-size: 16px;
    }

    .org-title h2 {
        font-size: 15px !important;

        line-height: 1.25 !important;

        letter-spacing: .2px !important;
    }

    .org-title p {
        margin-top: 4px !important;

        font-size: 8px !important;

        letter-spacing: 1px !important;
    }


    /* -----------------------------------------
       SUBTITLE
    ----------------------------------------- */

    .org-subtitle {
        margin:
            9px
            0
            28px;

        gap: 4px;

        font-size: 7px;

        letter-spacing: .3px;
    }


    /* -----------------------------------------
       CHART
    ----------------------------------------- */

    #orgChartContainer {
        width: 100%;

        padding: 0;
    }


    /* -----------------------------------------
       TOP CARDS
    ----------------------------------------- */

    .org-person {
        width: 100%;

        max-width: 225px;

        min-height: 60px;

        padding: 7px 9px;

        gap: 7px;

        border-width: 1.5px;

        border-radius: 5px;
    }


    .org-icon {
        width: 29px;
        height: 29px;

        min-width: 29px;

        font-size: 15px;
    }


    .org-role {
        font-size: 10px;

        line-height: 1.05;
    }


    .org-name {
        margin-top: 3px;

        font-size: 9px;

        line-height: 1.05;
    }


    /* -----------------------------------------
       TOP CONNECTORS
    ----------------------------------------- */

    .org-line {
        width: 1.5px;

        height: 18px;
    }


    /* =================================================
       IMPORTANT:
       KEEP THE 3-BRANCH ORGANIZATION STRUCTURE
    ================================================= */

    .org-management {
        width: 100%;

        padding-top: 20px;

        margin-top: 0;
    }


    /* Main horizontal line */

    .org-management::before {
        display: block;

        left: 16.66%;

        right: 16.66%;

        height: 1.5px;
    }


    /* -----------------------------------------
       THREE COLUMNS
    ----------------------------------------- */

    .org-grid {

        display: grid;

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 4px;

        width: 100%;
    }


    .org-column {
        width: 100%;

        min-width: 0;
    }


    /* -----------------------------------------
       BRANCH CONNECTOR
    ----------------------------------------- */

    .org-column::before {

        display: block;

        top: -20px;

        width: 1.5px;

        height: 20px;

        background:
            var(--org-orange);
    }


    /* -----------------------------------------
       DEPARTMENT CARDS
    ----------------------------------------- */

    .org-column .org-person {

        width: 100%;

        max-width: none;

        min-height: 70px;

        padding:
            6px
            3px;

        gap: 3px;

        flex-direction: column;

        justify-content: center;

        text-align: center;

        border-width: 1.5px;
    }


    .org-column .org-icon {

        width: 23px;
        height: 23px;

        min-width: 23px;

        font-size: 12px;
    }


    .org-column .org-role {

        width: 100%;

        font-size: 7.8px;

        line-height: 1.05;

        overflow-wrap: anywhere;
    }


    .org-column .org-name {

        width: 100%;

        margin-top: 2px;

        font-size: 7.2px;

        line-height: 1.05;

        overflow-wrap: anywhere;
    }


    /* -----------------------------------------
       CHILD CONNECTORS
    ----------------------------------------- */

    .org-column .org-person + .org-person {

        margin-top: 18px;
    }


    .org-column
    .org-person
    + .org-person::before {

        left: 50%;

        top: -19px;

        width: 1.5px;

        height: 18px;

        background:
            var(--org-orange);
    }


    /* -----------------------------------------
       FOOTER
    ----------------------------------------- */

    .org-footer {

        margin-top: 35px;

        gap: 5px;

        font-size: 6.5px;

        line-height: 1.7;

        letter-spacing: .5px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .org-section {
        padding-left: 3px;
        padding-right: 3px;
    }

    .org-title h2 {
        font-size: 13px !important;
    }

    .org-title p {
        font-size: 7px !important;
    }

    .org-subtitle {
        font-size: 6px;
    }

    .org-person {
        max-width: 215px;
    }

    .org-column .org-person {
        min-height: 66px;

        padding:
            5px
            2px;
    }

    .org-column .org-role {
        font-size: 7px;
    }

    .org-column .org-name {
        font-size: 6.5px;
    }

    .org-footer {
        font-size: 6px;
    }

}


:root{
    --accent:#ff9f45;
    --navy:#062f52;
}

/* ===============================
   PREMIUM HEADER
================================ */

.org-header{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    margin-bottom:10px;
}

.helmet{
    font-size:30px;
    color:var(--accent);
}

.org-title{
    text-align:center;
    flex:1;
    max-width:950px;
}

/* Decorative top & bottom lines */
.org-title h2{
    position:relative;
    display:inline-block;
    margin:0 !important;
    padding:16px 34px;

    color:var(--navy);
    font-size:34px !important;
    font-weight:900 !important;
    letter-spacing:.8px;
    text-transform:uppercase;
    line-height:1.15;
}

/* TOP LINE */
.org-title h2::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:0;
    height:2px;
    background:linear-gradient(
        90deg,
        transparent,
        var(--accent) 12%,
        var(--accent) 88%,
        transparent
    );
}

/* BOTTOM LINE */
.org-title h2::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:2px;
    background:linear-gradient(
        90deg,
        transparent,
        var(--accent) 12%,
        var(--accent) 88%,
        transparent
    );
}

/* Small gold dots */
.org-title h2 span{
    color:var(--accent);
}

.org-title p{
    margin-top:10px !important;
    color:var(--accent);
    font-size:15px !important;
    font-weight:700;
    letter-spacing:3px;
    text-transform:uppercase;
}

/* Subtitle */
.org-subtitle{
    color:#27435f;
    font-weight:600;
}

.org-subtitle b{
    color:var(--accent);
}

/* Mobile */
@media (max-width:600px){

    .org-header{
        gap:8px;
    }

    .helmet{
        font-size:18px;
    }

    .org-title h2{
        font-size:16px !important;
        padding:10px 12px;
        letter-spacing:.3px;
    }

    .org-title p{
        font-size:8px !important;
        letter-spacing:1.2px;
    }
}


