/*
 * Filengro.in - Core Stylesheet
 * Brand: Filengro
 * Description: Premium, modern, responsive CSS for Indian corporate ecosystem.
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --primary-dark: #0A192F;      /* Deep Navy Blue */
  --primary-slate: #172A45;     /* Slate Blue */
  --primary-light: #3066BE;     /* Trust Blue */
  --secondary: #0D6EFD;         /* Corporate Blue */
  
  --accent-gold: #D4AF37;       /* Gold Accent */
  --accent-orange: #FF6B35;     /* Warm Orange Accent */
  --accent-orange-rgb: 255, 107, 53;
  --accent-gold-rgb: 212, 175, 55;
  
  --neutral-dark: #0F172A;      /* Text Dark */
  --neutral-muted: #64748B;     /* Text Muted */
  --neutral-light: #F8FAFC;     /* Background Light */
  --neutral-border: #E2E8F0;    /* Border Light */
  
  --white: #FFFFFF;
  --black: #000000;
  
  /* Glassmorphism & Shadow Tokens */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.5);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
  --shadow-premium: 0 25px 60px -15px rgba(10, 25, 47, 0.15);
  
  /* Layout & Sizing */
  --max-width: 1280px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--neutral-light);
  color: var(--neutral-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

li {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--primary-dark);
  color: var(--white);
}

.section-dark h2, .section-dark h3, .section-dark p {
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-dark .section-header h2 {
  background: linear-gradient(135deg, var(--white), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: var(--neutral-muted);
  font-size: 1.1rem;
}

.section-dark .section-header p {
  color: #94A3B8;
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Sticky Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--neutral-border);
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: var(--transition-smooth);
}

.header.scrolled .nav-container {
  height: 70px;
}

/* Logo Design */
.logo {
  display: flex;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.logo span {
  color: var(--accent-orange);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.4rem;
  border-bottom: 3px solid var(--accent-gold);
  margin-right: 0.5rem;
}

.logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-right: 0.6rem;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--neutral-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--accent-orange);
}

/* Header Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(48, 102, 190, 0.3);
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-dark);
  border: 1px solid var(--neutral-border);
}

.btn-secondary:hover {
  background: var(--neutral-light);
  border-color: var(--neutral-muted);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--primary-dark);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  padding: 10rem 0 6rem;
  background: radial-gradient(circle at top right, rgba(48, 102, 190, 0.08), transparent 40%),
              radial-gradient(circle at bottom left, rgba(255, 107, 53, 0.05), transparent 40%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--neutral-muted);
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

.stat-item h3 {
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--neutral-muted);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Floating Elements in Hero Visuals */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.hero-svg-bg {
  width: 100%;
  height: auto;
}

.floating-card {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 1.25rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 6s ease-in-out infinite;
}

.floating-card-1 {
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 15%;
  right: -5%;
  animation-delay: 2s;
}

.floating-card-3 {
  bottom: -5%;
  left: 5%;
  animation-delay: 4s;
}

.floating-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  font-size: 1.4rem;
}

.floating-card-2 .floating-icon {
  background: rgba(48, 102, 190, 0.1);
  color: var(--primary-light);
}

.floating-card-3 .floating-icon {
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold);
}

.floating-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.floating-info p {
  font-size: 0.8rem;
  color: var(--neutral-muted);
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--neutral-border);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent-orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-sm);
  background: rgba(48, 102, 190, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  color: var(--white);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.service-card p {
  color: var(--neutral-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card .btn-text {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-light);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-card .btn-text i {
  transition: var(--transition-fast);
}

.service-card:hover .btn-text i {
  transform: translateX(5px);
}

/* Why Choose Us Section */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.why-card {
  background: var(--glass-bg);
  border: 1px solid var(--neutral-border);
  padding: 1.75rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.why-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.why-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--neutral-muted);
}

/* Tender Section */
.tender-filter-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.tender-search-bar {
  display: flex;
  gap: 1rem;
  background: var(--white);
  padding: 0.5rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--neutral-border);
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.tender-search-bar input {
  flex-grow: 1;
  border: none;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
}

.tender-search-bar .btn-search {
  padding: 0 1.5rem;
  background: var(--primary-dark);
  color: var(--white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-tab {
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  background: var(--white);
  border: 1px solid var(--neutral-border);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--neutral-muted);
}

.filter-tab.active, .filter-tab:hover {
  background: var(--primary-dark);
  color: var(--white);
  border-color: var(--primary-dark);
}

.tenders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.tender-card {
  background: var(--white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--neutral-border);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.tender-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(48, 102, 190, 0.3);
}

.tender-status {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tender-status.active {
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
}

.tender-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  padding-right: 4.5rem;
  line-height: 1.35;
}

.tender-dept {
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.tender-info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  border-bottom: 1px dashed var(--neutral-border);
  padding-bottom: 0.75rem;
}

.tender-info-row:last-of-type {
  border-bottom: none;
  margin-bottom: 1.5rem;
}

.tender-info-label {
  color: var(--neutral-muted);
  font-weight: 500;
}

.tender-info-value {
  color: var(--neutral-dark);
  font-weight: 700;
}

.tender-info-value.value-highlight {
  color: var(--accent-orange);
}

.tender-card .btn {
  margin-top: auto;
  width: 100%;
}

/* Modal Details Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  width: 90%;
  max-width: 650px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(30px);
  transition: var(--transition-smooth);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--neutral-light);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--neutral-border);
  color: var(--accent-orange);
}

.modal-header {
  margin-bottom: 2rem;
}

.modal-header .badge {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.modal-header h2 {
  font-size: 1.8rem;
  line-height: 1.3;
}

.modal-body {
  margin-bottom: 2.5rem;
}

.modal-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.modal-info-item {
  background: var(--neutral-light);
  padding: 1rem 1.25rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--neutral-border);
}

.modal-info-item h4 {
  font-size: 0.8rem;
  color: var(--neutral-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.modal-info-item p {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.modal-description h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.modal-description p {
  font-size: 0.95rem;
  color: var(--neutral-muted);
  line-height: 1.6;
}

.modal-footer {
  display: flex;
  gap: 1rem;
}

.modal-footer .btn {
  flex: 1;
}

/* Modal Body Content & Article Body Styling for Blogger feed */
#modalBody img, .blog-body-text img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 1.5rem auto;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-sm);
}

#modalBody iframe, .blog-body-text iframe {
  max-width: 100% !important;
  margin: 1.5rem auto;
  display: block;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-sm);
}

#modalBody p, .blog-body-text p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--neutral-dark);
}

#modalBody h1, #modalBody h2, #modalBody h3, #modalBody h4,
.blog-body-text h1, .blog-body-text h2, .blog-body-text h3, .blog-body-text h4 {
  color: var(--primary-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

#modalBody h1, .blog-body-text h1 { font-size: 1.6rem; }
#modalBody h2, .blog-body-text h2 { font-size: 1.4rem; }
#modalBody h3, .blog-body-text h3 { font-size: 1.2rem; }

#modalBody ul, #modalBody ol, .blog-body-text ul, .blog-body-text ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

#modalBody li, .blog-body-text li {
  margin-bottom: 0.5rem;
  list-style: disc;
}

/* Blog Section */
.blog-filter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--neutral-border);
  padding-bottom: 1.5rem;
}

.blog-search-box {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--neutral-border);
  border-radius: 50px;
  padding: 0.25rem 0.5rem 0.25rem 1.25rem;
  width: 100%;
  max-width: 350px;
}

.blog-search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-family: inherit;
  font-size: 0.9rem;
}

.blog-search-box button {
  background: var(--primary-dark);
  color: var(--white);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.blog-search-box button:hover {
  background: var(--accent-orange);
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--neutral-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(48, 102, 190, 0.2);
}

.blog-img-box {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--primary-slate);
}

.blog-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.blog-category-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--white);
  color: var(--primary-dark);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.blog-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--neutral-muted);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.blog-card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-card-content p {
  color: var(--neutral-muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-read-more {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-card:hover .blog-read-more {
  color: var(--accent-orange);
}

.blog-read-more i {
  transition: var(--transition-fast);
}

.blog-card:hover .blog-read-more i {
  transform: translateX(4px);
}

/* Service Detail Template */
.service-detail-hero {
  padding: 6.5rem 0 2rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-slate));
  color: var(--white);
  position: relative;
}

.service-detail-hero h1 {
  font-size: 2.25rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.service-detail-hero p {
  color: #94A3B8;
  font-size: 1rem;
  max-width: 800px;
  line-height: 1.5;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

/* Reduce top padding of the content section directly following the hero banner */
.service-detail-hero + .section {
  padding-top: 3rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
  color: var(--accent-gold);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

.service-content-body {
  background: var(--white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--neutral-border);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

.service-content-body h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
}

.service-content-body h2:first-of-type {
  margin-top: 0;
}

.service-content-body p {
  color: var(--neutral-dark);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.service-content-body ul {
  margin-bottom: 2rem;
}

.service-content-body li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: var(--neutral-dark);
}

.service-content-body li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent-orange);
}

.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-box {
  background: var(--white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--neutral-border);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-box-primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-slate));
  color: var(--white);
  border: none;
}

.sidebar-box-primary h3, .sidebar-box-primary p {
  color: var(--white);
}

.sidebar-box h3 {
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--neutral-border);
  padding-bottom: 0.75rem;
}

.sidebar-box-primary h3 {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.sidebar-list li {
  margin-bottom: 1rem;
}

.sidebar-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--neutral-dark);
  padding: 0.75rem 1rem;
  background: var(--neutral-light);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--neutral-border);
}

.sidebar-list a:hover, .sidebar-list a.active {
  background: var(--primary-light);
  color: var(--white);
  border-color: var(--primary-light);
}

/* Contact form in sidebar */
.sidebar-form .form-group {
  margin-bottom: 1rem;
}

.sidebar-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.sidebar-form input, .sidebar-form select, .sidebar-form textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--neutral-border);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
}

.sidebar-form input:focus, .sidebar-form select:focus, .sidebar-form textarea:focus {
  border-color: var(--primary-light);
}

.sidebar-form button {
  width: 100%;
  margin-top: 0.5rem;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  display: flex;
  gap: 1.5rem;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--neutral-border);
  box-shadow: var(--shadow-sm);
}

.contact-info-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-sm);
  background: rgba(48, 102, 190, 0.08);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-info-details h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-info-details p {
  color: var(--neutral-muted);
  font-size: 0.95rem;
}

.contact-form-panel {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--neutral-border);
  box-shadow: var(--shadow-md);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-form-panel .form-group {
  margin-bottom: 1.5rem;
}

.contact-form-panel .form-group-full {
  grid-column: span 2;
}

.contact-form-panel label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.contact-form-panel input,
.contact-form-panel select,
.contact-form-panel textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--neutral-border);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  background-color: var(--neutral-light);
  transition: var(--transition-fast);
}

.contact-form-panel input:focus,
.contact-form-panel select:focus,
.contact-form-panel textarea:focus {
  border-color: var(--primary-light);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(48, 102, 190, 0.1);
}

.map-placeholder {
  height: 350px;
  background: #E2E8F0;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  margin-top: 3rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Future placeholders sections */
.future-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.future-card {
  background: var(--white);
  border-radius: var(--border-radius-md);
  border: 1px dashed var(--neutral-border);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.future-card:hover {
  border-style: solid;
  border-color: var(--accent-orange);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.future-badge {
  background: rgba(255, 107, 53, 0.1);
  color: var(--accent-orange);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1rem;
}

.future-card-icon {
  font-size: 2.5rem;
  color: var(--neutral-muted);
  margin-bottom: 1.5rem;
}

.future-card:hover .future-card-icon {
  color: var(--accent-orange);
}

.future-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.future-card p {
  font-size: 0.92rem;
  color: var(--neutral-muted);
}

/* Static Policy Pages */
.policy-content {
  background: var(--white);
  padding: 4rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--neutral-border);
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}

.policy-content h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-content p, .policy-content ul {
  margin-bottom: 1.5rem;
  color: var(--neutral-dark);
}

.policy-content ul {
  padding-left: 2rem;
}

.policy-content li {
  list-style: disc;
  margin-bottom: 0.5rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25D366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition-smooth);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20BA5A;
}

/* Footer Section */
.footer {
  background: var(--primary-dark);
  color: #94A3B8;
  padding: 5rem 0 2rem;
  border-top: 3px solid var(--accent-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--accent-orange);
  color: var(--white);
}

.footer-links-title {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-gold);
}

.footer-links-list li {
  margin-bottom: 0.75rem;
}

.footer-links-list a {
  font-size: 0.92rem;
  color: #94A3B8;
}

.footer-links-list a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.footer-contact-item i {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.footer-policy-links {
  display: flex;
  gap: 1.5rem;
}

.footer-policy-links a {
  color: #94A3B8;
}

.footer-policy-links a:hover {
  color: var(--white);
}

.made-by {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.made-by i {
  color: #EF4444;
}

.made-by a {
  color: var(--accent-gold);
  font-weight: 600;
}

.made-by a:hover {
  text-decoration: underline;
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2rem;
  }
  
  /* Navigation Menu for Mobile */
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    overflow-y: auto;
    z-index: 999;
  }
  
  .header.scrolled .nav-menu {
    top: 70px;
    height: calc(100vh - 70px);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-actions {
    width: 100%;
    flex-direction: column;
  }
  
  .nav-actions .btn {
    width: 100%;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  
  .why-features {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .policy-content {
    padding: 2rem;
  }
  
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-panel .form-group-full {
    grid-column: span 1;
  }
  
  .contact-form-panel {
    padding: 2rem;
  }
  
  .floating-card {
    display: none; /* Hide floating cards on mobile to reduce clutter */
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .section {
    padding: 4rem 0;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 7rem;
  right: 2.5rem;
  background-color: var(--primary-dark);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  cursor: pointer;
  z-index: 999;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  border: 1px solid var(--neutral-border);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  border-color: var(--accent-gold);
}

/* Responsive adjustment for floating buttons on smaller screens */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 6.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
