/* Ashoka Geotech Consultants - Professional Styling System */

:root {
  --primary-blue: #0f2c59;
  --primary-blue-dark: #091c3d;
  --accent-orange: #e65100;
  --accent-orange-hover: #bf4300;
  --slate-dark: #1e293b;
  --slate-light: #f8fafc;
  --border-color: #e2e8f0;
  --text-main: #334155;
  --text-muted: #64748b;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.6;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--accent-orange);
}

/* Top Bar */
.top-bar {
  background-color: var(--primary-blue-dark);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-info {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-badge {
  background: var(--accent-orange);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
}

/* Header & Nav */
.header {
  background: #ffffff;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  background: var(--primary-blue);
  color: #ffffff;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1.5rem;
  border-bottom: 4px solid var(--accent-orange);
}

.brand-text h1 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1.2;
}

.brand-text p {
  font-size: 0.75rem;
  color: var(--accent-orange);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 22px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-dark);
  padding: 6px 0;
  position: relative;
}

.nav-links a.active, .nav-links a:hover {
  color: var(--accent-orange);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-orange);
}

.btn-primary {
  background-color: var(--accent-orange);
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700;
  display: inline-block;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(230,81,0,0.3);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--primary-blue);
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: var(--primary-blue-dark);
  transform: translateY(-1px);
}

.btn-outline {
  border: 2px solid #ffffff;
  color: #ffffff !important;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 700;
  display: inline-block;
}

.btn-outline:hover {
  background: #ffffff;
  color: var(--primary-blue) !important;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-blue);
}

/* Page Hero Header */
.page-hero {
  background: linear-gradient(135deg, rgba(15,44,89,0.95), rgba(9,28,61,0.9)), url('https://images.unsplash.com/photo-1541888946425-d0fbb186a5b3?auto=format&fit=crop&w=1200&q=80') center/cover;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.page-hero h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 1.1rem;
  color: #e2e8f0;
  max-width: 700px;
  margin: 0 auto;
}

.breadcrumb {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

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

/* Layout Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 45px;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--primary-blue);
  font-weight: 800;
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-orange);
  margin: 8px auto 0;
  border-radius: 2px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Card Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: #cbd5e1;
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  color: var(--primary-blue);
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.card-body p {
  color: var(--text-main);
  font-size: 0.95rem;
  margin-bottom: 18px;
  flex: 1;
}

.card-list {
  list-style: none;
  margin-bottom: 20px;
}

.card-list li {
  font-size: 0.9rem;
  color: var(--text-main);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-list li::before {
  content: '✓';
  color: var(--accent-orange);
  font-weight: bold;
}

/* Feature Box & Badges */
.feature-badge {
  display: inline-block;
  background: rgba(15,44,89,0.08);
  color: var(--primary-blue);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* Stats Ribbon */
.stats-ribbon {
  background: var(--primary-blue-dark);
  color: #ffffff;
  padding: 50px 20px;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.75rem;
  color: var(--accent-orange);
  font-weight: 800;
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 1rem;
  color: #cbd5e1;
  font-weight: 600;
}

/* Contact Details & Form */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--slate-dark);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.contact-info-card {
  background: var(--slate-light);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 25px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-blue);
  color: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-content h4 {
  font-size: 1.1rem;
  color: var(--primary-blue);
  margin-bottom: 4px;
}

.contact-info-content p {
  color: var(--text-main);
  font-size: 0.95rem;
}

/* Table Styling */
.table-responsive {
  overflow-x: auto;
  margin-bottom: 30px;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.custom-table th, .custom-table td {
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  text-align: left;
}

.custom-table th {
  background: var(--primary-blue);
  color: #ffffff;
  font-weight: 700;
}

.custom-table tr:nth-child(even) {
  background: var(--slate-light);
}

/* Footer */
.footer {
  background: var(--primary-blue-dark);
  color: #94a3b8;
  padding: 60px 0 20px;
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
}

.footer-col h3::after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background: var(--accent-orange);
  margin-top: 6px;
}

.footer-col p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: #94a3b8;
}

.footer-col ul a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 20px 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .page-hero h2 {
    font-size: 1.75rem;
  }
}
