/* ==========================================
   Dr. Chayan Roy - Inland Fisheries Website
   Global Styles
   ========================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary-dark: #0a2647;
  --primary: #144272;
  --primary-medium: #205295;
  --primary-light: #2c74b3;
  --accent: #00b4d8;
  --accent-dark: #0077b6;
  --white: #ffffff;
  --off-white: #f0f4f8;
  --light-gray: #e2e8f0;
  --gray: #94a3b8;
  --dark-gray: #475569;
  --text: #1e293b;
  --text-light: #64748b;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --shadow-sm: 0 1px 3px rgba(10, 38, 71, 0.1);
  --shadow-md: 0 4px 12px rgba(10, 38, 71, 0.12);
  --shadow-lg: 0 10px 30px rgba(10, 38, 71, 0.15);
  --shadow-xl: 0 20px 50px rgba(10, 38, 71, 0.2);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s ease;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --max-width: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

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

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--off-white);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.4);
}

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

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

.btn-white {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.text-center { text-align: center; }
.text-white { color: var(--white); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition);
  padding: 1rem 0;
}

.navbar.scrolled {
  background: rgba(10, 38, 71, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.5rem 0;
  box-shadow: var(--shadow-lg);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
}

.nav-logo-icon {
  width: 42px;
  height: 42px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1rem;
}

.nav-auth .btn {
  padding: 0.45rem 1.25rem;
  font-size: 0.85rem;
}

.nav-user {
  color: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.mobile-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: url('../images/hero-bg.jpeg') center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 38, 71, 0.85) 0%, rgba(20, 66, 114, 0.8) 40%, rgba(32, 82, 149, 0.75) 70%, rgba(0, 119, 182, 0.8) 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-particles .bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.1);
  animation: float-up linear infinite;
}

@keyframes float-up {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 1.5rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.25rem;
  background: rgba(0, 180, 216, 0.2);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--accent), #48cae4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  overflow: hidden;
}

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

.card-body {
  padding: 1.75rem;
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(0, 119, 182, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-dark);
}

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

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  overflow: hidden;
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-card-header {
  padding: 2rem 1.75rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  text-align: center;
}

.service-card-header .card-icon {
  margin: 0 auto 1rem;
  background: rgba(255, 255, 255, 0.15);
}

.service-card-header .card-icon svg {
  stroke: var(--white);
}

.service-card-header h3 {
  color: var(--white);
  font-size: 1.15rem;
}

.service-card-body {
  padding: 1.5rem 1.75rem;
}

.service-card-body p {
  color: var(--text-light);
  font-size: 0.92rem;
  min-height: 60px;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 1rem 0;
  font-family: var(--font-heading);
}

.service-price small {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-light);
}

.service-features {
  margin: 1rem 0 1.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.service-features li svg {
  width: 16px;
  height: 16px;
  stroke: var(--success);
  flex-shrink: 0;
}

.service-card .btn {
  width: 100%;
  justify-content: center;
}

/* ---------- Stats Section ---------- */
.stats {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  color: var(--white);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--accent);
  display: block;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.5rem;
}

/* ---------- Testimonials ---------- */
.testimonials-slider {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-card {
  padding: 2.5rem;
  text-align: center;
  display: none;
}

.testimonial-card.active {
  display: block;
}

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

.testimonial-quote::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--accent);
  font-family: var(--font-heading);
  line-height: 1;
  display: block;
  margin-bottom: -1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-dark);
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--text-light);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testimonial-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--light-gray);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.testimonial-dots .dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
  font-weight: 600;
}

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

.footer-links a {
  font-size: 0.9rem;
  transition: all var(--transition);
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-medium));
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header-profile {
  background: url('../images/profile-bg.jpeg') center/cover no-repeat;
}

.page-header-profile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 38, 71, 0.88), rgba(20, 66, 114, 0.82), rgba(32, 82, 149, 0.78));
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23ffffff' d='M0,30 C360,60 1080,0 1440,30 L1440,60 L0,60 Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: var(--white);
  font-size: 2.75rem;
  margin-bottom: 0.75rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}

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

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

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

/* ---------- Form Styles ---------- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: all var(--transition);
  background: var(--white);
  color: var(--text);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.form-control.error {
  border-color: var(--error);
}

.form-control.success {
  border-color: var(--success);
}

.form-error {
  color: var(--error);
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: none;
}

.form-error.show {
  display: block;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-dark);
}

/* ---------- Gallery Grid ---------- */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border: 2px solid var(--light-gray);
  background: var(--white);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: all var(--transition);
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
}

.gallery-item .gallery-svg,
.gallery-item .gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-svg,
.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 38, 71, 0.8), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: var(--white);
  font-size: 1rem;
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin: 0;
}

/* ---------- Lightbox ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 38, 71, 0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  position: relative;
}

.lightbox-content svg,
.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  z-index: 2001;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-caption {
  text-align: center;
  color: var(--white);
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--light-gray);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 2.5rem 2.5rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 0;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(odd)::before {
  right: -7px;
}

.timeline-item:nth-child(even)::before {
  left: -7px;
}

.timeline-year {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ---------- Profile Page ---------- */
.profile-header {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}

.profile-photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info h2 {
  margin-bottom: 0.5rem;
}

.profile-info .designation {
  color: var(--accent-dark);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.profile-tag {
  padding: 0.35rem 1rem;
  background: rgba(0, 180, 216, 0.1);
  color: var(--accent-dark);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
}

.profile-section {
  margin-top: 3rem;
}

.profile-section h3 {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--light-gray);
}

.publication-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--light-gray);
}

.publication-item:last-child {
  border-bottom: none;
}

.publication-item h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  font-family: var(--font-body);
}

.publication-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* Profile Contact Details */
.profile-contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1rem;
}

.profile-contact-details span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.profile-contact-details svg {
  color: var(--accent-dark);
  flex-shrink: 0;
}

/* Competencies Grid */
.competencies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.competency-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(0, 180, 216, 0.05);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-dark);
  transition: background var(--transition);
}

.competency-item:hover {
  background: rgba(0, 180, 216, 0.1);
}

.competency-item svg {
  color: var(--accent-dark);
  flex-shrink: 0;
}

.competency-item span {
  font-size: 0.9rem;
  color: var(--text-color);
  font-weight: 500;
}

/* Experience Items */
.experience-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--light-gray);
}

.experience-item:last-child {
  border-bottom: none;
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.experience-header h4 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  font-family: var(--font-body);
}

.experience-org {
  font-size: 0.9rem;
  color: var(--accent-dark);
  font-weight: 500;
  margin: 0;
}

.experience-date {
  font-size: 0.85rem;
  color: var(--text-light);
  white-space: nowrap;
  padding: 0.25rem 0.75rem;
  background: rgba(0, 180, 216, 0.08);
  border-radius: 50px;
  font-weight: 500;
}

.experience-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.experience-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.experience-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-dark);
}

/* Geographic Description */
.geo-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
  padding: 1.25rem;
  background: rgba(0, 180, 216, 0.05);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-dark);
}

.geo-description strong {
  color: var(--text-color);
}

/* Languages Grid */
.languages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.language-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: rgba(0, 180, 216, 0.05);
  border-radius: var(--radius-md);
  transition: background var(--transition);
}

.language-item:hover {
  background: rgba(0, 180, 216, 0.1);
}

.language-name {
  font-weight: 600;
  color: var(--text-color);
}

.language-level {
  font-size: 0.85rem;
  color: var(--accent-dark);
  font-weight: 500;
}

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

.contact-info-cards {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--off-white);
  border-radius: var(--radius-md);
}

.contact-info-card .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card .icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
}

.contact-info-card h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  font-family: var(--font-body);
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 250px;
  border: none;
}

/* ---------- Auth Pages ---------- */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 2rem;
}

.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  width: 100%;
  max-width: 450px;
  box-shadow: var(--shadow-xl);
}

.auth-card .logo {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-card .logo h2 {
  font-size: 1.5rem;
  margin-top: 0.75rem;
}

.auth-card .logo p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.auth-card .btn {
  width: 100%;
  justify-content: center;
  padding: 0.85rem;
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.auth-footer a {
  color: var(--accent-dark);
  font-weight: 600;
}

/* ---------- Checkout ---------- */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.order-summary {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: sticky;
  top: 100px;
}

.order-summary h3 {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--light-gray);
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--light-gray);
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
}

/* ---------- Toast Notifications ---------- */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.3s ease, fadeOut 0.3s ease 2.7s;
  min-width: 280px;
}

.toast-success { background: var(--success); }
.toast-error { background: var(--error); }
.toast-warning { background: var(--warning); }
.toast-info { background: var(--accent-dark); }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
  to { opacity: 0; transform: translateX(50%); }
}

/* ---------- Misc ---------- */
.wave-divider {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.wave-divider svg {
  width: 100%;
  height: 60px;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--accent-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
  border: none;
  z-index: 900;
}

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

.back-to-top:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* ---------- Skeleton Loader ---------- */
.skeleton {
  background: linear-gradient(90deg, var(--light-gray) 25%, var(--off-white) 50%, var(--light-gray) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---------- Awards / Recognition ---------- */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.award-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.award-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.award-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.award-card h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.award-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

/* ---------- Expertise tags ---------- */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.expertise-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.expertise-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.expertise-card .icon {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(0, 119, 182, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.expertise-card .icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-dark);
}

.expertise-card h4 {
  font-size: 0.95rem;
  font-family: var(--font-body);
}

/* ---------- Mission/Vision ---------- */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.mv-card {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.mv-card.mission {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
}

.mv-card.vision {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: var(--white);
}

.mv-card h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.mv-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.8;
}

/* ---------- About snippet on homepage ---------- */
.about-snippet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-snippet-img {
  width: 100%;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-snippet-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ---------- Alert ---------- */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-info {
  background: rgba(0, 180, 216, 0.1);
  color: var(--accent-dark);
  border: 1px solid rgba(0, 180, 216, 0.2);
}

/* ---------- Order confirmation ---------- */
.order-confirmation {
  text-align: center;
  padding: 3rem;
  display: none;
}

.order-confirmation.show {
  display: block;
}

.order-confirmation .checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-confirmation .checkmark svg {
  width: 40px;
  height: 40px;
  stroke: var(--white);
}
