/* ==========================================================================
   CITCO GREEN ENERGY PRIVATE LIMITED - Official Website Stylesheet
   Theme: Modern Clean Energy, Glassmorphism, Responsive Corporate Elegance
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #059669;
  --primary-dark: #065F46;
  --primary-light: #10B981;
  --primary-soft: #ECFDF5;
  --secondary: #D97706;
  --secondary-light: #F59E0B;
  --secondary-soft: #FFFBEB;
  --accent-sky: #0284C7;
  --accent-sky-light: #38BDF8;
  --dark: #0F172A;
  --dark-surface: #1E293B;
  --dark-border: #334155;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --white: #FFFFFF;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.25);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global resets & typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--gray-800);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Glassmorphism Header */
.header-glass {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
}

.header-glass.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.08);
}

/* Hero Section Gradients & Animations */
.hero-gradient {
  background: linear-gradient(135deg, #064E3B 0%, #0F172A 50%, #022C22 100%);
  position: relative;
  overflow: hidden;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.hero-gradient::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -20%;
  width: 70%;
  height: 120%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.12);
  color: #D97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-dark {
  background: rgba(15, 23, 42, 0.75);
  color: #F8FAFC;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Gradient Buttons */
.btn-primary-gradient {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  color: white !important;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary-gradient:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45);
}

.btn-amber-gradient {
  background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
  color: white !important;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-amber-gradient:hover {
  background: linear-gradient(135deg, #B45309 0%, #D97706 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* Feature & Service Cards */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #059669, #F59E0B);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(16, 185, 129, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

/* MITRA Value Cards */
.mitra-card {
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  height: 100%;
}

.mitra-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.08);
}

.mitra-letter {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 900;
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

/* Glass Dark Cards */
.glass-dark-card {
  background: rgba(30, 41, 59, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: white;
}

/* Interactive Calculator Slider */
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #E2E8F0;
  outline: none;
  transition: opacity .2s;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #059669;
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #047857;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  font-size: 32px;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--dark);
  color: white !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* Stats Counter Box */
.stat-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.75rem 1rem;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.stat-box:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}


/* Custom Nav Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 330px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 1.15rem;
  color: #334155;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.nav-dropdown-item:hover {
  background: #F0FDF4;
  border-left-color: #059669;
  padding-left: 1.35rem;
}

.nav-dropdown-item:hover .text-slate-900 {
  color: #065F46 !important;
}

/* Active Nav Link */
.nav-link.active {
  color: var(--primary) !important;
  font-weight: 700;
}

/* Filter Buttons */
.filter-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.comparison-table th {
  background: var(--gray-100);
  padding: 1.2rem 1.5rem;
  font-weight: 700;
  text-align: left;
  font-size: 0.95rem;
  color: var(--dark);
}

.comparison-table td {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  font-size: 0.92rem;
  color: var(--gray-700);
}

.comparison-table tr:hover td {
  background: var(--gray-50);
}

/* Testimonial Quote Bubble */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-card::after {
  content: '“';
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 5rem;
  color: rgba(16, 185, 129, 0.12);
  font-family: Georgia, serif;
  line-height: 1;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* Modal Popup */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 1rem;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: white;
  border-radius: var(--radius-xl);
  max-width: 540px;
  width: 100%;
  padding: 2.5rem;
  transform: scale(0.95);
  transition: var(--transition);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
}

.modal-backdrop.active .modal-content {
  transform: scale(1);
}

/* Prevent any text wrapping in navigation header */
.header-glass nav,
.header-glass nav a,
.header-glass .nav-dropdown,
.header-glass .btn-primary-gradient,
.header-glass .btn-amber-gradient {
  white-space: nowrap !important;
}

.header-glass nav a {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* Banner Image Hero Backgrounds */
.page-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.90) 0%, rgba(6, 78, 59, 0.82) 55%, rgba(2, 44, 34, 0.92) 100%);
  pointer-events: none;
}

.page-banner-overlay-amber {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(180, 83, 9, 0.75) 55%, rgba(6, 78, 59, 0.90) 100%);
  pointer-events: none;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(226, 232, 240, 0.8);
}

.breadcrumb-item a:hover {
  color: #34D399;
}
