/* ============================================
   Rajasthan Rowing Association - Main Stylesheet
   Colors from actinfo.in + Premium Rowing Theme
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Primary Palette (from actinfo.in) */
  --primary: #2b0029;
  --primary-dark: #1a001a;
  --secondary: #50054c;
  --accent: #cca772;
  --accent-light: #dfc49a;
  --accent-dark: #b08a50;

  /* Backgrounds */
  --bg-cream: #f3e8e2;
  --bg-cream-light: #f9f3f0;
  --bg-cream-dark: #f6ede9;
  --bg-white: #ffffff;

  /* Text */
  --text-dark: #161a1f;
  --text-body: #455A64;
  --text-muted: #929496;
  --text-light: #ffffff;

  /* Utility */
  --border: #e5e7eb;
  --shadow: 0 4px 24px rgba(43, 0, 41, 0.08);
  --shadow-lg: 0 12px 48px rgba(43, 0, 41, 0.12);
  --shadow-xl: 0 20px 60px rgba(43, 0, 41, 0.18);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #2b0029 0%, #50054c 50%, #6a0a66 100%);
  --gradient-accent: linear-gradient(135deg, #cca772 0%, #dfc49a 100%);
  --gradient-dark: linear-gradient(180deg, #1a001a 0%, #2b0029 100%);
  --gradient-hero: linear-gradient(135deg, rgba(43,0,41,0.92) 0%, rgba(80,5,76,0.85) 50%, rgba(43,0,41,0.95) 100%);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

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

.section-padding {
  padding: 60px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Section Title --- */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title .subtitle {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  position: relative;
  padding: 0 20px;
}

.section-title .subtitle::before,
.section-title .subtitle::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.section-title .subtitle::before { left: -20px; }
.section-title .subtitle::after { right: -20px; }

.section-title h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* --- Top Bar --- */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(204,167,114,0.15);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

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

.top-bar-left {
  display: none;
}

.top-bar-left i {
  color: var(--accent);
  margin-right: 6px;
  font-size: 12px;
}

.top-bar-right {
  display: flex;
  gap: 12px;
}

.top-bar-right a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  font-size: 12px;
  transition: var(--transition);
}

.top-bar-right a:hover {
  background: var(--accent);
  color: var(--primary) !important;
  transform: translateY(-2px);
}

/* --- Navbar --- */
.navbar {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(43,0,41,0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  height: 80px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.navbar-brand .logo-icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent);
  box-shadow: 0 4px 16px rgba(43,0,41,0.2);
  transition: var(--transition);
}

.navbar-brand:hover .logo-icon {
  transform: scale(1.05) rotate(-3deg);
}

.navbar-brand .brand-text {
  display: flex;
  flex-direction: column;
}

.navbar-brand .brand-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.navbar-brand .brand-tagline {
  font-size: 11px;
  color: var(--accent-dark);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--bg-white);
  flex-direction: column;
  padding: 90px 24px 40px;
  box-shadow: -4px 0 30px rgba(0,0,0,0.15);
  transition: var(--transition);
  gap: 4px;
  overflow-y: auto;
  z-index: 1002;
}

.nav-links.active {
  right: 0;
}

.nav-links a {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(43,0,41,0.04);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  border: none;
  padding: 0 0 0 16px;
  display: none;
}

.nav-links .dropdown.open .dropdown-menu {
  display: block;
}

.nav-links .dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  color: var(--text-body);
}

.nav-links .dropdown-menu a:hover {
  background: var(--bg-cream-light);
  color: var(--primary);
}

.nav-links .dropdown > a::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-left: 6px;
  font-size: 10px;
  transition: var(--transition);
}

.nav-links .dropdown:hover > a::after,
.nav-links .dropdown.open > a::after {
  transform: rotate(180deg);
}

.nav-cta {
  background: var(--gradient-primary) !important;
  color: var(--text-light) !important;
  text-align: center;
  border-radius: 50px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(43,0,41,0.2);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43,0,41,0.3) !important;
}

/* Mobile Menu Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1001;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.nav-overlay.show {
  display: block;
}

/* Mobile Menu Close Button */
.nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--bg-cream-light);
  color: var(--text-dark);
  font-size: 16px;
  cursor: pointer;
  position: absolute;
  top: 24px;
  right: 20px;
  transition: var(--transition);
  z-index: 10;
}

.nav-close:hover {
  background: var(--gradient-primary);
  color: var(--text-light);
  border-color: var(--primary);
}

/* Footer Credit */
.footer-credit {
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 8px;
}

.footer-credit a {
  color: var(--accent);
  font-weight: 700;
  transition: var(--transition);
}

.footer-credit a:hover {
  color: var(--accent-light);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1003;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 4px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1517649763962-0c623066013b?w=1920&q=80') center/cover no-repeat;
  opacity: 0.35;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

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

.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: particleFloat 15s infinite linear;
}

.hero-particles span:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.hero-particles span:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 16s; }
.hero-particles span:nth-child(3) { left: 35%; animation-delay: 4s; animation-duration: 14s; }
.hero-particles span:nth-child(4) { left: 50%; animation-delay: 1s; animation-duration: 18s; }
.hero-particles span:nth-child(5) { left: 65%; animation-delay: 3s; animation-duration: 13s; }
.hero-particles span:nth-child(6) { left: 80%; animation-delay: 5s; animation-duration: 15s; }
.hero-particles span:nth-child(7) { left: 90%; animation-delay: 0.5s; animation-duration: 17s; }

@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-100px) scale(1.5); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(204,167,114,0.15);
  border: 1px solid rgba(204,167,114,0.3);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease;
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  color: var(--text-light);
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 560px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(204,167,114,0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(204,167,114,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.btn-dark {
  background: var(--gradient-primary);
  color: var(--text-light);
  box-shadow: 0 4px 20px rgba(43,0,41,0.25);
}

.btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(43,0,41,0.35);
}

/* --- Hero Stats --- */
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-stat h3 {
  font-size: 36px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 4px;
}

.hero-stat p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin: 0;
}

/* --- Wave Divider --- */
.wave-divider {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

/* --- About Section --- */
.about-section {
  background: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  display: block;
}

.about-image .experience-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--gradient-primary);
  color: var(--text-light);
  padding: 20px 28px;
  border-radius: var(--radius);
  text-align: center;
  backdrop-filter: blur(10px);
}

.about-image .experience-badge h3 {
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
}

.about-image .experience-badge p {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.about-content .subtitle {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.about-content h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-content p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 28px;
  margin-bottom: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-cream-light);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.about-feature:hover {
  background: var(--bg-cream);
  transform: translateX(4px);
}

.about-feature i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--accent);
  border-radius: 8px;
  font-size: 14px;
  flex-shrink: 0;
}

.about-feature span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

/* --- Achievements / Stats --- */
.achievements {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.achievements::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23cca772' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.achievements .section-title h2 {
  background: none;
  -webkit-text-fill-color: var(--text-light);
  color: var(--text-light);
}

.achievements .section-title p {
  color: rgba(255,255,255,0.6);
}

.achievements .section-title .subtitle {
  color: var(--accent);
}

.achievements .section-title .subtitle::before,
.achievements .section-title .subtitle::after {
  background: var(--accent);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(204,167,114,0.3);
}

.stat-card .stat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(204,167,114,0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--accent);
}

.stat-card h3 {
  font-size: 42px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 6px;
  line-height: 1;
}

.stat-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Events Section --- */
.events-section {
  background: var(--bg-cream-light);
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.event-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

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

.event-card .event-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.event-card .event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.event-card .event-date {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gradient-primary);
  color: var(--text-light);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 4px 16px rgba(43,0,41,0.2);
}

.event-card .event-date .day {
  font-size: 24px;
  font-weight: 900;
  display: block;
  color: var(--accent);
}

.event-card .event-date .month {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.event-card .event-body {
  padding: 24px;
}

.event-card .event-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(204,167,114,0.12);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.event-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.event-card .event-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.event-card .event-meta i {
  color: var(--accent-dark);
  margin-right: 6px;
}

/* --- News Section --- */
.news-section {
  background: var(--bg-white);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-cream-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
}

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

.news-card .news-image {
  width: 100%;
  height: 200px;
  flex-shrink: 0;
  overflow: hidden;
}

.news-card .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .news-image img {
  transform: scale(1.06);
}

.news-card .news-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card .news-date {
  font-size: 12px;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 8px;
}

.news-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Gallery Section --- */
.gallery-section {
  background: var(--bg-cream-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

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

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(43,0,41,0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-overlay h4 {
  color: var(--text-light);
  font-size: 15px;
}

.gallery-overlay p {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

/* --- CTA Section --- */
.cta-section {
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,167,114,0.08) 0%, transparent 70%);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--text-light);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin: 0 auto 32px;
}

/* --- Footer --- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.65);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-primary);
  border: 1px solid rgba(204,167,114,0.2);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 16px;
}

.footer-brand h3 {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

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

.footer-col h4 {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

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

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

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 10px;
  color: var(--accent);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}

.footer-contact-item i {
  color: var(--accent);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* --- Page Header --- */
.page-header {
  background: var(--gradient-primary);
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23cca772' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.page-header h1 {
  font-size: clamp(32px, 5vw, 48px);
  color: var(--text-light);
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

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

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

.breadcrumb .sep {
  font-size: 10px;
}

/* --- Cards --- */
.card-hover {
  transition: var(--transition);
}

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

/* --- Team Cards --- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.team-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

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

.team-card .team-image {
  height: auto;
  overflow: hidden;
  position: relative;
}

.team-card .team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-card .team-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(transparent, rgba(43,0,41,0.4));
}

.team-card .team-info {
  padding: 24px;
}

.team-card h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.team-card .team-role {
  font-size: 13px;
  color: var(--accent-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.contact-form {
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
  background: var(--bg-cream-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(204,167,114,0.1);
}

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

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

.contact-info-card {
  background: var(--gradient-primary);
  padding: 40px;
  border-radius: var(--radius-lg);
  color: var(--text-light);
}

.contact-info-card h3 {
  color: var(--text-light);
  font-size: 24px;
  margin-bottom: 8px;
}

.contact-info-card > p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
  font-size: 15px;
}

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

.contact-info-item .icon {
  width: 48px;
  height: 48px;
  background: rgba(204,167,114,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-info-item h4 {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 4px;
}

.contact-info-item p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin: 0;
}

/* --- Filter Tabs --- */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 10px 24px;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-white);
  color: var(--text-body);
  font-family: inherit;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--gradient-primary);
  color: var(--text-light);
  border-color: var(--primary);
}

/* --- Table --- */
.table-container {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.table-container table {
  width: 100%;
  border-collapse: collapse;
}

.table-container th {
  background: var(--gradient-primary);
  color: var(--text-light);
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.table-container td {
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.table-container tr:hover td {
  background: var(--bg-cream-light);
}

/* --- Responsive (Mobile-First) --- */

/* Small phones (up to 480px) - base styles already mobile */

/* Small tablets & large phones (480px+) */
@media (min-width: 480px) {
  .hero-buttons { flex-direction: row; }
  .hero-buttons .btn { width: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 2; }
  .about-features { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .auth-card-body .form-row { grid-template-columns: 1fr 1fr; }
  .credential-box-body .cred-row { flex-direction: row; gap: 12px; align-items: center; }
  .credential-box-body .btn-group { flex-direction: row; }
}

/* Tablets (768px+) */
@media (min-width: 768px) {
  .top-bar-left {
    display: flex;
    gap: 20px;
    align-items: center;
  }
  .top-bar .container {
    justify-content: space-between;
    text-align: left;
  }

  .hamburger { display: none; }
  .nav-close { display: none; }

  .navbar {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .nav-links {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    flex-direction: row;
    padding: 0;
    box-shadow: none;
    gap: 4px;
    overflow: visible;
  }

  .nav-links a {
    width: auto;
    padding: 10px 16px;
    font-size: 14px;
  }

  .nav-links .nav-cta {
    padding: 10px 24px !important;
  }

  .nav-links .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    border: 1px solid var(--border);
    display: block;
  }

  .nav-links .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links .dropdown-menu a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    color: var(--text-body);
  }

  .nav-links .dropdown > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 6px;
    font-size: 10px;
    transition: var(--transition);
  }

  .nav-links .dropdown:hover > a::after {
    transform: rotate(180deg);
  }

  .hero h1 { font-size: clamp(32px, 4vw, 48px); }
  .hero-stats { flex-direction: row; gap: 40px; padding-top: 40px; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .about-image img { height: 350px; }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-card .team-image { height: 240px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .section-padding { padding: 80px 0; }
  .page-header { padding: 140px 0 80px; }
  .news-card { flex-direction: row; }
  .news-card .news-image { width: 200px; height: auto; }
  .news-list-card { flex-direction: row; gap: 0; }
  .news-list-card .news-list-image { width: 280px; height: auto; }
  .auth-card-header { padding: 40px 40px 32px; }
  .auth-card-body { padding: 36px 40px 40px; }
}

/* Desktops (1024px+) */
@media (min-width: 1024px) {
  .section-padding { padding: 100px 0; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .team-grid { grid-template-columns: repeat(4, 1fr); }
  .team-card .team-image { height: 260px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 60px; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .events-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .about-image img { height: 450px; }
  .hero h1 { font-size: clamp(36px, 5.5vw, 64px); }
}

/* --- Scroll to Top --- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: var(--accent);
  border: none;
  border-radius: 14px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(43,0,41,0.3);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(43,0,41,0.4);
}

/* --- Loading Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- News Page Layout --- */
.news-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 768px) {
  .news-layout {
    grid-template-columns: 1fr 320px;
    gap: 48px;
  }
}

.news-sidebar {
  background: var(--bg-cream-light);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
}

.news-sidebar h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 12px;
}

.news-sidebar h4::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--accent);
  margin-top: 12px;
}

.news-sidebar ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-sidebar ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.news-sidebar ul li a:hover {
  border-color: var(--accent);
  color: var(--primary);
}

.news-sidebar .sidebar-badge {
  background: var(--gradient-primary);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
}

.news-sidebar-dark {
  background: var(--gradient-primary);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 28px;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.news-sidebar-dark h4 {
  color: var(--text-light);
  font-size: 18px;
  margin-bottom: 10px;
}

.news-sidebar-dark p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  line-height: 1.7;
}

.news-sidebar-dark input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: var(--text-light);
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 12px;
  outline: none;
}

.news-sidebar-dark input::placeholder {
  color: rgba(255,255,255,0.4);
}

.news-sidebar-dark .btn {
  width: 100%;
  justify-content: center;
  padding: 12px;
  font-size: 14px;
}

.sidebar-events {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-event-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.sidebar-event-date {
  background: var(--gradient-primary);
  color: var(--accent);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-align: center;
  line-height: 1.2;
  flex-shrink: 0;
}

.sidebar-event-date .day {
  display: block;
  font-size: 20px;
  font-weight: 900;
}

.sidebar-event-date .month {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--text-light);
}

.sidebar-event-item a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  display: block;
  margin-bottom: 2px;
}

.sidebar-event-item span {
  font-size: 12px;
  color: var(--text-muted);
}

.sidebar-event-item span i {
  color: var(--accent-dark);
  margin-right: 4px;
}

.news-readmore {
  align-self: flex-start;
  margin-top: 16px;
  padding: 10px 24px;
  font-size: 13px;
}
.news-list-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 24px;
  transition: var(--transition);
}

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

.news-list-card .news-list-image {
  width: 100%;
  height: 200px;
  flex-shrink: 0;
  overflow: hidden;
}

.news-list-card .news-list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-list-card .news-list-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* News page responsive handled above */

/* --- Auth Pages (Register / Login) --- */
.auth-section {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: var(--bg-cream-light);
  position: relative;
  overflow: hidden;
}

.auth-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,167,114,0.06) 0%, transparent 70%);
}

.auth-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,0,41,0.04) 0%, transparent 70%);
}

.auth-container {
  width: 100%;
  max-width: 480px;
  position: relative;
  z-index: 1;
}

.auth-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  animation: fadeInUp 0.6s ease;
}

.auth-card-header {
  background: var(--gradient-primary);
  padding: 40px 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.auth-card-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(204,167,114,0.08);
}

.auth-card-header .auth-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: rgba(204,167,114,0.15);
  border: 2px solid rgba(204,167,114,0.3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.auth-card-header h2 {
  color: var(--text-light);
  font-size: 24px;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.auth-card-header p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin: 0;
  position: relative;
  z-index: 1;
}

.auth-card-body {
  padding: 36px 40px 40px;
}

.auth-card-body .form-group {
  margin-bottom: 18px;
}

.auth-card-body .form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.auth-card-body .form-group label i {
  color: var(--accent-dark);
  font-size: 12px;
}

.auth-card-body .form-group input,
.auth-card-body .form-group select {
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
  background: var(--bg-cream-light);
  width: 100%;
}

.auth-card-body .form-group input:focus,
.auth-card-body .form-group select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(204,167,114,0.1);
}

.auth-card-body .form-group input::placeholder {
  color: var(--text-muted);
}

.auth-card-body .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.auth-card-body .btn-auth {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  font-weight: 800;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.auth-card-body .btn-auth.btn-register {
  background: var(--gradient-primary);
  color: var(--text-light);
  box-shadow: 0 4px 20px rgba(43,0,41,0.25);
}

.auth-card-body .btn-auth.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(43,0,41,0.35);
}

.auth-card-body .btn-auth.btn-login {
  background: var(--gradient-accent);
  color: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(204,167,114,0.35);
}

.auth-card-body .btn-auth.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(204,167,114,0.5);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-link {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 20px;
}

.auth-link a {
  color: var(--primary);
  font-weight: 700;
}

.auth-link a:hover {
  color: var(--accent-dark);
}

.auth-terms {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.6;
}

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

/* Credential Success Modal */
.credential-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(26,0,26,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.credential-modal.show {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.credential-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.credential-box-header {
  background: linear-gradient(135deg, #1a7a33 0%, #28a745 100%);
  padding: 32px 36px;
  text-align: center;
}

.credential-box-header .success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
}

.credential-box-header h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 6px;
}

.credential-box-header p {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  margin: 0;
}

.credential-box-body {
  padding: 32px 36px;
}

.credential-box-body .cred-info {
  background: var(--bg-cream-light);
  border: 2px dashed var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.credential-box-body .cred-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.credential-box-body .cred-row:last-child {
  border-bottom: none;
}

.credential-box-body .cred-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.credential-box-body .cred-value {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Courier New', monospace;
  background: var(--bg-white);
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.credential-box-body .cred-value .copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--accent-dark);
  font-size: 14px;
  padding: 2px;
  transition: var(--transition);
}

.credential-box-body .cred-value .copy-btn:hover {
  color: var(--primary);
  transform: scale(1.2);
}

.credential-box-body .email-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(33,107,165,0.06);
  border-left: 3px solid #216ba5;
  padding: 14px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 20px;
}

.credential-box-body .email-note i {
  color: #216ba5;
  margin-top: 2px;
  flex-shrink: 0;
}

.credential-box-body .email-note p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

.credential-box-body .btn-group {
  display: flex;
  gap: 12px;
}

.credential-box-body .btn-group .btn {
  flex: 1;
  justify-content: center;
  padding: 13px 20px;
}

/* Auth page responsive handled above */

/* ============================================
   INDEX PAGE - POLISHED COMPONENTS
   ============================================ */

/* --- Hero Layout --- */
.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: none;
}

.hero-visual .hero-boat-card {
  width: 380px;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  border: 2px solid rgba(204,167,114,0.2);
  animation: floatCard 6s ease-in-out infinite;
}

.hero-visual .hero-boat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual .hero-boat-card .boat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(43,0,41,0.8) 100%);
}

.hero-visual .hero-float-badge {
  position: absolute;
  bottom: -16px;
  left: -20px;
  background: var(--gradient-primary);
  color: var(--text-light);
  padding: 16px 22px;
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(43,0,41,0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatBadge 4s ease-in-out infinite;
}

.hero-visual .hero-float-badge .badge-icon {
  width: 44px;
  height: 44px;
  background: rgba(204,167,114,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
}

.hero-visual .hero-float-badge .badge-text h4 {
  font-size: 18px;
  color: var(--accent);
  font-weight: 900;
  line-height: 1;
}

.hero-visual .hero-float-badge .badge-text p {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-visual .hero-float-top {
  position: absolute;
  top: -12px;
  right: -16px;
  background: rgba(255,255,255,0.95);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floatTop 5s ease-in-out infinite;
}

.hero-visual .hero-float-top i {
  font-size: 20px;
  color: var(--accent-dark);
}

.hero-visual .hero-float-top .ft-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.hero-visual .hero-float-top .ft-text span {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes floatTop {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(2deg); }
}

/* --- Partners / Sponsors --- */
.partners-section {
  background: var(--bg-white);
  padding: 60px 0;
  border-top: 1px solid var(--border);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 48px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.partners-track .partner-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--bg-cream-light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  min-width: 180px;
}

.partners-track .partner-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(204,167,114,0.15);
  transform: translateY(-2px);
}

.partners-track .partner-item .pi-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.partners-track .partner-item .pi-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.partners-track .partner-item .pi-text span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

/* --- Testimonials --- */
.testimonials-section {
  background: var(--bg-cream-light);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,167,114,0.06) 0%, transparent 70%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}

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

.testimonial-card .tc-quote {
  font-size: 48px;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 8px;
  font-family: Georgia, serif;
}

.testimonial-card .tc-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card .tc-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card .tc-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.testimonial-card .tc-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.testimonial-card .tc-role {
  font-size: 12px;
  color: var(--text-muted);
}

.testimonial-card .tc-stars {
  margin-left: auto;
  display: flex;
  gap: 2px;
}

.testimonial-card .tc-stars i {
  font-size: 12px;
  color: var(--accent);
}

/* --- CTA Improved --- */
.cta-section {
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,167,114,0.08) 0%, transparent 70%);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,167,114,0.05) 0%, transparent 70%);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content .cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(204,167,114,0.15);
  border: 1px solid rgba(204,167,114,0.3);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.cta-content h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-features {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}

.cta-features .cta-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

.cta-features .cta-feat i {
  color: var(--accent);
  font-size: 16px;
}

/* --- Newsletter --- */
.newsletter-section {
  background: var(--primary-dark);
  padding: 60px 0;
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.newsletter-text h3 {
  font-size: 22px;
  color: var(--text-light);
  margin-bottom: 6px;
}

.newsletter-text p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex: 1;
  max-width: 460px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  background: rgba(255,255,255,0.06);
  color: var(--text-light);
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.4);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.1);
}

.newsletter-form .btn {
  flex-shrink: 0;
}

/* --- Section Center Btn --- */
.section-center-btn {
  text-align: center;
  margin-top: 40px;
}

/* --- Hero responsive --- */
@media (min-width: 768px) {
  .hero-visual { display: block; }
  .hero .container { flex-wrap: nowrap; }
}

@media (min-width: 1024px) {
  .hero-visual .hero-boat-card { width: 440px; height: 320px; }
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
