/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

/* CSS Custom Properties / Design Tokens */
:root {
  --primary: #0D3B66;
  --primary-rgb: 13, 59, 102;
  --primary-dark: #07213b;
  --secondary: #C9A227;
  --secondary-rgb: 201, 162, 39;
  --secondary-light: #dfb738;
  --bg-light: #F8F9FA;
  --bg-dark: #08121e;
  --bg-dark-card: rgba(15, 32, 53, 0.95);
  --text-dark: #1E293B;
  --text-light: #F8F9FA;
  --text-muted: #64748B;
  --text-muted-light: #CBD5E1;
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-bg-dark: rgba(13, 27, 42, 0.8);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-border-dark: rgba(201, 162, 39, 0.25);
  --glass-shadow: 0 8px 32px 0 rgba(13, 59, 102, 0.08);
  --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --font-headings: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --container-width: 1280px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

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

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

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-light);
}

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

.section-subtitle {
  color: var(--secondary);
  font-family: var(--font-headings);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-dark .section-desc {
  color: var(--text-muted-light);
}

/* Buttons Styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--secondary);
  transition: var(--transition-smooth);
  z-index: -1;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover {
  border-color: var(--secondary);
  color: white;
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

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

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

.btn-gold:hover {
  background-color: var(--secondary-light);
  border-color: var(--secondary-light);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.35);
}

/* Glassmorphism Styles */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 12px;
}

.glass-card-dark {
  background: rgba(13, 27, 42, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border-dark);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  border-radius: 12px;
}

/* Header & Navigation */
/* Top Subheader Bar */
.top-bar {
  background-color: var(--primary-dark);
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
  padding: 0.4rem 0;
  font-size: 0.8rem;
  color: var(--text-muted-light);
  transition: var(--transition-smooth);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-contact a {
  color: var(--text-muted-light);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.top-bar-contact a i {
  color: var(--secondary);
  font-size: 0.75rem;
}

.top-bar-contact a:hover {
  color: white;
}

.top-bar-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-bar-socials a {
  color: var(--text-muted-light);
  font-size: 0.8rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.top-bar-socials a:hover {
  background-color: var(--secondary);
  color: white;
  transform: translateY(-2px);
}

/* Header Scrolled Top Bar transition */
header.scrolled .top-bar {
  max-height: 0;
  opacity: 0;
  padding: 0;
  overflow: hidden;
  border-bottom: none;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

header.scrolled .logo-img {
  height: 64px;
}


header.scrolled .nav-link {
  color: var(--text-dark);
}

header.scrolled .nav-link::after {
  background-color: var(--secondary);
}

header.scrolled .hamburger span {
  background-color: var(--primary);
}

/* Navbar Layout */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  transition: var(--transition-smooth);
}

header.scrolled .navbar {
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  background: white;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(13, 59, 102, 0.08);
  transition: var(--transition-smooth);
}

.logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.logo-img {
  height: 96px;
  width: auto;
  display: block;
  transition: var(--transition-smooth);
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

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

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

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

/* Mega Menu Dropdown */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 700px;
  background: var(--bg-dark-card);
  border: 1px solid var(--glass-border-dark);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 10;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(10px);
}

.mega-col h3 {
  color: var(--secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}

.mega-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mega-col ul li a {
  color: var(--text-muted-light);
  font-size: 0.85rem;
  font-weight: 400;
  transition: var(--transition-fast);
  display: block;
}

.mega-col ul li a:hover {
  color: white;
  padding-left: 5px;
}

/* Navigation CTA Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.btn-nav-call {
  background-color: var(--secondary);
  color: white;
  border: 1px solid var(--secondary);
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-nav-call:hover {
  background-color: var(--secondary-light);
  border-color: var(--secondary-light);
  box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: white;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
  padding-top: 80px; /* space for absolute header */
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: zoomBg 20s infinite alternate ease-in-out;
}

@keyframes zoomBg {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 59, 102, 0.9) 0%, rgba(8, 18, 30, 0.85) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 850px;
}

.hero-tagline {
  color: var(--secondary);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards 0.2s;
}

.hero-content h2 {
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: white;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards 0.4s;
}

.hero-content h2 span {
  color: var(--secondary);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted-light);
  margin-bottom: 3rem;
  line-height: 1.8;
  max-width: 750px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards 0.6s;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards 0.8s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tool Sections & Forms */
.calculator-section {
  position: relative;
  z-index: 10;
  margin-top: -80px; /* Pull into hero slightly */
  padding-bottom: 4rem;
}

.calculator-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.estimator-card {
  padding: 3.5rem 3rem;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(13, 59, 102, 0.12);
  transition: var(--transition-smooth);
}

.estimator-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.estimator-header h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.estimator-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.estimator-header p strong {
  color: var(--secondary);
  font-weight: 600;
}

/* Grid Forms */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.form-group label {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(13, 59, 102, 0.15);
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--secondary);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D3B66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1.1rem;
  padding-right: 3rem;
}

/* Checkboxes Grid Styling */
.services-checkbox-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.services-checkbox-container p {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.checkbox-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.2rem;
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(13, 59, 102, 0.1);
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.checkbox-wrapper:hover {
  background-color: rgba(255, 255, 255, 0.95);
  border-color: var(--secondary);
}

.checkbox-wrapper.disabled {
  background-color: rgba(226, 232, 240, 0.5);
  border-color: rgba(13, 59, 102, 0.05);
  cursor: not-allowed;
  opacity: 0.75;
}

.checkbox-wrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--secondary);
  cursor: pointer;
}

.checkbox-wrapper label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-dark);
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.checkbox-wrapper label span.rate {
  font-weight: 600;
  color: var(--secondary);
}

.checkbox-wrapper input[type="checkbox"]:disabled {
  cursor: not-allowed;
}

/* Submit and Modal details */
.lead-form-box {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(13, 59, 102, 0.1);
}

.lead-form-box h4 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.estimator-action {
  text-align: center;
  margin-top: 1.5rem;
}

.estimator-action .btn {
  width: 100%;
  padding: 1.1rem;
}

/* Results Display Card */
.results-box {
  background: white;
  border: 2px solid var(--secondary);
  box-shadow: 0 15px 35px rgba(201, 162, 39, 0.1);
  border-radius: 8px;
  padding: 2rem;
  margin-top: 2.5rem;
  display: none;
}

.results-box.active {
  display: block;
  animation: fadeInUp 0.5s ease-out;
}

.results-title {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  text-align: center;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--secondary);
}

.results-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.results-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.results-item .label {
  color: var(--text-muted);
}

.results-item .val {
  font-weight: 600;
  color: var(--primary);
}

.results-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px dashed rgba(13, 59, 102, 0.2);
  border-bottom: 1px dashed rgba(13, 59, 102, 0.2);
  margin-bottom: 1.25rem;
}

.results-total .label {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

.results-total .val {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--secondary);
}

.results-custom-quote {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--secondary);
  text-align: center;
  padding: 1rem 0;
}

.disclaimer-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: justify;
}

/* About Us Section styling */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4.5rem;
  align-items: start;
}

.about-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.about-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 45px;
  height: 2px;
  background-color: var(--secondary);
}

.about-story {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 2rem;
}

.about-manifesto {
  background: white;
  border-left: 4px solid var(--secondary);
  padding: 1.25rem 1.75rem;
  margin-bottom: 2.25rem;
  box-shadow: var(--card-shadow);
  border-radius: 0 8px 8px 0;
}

.about-manifesto p {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  line-height: 1.5;
}

.about-taglines {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.tagline-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tagline-icon {
  color: var(--secondary);
  font-size: 1.1rem;
}

.tagline-item span {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  text-transform: uppercase;
}

/* Founder Block quote layout */
.founder-card {
  padding: 3rem;
  border-radius: 12px;
  position: relative;
  margin-top: 1rem;
  box-shadow: var(--card-shadow);
  background: white;
  border: 1px solid rgba(13, 59, 102, 0.05);
}

.founder-quote-icon {
  font-size: 3rem;
  color: rgba(201, 162, 39, 0.15);
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-family: serif;
  line-height: 1;
}

.founder-quote-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.founder-profile {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.founder-info h4 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.founder-info p {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 1px;
}

/* Vision/Mission Split Grid */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 4.5rem;
}

.phil-card {
  padding: 2.5rem;
  border-radius: 8px;
  background-color: white;
  border: 1px solid rgba(13, 59, 102, 0.04);
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

.phil-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 162, 39, 0.3);
}

.phil-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.phil-icon {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background-color: rgba(13, 59, 102, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  transition: var(--transition-fast);
}

.phil-card:hover .phil-icon {
  background-color: var(--primary);
  color: white;
}

.phil-header h4 {
  font-size: 1.25rem;
}

.phil-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.phil-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.6;
}

.phil-list li i {
  color: var(--secondary);
  font-size: 0.8rem;
  margin-top: 5px;
}

/* Counters section layout */
.counters-section {
  padding: 4.5rem 0;
  background-color: var(--primary);
  background-image: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border-top: 3px solid var(--secondary);
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.counter-item {
  position: relative;
}

.counter-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 0;
  width: 1px;
  height: 70%;
  background-color: rgba(255, 255, 255, 0.15);
}

.counter-num {
  font-family: var(--font-headings);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.counter-num span {
  color: var(--secondary);
}

.counter-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  color: var(--text-muted-light);
}

/* Services section tabs & masonry */
.tabs-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.tab-btn {
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  background-color: white;
  color: var(--primary);
  border: 1px solid rgba(13, 59, 102, 0.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
}

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

.services-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  min-height: 400px;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(13, 59, 102, 0.03);
  transition: var(--transition-smooth);
  opacity: 1;
  transform: scale(1);
}

.service-card.hide {
  display: none;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(13, 59, 102, 0.1);
}

.service-img-box {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.service-card:hover .service-img {
  transform: scale(1.08);
}

.service-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background-color: rgba(13, 59, 102, 0.9);
  color: var(--secondary);
  padding: 0.35rem 0.85rem;
  font-family: var(--font-headings);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  border: 1px solid rgba(201, 162, 39, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.service-info {
  padding: 2rem;
}

.service-info h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  transition: var(--transition-fast);
}

.service-card:hover .service-info h4 {
  color: var(--secondary);
}

.service-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 6rem;
}

.value-card {
  padding: 2.5rem;
  border-radius: 8px;
  background: white;
  border: 1px solid rgba(13, 59, 102, 0.04);
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 162, 39, 0.2);
}

.value-icon {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  background-color: rgba(13, 59, 102, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-fast);
}

.value-card:hover .value-icon {
  background-color: var(--secondary);
  color: white;
}

.value-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Project Execution Timeline (Roadmap) */
.timeline-box {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, rgba(201, 162, 39, 0.1) 0%, var(--secondary) 15%, var(--secondary) 85%, rgba(201, 162, 39, 0.1) 100%);
}

.timeline-step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-node {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  border: 3px solid var(--secondary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 5;
  box-shadow: 0 0 15px rgba(201, 162, 39, 0.2);
}

.timeline-card-wrapper {
  width: 45%;
}

.timeline-step:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-card {
  padding: 2rem;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.timeline-card h4 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.timeline-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Policies Accordion Toggles */
.policies-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 900px;
  margin: 4.5rem auto 0;
}

.policy-block {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(13, 59, 102, 0.15);
  background-color: white;
  transition: var(--transition-smooth);
}

.policy-header {
  padding: 1.5rem 2rem;
  background-color: rgba(13, 59, 102, 0.02);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.policy-header h4 {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary) !important;
}

.policy-header h4 i {
  color: var(--secondary);
}

.policy-indicator {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.8rem;
  background-color: rgba(13, 59, 102, 0.05);
  transition: var(--transition-smooth);
}

.policy-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 2rem;
}

.policy-body-content {
  padding: 1.5rem 0 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  border-top: 1px solid rgba(13, 59, 102, 0.06);
}

.policy-body-content p {
  margin-bottom: 1rem;
}

.policy-body-content p:last-child {
  margin-bottom: 0;
}

.policy-body-content ul {
  list-style: none;
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.policy-body-content ul li {
  position: relative;
}

.policy-body-content ul li::before {
  content: '✓';
  position: absolute;
  left: -1rem;
  color: var(--secondary);
  font-size: 0.75rem;
}

.policy-block.active {
  border-color: var(--secondary);
  box-shadow: var(--card-shadow);
}

.policy-block.active .policy-header {
  background-color: rgba(201, 162, 39, 0.04);
}

.policy-block.active .policy-indicator {
  transform: rotate(180deg);
  background-color: var(--secondary);
  color: white;
}

/* Testimonials Carousel slider layout */
.slider-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 2rem;
}

.testimonial-slide {
  min-width: calc(100% - 2rem);
  flex-shrink: 0;
}

.testimonial-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--glass-border-dark);
  border-radius: 12px;
  padding: 3.5rem;
  position: relative;
  color: white;
}

.testimonial-quote {
  font-size: 1.1rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--text-muted-light);
}

.testimonial-author-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  border: 2px solid var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--secondary);
}

.testimonial-author h4 {
  font-size: 1.05rem;
  color: white;
  margin-bottom: 0.15rem;
}

.testimonial-author p {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 500;
  text-transform: uppercase;
}

.testimonial-rating {
  color: var(--secondary);
  font-size: 0.9rem;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: white;
  border: 1px solid rgba(13, 59, 102, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.slider-btn:hover {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 6px 15px rgba(13, 59, 102, 0.2);
}

/* FAQ Accordion Styling */
.faq-accordion {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(13, 59, 102, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
}

.faq-question {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question h4 {
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 600;
}

.faq-toggle {
  color: var(--secondary);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 2rem;
}

.faq-answer-content {
  padding: 1rem 0 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid rgba(13, 59, 102, 0.05);
}

.faq-item.active {
  border-color: var(--secondary);
  box-shadow: var(--card-shadow);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* Contact Info & Forms */
.contact-section {
  background-color: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-card {
  padding: 3rem;
  border-radius: 12px;
  background-color: white;
  box-shadow: var(--card-shadow);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background-color: rgba(13, 59, 102, 0.05);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-info-text a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-info-text a:hover {
  color: var(--secondary);
}

/* Corporate Footer */
footer {
  background-color: #050d17;
  color: var(--text-muted-light);
  padding: 5rem 0 2rem;
  border-top: 3px solid var(--secondary);
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h3 {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.75rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-about p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

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

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

.social-icon:hover {
  background-color: var(--secondary);
  color: white;
  transform: translateY(-2px);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: var(--text-muted-light);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: white;
  padding-left: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
}

.footer-contact-list li {
  display: flex;
  gap: 0.75rem;
  line-height: 1.6;
}

.footer-contact-list li i {
  color: var(--secondary);
  font-size: 0.95rem;
  margin-top: 3px;
}

.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: 1rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-legal-links a:hover {
  color: white;
}

/* Floating Action Bars and Buttons */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
}

.floating-whatsapp {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: var(--transition-smooth);
  animation: pulseWhatsapp 2s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  background-color: #128C7E;
}

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

.floating-totop {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  border: 1px solid var(--glass-border-dark);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(13, 59, 102, 0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.floating-totop.visible {
  opacity: 1;
  visibility: visible;
}

.floating-totop:hover {
  background-color: var(--secondary);
  color: white;
  transform: translateY(-3px);
}

/* Responsiveness adjustments (Media queries) */
@media (max-width: 1200px) {
  html { font-size: 15px; }
  .counters-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .counter-item:nth-child(3)::after { display: none; }
  .counter-item:nth-child(6)::after { display: none; }
}

@media (max-width: 992px) {
  .section { padding: 4.5rem 0; }
  .container { padding: 0 1.25rem; }
  .navbar { padding: 0.85rem 0; }
  
  /* Mobile Logo & Header Sizing */
  .logo-img { height: 48px; }
  header.scrolled .logo-img { height: 40px; }
  .logo { padding: 0.25rem 0.5rem; }

  .nav-menu { display: none; } /* Handle mobile drawer */
  
  /* Mobile menu logic toggled class */
  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--bg-dark);
    padding: 2.5rem 1.5rem;
    gap: 1.5rem;
    z-index: 999;
    overflow-y: auto;
  }
  
  .nav-link { font-size: 1.1rem; }
  .mega-menu {
    position: relative;
    top: 0;
    left: 0;
    transform: none !important;
    width: 100%;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: none;
    grid-template-columns: 1fr;
    padding: 1rem 0;
    background: transparent;
    border: none;
  }
  
  .nav-item:hover .mega-menu { display: none; }
  .nav-item.active-item .mega-menu { display: grid; }
  
  .hamburger { display: flex; }
  
  .btn-nav-call {
    padding: 0.5rem 0.85rem;
    font-size: 0.75rem;
  }
  
  .hero-content h2 { font-size: 3.2rem; }
  
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .services-masonry, .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .timeline-line { left: 1.5rem; }
  .timeline-node { left: 1.5rem; }
  .timeline-step { flex-direction: row !important; }
  .timeline-card-wrapper { width: calc(100% - 3.5rem); margin-left: 3.5rem; }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: auto;
    padding: 120px 0 80px;
  }
  
  .hero-content h2 { font-size: 2.4rem; }
  .hero-desc { font-size: 0.95rem; }
  .hero-buttons { flex-direction: column; width: 100%; gap: 1rem; }
  .hero-buttons .btn { width: 100%; }
  
  .tabs-container {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .tab-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
  }

  .form-grid { grid-template-columns: 1fr; }
  .form-group-full { grid-column: span 1; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .checkbox-wrapper[style*="span 2"] { grid-column: span 1 !important; }
  
  .philosophy-grid { grid-template-columns: 1fr; }
  .services-masonry, .values-grid { grid-template-columns: 1fr; }
  
  .counters-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .counter-item::after { display: none !important; }
  
  .footer-grid { grid-template-columns: 1fr; }
  
  .estimator-card { padding: 2rem 1.25rem; }
  .contact-card { padding: 2rem 1.25rem; }
}

@media (max-width: 480px) {
  .navbar { padding: 0.6rem 0; }
  .logo-img { height: 36px; }
  header.scrolled .logo-img { height: 32px; }
  
  .hero-tagline { font-size: 0.85rem; letter-spacing: 2px; }
  .hero-content h2 { font-size: 1.95rem; }
  .section-title { font-size: 1.75rem; }
  
  .counters-grid { grid-template-columns: 1fr; }
  .counter-num { font-size: 2.2rem; }
  
  .testimonial-card { padding: 1.75rem 1.25rem; }
  .policy-header { padding: 1rem 1.25rem; }
  .policy-header h4 { font-size: 0.95rem; }
  .faq-question { padding: 1.25rem 1.25rem; }
  .faq-question h4 { font-size: 0.95rem; }
  
  .floating-actions { right: 1rem; bottom: 1.25rem; gap: 0.75rem; }
  .floating-whatsapp { width: 46px; height: 46px; font-size: 1.4rem; }
  .floating-totop { width: 42px; height: 42px; font-size: 0.9rem; }
}
