
/* Custom animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Dark mode support for existing components */
.dark-mode .skill-card {
  background: var(--card);
  border: 1px solid var(--border);
}

.dark-mode .award-card {
  background: var(--card);
  border: 1px solid var(--border);
}

.dark-mode .photo-grid img {
  border: 1px solid var(--border);
}

.dark-mode .cert-grid img {
  border: 1px solid var(--border);
}

.dark-mode .section-card {
  background: var(--card);
  border: 1px solid var(--border);
}

.dark-mode .testimonial {
  background: var(--card);
  border: 1px solid var(--border);
}

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

.dark-mode .nav-link:hover {
  color: var(--accent);
}
/* DARK MODE */

body.dark-mode {
  background-color: #0f172a;
  color: #f1f5f9;
}

/* SECTION BACKGROUNDS */
body.dark-mode .bg-white {
  background-color: #111827 !important;
}

body.dark-mode .bg-gray-50 {
  background-color: #1f2937 !important;
}

/* TEXT */
body.dark-mode .text-gray-800 {
  color: #f9fafb !important;
}

body.dark-mode .text-gray-700 {
  color: #e5e7eb !important;
}

body.dark-mode .text-gray-600 {
  color: #d1d5db !important;
}

body.dark-mode .text-gray-500 {
  color: #9ca3af !important;
}

/* BORDERS */
body.dark-mode .border-gray-200 {
  border-color: #374151 !important;
}

body.dark-mode .border-gray-300 {
  border-color: #4b5563 !important;
}

/* TIMELINE */
body.dark-mode .border-sky-500 {
  border-color: #38bdf8 !important;
}

/* CARDS */
body.dark-mode .shadow-md,
body.dark-mode .shadow-xl {
  box-shadow:
    0 4px 12px rgba(0,0,0,0.4) !important;
}

/* TAGS */
body.dark-mode .bg-sky-100 {
  background-color: rgba(14, 165, 233, 0.2) !important;
}

body.dark-mode .text-sky-700 {
  color: #7dd3fc !important;
}

/* TIMELINE DOTS */
body.dark-mode .bg-sky-500 {
  background-color: #38bdf8 !important;
}

/* INNER WHITE BOXES */
body.dark-mode .border {
  border-color: #374151 !important;
}
/* Testimonials */
.testimonial {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Footer View Counter */
.footer-counter {
  width: 100%;
  text-align: center;     /* Centered text in the footer */
  padding: 10px 0;
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #666;
  opacity: 0.7;
  position: fixed;
  bottom: 0;
  left: 0;
  background: #ffffffcc;  /* Semi-transparent white */
  backdrop-filter: blur(4px);
}
.footer-counter:hover {
  opacity: 1;
}
/* Base styles */
body {
  animation: fadeIn 0.5s ease-out;
}
/* Skills section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.skill-card {
  text-align: center;
  padding: 20px;
  background: #fafafa;
  border-radius: 6px;
  transition: 0.25s;
  border: 1px solid #eaeaea;
}

.skill-card i {
  font-size: 30px;
  margin-bottom: 10px;
  color: #4a90e2;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
/* Teaching Photos section */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.photo-grid img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  object-fit: cover;
}

/* Teaching Videos Folder Link Section */
#teaching-videos-folder .bg-white {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#teaching-videos-folder .bg-white:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(14, 165, 233, 0.1);
}

.dark-mode #teaching-videos-folder .bg-white:hover {
  box-shadow: 0 12px 24px rgba(14, 165, 233, 0.2);
}
/* Teaching Videos section styles */
.aspect-video {
  aspect-ratio: 16 / 9;
}
/* Awards section */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.award-card {
  background: white;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border: 1px solid #e5e7eb;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.award-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.award-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
}

.award-card h3 {
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 8px;
}

.award-card p {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Certificates section */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.cert-grid img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background: #fff;
  transition: transform 0.2s ease;
}

.cert-grid a:hover img {
  transform: scale(1.02);
}
/* Navigation active state */
nav a.active {
  position: relative;
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #0284c7;
  border-radius: 1px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
}
/* DARK MODE */

body.dark-mode {
  background-color: #0f172a;
  color: #f1f5f9;
}

/* SECTION BACKGROUNDS */
body.dark-mode .bg-white {
  background-color: #111827 !important;
}

body.dark-mode .bg-gray-50 {
  background-color: #1f2937 !important;
}

/* TEXT */
body.dark-mode .text-gray-800 {
  color: #f9fafb !important;
}

body.dark-mode .text-gray-700 {
  color: #e5e7eb !important;
}

body.dark-mode .text-gray-600 {
  color: #d1d5db !important;
}

body.dark-mode .text-gray-500 {
  color: #9ca3af !important;
}

/* BORDERS */
body.dark-mode .border-gray-200 {
  border-color: #374151 !important;
}

body.dark-mode .border-gray-300 {
  border-color: #4b5563 !important;
}

/* TIMELINE */
body.dark-mode .border-sky-500 {
  border-color: #38bdf8 !important;
}

/* CARDS */
body.dark-mode .shadow-md,
body.dark-mode .shadow-xl {
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

/* TAGS */
body.dark-mode .bg-sky-100 {
  background-color: rgba(14, 165, 233, 0.2) !important;
}

body.dark-mode .text-sky-700 {
  color: #7dd3fc !important;
}

/* TIMELINE DOTS */
body.dark-mode .bg-sky-500 {
  background-color: #38bdf8 !important;
}

/* INNER WHITE BOXES */
body.dark-mode .border {
  border-color: #374151 !important;
}
/* =========================
   DARK MODE FIXES
========================= */

body.dark-mode {
  background: #0f172a;
  color: #f1f5f9;
}

/* EXPERIENCE */
body.dark-mode #experience {
  background: #020617 !important;
}

body.dark-mode #experience .bg-white {
  background: #111827 !important;
}

body.dark-mode #experience h2,
body.dark-mode #experience h3 {
  color: #f8fafc !important;
}

body.dark-mode #experience p {
  color: #d1d5db !important;
}

/* EDUCATION */
body.dark-mode #education {
  background: #0f172a !important;
}

body.dark-mode #education .bg-gray-50,
body.dark-mode #education .bg-white {
  background: #111827 !important;
}

body.dark-mode #education h2,
body.dark-mode #education h3,
body.dark-mode #education h4 {
  color: #f8fafc !important;
}

body.dark-mode #education p,
body.dark-mode #education li {
  color: #d1d5db !important;
}

/* AWARDS */
body.dark-mode #awards {
  background: #020617 !important;
}

body.dark-mode #awards .bg-gray-50,
body.dark-mode #awards .bg-white {
  background: #111827 !important;
}

body.dark-mode #awards h2,
body.dark-mode #awards h3 {
  color: #f8fafc !important;
}

body.dark-mode #awards p {
  color: #d1d5db !important;
}

/* TEACHING PICS */
body.dark-mode #teaching-pics {
  background: #020617 !important;
}

body.dark-mode #teaching-pics details {
  background: #111827 !important;
}

body.dark-mode #teaching-pics h2,
body.dark-mode #teaching-pics h3,
body.dark-mode #teaching-pics h4 {
  color: #f8fafc !important;
}

body.dark-mode #teaching-pics p {
  color: #d1d5db !important;
}

/* TIMELINE LINES */
body.dark-mode .border-sky-500 {
  border-color: #38bdf8 !important;
}

/* TAGS */
body.dark-mode .bg-sky-100 {
  background: rgba(14,165,233,.2) !important;
}

body.dark-mode .text-sky-700 {
  color: #7dd3fc !important;
}
/* LIGHT THEME */
:root {
  --bg-main: #ffffff;
  --bg-card: #f9fafb;
  --text-main: #1f2937;
  --text-soft: #4b5563;
  --border-color: #e5e7eb;
}

/* DARK THEME */
body.dark-mode {
  --bg-main: #020617;
  --bg-card: #111827;
  --text-main: #f8fafc;
  --text-soft: #d1d5db;
  --border-color: #374151;
}/* =========================================
   FORCE DARK MODE OVERRIDES
========================================= */

body.dark-mode #experience,
body.dark-mode #education,
body.dark-mode #awards,
body.dark-mode #teaching-pics {
  background-color: #020617 !important;
}

/* CARDS */
body.dark-mode #experience article,
body.dark-mode #education article,
body.dark-mode #awards article,
body.dark-mode #experience .bg-white,
body.dark-mode #education .bg-white,
body.dark-mode #education .bg-gray-50,
body.dark-mode #awards .bg-gray-50,
body.dark-mode #awards .bg-white,
body.dark-mode details {
  background-color: #111827 !important;
}

/* HEADINGS */
body.dark-mode #experience h2,
body.dark-mode #experience h3,
body.dark-mode #education h2,
body.dark-mode #education h3,
body.dark-mode #education h4,
body.dark-mode #awards h2,
body.dark-mode #awards h3,
body.dark-mode #teaching-pics h2,
body.dark-mode #teaching-pics h3,
body.dark-mode #teaching-pics h4 {
  color: #f8fafc !important;
}

/* PARAGRAPHS */
body.dark-mode #experience p,
body.dark-mode #education p,
body.dark-mode #education li,
body.dark-mode #awards p,
body.dark-mode #teaching-pics p,
body.dark-mode summary {
  color: #d1d5db !important;
}

/* LINKS */
body.dark-mode a {
  color: #7dd3fc !important;
}

/* TAGS */
body.dark-mode .bg-sky-100 {
  background-color: rgba(14,165,233,.2) !important;
}

body.dark-mode .text-sky-700 {
  color: #7dd3fc !important;
}

/* TIMELINE */
body.dark-mode .border-sky-500 {
  border-color: #38bdf8 !important;
}

/* BORDERS */
body.dark-mode .border-gray-200,
body.dark-mode .border-gray-300,
body.dark-mode .border {
  border-color: #374151 !important;
}
/* =========================================
   DIGITAL TOOLS SECTION
========================================= */

body.dark-mode #digital-tools {
  background-color: #020617 !important;
}

body.dark-mode #digital-tools .bg-white,
body.dark-mode #digital-tools .bg-gray-50,
body.dark-mode #digital-tools article,
body.dark-mode #digital-tools .card {
  background-color: #111827 !important;
}

body.dark-mode #digital-tools h2,
body.dark-mode #digital-tools h3,
body.dark-mode #digital-tools h4 {
  color: #f8fafc !important;
}

body.dark-mode #digital-tools p,
body.dark-mode #digital-tools li {
  color: #d1d5db !important;
}

/* =========================================
   CLASSROOM ACTIVITIES SECTION
========================================= */

body.dark-mode #activities {
  background-color: #020617 !important;
}

body.dark-mode #activities .bg-white,
body.dark-mode #activities .bg-gray-50,
body.dark-mode #activities article,
body.dark-mode #activities .card {
  background-color: #111827 !important;
}

body.dark-mode #activities h2,
body.dark-mode #activities h3,
body.dark-mode #activities h4 {
  color: #f8fafc !important;
}

body.dark-mode #activities p,
body.dark-mode #activities li {
  color: #d1d5db !important;
}

/* ACTIVITY TAGS */
body.dark-mode #activities .bg-sky-100,
body.dark-mode #digital-tools .bg-sky-100 {
  background-color: rgba(14,165,233,.2) !important;
}

body.dark-mode #activities .text-sky-700,
body.dark-mode #digital-tools .text-sky-700 {
  color: #7dd3fc !important;
}