/* ============================================
   Dr. Nikhil C - Rheumatologist Website
   Premium Medical Theme Stylesheet
   ============================================ */

/* ===== CSS Variables ===== */
:root {
  --primary: #0a5c7e;
  --primary-dark: #064663;
  --primary-light: #1a8bba;
  --secondary: #14a3b8;
  --secondary-light: #1fc8d8;
  --teal: #0d9488;
  --teal-light: #14b8a6;
  --accent: #f0c040;
  --white: #ffffff;
  --light-bg: #f0f7fa;
  --light-gray: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --body-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --heading-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--gray-900);
  font-weight: 700;
  line-height: 1.3;
}

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

a:hover {
  color: var(--primary-light);
}

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

section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 55px;
}

.section-header .subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--teal);
  margin-bottom: 12px;
  position: relative;
}

.section-header .subtitle::before,
.section-header .subtitle::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--teal);
  margin: 0 10px;
  vertical-align: middle;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--gray-900);
}

.section-header p {
  color: var(--gray-500);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.section-bg-alt {
  background: var(--light-gray);
}

/* ===== Buttons ===== */
.btn {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  font-size: 0.95rem;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(10, 92, 126, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(10, 92, 126, 0.4);
}

.btn-secondary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.btn-secondary:hover {
  background: #0f766e;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.4);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--primary);
}

.btn-light:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1da851;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* ===== Navigation ===== */
.navbar {
  padding: 0;
  transition: var(--transition);
  background: transparent;
  z-index: 1050;
}

.navbar.navbar-scrolled {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.1);
}

.navbar-brand {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand img {
  height: 40px;
  width: auto;
  display: block;
}

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

.navbar-brand .brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
}

.navbar-brand .brand-title {
  font-size: 0.68rem;
  color: var(--gray-500);
  font-weight: 500;
  letter-spacing: 0.3px;
}

.navbar-brand .brand-divider {
  width: 24px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  margin-top: 3px;
}

.nav-link {
  font-weight: 500;
  color: var(--gray-600) !important;
  padding: 28px 16px !important;
  font-size: 0.9rem;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--teal) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.navbar-scrolled .nav-link {
  padding: 22px 16px !important;
}

.navbar-scrolled .nav-link::after {
  bottom: 14px;
}

.nav-cta .btn {
  padding: 10px 22px;
  font-size: 0.85rem;
  margin-left: 8px;
}

.nav-cta .btn-whatsapp-nav {
  background: #25d366;
  color: white;
  border-radius: 50px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.navbar-toggler {
  border: none;
  padding: 8px;
  font-size: 1.4rem;
  color: var(--gray-700);
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 0.82rem;
  padding: 8px 0;
  position: relative;
  z-index: 1051;
}

.top-bar a {
  color: rgba(255,255,255,0.85);
  margin-right: 20px;
  font-size: 0.82rem;
}

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

.top-bar .top-bar-social a {
  margin: 0 8px;
  font-size: 0.9rem;
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #064663 0%, #0a5c7e 40%, #1a8bba 100%);
  overflow: hidden;
  padding-top: 100px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(20,163,184,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13,148,136,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.05;
}

.hero .hero-bg-shapes .shape-1 {
  width: 300px;
  height: 300px;
  background: var(--white);
  top: 10%;
  left: 30%;
}

.hero .hero-bg-shapes .shape-2 {
  width: 200px;
  height: 200px;
  background: var(--secondary);
  bottom: 20%;
  right: 25%;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 20px;
  border-radius: 50px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 25px;
}

.hero-badge i {
  color: var(--accent);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
  max-width: 600px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-stats .stat-item .stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stats .stat-item .stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

.hero-image {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-image .hero-img-wrapper {
  position: relative;
  display: inline-block;
}

.hero-image .hero-img-wrapper::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 30px;
}

.hero-image .hero-img-wrapper img {
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  max-height: 550px;
  width: 100%;
}

.hero-image .floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 3s ease-in-out infinite;
}

.hero-image .floating-card.card-1 {
  bottom: 30px;
  left: -30px;
}

.hero-image .floating-card.card-2 {
  top: 40px;
  right: -20px;
  animation-delay: 1s;
}

.hero-image .floating-card .fc-icon {
  width: 44px;
  height: 44px;
  background: var(--light-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--teal);
}

.hero-image .floating-card .fc-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-900);
}

.hero-image .floating-card .fc-text span {
  font-size: 0.75rem;
  color: var(--gray-500);
}

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

/* ===== Highlights Bar ===== */
.highlights-bar {
  background: var(--white);
  padding: 30px 0;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 5;
  margin-top: -40px;
  border-radius: var(--radius-lg);
  margin-left: 15px;
  margin-right: 15px;
}

.highlight-item {
  text-align: center;
  padding: 10px 15px;
}

.highlight-icon {
  width: 56px;
  height: 56px;
  background: var(--light-bg);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.4rem;
  color: var(--teal);
  transition: var(--transition);
}

.highlight-item:hover .highlight-icon {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-3px);
}

.highlight-item h6 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--gray-800);
}

.highlight-item p {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin: 0;
}

/* ===== Conditions Grid ===== */
.condition-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.condition-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--primary));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

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

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

.condition-card .condition-icon {
  width: 64px;
  height: 64px;
  background: var(--light-bg);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
  color: var(--teal);
  transition: var(--transition);
}

.condition-card:hover .condition-icon {
  background: var(--teal);
  color: var(--white);
}

.condition-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.condition-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0;
}

/* ===== Why Choose Section ===== */
.choose-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--gray-100);
  position: relative;
}

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

.choose-card .choose-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 8px;
  transition: var(--transition);
}

.choose-card:hover .choose-number {
  color: var(--teal);
  opacity: 0.3;
}

.choose-card .choose-icon {
  width: 50px;
  height: 50px;
  background: var(--light-bg);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--teal);
  margin-bottom: 15px;
}

.choose-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.choose-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin: 0;
}

/* ===== FAQ Section ===== */
.faq-section {
  background: var(--light-bg);
}

.accordion-item {
  border: none;
  margin-bottom: 12px;
  border-radius: var(--radius) !important;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-item:first-of-type {
  border-radius: var(--radius) !important;
}

.accordion-item:last-of-type {
  border-radius: var(--radius) !important;
}

.accordion-button {
  font-weight: 600;
  color: var(--gray-800);
  padding: 20px 25px;
  font-size: 0.95rem;
  background: var(--white);
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--teal);
  background: var(--white);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-body {
  padding: 0 25px 20px;
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 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='%23ffffff' fill-opacity='0.03'%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");
}

.cta-section h2 {
  color: var(--white);
  font-size: 2rem;
  font-weight: 800;
}

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

/* ===== Footer ===== */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 70px 0 0;
}

.footer h5 {
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.footer p {
  font-size: 0.88rem;
  line-height: 1.8;
}

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

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

.footer ul li a {
  color: var(--gray-400);
  font-size: 0.88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer ul li a:hover {
  color: var(--teal-light);
  padding-left: 5px;
}

.footer .footer-contact li {
  display: flex;
  gap: 12px;
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.footer .footer-contact li i {
  color: var(--teal);
  font-size: 1rem;
  margin-top: 4px;
  width: 20px;
}

.footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  color: var(--gray-400);
  margin-right: 8px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer .footer-social a:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  margin-top: 50px;
  font-size: 0.82rem;
  text-align: center;
}

.footer-bottom a {
  color: var(--teal-light);
}

/* ===== Floating Buttons ===== */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.1);
  color: var(--white);
}

.floating-btn .btn-tooltip {
  position: absolute;
  right: 66px;
  background: var(--gray-900);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.78rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.floating-btn:hover .btn-tooltip {
  opacity: 1;
}

.floating-btn-whatsapp {
  background: #25d366;
}

.floating-btn-call {
  background: var(--primary);
}

.floating-btn-appointment {
  background: var(--teal);
}

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 140px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-header .breadcrumb {
  justify-content: center;
  background: transparent;
  margin: 0;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.page-header .breadcrumb-item.active {
  color: var(--white);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.4);
}

/* ===== About Page ===== */
.about-profile {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about-profile .about-image {
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}

.about-profile .about-details {
  padding: 40px;
}

.about-profile .about-details h2 {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.about-profile .about-details .designation {
  color: var(--teal);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 15px;
}

.about-profile .about-details .qualifications {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.about-profile .about-details .qualifications .badge {
  background: var(--light-bg);
  color: var(--primary);
  font-weight: 500;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 50px;
}

.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  margin-bottom: 25px;
  padding-left: 25px;
}

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

.timeline-item .timeline-date {
  font-size: 0.82rem;
  color: var(--teal);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.timeline-item h6 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.timeline-item p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0;
}

.skill-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  height: 100%;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

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

.skill-card .skill-icon {
  width: 50px;
  height: 50px;
  background: var(--light-bg);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--teal);
  margin-bottom: 16px;
}

.skill-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.skill-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skill-card ul li {
  font-size: 0.85rem;
  color: var(--gray-500);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.skill-card ul li i {
  color: var(--teal);
  font-size: 0.7rem;
}

/* ===== Achievements Page ===== */
.cert-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  height: 100%;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  text-align: center;
}

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

.cert-card .cert-icon {
  width: 64px;
  height: 64px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
  color: var(--teal);
}

.cert-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.cert-card p {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin: 0;
}

.publication-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  height: 100%;
  border: 1px solid var(--gray-100);
  border-left: 4px solid var(--teal);
  transition: var(--transition);
}

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

.publication-card .pub-type {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--teal);
  margin-bottom: 6px;
}

.publication-card h6 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.5;
}

.publication-card .pub-authors {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.publication-card .pub-journal {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-style: italic;
}

.award-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 18px;
  height: 100%;
  transition: var(--transition);
}

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

.award-card .award-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: #fef3c7;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #d97706;
}

.award-card h6 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.award-card p {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin: 0;
}

/* ===== Gallery Page ===== */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 35px;
}

.gallery-filter .filter-btn {
  padding: 8px 22px;
  border-radius: 50px;
  border: 2px solid var(--gray-200);
  background: transparent;
  color: var(--gray-600);
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

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

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

.gallery-item img {
  width: 100%;
  display: block;
  transition: var(--transition);
}

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

.gallery-item .gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 70, 99, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  padding: 20px;
}

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

.gallery-item .gallery-overlay i {
  font-size: 2.2rem;
  color: var(--white);
}

/* ===== Contact Page ===== */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow);
  height: 100%;
  border: 1px solid var(--gray-100);
}

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

.contact-info-card .contact-item:last-child {
  margin-bottom: 0;
}

.contact-info-card .contact-item .ci-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--light-bg);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--teal);
}

.contact-info-card .contact-item .ci-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-800);
  margin-bottom: 2px;
}

.contact-info-card .contact-item .ci-text span,
.contact-info-card .contact-item .ci-text a {
  font-size: 0.88rem;
  color: var(--gray-500);
}

.location-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  height: 100%;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

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

.location-card .location-icon {
  width: 56px;
  height: 56px;
  background: var(--light-bg);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--teal);
  margin-bottom: 14px;
}

.location-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.location-card .location-sub {
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 10px;
}

.location-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 4px;
  line-height: 1.6;
}

.location-card p i {
  width: 18px;
  color: var(--teal);
}

/* ===== Form Styles ===== */
.form-control, .form-select {
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 2px solid var(--gray-200);
  font-size: 0.9rem;
  color: var(--gray-700);
  transition: var(--transition);
  background: var(--white);
}

.form-control:focus, .form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

.form-control::placeholder {
  color: var(--gray-400);
}

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

/* ===== Lightbox ===== */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.92);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
}

.lightbox-overlay .lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.7;
  transition: var(--transition);
}

.lightbox-overlay .lightbox-close:hover {
  opacity: 1;
}

.lightbox-overlay .lightbox-caption {
  position: absolute;
  bottom: 30px;
  color: var(--white);
  font-size: 0.95rem;
  text-align: center;
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.back-to-top.show {
  display: flex;
}

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

/* ===== Responsive ===== */
@media (max-width: 1199px) {
  .hero h1 { font-size: 2.5rem; }
  .section-header h2 { font-size: 1.8rem; }
}

@media (max-width: 991px) {
  section { padding: 60px 0; }
  .hero { min-height: auto; padding: 130px 0 50px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { gap: 20px; }
  .hero-image { margin-top: 40px; }
  .hero-image .hero-img-wrapper img { max-height: 380px; }
  .hero-image .floating-card.card-1 { left: 0; }
  .hero-image .floating-card.card-2 { right: 0; }
  .highlights-bar { margin-top: 0; border-radius: 0; margin-left: 0; margin-right: 0; }
  .page-header { padding: 110px 0 45px; }
  .page-header h1 { font-size: 2rem; }
  .nav-link { padding: 14px 16px !important; min-height: 48px; display: flex; align-items: center; }
  .nav-link::after { display: none; }
  .navbar-collapse { background: var(--white); padding: 15px; border-radius: var(--radius); box-shadow: var(--shadow-lg); margin-top: 10px; max-height: 80vh; overflow-y: auto; }
  .navbar-scrolled .nav-link { padding: 14px 16px !important; }
  .nav-cta .btn { width: 100%; justify-content: center; margin: 8px 0 0; }
  .about-profile .about-details { padding: 25px; }
  .footer .col-lg-4:first-child { order: 4; margin-top: 20px; }
}

@media (max-width: 767px) {
  section { padding: 45px 0; }
  .hero { padding: 110px 0 35px; }
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 0.92rem; line-height: 1.6; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; padding: 14px 20px; font-size: 0.95rem; }
  .hero-stats { gap: 12px; flex-wrap: wrap; }
  .hero-stats .stat-item { width: calc(50% - 12px); }
  .hero-stats .stat-item .stat-number { font-size: 1.5rem; }
  .hero-image .floating-card { display: none; }
  .hero-badge { font-size: 0.78rem; padding: 6px 14px; }
  .section-header { margin-bottom: 35px; }
  .section-header h2 { font-size: 1.4rem; }
  .section-header p { font-size: 0.9rem; }
  .section-header .subtitle::before,
  .section-header .subtitle::after { width: 16px; }
  .page-header { padding: 100px 0 35px; }
  .page-header h1 { font-size: 1.5rem; }
  .cta-section { padding: 50px 0; }
  .cta-section h2 { font-size: 1.4rem; }
  .cta-section p { font-size: 0.92rem; }
  .cta-section .btn { width: 100%; justify-content: center; }
  .gallery-item { margin-bottom: 0; }
  .top-bar { display: none; }
  .floating-buttons { bottom: 16px; right: 16px; gap: 10px; }
  .floating-btn { width: 48px; height: 48px; font-size: 1.1rem; }
  .floating-btn .btn-tooltip { display: none; }
  .about-profile .about-image { min-height: 220px; }
  .condition-card { padding: 20px 16px; }
  .condition-card .condition-icon { width: 50px; height: 50px; font-size: 1.3rem; }
  .condition-card h5 { font-size: 0.88rem; }
  .choose-card { padding: 24px 20px; }
  .timeline { padding-left: 20px; }
  .publication-card { padding: 20px; }
  .location-card { padding: 22px; }
  .contact-info-card { padding: 22px; }
  .contact-info-card .contact-item { gap: 12px; }
  .footer { padding: 35px 0 0; }
  .footer h5 { margin-bottom: 14px; font-size: 0.95rem; }
  .footer ul li { margin-bottom: 8px; }
  .footer .footer-contact li { font-size: 0.85rem; }
  .footer-bottom { margin-top: 30px; padding: 15px 0; }
  .footer-bottom p { font-size: 0.78rem; }
  .cert-card { padding: 22px 18px; }
  .award-card { flex-direction: column; text-align: center; padding: 20px; }
  .skill-card { padding: 22px 18px; }
  .back-to-top { width: 40px; height: 40px; bottom: 16px; left: 16px; }
  .section-bg-alt { padding: 45px 0; }
}

@media (max-width: 575px) {
  section { padding: 35px 0; }
  .hero { padding: 100px 0 30px; }
  .hero h1 { font-size: 1.3rem; }
  .hero p { font-size: 0.85rem; }
  .hero-stats .stat-item .stat-number { font-size: 1.3rem; }
  .hero-stats .stat-item .stat-label { font-size: 0.72rem; }
  .navbar-brand img { height: 36px; }
  .navbar-brand .brand-name { font-size: 0.95rem; }
  .navbar-brand .brand-title { font-size: 0.6rem; }
  .navbar-toggler { font-size: 1.2rem; }
  .section-header { margin-bottom: 25px; }
  .section-header h2 { font-size: 1.2rem; }
  .section-header .subtitle { font-size: 0.72rem; }
  .page-header h1 { font-size: 1.3rem; }
  .cta-section h2 { font-size: 1.2rem; }
  .cta-section p { font-size: 0.85rem; }
  .contact-info-card { padding: 18px; }
  .contact-info-card .contact-item .ci-icon { width: 40px; height: 40px; min-width: 40px; font-size: 1rem; }
  .footer { padding: 30px 0 0; }
  .footer-bottom p { font-size: 0.72rem; }
  .highlights-bar .highlight-item { padding: 8px 5px; }
  .gallery-item { margin-bottom: 0; }
  .condition-card { padding: 16px 12px; }
  .condition-card .condition-icon { width: 44px; height: 44px; font-size: 1.1rem; margin-bottom: 10px; }
  .condition-card h5 { font-size: 0.82rem; }
  .condition-card p { font-size: 0.72rem; }
  .choose-card { padding: 20px 16px; }
  .choose-card .choose-number { font-size: 2rem; }
  .page-header .breadcrumb { font-size: 0.8rem; }
  .about-profile .about-details { padding: 18px; }
  .about-profile .about-details h2 { font-size: 1.4rem; }
  .accordion-button { padding: 16px 18px; font-size: 0.88rem; }
  .accordion-body { padding: 0 18px 16px; font-size: 0.85rem; }
  .publication-card { padding: 16px; }
  .publication-card h6 { font-size: 0.85rem; }
  .cert-card { padding: 18px 14px; }
  .cert-card .cert-icon { width: 52px; height: 52px; font-size: 1.3rem; }
  .skill-card ul li { font-size: 0.8rem; }
  .location-card { padding: 18px; }
  .location-card .location-icon { width: 48px; height: 48px; font-size: 1.2rem; }
  .floating-buttons { bottom: 12px; right: 12px; gap: 8px; }
  .floating-btn { width: 44px; height: 44px; font-size: 1rem; }
  .back-to-top { width: 36px; height: 36px; font-size: 0.85rem; bottom: 12px; left: 12px; }
  .nav-cta .btn-whatsapp-nav { width: 100%; justify-content: center; }
}
