/*
* Farzana Akter Faria - Personal Portfolio Website
* Modern Design
*/

/* Base Styles - Theme Colors */
:root {
    /* Primary Colors */
    --primary-color: #3B8EA5;  /* Teal */
    --primary-rgb: 59, 142, 165;
    --secondary-color: #EE7674; /* Coral */
    --accent-color: #F2BB05; /* Golden Yellow */
    --light-color: #FAF7F2; /* Soft Ivory */
    --dark-color: #1A535C; /* Deep Teal */
    
    /* Light Mode Colors */
    --bg-color: #F8F9FA;
    --text-color: #2D3748;
    --heading-color: #1A202C;
    --bg-alternate: #EFF1F3;
    --bg-light: #FFFFFF;
    --border-color: #E2E8F0;
    --nav-text: #4A5568;
    --nav-hover: #3B8EA5;
    --nav-active: #3B8EA5;
    
    /* Components */
    --card-bg: #FFFFFF;
    --card-border: #EDF2F7;
    --input-bg: #FFFFFF;
    --input-border: #E2E8F0;
    --input-text: #4A5568;
    --input-placeholder: #A0AEC0;
    --btn-primary-bg: #3B8EA5;
    --btn-primary-text: #FFFFFF;
    --btn-hover-bg: #2C7A8E;
    --btn-hover-text: #FFFFFF;
    --section-bg: #F8F9FA;
    --section-alt-bg: #EFF1F3;
    
    /* Effects */
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Dark Mode Variables */
.dark-mode {
    --bg-color: #1A202C;
    --text-color: #E2E8F0;
    --heading-color: #F7FAFC;
    --bg-alternate: #2D3748;
    --bg-light: #2D3748;
    --border-color: #4A5568;
    --nav-text: #A0AEC0;
    --nav-hover: #EE7674;
    --nav-active: #EE7674;
    
    /* Components */
    --card-bg: #2D3748;
    --card-border: #4A5568;
    --input-bg: #2D3748;
    --input-border: #4A5568;
    --input-text: #E2E8F0;
    --input-placeholder: #A0AEC0;
    --btn-primary-bg: #EE7674;
    --btn-primary-text: #1A202C;
    --btn-hover-bg: #E84A47;
    --btn-hover-text: #1A202C;
    --section-bg: #1A202C;
    --section-alt-bg: #2D3748;
    
    /* Effects */
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.4);
    
    /* Apply dark mode to body */
    background-color: var(--bg-color);
    color: var(--text-color);
}

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

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: var(--transition);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 15px;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 15px;
}

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

a:hover {
  color: var(--secondary-color);
}

ul, ol {
  list-style: none;
  padding-left: 0;
}

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

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

.section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0; /* Remove any bottom margin to control spacing consistently */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    visibility: visible;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

section:nth-of-type(odd) {
    background-color: var(--bg-light);
}

section:nth-of-type(even) {
    background-color: var(--bg-alt);
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.highlight {
  color: var(--primary-color);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  position: relative;
  display: inline-block;
  font-size: 2.2rem;
  margin-bottom: 15px;
  text-transform: capitalize;
}

.section-line {
  width: 70px;
  height: 3px;
  background: var(--primary-color);
  margin: 0 auto;
}

/* Base Button Styles - Modern Design */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    outline: none;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 0.625rem;
    border: 0px solid transparent;
    z-index: -1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.btn:hover::before {
    border-width: 5px;
    opacity: 1;
}

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

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

.primary-btn::before {
    border-color: var(--secondary-color);
}

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

.outline-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
    background-color: rgba(var(--primary-rgb), 0.05);
}

.outline-btn::before {
    border-color: var(--accent-color);
}

.dark-mode .btn {
    color: white;
}

.dark-mode .primary-btn {
    background-color: var(--primary-color);
}

.dark-mode .primary-btn:hover {
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.4);
}

.dark-mode .outline-btn {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.dark-mode .outline-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

/* Mobile responsive buttons */
@media (max-width: 576px) {
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn:hover::before {
        border-width: 4px;
    }
}

/* Base Card Styles - Modern Design */
.card {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    z-index: 1;
    transform: translateY(0);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card:hover::before {
    border-width: 5px;
    opacity: 1;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
}

.card-header {
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    margin-bottom: 1rem;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .card-badge {
    transform: translateY(-3px);
    background-color: rgba(var(--primary-rgb), 0.15);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .card-title {
    color: var(--primary-color);
}

.card-decoration {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0.15;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 0;
}

.card:hover .card-decoration {
    transform: scale(1.2) rotate(15deg);
    opacity: 0.25;
}

/* Dark mode card styles */
.dark-mode .card {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-mode .card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.dark-mode .card::before {
    border-color: var(--primary-color);
}

.dark-mode .card-badge {
    background-color: rgba(var(--primary-rgb), 0.2);
}

.dark-mode .card:hover .card-badge {
    background-color: rgba(var(--primary-rgb), 0.3);
}

/* Special card variations */
.education-card, 
.experience-card, 
.competency-area {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
}

.education-card::before, 
.experience-card::before, 
.competency-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.education-card:hover, 
.experience-card:hover, 
.competency-area:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.education-card:hover::before, 
.experience-card:hover::before, 
.competency-area:hover::before {
    border-width: 5px;
    opacity: 1;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
}

/* Education card specific styles */
.education-card {
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.education-card:hover {
    border-left-width: 8px;
}

/* Experience card specific styles */
.experience-card {
    border-top: 5px solid var(--secondary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.experience-card:hover {
    border-top-width: 8px;
}

/* Competency area specific styles */
.competency-area {
    border-bottom: 5px solid var(--accent-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.competency-area:hover {
    border-bottom-width: 8px;
}

/* Dark mode for special cards */
.dark-mode .education-card, 
.dark-mode .experience-card, 
.dark-mode .competency-area {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .education-card {
    border-left-color: var(--primary-color);
}

.dark-mode .experience-card {
    border-top-color: var(--secondary-color);
}

.dark-mode .competency-area {
    border-bottom-color: var(--accent-color);
}

.dark-mode .education-card:hover, 
.dark-mode .experience-card:hover, 
.dark-mode .competency-area:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Card content animation */
.card-content {
    position: relative;
    z-index: 1;
}

.card:hover .card-content {
    transform: translateZ(5px);
}

/* Skill and Methodology cards */
.skill-item, .methodology-highlight {
    background-color: var(--bg-light);
    border-radius: 1rem;
    padding: 2.25rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.06);
}

.skill-item::before, .methodology-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.skill-item:hover, .methodology-highlight:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.skill-item:hover::before, .methodology-highlight:hover::before {
    border-width: 4px;
    opacity: 1;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
}

.dark-mode .skill-item, .dark-mode .methodology-highlight {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .skill-item:hover, .dark-mode .methodology-highlight:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* Language items */
.language-item {
    background-color: var(--bg-light);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.language-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.language-item:hover {
    transform: translateY(-7px) scale(1.04);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.language-item:hover::before {
    border-width: 4px;
    opacity: 1;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
}

.dark-mode .language-item {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .language-item:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

/* Testimonial cards */
.testimonial-card {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    border-top: 5px solid var(--primary-color);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.05), transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card.active {
    transform: rotateY(0deg) translateZ(0) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 2.75rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    margin-bottom: 25px;
}

.testimonial-content:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.dark-mode .testimonial-card,
.dark-mode .testimonial-content {
    background-color: var(--bg-alternate);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .testimonial-card.active {
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

/* Coming soon container */
.coming-soon-container {
  background: var(--bg-color);
  border-radius: var(--card-border-radius);
  box-shadow: var(--box-shadow);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
  text-align: center;
  margin: 30px auto;
  max-width: 650px;
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  background-image: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.03) 0%,
    rgba(var(--primary-rgb), 0.01) 100%
  );
}

.coming-soon-container::before {
    content: '';
    position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: calc(var(--card-border-radius) + 2px);
    z-index: -1;
    opacity: 0;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.coming-soon-container:hover {
  transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.coming-soon-container:hover::before {
    opacity: 1;
}

.coming-soon-icon {
  position: relative;
  width: 110px;
  height: 110px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: all 0.5s ease;
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.15);
}

.coming-soon-icon::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2px solid rgba(var(--primary-rgb), 0.2);
  animation: pulse-border 2.5s infinite ease-out;
}

.coming-soon-icon i {
  font-size: 46px;
  color: var(--primary-color);
  animation: pulse-icon 2s infinite alternate;
}

.coming-soon-text {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

/*
* Farzana Akter Faria - Personal Portfolio Website
* Modern Design
*/

/* Base Styles - Theme Colors */
:root {
    /* Primary Colors */
    --primary-color: #3B8EA5;  /* Teal */
    --primary-rgb: 59, 142, 165;
    --secondary-color: #EE7674; /* Coral */
    --accent-color: #F2BB05; /* Golden Yellow */
    --light-color: #FAF7F2; /* Soft Ivory */
    --dark-color: #1A535C; /* Deep Teal */
    
    /* Light Mode Colors */
    --bg-color: #F8F9FA;
    --text-color: #2D3748;
    --heading-color: #1A202C;
    --bg-alternate: #EFF1F3;
    --bg-light: #FFFFFF;
    --border-color: #E2E8F0;
    --nav-text: #4A5568;
    --nav-hover: #3B8EA5;
    --nav-active: #3B8EA5;
    
    /* Components */
    --card-bg: #FFFFFF;
    --card-border: #EDF2F7;
    --input-bg: #FFFFFF;
    --input-border: #E2E8F0;
    --input-text: #4A5568;
    --input-placeholder: #A0AEC0;
    --btn-primary-bg: #3B8EA5;
    --btn-primary-text: #FFFFFF;
    --btn-hover-bg: #2C7A8E;
    --btn-hover-text: #FFFFFF;
    --section-bg: #F8F9FA;
    --section-alt-bg: #EFF1F3;
    
    /* Effects */
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Dark Mode Variables */
.dark-mode {
    --bg-color: #1A202C;
    --text-color: #E2E8F0;
    --heading-color: #F7FAFC;
    --bg-alternate: #2D3748;
    --bg-light: #2D3748;
    --border-color: #4A5568;
    --nav-text: #A0AEC0;
    --nav-hover: #EE7674;
    --nav-active: #EE7674;
    
    /* Components */
    --card-bg: #2D3748;
    --card-border: #4A5568;
    --input-bg: #2D3748;
    --input-border: #4A5568;
    --input-text: #E2E8F0;
    --input-placeholder: #A0AEC0;
    --btn-primary-bg: #EE7674;
    --btn-primary-text: #1A202C;
    --btn-hover-bg: #E84A47;
    --btn-hover-text: #1A202C;
    --section-bg: #1A202C;
    --section-alt-bg: #2D3748;
    
    /* Effects */
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.4);
    
    /* Apply dark mode to body */
    background-color: var(--bg-color);
    color: var(--text-color);
}

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

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: var(--transition);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 15px;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 15px;
}

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

a:hover {
  color: var(--secondary-color);
}

ul, ol {
  list-style: none;
  padding-left: 0;
}

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

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

.section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0; /* Remove any bottom margin to control spacing consistently */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    visibility: visible;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

section:nth-of-type(odd) {
    background-color: var(--bg-light);
}

section:nth-of-type(even) {
    background-color: var(--bg-alt);
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.highlight {
  color: var(--primary-color);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  position: relative;
  display: inline-block;
  font-size: 2.2rem;
  margin-bottom: 15px;
  text-transform: capitalize;
}

.section-line {
  width: 70px;
  height: 3px;
  background: var(--primary-color);
  margin: 0 auto;
}

/* Base Button Styles - Modern Design */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    outline: none;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 0.625rem;
    border: 0px solid transparent;
    z-index: -1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.btn:hover::before {
    border-width: 5px;
    opacity: 1;
}

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

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

.primary-btn::before {
    border-color: var(--secondary-color);
}

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

.outline-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
    background-color: rgba(var(--primary-rgb), 0.05);
}

.outline-btn::before {
    border-color: var(--accent-color);
}

.dark-mode .btn {
    color: white;
}

.dark-mode .primary-btn {
    background-color: var(--primary-color);
}

.dark-mode .primary-btn:hover {
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.4);
}

.dark-mode .outline-btn {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.dark-mode .outline-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

/* Mobile responsive buttons */
@media (max-width: 576px) {
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn:hover::before {
        border-width: 4px;
    }
}

/* Base Card Styles - Modern Design */
.card {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    z-index: 1;
    transform: translateY(0);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card:hover::before {
    border-width: 5px;
    opacity: 1;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
}

.card-header {
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    margin-bottom: 1rem;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .card-badge {
    transform: translateY(-3px);
    background-color: rgba(var(--primary-rgb), 0.15);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .card-title {
    color: var(--primary-color);
}

.card-decoration {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0.15;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 0;
}

.card:hover .card-decoration {
    transform: scale(1.2) rotate(15deg);
    opacity: 0.25;
}

/* Dark mode card styles */
.dark-mode .card {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-mode .card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.dark-mode .card::before {
    border-color: var(--primary-color);
}

.dark-mode .card-badge {
    background-color: rgba(var(--primary-rgb), 0.2);
}

.dark-mode .card:hover .card-badge {
    background-color: rgba(var(--primary-rgb), 0.3);
}

/* Special card variations */
.education-card, 
.experience-card, 
.competency-area {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
}

.education-card::before, 
.experience-card::before, 
.competency-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.education-card:hover, 
.experience-card:hover, 
.competency-area:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.education-card:hover::before, 
.experience-card:hover::before, 
.competency-area:hover::before {
    border-width: 5px;
    opacity: 1;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
}

/* Education card specific styles */
.education-card {
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.education-card:hover {
    border-left-width: 8px;
}

/* Experience card specific styles */
.experience-card {
    border-top: 5px solid var(--secondary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.experience-card:hover {
    border-top-width: 8px;
}

/* Competency area specific styles */
.competency-area {
    border-bottom: 5px solid var(--accent-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.competency-area:hover {
    border-bottom-width: 8px;
}

/* Dark mode for special cards */
.dark-mode .education-card, 
.dark-mode .experience-card, 
.dark-mode .competency-area {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .education-card {
    border-left-color: var(--primary-color);
}

.dark-mode .experience-card {
    border-top-color: var(--secondary-color);
}

.dark-mode .competency-area {
    border-bottom-color: var(--accent-color);
}

.dark-mode .education-card:hover, 
.dark-mode .experience-card:hover, 
.dark-mode .competency-area:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Card content animation */
.card-content {
    position: relative;
    z-index: 1;
}

.card:hover .card-content {
    transform: translateZ(5px);
}

/* Skill and Methodology cards */
.skill-item, .methodology-highlight {
    background-color: var(--bg-light);
    border-radius: 1rem;
    padding: 2.25rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.06);
}

.skill-item::before, .methodology-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.skill-item:hover, .methodology-highlight:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.skill-item:hover::before, .methodology-highlight:hover::before {
    border-width: 4px;
    opacity: 1;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
}

.dark-mode .skill-item, .dark-mode .methodology-highlight {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .skill-item:hover, .dark-mode .methodology-highlight:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* Language items */
.language-item {
    background-color: var(--bg-light);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.language-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.language-item:hover {
    transform: translateY(-7px) scale(1.04);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.language-item:hover::before {
    border-width: 4px;
    opacity: 1;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
}

.dark-mode .language-item {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .language-item:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

/* Testimonial cards */
.testimonial-card {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    border-top: 5px solid var(--primary-color);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.05), transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card.active {
    transform: rotateY(0deg) translateZ(0) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 2.75rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    margin-bottom: 25px;
}

.testimonial-content:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.dark-mode .testimonial-card,
.dark-mode .testimonial-content {
    background-color: var(--bg-alternate);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .testimonial-card.active {
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

/* Coming soon container */
.coming-soon-container {
  background: var(--bg-color);
  border-radius: var(--card-border-radius);
  box-shadow: var(--box-shadow);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
  text-align: center;
  margin: 30px auto;
  max-width: 650px;
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  background-image: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.03) 0%,
    rgba(var(--primary-rgb), 0.01) 100%
  );
}

.coming-soon-container::before {
    content: '';
    position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: calc(var(--card-border-radius) + 2px);
    z-index: -1;
    opacity: 0;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.coming-soon-container:hover {
  transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.coming-soon-container:hover::before {
    opacity: 1;
}

.coming-soon-icon {
  position: relative;
  width: 110px;
  height: 110px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: all 0.5s ease;
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.15);
}

.coming-soon-icon::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2px solid rgba(var(--primary-rgb), 0.2);
  animation: pulse-border 2.5s infinite ease-out;
}

.coming-soon-icon i {
  font-size: 46px;
  color: var(--primary-color);
  animation: pulse-icon 2s infinite alternate;
}

.coming-soon-text {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.coming-soon-text::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.coming-soon-container p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-color);
  max-width: 500px;
  margin: 20px auto 0;
}

.coming-soon-container .resource-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}

.resource-tag {
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.resource-tag i {
  font-size: 12px;
}

.dark-mode .coming-soon-container {
    background-color: var(--bg-alternate);
  background-image: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.08) 0%,
    rgba(var(--primary-rgb), 0.02) 100%
  );
    border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.dark-mode .coming-soon-icon {
  background-color: rgba(var(--primary-rgb), 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dark-mode .resource-tag {
  background-color: rgba(var(--primary-rgb), 0.15);
}

.dark-mode .coming-soon-container:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

@keyframes pulse-icon {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}

@keyframes pulse-border {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  70% {
    transform: scale(1.15);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Media queries for coming soon */
@media (max-width: 768px) {
  .coming-soon-container {
    padding: 40px 25px;
  }
  
  .coming-soon-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 25px;
  }
  
  .coming-soon-icon i {
    font-size: 38px;
  }
  
  .coming-soon-text {
    font-size: 28px;
  }
  
  .coming-soon-container p {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .coming-soon-container {
    padding: 30px 20px;
  }
  
  .coming-soon-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }
  
  .coming-soon-icon i {
    font-size: 32px;
  }
  
  .coming-soon-text {
    font-size: 24px;
  }
  
  .coming-soon-text::after {
    width: 60px;
    height: 3px;
  }
  
  .coming-soon-container p {
    font-size: 15px;
  }
  
  .resource-tag {
    padding: 5px 12px;
    font-size: 12px;
  }
}

/* Responsive styles for cards */
@media (max-width: 768px) {
    .card,
    .education-card,
    .experience-card,
    .competency-area,
    .testimonial-card,
    .testimonial-content,
    .coming-soon-container {
        padding: 2.5rem;
    }
    
    .skill-item,
    .methodology-highlight,
    .language-item {
        padding: 1.75rem;
    }
    
    .card:hover,
    .education-card:hover,
    .experience-card:hover,
    .competency-area:hover,
    .testimonial-content:hover,
    .coming-soon-container:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .skill-item:hover,
    .methodology-highlight:hover,
    .language-item:hover {
        transform: translateY(-3px) scale(1.02);
    }
}

@media (max-width: 576px) {
    .card,
    .education-card,
    .experience-card,
    .competency-area,
    .testimonial-card,
    .testimonial-content,
    .coming-soon-container {
        padding: 2rem 1.5rem;
    }
    
    .skill-item,
    .methodology-highlight,
    .language-item {
        padding: 1.5rem 1.25rem;
    }
    
    .card:hover::before,
    .education-card:hover::before,
    .experience-card:hover::before,
    .competency-area:hover::before,
    .skill-item:hover::before,
    .methodology-highlight:hover::before,
    .language-item:hover::before,
    .coming-soon-container:hover::before {
        border-width: 4px;
    }
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 0;
  background-color: var(--bg-color);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition);
}

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

.logo {
  height: 40px;
}

.logo img {
  height: 100%;
  width: auto;
}

/* Navigation */
nav {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

nav .nav-links {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 20px;
  align-items: center;
  list-style: none;
}

.nav-link {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 10px 15px;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-link:hover, .nav-link:focus, .nav-link.active {
  color: var(--primary-color);
  background-color: rgba(var(--primary-rgb), 0.08);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background-color: var(--primary-color);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 5px;
}

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

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.dropdown-toggle i {
  font-size: 0.8rem;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-left: 2px;
}

.dropdown.active .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown.active .dropdown-toggle {
  color: var(--primary-color);
  background-color: rgba(var(--primary-rgb), 0.08);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--bg-color);
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 8px 0;
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  pointer-events: none;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background-color: var(--bg-color);
  border-top: 1px solid rgba(var(--primary-rgb), 0.08);
  border-left: 1px solid rgba(var(--primary-rgb), 0.08);
}

.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-item {
  display: block;
  padding: 10px 18px;
  color: var(--text-color);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-align: left;
  position: relative;
  text-decoration: none;
}

.dropdown-item::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  opacity: 0;
}

.dropdown-item:hover, .dropdown-item:focus {
  background-color: rgba(var(--primary-rgb), 0.08);
  color: var(--primary-color);
  padding-left: 24px;
}

.dropdown-item:hover::before, 
.dropdown-item:focus::before {
  width: 6px;
  opacity: 1;
  transform: translateY(-50%) scaleX(1);
}

.dark-mode .dropdown-menu {
  background-color: var(--bg-dark);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  border-color: rgba(var(--primary-rgb), 0.15);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Language Toggle */
/* Language Toggle - Modern Design */
.language-toggle {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.toggle-container {
  position: relative;
  background: linear-gradient(to right, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0.05));
  border-radius: 24px;
  display: flex;
  padding: 4px;
  width: 110px;
  height: 36px;
  transition: all 0.3s ease;
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.toggle-option {
  position: relative;
  z-index: 2;
  flex: 1;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px;
  cursor: pointer;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-color);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  letter-spacing: 0.02em;
}

.toggle-option span {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0.7;
}

.toggle-option img {
  border-radius: 4px;
  filter: saturate(0.8);
  width: 18px;
  height: 13px;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: scale(0.9);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.toggle-option.active {
  color: var(--bg-color);
}

.toggle-option.active span {
  opacity: 1;
}

.toggle-option.active img {
  filter: saturate(1.2);
  transform: scale(1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
}

#bn-toggle.active ~ .slider {
  left: calc(50% + 0px);
}

.dark-mode .toggle-container {
  background: linear-gradient(to right, rgba(var(--primary-rgb), 0.2), rgba(var(--primary-rgb), 0.1));
  border-color: rgba(var(--primary-rgb), 0.2);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-left: 10px;
    padding: 0;
}

.theme-toggle-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    transform: scale(1.1);
}

.theme-toggle-btn i {
    transition: var(--transition);
}

.dark-mode .theme-toggle-btn {
    color: var(--text-color);
}

.dark-mode .theme-toggle-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.2);
}

.theme-toggle-btn i.fa-sun {
    color: #FFD700;
}

.theme-toggle-btn i.fa-moon {
    color: #6c63ff;
}

.dark-mode .theme-toggle-btn i.fa-sun {
    color: #FDB813;
}

.dark-mode .theme-toggle-btn i.fa-moon {
    color: #8c85ff;
}

/* Mobile menu button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 28px;
  background: var(--text-color);
  border-radius: 10px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Mobile navigation */
@media (max-width: 992px) {
  nav {
    display: flex;
    justify-content: flex-end;
  }
  
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--bg-color);
    flex-direction: column;
    align-items: center;
    padding: 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 99;
    gap: 0;
  }
  
  .nav-links.active {
    height: auto;
    padding: 20px 0;
    opacity: 1;
  }
  
  .hamburger {
    display: flex;
    margin-left: 15px;
  }
  
  .nav-link {
    font-size: 1.1rem;
    padding: 12px 20px;
    width: 100%;
    text-align: center;
    border-radius: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: none;
  }
  
  .nav-links.active .nav-link {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
    transition-delay: 0.1s;
  }
  
  /* Mobile dropdown */
  .dropdown {
    width: 100%;
  }
  
  .dropdown-toggle {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    background-color: transparent !important;
  }
  
  .dropdown-toggle::after {
    position: relative;
    top: 2px;
    margin-left: 8px;
  }
  
  .dropdown-menu {
    position: static !important;
    width: 100%;
    box-shadow: none;
    background-color: rgba(var(--primary-rgb), 0.05);
    padding: 0;
    margin: 0;
    border-radius: 8px;
    max-height: 0;
    overflow: hidden;
    opacity: 1 !important;
    visibility: hidden;
    transform: none !important;
    transition: all 0.4s ease;
    left: 0 !important;
    border: none;
    pointer-events: auto !important;
  }
  
  .dropdown-menu::before {
    display: none;
  }
  
  .dropdown.active .dropdown-menu {
    max-height: 500px;
    padding: 8px 0;
    margin-top: 5px;
    margin-bottom: 5px;
    visibility: visible;
    border-left: 2px solid var(--primary-color);
  }
  
  .dropdown-item {
    padding: 12px 30px;
    text-align: center;
    font-size: 1rem;
    color: var(--text-color);
  }
  
  .dropdown-item::before {
    display: none;
  }
  
  .dropdown-item:hover, 
  .dropdown-item:focus {
    padding-left: 30px;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
  }
  
  .nav-links.active .nav-link:nth-child(2) { transition-delay: 0.15s; }
  .nav-links.active .nav-link:nth-child(3) { transition-delay: 0.2s; }
  .nav-links.active .nav-link:nth-child(4) { transition-delay: 0.25s; }
  .nav-links.active .nav-link:nth-child(5) { transition-delay: 0.3s; }
  .nav-links.active .nav-link:nth-child(6) { transition-delay: 0.35s; }
  .nav-links.active .nav-link:nth-child(7) { transition-delay: 0.4s; }
  .nav-links.active .nav-link:nth-child(8) { transition-delay: 0.45s; }
}

@media (min-width: 993px) and (max-width: 1200px) {
  .nav-link {
    padding: 8px 8px;
    font-size: 0.85rem;
  }
  
  .toggle-container {
    width: 100px;
  }
}

@media (max-width: 576px) {
  header {
    padding: 12px 0;
  }
  
  .header-actions {
    gap: 8px;
  }
  
  .toggle-container {
    width: 100px;
    height: 30px;
  }
  
  .toggle-option {
    font-size: 10px;
  }
  
  .toggle-option img {
    width: 14px;
    height: 10px;
  }
}

/* Hero Section */
#hero {
  position: relative;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  background-color: var(--bg-color); /* Reset to default */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f7fa 0%, #e6e9f0 100%);
  z-index: 0;
}

.dark-mode .hero-bg {
  background: linear-gradient(135deg, #1f2933 0%, #151a20 100%);
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  background-image: radial-gradient(var(--primary-color) 1px, transparent 1px),
                    radial-gradient(var(--secondary-color) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  z-index: 0;
}

.hero-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 100px 0 50px;
  z-index: 1;
}

/* Hero Image */
.hero-image-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  z-index: 2;
}

.image-shape {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 75%;
  transform: translateY(-50%);
  clip-path: polygon(0% 0%, 100% 25%, 100% 75%, 0% 100%);
  overflow: hidden;
}

.teacher-animation {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #e6e9f0 100%);
}

.dark-mode .teacher-animation {
  background: linear-gradient(135deg, #252d38 0%, #1c232d 100%);
}

.teacher-svg {
  width: 100%;
  height: 100%;
}

/* SVG Animation Elements */
.atom {
  animation: rotate 20s linear infinite;
  transform-origin: center;
}

.atom-1 {
  animation-duration: 30s;
}

.atom-2 {
  animation-duration: 25s;
  animation-direction: reverse;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.formula {
  opacity: 0.7;
  animation: float-up 10s ease-in-out infinite;
}

.formula-1 { animation-delay: 0s; }
.formula-2 { animation-delay: 2s; }
.formula-3 { animation-delay: 1s; }
.formula-4 { animation-delay: 3s; }
.formula-5 { animation-delay: 4s; }

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

.liquid {
  animation: bubble 4s ease-in-out infinite;
  transform-origin: center;
}

@keyframes bubble {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.05); }
}

.bubble {
  opacity: 0.7;
  animation: rise 4s ease-in-out infinite;
}

.bubble-1 { animation-delay: 0s; }
.bubble-2 { animation-delay: 1s; }
.bubble-3 { animation-delay: 2s; }

@keyframes rise {
  0% { transform: translateY(15px); opacity: 0; }
  50% { opacity: 0.7; }
  100% { transform: translateY(-15px); opacity: 0; }
}

/* DNA Animation */
.dna {
  animation: pulse-color 8s ease-in-out infinite;
}

.dna:nth-of-type(2) {
  animation-delay: 4s;
}

@keyframes pulse-color {
  0%, 100% { opacity: 0.6; stroke-width: 2px; }
  50% { opacity: 1; stroke-width: 2.5px; }
}

/* Molecule Animation */
.molecule circle {
  animation: pulse-size 6s ease-in-out infinite;
}

.molecule circle:nth-of-type(1) { animation-delay: 0s; }
.molecule circle:nth-of-type(2) { animation-delay: 1.5s; }
.molecule circle:nth-of-type(3) { animation-delay: 3s; }
.molecule circle:nth-of-type(4) { animation-delay: 4.5s; }

@keyframes pulse-size {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Wave Animation */
.wave {
  animation: wave-motion 10s ease-in-out infinite;
  opacity: 0.6;
}

.wave:nth-of-type(2) {
  animation-delay: 5s;
}

@keyframes wave-motion {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(10px); }
}

/* Pulse Circles */
.pulse-circle {
  animation: pulse-opacity 4s ease-in-out infinite;
}

.pulse-circle:nth-of-type(1) { animation-delay: 0s; }
.pulse-circle:nth-of-type(2) { animation-delay: 1.3s; }
.pulse-circle:nth-of-type(3) { animation-delay: 2.6s; }

@keyframes pulse-opacity {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

.shape-overlay {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 75%;
  transform: translateY(-50%);
  clip-path: polygon(0% 0%, 100% 25%, 100% 75%, 0% 100%);
  border: 3px solid var(--primary-color);
  opacity: 0.3;
  z-index: 3;
}

.science-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

.science-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 5;
}

.science-icon i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.icon-1 {
  top: 25%;
  left: -30px;
  animation: float-element 7s ease-in-out infinite;
}

.icon-2 {
  top: 70%;
  right: -30px;
  animation: float-element 8s ease-in-out infinite 0.5s;
}

.icon-3 {
  top: 40%;
  right: 10%;
  animation: float-element 6s ease-in-out infinite 1s;
}

.icon-4 {
  bottom: 20%;
  left: 10%;
  animation: float-element 9s ease-in-out infinite 0.8s;
}

.badge-wrapper {
  position: absolute;
  bottom: 18%;
  left: -50px;
  z-index: 6;
}

.experience-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  box-shadow: 0 10px 30px rgba(138, 77, 118, 0.3);
}

.exp-years {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}

.exp-text {
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.2;
  max-width: 80%;
}

/* Hero Content */
.hero-content {
  position: relative;
  max-width: 600px;
  margin-right: auto;
  padding-left: 20px;
  z-index: 3;
}

.tag-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.tag-badge {
  display: inline-block;
  padding: 6px 12px;
  background-color: rgba(138, 77, 118, 0.1);
  color: var(--primary-color);
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tag-badge:nth-child(2) {  background-color: rgba(238, 118, 116, 0.1);  color: var(--secondary-color);}

.tag-badge:nth-child(3) {
  background-color: rgba(61, 193, 157, 0.1);
  color: #3dc19d;
}

.hero-title {
  margin-bottom: 15px;
  line-height: 1.1;
}

.greeting {
  display: block;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-light);
}

.name {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -1px;
  white-space: nowrap;
  line-height: 1.1;
  display: inline-block;
}

.name .highlight {
  color: var(--primary-color);
}

.hero-subtitle-wrapper {
  margin-bottom: 20px;
  position: relative;
  padding-left: 30px;
}

.hero-subtitle-wrapper:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 3px;
  background-color: var(--primary-color);
  transform: translateY(-50%);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
}

.hero-description {
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-light);
}

.hero-stats {
  display: flex;
  gap: 50px;
  margin-bottom: 40px;
}

.stat-item {
  position: relative;
}

.stat-value {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary-color);
  display: flex;
  align-items: flex-start;
}

.stat-plus, .stat-percent {
  font-size: 1.8rem;
  font-weight: 700;
  margin-left: 3px;
  margin-top: 3px;
}

.stat-label {
  margin-top: 10px;
  font-size: 1rem;
  color: var(--text-light);
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.outline-btn {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.outline-btn:hover {
  background: rgba(138, 77, 118, 0.1);
  transform: translateY(-3px);
}

.hero-scroll {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--text-light);
  font-size: 0.9rem;
  opacity: 0.8;
  animation: fade-in-out 2s ease-in-out infinite;
  z-index: 3;
}

.hero-scroll i {
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes fade-in-out {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

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

/* Responsive */
@media (max-width: 1200px) {
  .hero-image-wrapper {
    width: 38%;
  }
  
  .name {
    font-size: 3.5rem;
  }
}

@media (max-width: 992px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    padding-top: 120px;
  }
  
  .hero-image-wrapper {
    position: relative;
    width: 50%;
    height: 400px;
    margin: 0 auto 50px;
    grid-row: 1;
  }
  
  .image-shape, .shape-overlay {
    top: 0;
    height: 100%;
    transform: none;
    clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 15% 100%);
  }
  
  .hero-content {
    grid-row: 2;
    text-align: center;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .hero-subtitle-wrapper {
    padding-left: 0;
  }
  
  .hero-subtitle-wrapper:before {
    left: 50%;
    top: -15px;
    width: 50px;
    transform: translateX(-50%);
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .badge-wrapper {
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .tag-badges {
    justify-content: center;
  }
  
  .hero-subtitle {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .hero-wrapper {
    padding-top: 100px;
    padding-bottom: 80px;
  }
  
  .hero-image-wrapper {
    width: 70%;
    height: 350px;
  }
  
  .image-shape, .shape-overlay {
    clip-path: polygon(0% 0%, 100% 0%, 80% 100%, 20% 100%);
  }
  
  .science-icon {
    width: 45px;
    height: 45px;
  }
  
  .science-icon i {
    font-size: 1.3rem;
  }
  
  .experience-badge {
    width: 80px;
    height: 80px;
  }
  
  .exp-years {
    font-size: 1.6rem;
  }
  
  .exp-text {
    font-size: 0.6rem;
  }
  
  .name {
    font-size: 3rem;
    white-space: normal;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-scroll {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-wrapper {
    min-height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .hero-image-wrapper {\n    width: 85%;\n    height: 180px;\n    margin-bottom: 10px;\n  }\n\n  .hero-content {\n    padding: 0;\n    max-width: 100%;\n  }\n\n  .tag-badges {\n    margin-bottom: 5px;\n    gap: 5px;\n  }\n\n  .tag-badge {\n    padding: 3px 8px;\n    font-size: 0.7rem;\n  }
  
  .image-shape, .shape-overlay {
    clip-path: polygon(0% 0%, 100% 0%, 75% 100%, 25% 100%);
    height: 70%;
  }
  
  .name {
    font-size: 2.3rem;
    margin-bottom: 5px;
  }
  
  .greeting {
    font-size: 1rem;
    margin-bottom: 5px;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  .hero-description {
    margin-bottom: 12px;
    font-size: 0.9rem;
  }
  
  .stat-value {
    font-size: 2rem;
  }
  
  .stat-plus, .stat-percent {
    font-size: 1.2rem;
  }
  
  .hero-stats {
    gap: 25px;
    margin-bottom: 20px;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-actions .btn {
    width: 100%;
    padding: 10px 20px;
  }
  
  .icon-1, .icon-4 {
    display: none;
  }
  
  .icon-2, .icon-3 {
    width: 40px;
    height: 40px;
  }
}

/* About Section */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  position: relative;
  overflow: visible;
}

/* Image Side Styling */
.about-image-container {
  position: relative;
  background: radial-gradient(circle at 20% 20%, var(--bg-light) 0%, var(--bg-color) 100%);
  border-radius: 20px;
  padding: 25px;
  box-shadow: var(--box-shadow);
  overflow: visible;
  height: fit-content;
}

.image-frame {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transform: perspective(1000px) rotateY(3deg);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 2;
}

.image-frame:hover {
  transform: perspective(1000px) rotateY(0deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.image-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.6s ease;
}

.image-frame:hover img {
  transform: scale(1.03);
}

.experience-indicator {
  position: absolute;
  bottom: -25px;
  right: 30px;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 20px rgba(138, 77, 118, 0.3);
  z-index: 3;
}

.exp-number {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.exp-text {
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.2;
  max-width: 90%;
  margin-top: 2px;
}

.decorative-element {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--bg-color);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 4;
  animation: float-element 6s ease-in-out infinite;
  color: var(--primary-color);
  font-size: 1.4rem;
}

.element-1 {
  top: -15px;
  left: 50px;
  animation-delay: 0s;
}

.element-2 {
  bottom: 60px;
  left: -15px;
  animation-delay: 2s;
}

.element-3 {
  top: 70px;
  right: -15px;
  animation-delay: 1s;
}

/* Content Side Styling */
.about-content-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-top-bar {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.professional-badge, .specialty-badge {
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.professional-badge {  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);  color: white;  box-shadow: 0 5px 15px rgba(59, 142, 165, 0.2);}

.specialty-badge {
  background-color: rgba(138, 77, 118, 0.1);
  color: var(--primary-color);
  border: 1px solid rgba(138, 77, 118, 0.3);
}

.about-greeting {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.about-intro {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-description {
  margin-bottom: 30px;
  line-height: 1.8;
  color: var(--text-color);
}

.about-stats {
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  margin: 30px 0;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
}

.about-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.about-cta {
  padding: 14px 28px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.about-cta.download-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
}

.about-cta.download-btn:hover {
  background-color: rgba(138, 77, 118, 0.1);
  transform: translateY(-5px);
}

.about-cta.primary-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(138, 77, 118, 0.25);
}

@media (max-width: 576px) {
  .about-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .about-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Responsive styles for About section */
@media (max-width: 1200px) {
  .about-wrapper {
    gap: 40px;
  }
  
  .about-image-container {
    padding: 25px;
  }
  
  .about-stats {
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .about-image-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 25px;
  }
  
  .decorative-element {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .about-top-bar {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  
  .professional-badge, .specialty-badge {
    font-size: 0.8rem;
  }
  
  .about-greeting {
    font-size: 1.8rem;
  }
  
  .about-intro {
    font-size: 1.1rem;
  }
  
  .about-stats {
    flex-wrap: wrap;
    gap: 30px 40px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .about-image-container {
    padding: 20px;
  }
  
  .experience-indicator {
    width: 80px;
    height: 80px;
    bottom: -15px;
    right: 15px;
  }
  
  .exp-number {
    font-size: 2rem;
  }
  
  .decorative-element {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  
  .element-1 {
    top: -10px;
    left: 30px;
  }
  
  .element-2 {
    bottom: 50px;
    left: -10px;
  }
  
  .element-3 {
    top: 60px;
    right: -10px;
  }
}

/* Education Section Styles */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.edu-card {
  background: var(--bg-light);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
    height: 100%;
  display: flex;
  flex-direction: column;
    position: relative;
  border-top: 5px solid var(--primary-color);
    opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s forwards;
  animation-delay: calc(var(--delay, 0) * 0.1s);
}

.edu-card:nth-child(1) {
  --delay: 1;
}

.edu-card:nth-child(2) {
  --delay: 2;
  border-top-color: var(--secondary-color);
}

.edu-card:nth-child(3) {
  --delay: 3;
  border-top-color: var(--accent-color);
}

.edu-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.edu-card-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 15px 20px;
    display: flex;
  justify-content: space-between;
    align-items: center;
  color: white;
}

.edu-card:nth-child(2) .edu-card-header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
}

.edu-card:nth-child(3) .edu-card-header {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.edu-year {
  font-weight: 600;
  font-size: 1rem;
    display: flex;
    align-items: center;
}

.edu-degree-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
}

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

.edu-title {
  margin: 0;
  font-size: 1.4rem;
  color: var(--text-color);
  font-weight: 600;
}

.edu-institution {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.edu-institution i {
  font-size: 1.4rem;
    color: var(--primary-color);
  margin-top: 3px;
}

.edu-card:nth-child(2) .edu-institution i {
    color: var(--secondary-color);
}

.edu-card:nth-child(3) .edu-institution i {
    color: var(--accent-color);
}

.edu-institution h4 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  font-weight: 500;
}

.edu-location {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.edu-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 5px;
}

.edu-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 45%;
}

.edu-stat i {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  color: var(--primary-color);
}

.edu-card:nth-child(2) .edu-stat i {
  background: rgba(var(--secondary-rgb), 0.1);
  color: var(--secondary-color);
}

.edu-card:nth-child(3) .edu-stat i {
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent-color);
}

.edu-stat div {
  display: flex;
  flex-direction: column;
}

.edu-stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.edu-stat strong {
  font-weight: 600;
  color: var(--text-color);
}

.edu-details {
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 15px;
}

.edu-details-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.edu-details-header span {
  font-weight: 500;
  color: var(--primary-color);
}

.edu-card:nth-child(2) .edu-details-header span {
  color: var(--secondary-color);
}

.edu-card:nth-child(3) .edu-details-header span {
  color: var(--accent-color);
}

.details-toggle {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.details-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

.details-toggle i {
  transition: transform 0.3s ease;
}

.details-toggle.active i {
  transform: rotate(180deg);
}

.edu-details-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.edu-details-content.active {
  max-height: 300px;
}

.edu-details-content ul {
  margin: 15px 0 0 0;
  padding: 0 0 0 20px;
}

.edu-details-content li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-color);
}

/* Dark mode adjustments */
.dark-mode .edu-card {
  background: var(--dark-bg-secondary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.dark-mode .edu-title,
.dark-mode .edu-institution h4,
.dark-mode .edu-stat strong,
.dark-mode .edu-details-content li {
  color: var(--dark-text);
}

.dark-mode .edu-location,
.dark-mode .edu-stat span {
  color: var(--dark-text-muted);
}

.dark-mode .edu-details {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .details-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .education-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .education-grid {
    grid-template-columns: 1fr;
  }
  
  .edu-card {
    max-width: 100%;
  }
}

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

/* Skills Section */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.skill-category {
  margin-bottom: 30px;
}

.skill-category h3 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 15px;
}

.skill-item {
  background-color: var(--bg-color);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.skill-item:hover {
  transform: var(--card-hover-transform);
  box-shadow: var(--box-shadow-hover);
}

.skill-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Languages Section */
.languages-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.language-item {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background-color: var(--bg-color);
  box-shadow: var(--box-shadow);
  width: 200px;
  transition: var(--transition);
}

.language-item:hover {
  transform: var(--card-hover-transform);
  box-shadow: var(--box-shadow-hover);
}

.language-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.language-item h3 {
  margin-bottom: 10px;
}

.proficiency {
  height: 6px;
  background-color: var(--border-color);
  border-radius: 10px;
  margin: 15px 0;
  overflow: hidden;
}

.proficiency-bar {
  height: 100%;
  border-radius: 10px;
  background-color: var(--primary-color);
}

.native {
  width: 100%;
}

.fluent {
  width: 90%;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
  height: 100%;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

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

.contact-detail h3 {
  margin-bottom: 5px;
}

.contact-form {
  background-color: var(--bg-color);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--bg-light);
  color: var(--text-color);
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(138, 77, 118, 0.1);
}

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

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.3);
    border: none;
    overflow: hidden;
}

#back-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

#back-to-top.visible:hover::before {
    transform: translateX(100%);
}

#back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.4);
}

#back-to-top i {
    font-size: 20px;
    transition: all 0.3s ease;
}

#back-to-top:hover i {
    animation: float-arrow 1.2s ease infinite;
}

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

.dark-mode #back-to-top {
    background: linear-gradient(135deg, var(--primary-color), #2D3748);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.dark-mode #back-to-top:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

/* Hide the footer back-to-top button */
.back-to-top-btn {
    display: none;
}

@media (max-width: 768px) {
    #back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        border-radius: 8px;
    }
    
    #back-to-top i {
        font-size: 18px;
    }
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 30px 0;
    position: relative;
    margin-top: 50px;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-left {
    display: flex;
    align-items: center;
}

.footer-right {
    display: flex;
    align-items: center;
}

.footer-logo {
    max-width: 100px;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.85;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 5px;
}

.back-to-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    margin-left: 20px;
    transition: var(--transition);
    position: absolute;
    right: 20px;
}

.back-to-top-btn i {
    font-size: 0.9rem;
}

.back-to-top-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-separator {
        display: none;
    }

    .back-to-top-btn {
        position: static;
        margin-top: 15px;
        margin-left: 0;
    }
}

/* Media Queries for New Sections */
@media (min-width: 768px) {
  .philosophy-content {
    flex-direction: row;
    align-items: center;
    gap: 50px;
  }
  
  .philosophy-image {
    flex: 1;
    max-width: 40%;
  }
  
  .philosophy-text {
    flex: 1.5;
  }
}

@media (max-width: 768px) {
  .testimonials-container {
    grid-template-columns: 1fr;
  }
  
  .philosophy-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .philosophy-icon {
    margin-bottom: 10px;
  }
  
  .philosophy-image {
    min-height: 400px;
  }
}

/* Philosophy Section Styles */
.philosophy-content {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 40px;
  margin-bottom: 30px;
}

.philosophy-image {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  position: relative;
}

.philosophy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.philosophy-text {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.philosophy-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.3s ease;
}

.philosophy-item:hover {
  transform: translateY(-5px);
}

.philosophy-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.philosophy-item:hover .philosophy-icon {
  transform: rotate(10deg);
}

.philosophy-detail h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.philosophy-detail p {
  color: var(--text-light);
  line-height: 1.7;
}

@media (max-width: 992px) {
  .philosophy-content {
    flex-direction: column;
  }
  
  .philosophy-image {
    max-width: 100%;
    min-height: 450px;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .philosophy-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .philosophy-icon {
    margin-bottom: 15px;
  }
  
  .philosophy-detail h3 {
    font-size: 1.2rem;
  }
}

/* Subjects Section */
.subject-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.subject-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  position: relative;
}

.subject-intro p::before {
  content: '"';
  font-family: 'Georgia', serif;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  color: var(--primary-color);
  opacity: 0.1;
  line-height: 1;
}

.academic-focus-wrapper {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03) 0%, rgba(var(--secondary-rgb), 0.03) 100%);
  border-radius: 2rem;
  padding: 3rem;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.academic-focus-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.5;
  transform: translate(30%, -30%);
}

.academic-focus-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.1), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.4;
  transform: translate(-30%, 30%);
}

/* Academic Focus Areas / Curriculum Design */
.curriculum-levels {
  margin-bottom: 60px;
}

.curriculum-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.level-intro {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.level-intro-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.level-intro-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);
}

.curriculum-tabs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.curriculum-tabs::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 60px;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  border-radius: 4px;
  z-index: 0;
}

.level-tab {
  display: flex;
  position: relative;
  background: var(--bg-light);
  border-radius: 1.5rem;
  padding: 0;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden; /* Add overflow hidden to prevent showing content before transition */
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.level-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--secondary-rgb), 0.05) 100%);
  z-index: 0;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.level-tab:hover {
  transform: translateX(8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.level-tab:hover::before {
  opacity: 1;
}

.level-tab.active {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.1) 100%);
  transform: translateX(15px);
  box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.15);
  border-color: var(--primary-color);
}

.tab-icon {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.level-tab:hover .tab-icon {
  transform: scale(1.05);
}

.tab-label {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0 1.5rem 2rem;
  flex: 1;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.tab-label span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  transition: color 0.3s ease;
  letter-spacing: -0.2px;
  margin-bottom: 0.5rem;
}

.level-tab.active .tab-label span {
  color: var(--primary-color);
}

.tab-label small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 0.3rem 1rem;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 2rem;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.tab-description {
  padding-right: 2rem;
}

.tab-description p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-light);
  margin: 0;
}

.curriculum-content {
  display: none;
  visibility: hidden;
  opacity: 0;
  height: 0;
  overflow: hidden; /* Add overflow hidden to prevent showing content before transition */
  transition: opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateY(15px);
  position: relative;
  will-change: transform, opacity;
}

.curriculum-content.active {
  display: block;
  visibility: visible;
  opacity: 1;
  height: auto;
  overflow: visible; /* Reset overflow to visible */
  transform: translateY(0);
  animation: contentFadeIn 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes contentFadeIn {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Competency Grid */
.competency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.competency-area {
  background-color: var(--bg-light);
  border-radius: 1.25rem;
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.05);
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.competency-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 1.25rem;
  border: 0 solid var(--primary-color);
  z-index: -1;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0;
}

.competency-area:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.competency-area:hover::before {
  border-width: 5px;
  opacity: 1;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
}

.competency-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
}

.competency-header::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
  transition: all 0.3s ease;
}

.competency-area:hover .competency-header::after {
  width: 100px;
}

.competency-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: rotate(-5deg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.competency-area:hover .competency-icon {
  transform: rotate(0) scale(1.1);
}

.curriculum-science-icon {  background: linear-gradient(135deg, #3B8EA5 0%, #4ECDC4 100%);}

.lang-icon {  background: linear-gradient(135deg, #EE7674 0%, #DB2777 100%);}

.math-icon {
  background: linear-gradient(135deg, #3dc19d 0%, #31a083 100%);
}

.advanced-science-icon {
  background: linear-gradient(135deg, #3B8EA5 0%, #4ECDC4 100%);
}

.adv-lang-icon {
  background: linear-gradient(135deg, #F4ABC4 0%, #DB2777 100%);
}

.adv-math-icon {
  background: linear-gradient(135deg, #3dc19d 0%, #31a083 100%);
}

.tech-icon {
  background: linear-gradient(135deg, #f7b733 0%, #e09a1d 100%);
}

.competency-header h3 {
  font-size: 1.4rem;
  margin-bottom: 0;
  color: var(--primary-color);
}

.outcome-list {
  margin: 0 0 20px 0;
  padding-left: 5px;
  list-style: none;
  flex: 1;
}

.outcome-list li {
  margin-bottom: 12px;
  position: relative;
  line-height: 1.6;
  padding-left: 28px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.outcome-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background-color: rgba(var(--primary-rgb), 0.15);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.outcome-list li::after {
  content: "✓";
  color: var(--primary-color);
  position: absolute;
  left: 4px;
  top: 0px;
  font-size: 10px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.competency-area:hover .outcome-list li::before {
  background-color: rgba(var(--primary-rgb), 0.25);
  transform: scale(1.1);
}

.competency-area:hover .outcome-list li {
  transform: translateX(3px);
}

.curriculum-details {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid rgba(var(--primary-rgb), 0.1);
  position: relative;
}

.curriculum-details::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 30%;
  height: 1px;
  background: linear-gradient(to right, var(--primary-color), transparent);
  transition: all 0.3s ease;
}

.competency-area:hover .curriculum-details::before {
  width: 60%;
}

.curriculum-topics {
  flex: 1;
}

.curriculum-topics span {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-tag {
  display: inline-block;
  padding: 5px 12px;
  background-color: rgba(var(--primary-rgb), 0.08);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-color);
  transition: all 0.3s ease;
  font-weight: 500;
}

.topic-tag:hover {
  background-color: rgba(var(--primary-rgb), 0.15);
  transform: translateY(-2px);
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary-color);
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 20px;
  background-color: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  font-size: 0.85rem;
}

.learn-more i {
  transition: all 0.3s ease;
  font-size: 0.8rem;
}

.learn-more:hover {
  color: white;
  background-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.learn-more:hover i {
  transform: translateX(3px);
  color: white;
}

/* Teaching Methodology */
.teaching-methodology {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.08));
  padding: 3.5rem;
  border-radius: 1.5rem;
  margin-top: 60px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateY(0);
}

.teaching-methodology::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.5;
  transform: translate(30%, -30%);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.teaching-methodology:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.teaching-methodology:hover::before {
  transform: translate(25%, -25%) scale(1.1);
  opacity: 0.7;
}

/*
* Farzana Akter Faria - Personal Portfolio Website
* Modern Design
*/

/* Base Styles - Theme Colors */
:root {
    /* Primary Colors */
    --primary-color: #3B8EA5;  /* Teal */
    --primary-rgb: 59, 142, 165;
    --secondary-color: #EE7674; /* Coral */
    --accent-color: #F2BB05; /* Golden Yellow */
    --light-color: #FAF7F2; /* Soft Ivory */
    --dark-color: #1A535C; /* Deep Teal */
    
    /* Light Mode Colors */
    --bg-color: #F8F9FA;
    --text-color: #2D3748;
    --heading-color: #1A202C;
    --bg-alternate: #EFF1F3;
    --bg-light: #FFFFFF;
    --border-color: #E2E8F0;
    --nav-text: #4A5568;
    --nav-hover: #3B8EA5;
    --nav-active: #3B8EA5;
    
    /* Components */
    --card-bg: #FFFFFF;
    --card-border: #EDF2F7;
    --input-bg: #FFFFFF;
    --input-border: #E2E8F0;
    --input-text: #4A5568;
    --input-placeholder: #A0AEC0;
    --btn-primary-bg: #3B8EA5;
    --btn-primary-text: #FFFFFF;
    --btn-hover-bg: #2C7A8E;
    --btn-hover-text: #FFFFFF;
    --section-bg: #F8F9FA;
    --section-alt-bg: #EFF1F3;
    
    /* Effects */
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Dark Mode Variables */
.dark-mode {
    --bg-color: #1A202C;
    --text-color: #E2E8F0;
    --heading-color: #F7FAFC;
    --bg-alternate: #2D3748;
    --bg-light: #2D3748;
    --border-color: #4A5568;
    --nav-text: #A0AEC0;
    --nav-hover: #EE7674;
    --nav-active: #EE7674;
    
    /* Components */
    --card-bg: #2D3748;
    --card-border: #4A5568;
    --input-bg: #2D3748;
    --input-border: #4A5568;
    --input-text: #E2E8F0;
    --input-placeholder: #A0AEC0;
    --btn-primary-bg: #EE7674;
    --btn-primary-text: #1A202C;
    --btn-hover-bg: #E84A47;
    --btn-hover-text: #1A202C;
    --section-bg: #1A202C;
    --section-alt-bg: #2D3748;
    
    /* Effects */
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.4);
    
    /* Apply dark mode to body */
    background-color: var(--bg-color);
    color: var(--text-color);
}

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

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: var(--transition);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 15px;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 15px;
}

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

a:hover {
  color: var(--secondary-color);
}

ul, ol {
  list-style: none;
  padding-left: 0;
}

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

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

.section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0; /* Remove any bottom margin to control spacing consistently */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    visibility: visible;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

section:nth-of-type(odd) {
    background-color: var(--bg-light);
}

section:nth-of-type(even) {
    background-color: var(--bg-alt);
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.highlight {
  color: var(--primary-color);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  position: relative;
  display: inline-block;
  font-size: 2.2rem;
  margin-bottom: 15px;
  text-transform: capitalize;
}

.section-line {
  width: 70px;
  height: 3px;
  background: var(--primary-color);
  margin: 0 auto;
}

/* Base Button Styles - Modern Design */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    outline: none;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 0.625rem;
    border: 0px solid transparent;
    z-index: -1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.btn:hover::before {
    border-width: 5px;
    opacity: 1;
}

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

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

.primary-btn::before {
    border-color: var(--secondary-color);
}

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

.outline-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
    background-color: rgba(var(--primary-rgb), 0.05);
}

.outline-btn::before {
    border-color: var(--accent-color);
}

.dark-mode .btn {
    color: white;
}

.dark-mode .primary-btn {
    background-color: var(--primary-color);
}

.dark-mode .primary-btn:hover {
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.4);
}

.dark-mode .outline-btn {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.dark-mode .outline-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

/* Mobile responsive buttons */
@media (max-width: 576px) {
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn:hover::before {
        border-width: 4px;
    }
}

/* Base Card Styles - Modern Design */
.card {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    z-index: 1;
    transform: translateY(0);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card:hover::before {
    border-width: 5px;
    opacity: 1;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
}

.card-header {
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    margin-bottom: 1rem;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .card-badge {
    transform: translateY(-3px);
    background-color: rgba(var(--primary-rgb), 0.15);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .card-title {
    color: var(--primary-color);
}

.card-decoration {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0.15;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 0;
}

.card:hover .card-decoration {
    transform: scale(1.2) rotate(15deg);
    opacity: 0.25;
}

/* Dark mode card styles */
.dark-mode .card {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-mode .card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.dark-mode .card::before {
    border-color: var(--primary-color);
}

.dark-mode .card-badge {
    background-color: rgba(var(--primary-rgb), 0.2);
}

.dark-mode .card:hover .card-badge {
    background-color: rgba(var(--primary-rgb), 0.3);
}

/* Special card variations */
.education-card, 
.experience-card, 
.competency-area {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
}

.education-card::before, 
.experience-card::before, 
.competency-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.education-card:hover, 
.experience-card:hover, 
.competency-area:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.education-card:hover::before, 
.experience-card:hover::before, 
.competency-area:hover::before {
    border-width: 5px;
    opacity: 1;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
}

/* Education card specific styles */
.education-card {
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.education-card:hover {
    border-left-width: 8px;
}

/* Experience card specific styles */
.experience-card {
    border-top: 5px solid var(--secondary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.experience-card:hover {
    border-top-width: 8px;
}

/* Competency area specific styles */
.competency-area {
    border-bottom: 5px solid var(--accent-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.competency-area:hover {
    border-bottom-width: 8px;
}

/* Dark mode for special cards */
.dark-mode .education-card, 
.dark-mode .experience-card, 
.dark-mode .competency-area {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .education-card {
    border-left-color: var(--primary-color);
}

.dark-mode .experience-card {
    border-top-color: var(--secondary-color);
}

.dark-mode .competency-area {
    border-bottom-color: var(--accent-color);
}

.dark-mode .education-card:hover, 
.dark-mode .experience-card:hover, 
.dark-mode .competency-area:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Card content animation */
.card-content {
    position: relative;
    z-index: 1;
}

.card:hover .card-content {
    transform: translateZ(5px);
}

/* Skill and Methodology cards */
.skill-item, .methodology-highlight {
    background-color: var(--bg-light);
    border-radius: 1rem;
    padding: 2.25rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.06);
}

.skill-item::before, .methodology-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.skill-item:hover, .methodology-highlight:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.skill-item:hover::before, .methodology-highlight:hover::before {
    border-width: 4px;
    opacity: 1;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
}

.dark-mode .skill-item, .dark-mode .methodology-highlight {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .skill-item:hover, .dark-mode .methodology-highlight:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* Language items */
.language-item {
    background-color: var(--bg-light);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.language-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.language-item:hover {
    transform: translateY(-7px) scale(1.04);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.language-item:hover::before {
    border-width: 4px;
    opacity: 1;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
}

.dark-mode .language-item {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .language-item:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

/* Testimonial cards */
.testimonial-card {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    border-top: 5px solid var(--primary-color);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.05), transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card.active {
    transform: rotateY(0deg) translateZ(0) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 2.75rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    margin-bottom: 25px;
}

.testimonial-content:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.dark-mode .testimonial-card,
.dark-mode .testimonial-content {
    background-color: var(--bg-alternate);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .testimonial-card.active {
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

/* Coming soon container */
.coming-soon-container {
  background: var(--bg-color);
  border-radius: var(--card-border-radius);
  box-shadow: var(--box-shadow);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
  text-align: center;
  margin: 30px auto;
  max-width: 650px;
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  background-image: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.03) 0%,
    rgba(var(--primary-rgb), 0.01) 100%
  );
}

.coming-soon-container::before {
    content: '';
    position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: calc(var(--card-border-radius) + 2px);
    z-index: -1;
    opacity: 0;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.coming-soon-container:hover {
  transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.coming-soon-container:hover::before {
    opacity: 1;
}

.coming-soon-icon {
  position: relative;
  width: 110px;
  height: 110px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: all 0.5s ease;
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.15);
}

.coming-soon-icon::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2px solid rgba(var(--primary-rgb), 0.2);
  animation: pulse-border 2.5s infinite ease-out;
}

.coming-soon-icon i {
  font-size: 46px;
  color: var(--primary-color);
  animation: pulse-icon 2s infinite alternate;
}

.coming-soon-text {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

/*
* Farzana Akter Faria - Personal Portfolio Website
* Modern Design
*/

/* Base Styles - Theme Colors */
:root {
    /* Primary Colors */
    --primary-color: #3B8EA5;  /* Teal */
    --primary-rgb: 59, 142, 165;
    --secondary-color: #EE7674; /* Coral */
    --accent-color: #F2BB05; /* Golden Yellow */
    --light-color: #FAF7F2; /* Soft Ivory */
    --dark-color: #1A535C; /* Deep Teal */
    
    /* Light Mode Colors */
    --bg-color: #F8F9FA;
    --text-color: #2D3748;
    --heading-color: #1A202C;
    --bg-alternate: #EFF1F3;
    --bg-light: #FFFFFF;
    --border-color: #E2E8F0;
    --nav-text: #4A5568;
    --nav-hover: #3B8EA5;
    --nav-active: #3B8EA5;
    
    /* Components */
    --card-bg: #FFFFFF;
    --card-border: #EDF2F7;
    --input-bg: #FFFFFF;
    --input-border: #E2E8F0;
    --input-text: #4A5568;
    --input-placeholder: #A0AEC0;
    --btn-primary-bg: #3B8EA5;
    --btn-primary-text: #FFFFFF;
    --btn-hover-bg: #2C7A8E;
    --btn-hover-text: #FFFFFF;
    --section-bg: #F8F9FA;
    --section-alt-bg: #EFF1F3;
    
    /* Effects */
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Dark Mode Variables */
.dark-mode {
    --bg-color: #1A202C;
    --text-color: #E2E8F0;
    --heading-color: #F7FAFC;
    --bg-alternate: #2D3748;
    --bg-light: #2D3748;
    --border-color: #4A5568;
    --nav-text: #A0AEC0;
    --nav-hover: #EE7674;
    --nav-active: #EE7674;
    
    /* Components */
    --card-bg: #2D3748;
    --card-border: #4A5568;
    --input-bg: #2D3748;
    --input-border: #4A5568;
    --input-text: #E2E8F0;
    --input-placeholder: #A0AEC0;
    --btn-primary-bg: #EE7674;
    --btn-primary-text: #1A202C;
    --btn-hover-bg: #E84A47;
    --btn-hover-text: #1A202C;
    --section-bg: #1A202C;
    --section-alt-bg: #2D3748;
    
    /* Effects */
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.4);
    
    /* Apply dark mode to body */
    background-color: var(--bg-color);
    color: var(--text-color);
}

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

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: var(--transition);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 15px;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 15px;
}

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

a:hover {
  color: var(--secondary-color);
}

ul, ol {
  list-style: none;
  padding-left: 0;
}

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

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

.section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0; /* Remove any bottom margin to control spacing consistently */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    visibility: visible;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

section:nth-of-type(odd) {
    background-color: var(--bg-light);
}

section:nth-of-type(even) {
    background-color: var(--bg-alt);
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.highlight {
  color: var(--primary-color);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  position: relative;
  display: inline-block;
  font-size: 2.2rem;
  margin-bottom: 15px;
  text-transform: capitalize;
}

.section-line {
  width: 70px;
  height: 3px;
  background: var(--primary-color);
  margin: 0 auto;
}

/* Base Button Styles - Modern Design */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    outline: none;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 0.625rem;
    border: 0px solid transparent;
    z-index: -1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.btn:hover::before {
    border-width: 5px;
    opacity: 1;
}

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

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

.primary-btn::before {
    border-color: var(--secondary-color);
}

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

.outline-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
    background-color: rgba(var(--primary-rgb), 0.05);
}

.outline-btn::before {
    border-color: var(--accent-color);
}

.dark-mode .btn {
    color: white;
}

.dark-mode .primary-btn {
    background-color: var(--primary-color);
}

.dark-mode .primary-btn:hover {
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.4);
}

.dark-mode .outline-btn {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.dark-mode .outline-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

/* Mobile responsive buttons */
@media (max-width: 576px) {
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn:hover::before {
        border-width: 4px;
    }
}

/* Base Card Styles - Modern Design */
.card {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    z-index: 1;
    transform: translateY(0);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card:hover::before {
    border-width: 5px;
    opacity: 1;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
}

.card-header {
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    margin-bottom: 1rem;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .card-badge {
    transform: translateY(-3px);
    background-color: rgba(var(--primary-rgb), 0.15);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .card-title {
    color: var(--primary-color);
}

.card-decoration {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0.15;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 0;
}

.card:hover .card-decoration {
    transform: scale(1.2) rotate(15deg);
    opacity: 0.25;
}

/* Dark mode card styles */
.dark-mode .card {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-mode .card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.dark-mode .card::before {
    border-color: var(--primary-color);
}

.dark-mode .card-badge {
    background-color: rgba(var(--primary-rgb), 0.2);
}

.dark-mode .card:hover .card-badge {
    background-color: rgba(var(--primary-rgb), 0.3);
}

/* Special card variations */
.education-card, 
.experience-card, 
.competency-area {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
}

.education-card::before, 
.experience-card::before, 
.competency-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.education-card:hover, 
.experience-card:hover, 
.competency-area:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.education-card:hover::before, 
.experience-card:hover::before, 
.competency-area:hover::before {
    border-width: 5px;
    opacity: 1;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
}

/* Education card specific styles */
.education-card {
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.education-card:hover {
    border-left-width: 8px;
}

/* Experience card specific styles */
.experience-card {
    border-top: 5px solid var(--secondary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.experience-card:hover {
    border-top-width: 8px;
}

/* Competency area specific styles */
.competency-area {
    border-bottom: 5px solid var(--accent-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.competency-area:hover {
    border-bottom-width: 8px;
}

/* Dark mode for special cards */
.dark-mode .education-card, 
.dark-mode .experience-card, 
.dark-mode .competency-area {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .education-card {
    border-left-color: var(--primary-color);
}

.dark-mode .experience-card {
    border-top-color: var(--secondary-color);
}

.dark-mode .competency-area {
    border-bottom-color: var(--accent-color);
}

.dark-mode .education-card:hover, 
.dark-mode .experience-card:hover, 
.dark-mode .competency-area:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Card content animation */
.card-content {
    position: relative;
    z-index: 1;
}

.card:hover .card-content {
    transform: translateZ(5px);
}

/* Skill and Methodology cards */
.skill-item, .methodology-highlight {
    background-color: var(--bg-light);
    border-radius: 1rem;
    padding: 2.25rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.06);
}

.skill-item::before, .methodology-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.skill-item:hover, .methodology-highlight:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.skill-item:hover::before, .methodology-highlight:hover::before {
    border-width: 4px;
    opacity: 1;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
}

.dark-mode .skill-item, .dark-mode .methodology-highlight {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .skill-item:hover, .dark-mode .methodology-highlight:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* Language items */
.language-item {
    background-color: var(--bg-light);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.language-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.language-item:hover {
    transform: translateY(-7px) scale(1.04);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.language-item:hover::before {
    border-width: 4px;
    opacity: 1;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
}

.dark-mode .language-item {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .language-item:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

/* Testimonial cards */
.testimonial-card {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    border-top: 5px solid var(--primary-color);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.05), transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card.active {
    transform: rotateY(0deg) translateZ(0) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 2.75rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    margin-bottom: 25px;
}

.testimonial-content:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.dark-mode .testimonial-card,
.dark-mode .testimonial-content {
    background-color: var(--bg-alternate);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .testimonial-card.active {
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

/* Coming soon container */
.coming-soon-container {
  background: var(--bg-color);
  border-radius: var(--card-border-radius);
  box-shadow: var(--box-shadow);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
  text-align: center;
  margin: 30px auto;
  max-width: 650px;
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  background-image: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.03) 0%,
    rgba(var(--primary-rgb), 0.01) 100%
  );
}

.coming-soon-container::before {
    content: '';
    position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: calc(var(--card-border-radius) + 2px);
    z-index: -1;
    opacity: 0;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.coming-soon-container:hover {
  transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.coming-soon-container:hover::before {
    opacity: 1;
}

.coming-soon-icon {
  position: relative;
  width: 110px;
  height: 110px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: all 0.5s ease;
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.15);
}

.coming-soon-icon::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2px solid rgba(var(--primary-rgb), 0.2);
  animation: pulse-border 2.5s infinite ease-out;
}

.coming-soon-icon i {
  font-size: 46px;
  color: var(--primary-color);
  animation: pulse-icon 2s infinite alternate;
}

.coming-soon-text {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.coming-soon-text::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.coming-soon-container p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-color);
  max-width: 500px;
  margin: 20px auto 0;
}

.coming-soon-container .resource-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}

.resource-tag {
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.resource-tag i {
  font-size: 12px;
}

.dark-mode .coming-soon-container {
    background-color: var(--bg-alternate);
  background-image: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.08) 0%,
    rgba(var(--primary-rgb), 0.02) 100%
  );
    border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.dark-mode .coming-soon-icon {
  background-color: rgba(var(--primary-rgb), 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dark-mode .resource-tag {
  background-color: rgba(var(--primary-rgb), 0.15);
}

.dark-mode .coming-soon-container:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

@keyframes pulse-icon {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}

@keyframes pulse-border {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  70% {
    transform: scale(1.15);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Media queries for coming soon */
@media (max-width: 768px) {
  .coming-soon-container {
    padding: 40px 25px;
  }
  
  .coming-soon-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 25px;
  }
  
  .coming-soon-icon i {
    font-size: 38px;
  }
  
  .coming-soon-text {
    font-size: 28px;
  }
  
  .coming-soon-container p {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .coming-soon-container {
    padding: 30px 20px;
  }
  
  .coming-soon-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }
  
  .coming-soon-icon i {
    font-size: 32px;
  }
  
  .coming-soon-text {
    font-size: 24px;
  }
  
  .coming-soon-text::after {
    width: 60px;
    height: 3px;
  }
  
  .coming-soon-container p {
    font-size: 15px;
  }
  
  .resource-tag {
    padding: 5px 12px;
    font-size: 12px;
  }
}

/* Responsive styles for cards */
@media (max-width: 768px) {
    .card,
    .education-card,
    .experience-card,
    .competency-area,
    .testimonial-card,
    .testimonial-content,
    .coming-soon-container {
        padding: 2.5rem;
    }
    
    .skill-item,
    .methodology-highlight,
    .language-item {
        padding: 1.75rem;
    }
    
    .card:hover,
    .education-card:hover,
    .experience-card:hover,
    .competency-area:hover,
    .testimonial-content:hover,
    .coming-soon-container:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .skill-item:hover,
    .methodology-highlight:hover,
    .language-item:hover {
        transform: translateY(-3px) scale(1.02);
    }
}

@media (max-width: 576px) {
    .card,
    .education-card,
    .experience-card,
    .competency-area,
    .testimonial-card,
    .testimonial-content,
    .coming-soon-container {
        padding: 2rem 1.5rem;
    }
    
    .skill-item,
    .methodology-highlight,
    .language-item {
        padding: 1.5rem 1.25rem;
    }
    
    .card:hover::before,
    .education-card:hover::before,
    .experience-card:hover::before,
    .competency-area:hover::before,
    .skill-item:hover::before,
    .methodology-highlight:hover::before,
    .language-item:hover::before,
    .coming-soon-container:hover::before {
        border-width: 4px;
    }
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 0;
  background-color: var(--bg-color);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition);
}

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

.logo {
  height: 40px;
}

.logo img {
  height: 100%;
  width: auto;
}

/* Navigation */
nav {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

nav .nav-links {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 20px;
  align-items: center;
  list-style: none;
}

.nav-link {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 10px 15px;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-link:hover, .nav-link:focus, .nav-link.active {
  color: var(--primary-color);
  background-color: rgba(var(--primary-rgb), 0.08);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background-color: var(--primary-color);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 5px;
}

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

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.dropdown-toggle i {
  font-size: 0.8rem;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-left: 2px;
}

.dropdown.active .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown.active .dropdown-toggle {
  color: var(--primary-color);
  background-color: rgba(var(--primary-rgb), 0.08);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--bg-color);
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 8px 0;
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  pointer-events: none;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background-color: var(--bg-color);
  border-top: 1px solid rgba(var(--primary-rgb), 0.08);
  border-left: 1px solid rgba(var(--primary-rgb), 0.08);
}

.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-item {
  display: block;
  padding: 10px 18px;
  color: var(--text-color);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-align: left;
  position: relative;
  text-decoration: none;
}

.dropdown-item::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  opacity: 0;
}

.dropdown-item:hover, .dropdown-item:focus {
  background-color: rgba(var(--primary-rgb), 0.08);
  color: var(--primary-color);
  padding-left: 24px;
}

.dropdown-item:hover::before, 
.dropdown-item:focus::before {
  width: 6px;
  opacity: 1;
  transform: translateY(-50%) scaleX(1);
}

.dark-mode .dropdown-menu {
  background-color: var(--bg-dark);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  border-color: rgba(var(--primary-rgb), 0.15);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Language Toggle */
/* Language Toggle - Modern Design */
.language-toggle {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.toggle-container {
  position: relative;
  background: linear-gradient(to right, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0.05));
  border-radius: 24px;
  display: flex;
  padding: 4px;
  width: 110px;
  height: 36px;
  transition: all 0.3s ease;
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.toggle-option {
  position: relative;
  z-index: 2;
  flex: 1;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px;
  cursor: pointer;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-color);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  letter-spacing: 0.02em;
}

.toggle-option span {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0.7;
}

.toggle-option img {
  border-radius: 4px;
  filter: saturate(0.8);
  width: 18px;
  height: 13px;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: scale(0.9);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.toggle-option.active {
  color: var(--bg-color);
}

.toggle-option.active span {
  opacity: 1;
}

.toggle-option.active img {
  filter: saturate(1.2);
  transform: scale(1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
}

#bn-toggle.active ~ .slider {
  left: calc(50% + 0px);
}

.dark-mode .toggle-container {
  background: linear-gradient(to right, rgba(var(--primary-rgb), 0.2), rgba(var(--primary-rgb), 0.1));
  border-color: rgba(var(--primary-rgb), 0.2);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-left: 10px;
    padding: 0;
}

.theme-toggle-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    transform: scale(1.1);
}

.theme-toggle-btn i {
    transition: var(--transition);
}

.dark-mode .theme-toggle-btn {
    color: var(--text-color);
}

.dark-mode .theme-toggle-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.2);
}

.theme-toggle-btn i.fa-sun {
    color: #FFD700;
}

.theme-toggle-btn i.fa-moon {
    color: #6c63ff;
}

.dark-mode .theme-toggle-btn i.fa-sun {
    color: #FDB813;
}

.dark-mode .theme-toggle-btn i.fa-moon {
    color: #8c85ff;
}

/* Mobile menu button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 28px;
  background: var(--text-color);
  border-radius: 10px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Mobile navigation */
@media (max-width: 992px) {
  nav {
    display: flex;
    justify-content: flex-end;
  }
  
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--bg-color);
    flex-direction: column;
    align-items: center;
    padding: 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 99;
    gap: 0;
  }
  
  .nav-links.active {
    height: auto;
    padding: 20px 0;
    opacity: 1;
  }
  
  .hamburger {
    display: flex;
    margin-left: 15px;
  }
  
  .nav-link {
    font-size: 1.1rem;
    padding: 12px 20px;
    width: 100%;
    text-align: center;
    border-radius: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: none;
  }
  
  .nav-links.active .nav-link {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
    transition-delay: 0.1s;
  }
  
  /* Mobile dropdown */
  .dropdown {
    width: 100%;
  }
  
  .dropdown-toggle {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    background-color: transparent !important;
  }
  
  .dropdown-toggle::after {
    position: relative;
    top: 2px;
    margin-left: 8px;
  }
  
  .dropdown-menu {
    position: static !important;
    width: 100%;
    box-shadow: none;
    background-color: rgba(var(--primary-rgb), 0.05);
    padding: 0;
    margin: 0;
    border-radius: 8px;
    max-height: 0;
    overflow: hidden;
    opacity: 1 !important;
    visibility: hidden;
    transform: none !important;
    transition: all 0.4s ease;
    left: 0 !important;
    border: none;
    pointer-events: auto !important;
  }
  
  .dropdown-menu::before {
    display: none;
  }
  
  .dropdown.active .dropdown-menu {
    max-height: 500px;
    padding: 8px 0;
    margin-top: 5px;
    margin-bottom: 5px;
    visibility: visible;
    border-left: 2px solid var(--primary-color);
  }
  
  .dropdown-item {
    padding: 12px 30px;
    text-align: center;
    font-size: 1rem;
    color: var(--text-color);
  }
  
  .dropdown-item::before {
    display: none;
  }
  
  .dropdown-item:hover, 
  .dropdown-item:focus {
    padding-left: 30px;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
  }
  
  .nav-links.active .nav-link:nth-child(2) { transition-delay: 0.15s; }
  .nav-links.active .nav-link:nth-child(3) { transition-delay: 0.2s; }
  .nav-links.active .nav-link:nth-child(4) { transition-delay: 0.25s; }
  .nav-links.active .nav-link:nth-child(5) { transition-delay: 0.3s; }
  .nav-links.active .nav-link:nth-child(6) { transition-delay: 0.35s; }
  .nav-links.active .nav-link:nth-child(7) { transition-delay: 0.4s; }
  .nav-links.active .nav-link:nth-child(8) { transition-delay: 0.45s; }
}

@media (min-width: 993px) and (max-width: 1200px) {
  .nav-link {
    padding: 8px 8px;
    font-size: 0.85rem;
  }
  
  .toggle-container {
    width: 100px;
  }
}

@media (max-width: 576px) {
  header {
    padding: 12px 0;
  }
  
  .header-actions {
    gap: 8px;
  }
  
  .toggle-container {
    width: 100px;
    height: 30px;
  }
  
  .toggle-option {
    font-size: 10px;
  }
  
  .toggle-option img {
    width: 14px;
    height: 10px;
  }
}

/* Hero Section */
#hero {
  position: relative;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  background-color: var(--bg-color); /* Reset to default */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f7fa 0%, #e6e9f0 100%);
  z-index: 0;
}

.dark-mode .hero-bg {
  background: linear-gradient(135deg, #1f2933 0%, #151a20 100%);
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  background-image: radial-gradient(var(--primary-color) 1px, transparent 1px),
                    radial-gradient(var(--secondary-color) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  z-index: 0;
}

.hero-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 100px 0 50px;
  z-index: 1;
}

/* Hero Image */
.hero-image-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  z-index: 2;
}

.image-shape {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 75%;
  transform: translateY(-50%);
  clip-path: polygon(0% 0%, 100% 25%, 100% 75%, 0% 100%);
  overflow: hidden;
}

.teacher-animation {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #e6e9f0 100%);
}

.dark-mode .teacher-animation {
  background: linear-gradient(135deg, #252d38 0%, #1c232d 100%);
}

.teacher-svg {
  width: 100%;
  height: 100%;
}

/* SVG Animation Elements */
.atom {
  animation: rotate 20s linear infinite;
  transform-origin: center;
}

.atom-1 {
  animation-duration: 30s;
}

.atom-2 {
  animation-duration: 25s;
  animation-direction: reverse;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.formula {
  opacity: 0.7;
  animation: float-up 10s ease-in-out infinite;
}

.formula-1 { animation-delay: 0s; }
.formula-2 { animation-delay: 2s; }
.formula-3 { animation-delay: 1s; }
.formula-4 { animation-delay: 3s; }
.formula-5 { animation-delay: 4s; }

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

.liquid {
  animation: bubble 4s ease-in-out infinite;
  transform-origin: center;
}

@keyframes bubble {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.05); }
}

.bubble {
  opacity: 0.7;
  animation: rise 4s ease-in-out infinite;
}

.bubble-1 { animation-delay: 0s; }
.bubble-2 { animation-delay: 1s; }
.bubble-3 { animation-delay: 2s; }

@keyframes rise {
  0% { transform: translateY(15px); opacity: 0; }
  50% { opacity: 0.7; }
  100% { transform: translateY(-15px); opacity: 0; }
}

/* DNA Animation */
.dna {
  animation: pulse-color 8s ease-in-out infinite;
}

.dna:nth-of-type(2) {
  animation-delay: 4s;
}

@keyframes pulse-color {
  0%, 100% { opacity: 0.6; stroke-width: 2px; }
  50% { opacity: 1; stroke-width: 2.5px; }
}

/* Molecule Animation */
.molecule circle {
  animation: pulse-size 6s ease-in-out infinite;
}

.molecule circle:nth-of-type(1) { animation-delay: 0s; }
.molecule circle:nth-of-type(2) { animation-delay: 1.5s; }
.molecule circle:nth-of-type(3) { animation-delay: 3s; }
.molecule circle:nth-of-type(4) { animation-delay: 4.5s; }

@keyframes pulse-size {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Wave Animation */
.wave {
  animation: wave-motion 10s ease-in-out infinite;
  opacity: 0.6;
}

.wave:nth-of-type(2) {
  animation-delay: 5s;
}

@keyframes wave-motion {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(10px); }
}

/* Pulse Circles */
.pulse-circle {
  animation: pulse-opacity 4s ease-in-out infinite;
}

.pulse-circle:nth-of-type(1) { animation-delay: 0s; }
.pulse-circle:nth-of-type(2) { animation-delay: 1.3s; }
.pulse-circle:nth-of-type(3) { animation-delay: 2.6s; }

@keyframes pulse-opacity {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

.shape-overlay {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 75%;
  transform: translateY(-50%);
  clip-path: polygon(0% 0%, 100% 25%, 100% 75%, 0% 100%);
  border: 3px solid var(--primary-color);
  opacity: 0.3;
  z-index: 3;
}

.science-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

.science-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 5;
}

.science-icon i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.icon-1 {
  top: 25%;
  left: -30px;
  animation: float-element 7s ease-in-out infinite;
}

.icon-2 {
  top: 70%;
  right: -30px;
  animation: float-element 8s ease-in-out infinite 0.5s;
}

.icon-3 {
  top: 40%;
  right: 10%;
  animation: float-element 6s ease-in-out infinite 1s;
}

.icon-4 {
  bottom: 20%;
  left: 10%;
  animation: float-element 9s ease-in-out infinite 0.8s;
}

.badge-wrapper {
  position: absolute;
  bottom: 18%;
  left: -50px;
  z-index: 6;
}

.experience-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  box-shadow: 0 10px 30px rgba(138, 77, 118, 0.3);
}

.exp-years {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}

.exp-text {
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.2;
  max-width: 80%;
}

/* Hero Content */
.hero-content {
  position: relative;
  max-width: 600px;
  margin-right: auto;
  padding-left: 20px;
  z-index: 3;
}

.tag-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.tag-badge {
  display: inline-block;
  padding: 6px 12px;
  background-color: rgba(138, 77, 118, 0.1);
  color: var(--primary-color);
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tag-badge:nth-child(2) {  background-color: rgba(238, 118, 116, 0.1);  color: var(--secondary-color);}

.tag-badge:nth-child(3) {
  background-color: rgba(61, 193, 157, 0.1);
  color: #3dc19d;
}

.hero-title {
  margin-bottom: 15px;
  line-height: 1.1;
}

.greeting {
  display: block;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-light);
}

.name {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -1px;
  white-space: nowrap;
  line-height: 1.1;
  display: inline-block;
}

.name .highlight {
  color: var(--primary-color);
}

.hero-subtitle-wrapper {
  margin-bottom: 20px;
  position: relative;
  padding-left: 30px;
}

.hero-subtitle-wrapper:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 3px;
  background-color: var(--primary-color);
  transform: translateY(-50%);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
}

.hero-description {
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-light);
}

.hero-stats {
  display: flex;
  gap: 50px;
  margin-bottom: 40px;
}

.stat-item {
  position: relative;
}

.stat-value {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary-color);
  display: flex;
  align-items: flex-start;
}

.stat-plus, .stat-percent {
  font-size: 1.8rem;
  font-weight: 700;
  margin-left: 3px;
  margin-top: 3px;
}

.stat-label {
  margin-top: 10px;
  font-size: 1rem;
  color: var(--text-light);
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.outline-btn {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.outline-btn:hover {
  background: rgba(138, 77, 118, 0.1);
  transform: translateY(-3px);
}

.hero-scroll {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--text-light);
  font-size: 0.9rem;
  opacity: 0.8;
  animation: fade-in-out 2s ease-in-out infinite;
  z-index: 3;
}

.hero-scroll i {
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes fade-in-out {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

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

/* Responsive */
@media (max-width: 1200px) {
  .hero-image-wrapper {
    width: 38%;
  }
  
  .name {
    font-size: 3.5rem;
  }
}

@media (max-width: 992px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    padding-top: 120px;
  }
  
  .hero-image-wrapper {
    position: relative;
    width: 50%;
    height: 400px;
    margin: 0 auto 50px;
    grid-row: 1;
  }
  
  .image-shape, .shape-overlay {
    top: 0;
    height: 100%;
    transform: none;
    clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 15% 100%);
  }
  
  .hero-content {
    grid-row: 2;
    text-align: center;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .hero-subtitle-wrapper {
    padding-left: 0;
  }
  
  .hero-subtitle-wrapper:before {
    left: 50%;
    top: -15px;
    width: 50px;
    transform: translateX(-50%);
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .badge-wrapper {
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .tag-badges {
    justify-content: center;
  }
  
  .hero-subtitle {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .hero-wrapper {
    padding-top: 100px;
    padding-bottom: 80px;
  }
  
  .hero-image-wrapper {
    width: 70%;
    height: 350px;
  }
  
  .image-shape, .shape-overlay {
    clip-path: polygon(0% 0%, 100% 0%, 80% 100%, 20% 100%);
  }
  
  .science-icon {
    width: 45px;
    height: 45px;
  }
  
  .science-icon i {
    font-size: 1.3rem;
  }
  
  .experience-badge {
    width: 80px;
    height: 80px;
  }
  
  .exp-years {
    font-size: 1.6rem;
  }
  
  .exp-text {
    font-size: 0.6rem;
  }
  
  .name {
    font-size: 3rem;
    white-space: normal;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-scroll {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-wrapper {
    min-height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  
  .hero-image-wrapper {\n    width: 85%;\n    height: 180px;\n    margin-bottom: 10px;\n  }\n\n  .hero-content {\n    padding: 0;\n    max-width: 100%;\n  }\n\n  .tag-badges {\n    margin-bottom: 5px;\n    gap: 5px;\n  }\n\n  .tag-badge {\n    padding: 3px 8px;\n    font-size: 0.7rem;\n  }
  
  .image-shape, .shape-overlay {
    clip-path: polygon(0% 0%, 100% 0%, 75% 100%, 25% 100%);
    height: 70%;
  }
  
  .name {
    font-size: 2.3rem;
    margin-bottom: 5px;
  }
  
  .greeting {
    font-size: 1rem;
    margin-bottom: 5px;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  .hero-description {
    margin-bottom: 12px;
    font-size: 0.9rem;
  }
  
  .stat-value {
    font-size: 2rem;
  }
  
  .stat-plus, .stat-percent {
    font-size: 1.2rem;
  }
  
  .hero-stats {
    gap: 25px;
    margin-bottom: 20px;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-actions .btn {
    width: 100%;
    padding: 10px 20px;
  }
  
  .icon-1, .icon-4 {
    display: none;
  }
  
  .icon-2, .icon-3 {
    width: 40px;
    height: 40px;
  }
}

/* About Section */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  position: relative;
  overflow: visible;
}

/* Image Side Styling */
.about-image-container {
  position: relative;
  background: radial-gradient(circle at 20% 20%, var(--bg-light) 0%, var(--bg-color) 100%);
  border-radius: 20px;
  padding: 25px;
  box-shadow: var(--box-shadow);
  overflow: visible;
  height: fit-content;
}

.image-frame {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transform: perspective(1000px) rotateY(3deg);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 2;
}

.image-frame:hover {
  transform: perspective(1000px) rotateY(0deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.image-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.6s ease;
}

.image-frame:hover img {
  transform: scale(1.03);
}

.experience-indicator {
  position: absolute;
  bottom: -25px;
  right: 30px;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 20px rgba(138, 77, 118, 0.3);
  z-index: 3;
}

.exp-number {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.exp-text {
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.2;
  max-width: 90%;
  margin-top: 2px;
}

.decorative-element {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--bg-color);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 4;
  animation: float-element 6s ease-in-out infinite;
  color: var(--primary-color);
  font-size: 1.4rem;
}

.element-1 {
  top: -15px;
  left: 50px;
  animation-delay: 0s;
}

.element-2 {
  bottom: 60px;
  left: -15px;
  animation-delay: 2s;
}

.element-3 {
  top: 70px;
  right: -15px;
  animation-delay: 1s;
}

/* Content Side Styling */
.about-content-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-top-bar {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.professional-badge, .specialty-badge {
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.professional-badge {  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);  color: white;  box-shadow: 0 5px 15px rgba(59, 142, 165, 0.2);}

.specialty-badge {
  background-color: rgba(138, 77, 118, 0.1);
  color: var(--primary-color);
  border: 1px solid rgba(138, 77, 118, 0.3);
}

.about-greeting {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.about-intro {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-description {
  margin-bottom: 30px;
  line-height: 1.8;
  color: var(--text-color);
}

.about-stats {
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  margin: 30px 0;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
}

.about-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.about-cta {
  padding: 14px 28px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.about-cta.download-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
}

.about-cta.download-btn:hover {
  background-color: rgba(138, 77, 118, 0.1);
  transform: translateY(-5px);
}

.about-cta.primary-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(138, 77, 118, 0.25);
}

@media (max-width: 576px) {
  .about-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .about-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Responsive styles for About section */
@media (max-width: 1200px) {
  .about-wrapper {
    gap: 40px;
  }
  
  .about-image-container {
    padding: 25px;
  }
  
  .about-stats {
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .about-image-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 25px;
  }
  
  .decorative-element {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .about-top-bar {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  
  .professional-badge, .specialty-badge {
    font-size: 0.8rem;
  }
  
  .about-greeting {
    font-size: 1.8rem;
  }
  
  .about-intro {
    font-size: 1.1rem;
  }
  
  .about-stats {
    flex-wrap: wrap;
    gap: 30px 40px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .about-image-container {
    padding: 20px;
  }
  
  .experience-indicator {
    width: 80px;
    height: 80px;
    bottom: -15px;
    right: 15px;
  }
  
  .exp-number {
    font-size: 2rem;
  }
  
  .decorative-element {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  
  .element-1 {
    top: -10px;
    left: 30px;
  }
  
  .element-2 {
    bottom: 50px;
    left: -10px;
  }
  
  .element-3 {
    top: 60px;
    right: -10px;
  }
}

/* Education Section Styles */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.edu-card {
  background: var(--bg-light);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
    height: 100%;
  display: flex;
  flex-direction: column;
    position: relative;
  border-top: 5px solid var(--primary-color);
    opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s forwards;
  animation-delay: calc(var(--delay, 0) * 0.1s);
}

.edu-card:nth-child(1) {
  --delay: 1;
}

.edu-card:nth-child(2) {
  --delay: 2;
  border-top-color: var(--secondary-color);
}

.edu-card:nth-child(3) {
  --delay: 3;
  border-top-color: var(--accent-color);
}

.edu-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.edu-card-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 15px 20px;
    display: flex;
  justify-content: space-between;
    align-items: center;
  color: white;
}

.edu-card:nth-child(2) .edu-card-header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
}

.edu-card:nth-child(3) .edu-card-header {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.edu-year {
  font-weight: 600;
  font-size: 1rem;
    display: flex;
    align-items: center;
}

.edu-degree-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
}

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

.edu-title {
  margin: 0;
  font-size: 1.4rem;
  color: var(--text-color);
  font-weight: 600;
}

.edu-institution {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.edu-institution i {
  font-size: 1.4rem;
    color: var(--primary-color);
  margin-top: 3px;
}

.edu-card:nth-child(2) .edu-institution i {
    color: var(--secondary-color);
}

.edu-card:nth-child(3) .edu-institution i {
    color: var(--accent-color);
}

.edu-institution h4 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  font-weight: 500;
}

.edu-location {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.edu-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 5px;
}

.edu-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 45%;
}

.edu-stat i {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  color: var(--primary-color);
}

.edu-card:nth-child(2) .edu-stat i {
  background: rgba(var(--secondary-rgb), 0.1);
  color: var(--secondary-color);
}

.edu-card:nth-child(3) .edu-stat i {
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent-color);
}

.edu-stat div {
  display: flex;
  flex-direction: column;
}

.edu-stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.edu-stat strong {
  font-weight: 600;
  color: var(--text-color);
}

.edu-details {
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 15px;
}

.edu-details-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.edu-details-header span {
  font-weight: 500;
  color: var(--primary-color);
}

.edu-card:nth-child(2) .edu-details-header span {
  color: var(--secondary-color);
}

.edu-card:nth-child(3) .edu-details-header span {
  color: var(--accent-color);
}

.details-toggle {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.details-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

.details-toggle i {
  transition: transform 0.3s ease;
}

.details-toggle.active i {
  transform: rotate(180deg);
}

.edu-details-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.edu-details-content.active {
  max-height: 300px;
}

.edu-details-content ul {
  margin: 15px 0 0 0;
  padding: 0 0 0 20px;
}

.edu-details-content li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-color);
}

/* Dark mode adjustments */
.dark-mode .edu-card {
  background: var(--dark-bg-secondary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.dark-mode .edu-title,
.dark-mode .edu-institution h4,
.dark-mode .edu-stat strong,
.dark-mode .edu-details-content li {
  color: var(--dark-text);
}

.dark-mode .edu-location,
.dark-mode .edu-stat span {
  color: var(--dark-text-muted);
}

.dark-mode .edu-details {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .details-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .education-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .education-grid {
    grid-template-columns: 1fr;
  }
  
  .edu-card {
    max-width: 100%;
  }
}

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

/* Skills Section */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.skill-category {
  margin-bottom: 30px;
}

.skill-category h3 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 15px;
}

.skill-item {
  background-color: var(--bg-color);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.skill-item:hover {
  transform: var(--card-hover-transform);
  box-shadow: var(--box-shadow-hover);
}

.skill-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Languages Section */
.languages-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.language-item {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background-color: var(--bg-color);
  box-shadow: var(--box-shadow);
  width: 200px;
  transition: var(--transition);
}

.language-item:hover {
  transform: var(--card-hover-transform);
  box-shadow: var(--box-shadow-hover);
}

.language-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.language-item h3 {
  margin-bottom: 10px;
}

.proficiency {
  height: 6px;
  background-color: var(--border-color);
  border-radius: 10px;
  margin: 15px 0;
  overflow: hidden;
}

.proficiency-bar {
  height: 100%;
  border-radius: 10px;
  background-color: var(--primary-color);
}

.native {
  width: 100%;
}

.fluent {
  width: 90%;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

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

.contact-detail h3 {
  margin-bottom: 5px;
}

.contact-form {
  background-color: var(--bg-color);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--bg-light);
  color: var(--text-color);
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(138, 77, 118, 0.1);
}

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

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.3);
    border: none;
    overflow: hidden;
}

#back-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

#back-to-top.visible:hover::before {
    transform: translateX(100%);
}

#back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.4);
}

#back-to-top i {
    font-size: 20px;
    transition: all 0.3s ease;
}

#back-to-top:hover i {
    animation: float-arrow 1.2s ease infinite;
}

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

.dark-mode #back-to-top {
    background: linear-gradient(135deg, var(--primary-color), #2D3748);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.dark-mode #back-to-top:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

/* Hide the footer back-to-top button */
.back-to-top-btn {
    display: none;
}

@media (max-width: 768px) {
    #back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        border-radius: 8px;
    }
    
    #back-to-top i {
        font-size: 18px;
    }
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 30px 0;
    position: relative;
    margin-top: 50px;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-left {
    display: flex;
    align-items: center;
}

.footer-right {
    display: flex;
    align-items: center;
}

.footer-logo {
    max-width: 100px;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.85;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 5px;
}

.back-to-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    margin-left: 20px;
    transition: var(--transition);
    position: absolute;
    right: 20px;
}

.back-to-top-btn i {
    font-size: 0.9rem;
}

.back-to-top-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-separator {
        display: none;
    }

    .back-to-top-btn {
        position: static;
        margin-top: 15px;
        margin-left: 0;
    }
}

/* Media Queries for New Sections */
@media (min-width: 768px) {
  .philosophy-content {
    flex-direction: row;
    align-items: center;
    gap: 50px;
  }
  
  .philosophy-image {
    flex: 1;
    max-width: 40%;
  }
  
  .philosophy-text {
    flex: 1.5;
  }
}

@media (max-width: 768px) {
  .testimonials-container {
    grid-template-columns: 1fr;
  }
  
  .philosophy-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .philosophy-icon {
    margin-bottom: 10px;
  }
}

/* Philosophy Section Styles */
.philosophy-content {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 40px;
  margin-bottom: 30px;
}

.philosophy-image {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  position: relative;
}

.philosophy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.philosophy-text {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.philosophy-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.3s ease;
}

.philosophy-item:hover {
  transform: translateY(-5px);
}

.philosophy-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.philosophy-item:hover .philosophy-icon {
  transform: rotate(10deg);
}

.philosophy-detail h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.philosophy-detail p {
  color: var(--text-light);
  line-height: 1.7;
}

@media (max-width: 992px) {
  .philosophy-content {
    flex-direction: column;
  }
  
  .philosophy-image {
    max-width: 100%;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .philosophy-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .philosophy-icon {
    margin-bottom: 15px;
  }
  
  .philosophy-detail h3 {
    font-size: 1.2rem;
  }
}

/* Subjects Section */
.subject-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.subject-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  position: relative;
}

.subject-intro p::before {
  content: '"';
  font-family: 'Georgia', serif;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  color: var(--primary-color);
  opacity: 0.1;
  line-height: 1;
}

.academic-focus-wrapper {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03) 0%, rgba(var(--secondary-rgb), 0.03) 100%);
  border-radius: 2rem;
  padding: 3rem;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.academic-focus-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.5;
  transform: translate(30%, -30%);
}

.academic-focus-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.1), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.4;
  transform: translate(-30%, 30%);
}

/* Academic Focus Areas / Curriculum Design */
.curriculum-levels {
  margin-bottom: 60px;
}

.curriculum-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.level-intro {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.level-intro-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.level-intro-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);
}

.curriculum-tabs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.curriculum-tabs::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 60px;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  border-radius: 4px;
  z-index: 0;
}

.level-tab {
  display: flex;
  position: relative;
  background: var(--bg-light);
  border-radius: 1.5rem;
  padding: 0;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden; /* Add overflow hidden to prevent showing content before transition */
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.level-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--secondary-rgb), 0.05) 100%);
  z-index: 0;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.level-tab:hover {
  transform: translateX(8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.level-tab:hover::before {
  opacity: 1;
}

.level-tab.active {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.1) 100%);
  transform: translateX(15px);
  box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.15);
  border-color: var(--primary-color);
}

.tab-icon {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.level-tab:hover .tab-icon {
  transform: scale(1.05);
}

.tab-label {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0 1.5rem 2rem;
  flex: 1;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.tab-label span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  transition: color 0.3s ease;
  letter-spacing: -0.2px;
  margin-bottom: 0.5rem;
}

.level-tab.active .tab-label span {
  color: var(--primary-color);
}

.tab-label small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 0.3rem 1rem;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 2rem;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.tab-description {
  padding-right: 2rem;
}

.tab-description p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-light);
  margin: 0;
}

.curriculum-content {
  display: none;
  visibility: hidden;
  opacity: 0;
  height: 0;
  overflow: hidden; /* Add overflow hidden to prevent showing content before transition */
  transition: opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateY(15px);
  position: relative;
  will-change: transform, opacity;
}

.curriculum-content.active {
  display: block;
  visibility: visible;
  opacity: 1;
  height: auto;
  overflow: visible; /* Reset overflow to visible */
  transform: translateY(0);
  animation: contentFadeIn 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes contentFadeIn {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Competency Grid */
.competency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.competency-area {
  background-color: var(--bg-light);
  border-radius: 1.25rem;
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.05);
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.competency-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 1.25rem;
  border: 0 solid var(--primary-color);
  z-index: -1;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0;
}

.competency-area:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.competency-area:hover::before {
  border-width: 5px;
  opacity: 1;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
}

.competency-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
}

.competency-header::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
  transition: all 0.3s ease;
}

.competency-area:hover .competency-header::after {
  width: 100px;
}

.competency-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: rotate(-5deg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.competency-area:hover .competency-icon {
  transform: rotate(0) scale(1.1);
}

.curriculum-science-icon {  background: linear-gradient(135deg, #3B8EA5 0%, #4ECDC4 100%);}

.lang-icon {  background: linear-gradient(135deg, #EE7674 0%, #DB2777 100%);}

.math-icon {
  background: linear-gradient(135deg, #3dc19d 0%, #31a083 100%);
}

.advanced-science-icon {
  background: linear-gradient(135deg, #3B8EA5 0%, #4ECDC4 100%);
}

.adv-lang-icon {
  background: linear-gradient(135deg, #F4ABC4 0%, #DB2777 100%);
}

.adv-math-icon {
  background: linear-gradient(135deg, #3dc19d 0%, #31a083 100%);
}

.tech-icon {
  background: linear-gradient(135deg, #f7b733 0%, #e09a1d 100%);
}

.competency-header h3 {
  font-size: 1.4rem;
  margin-bottom: 0;
  color: var(--primary-color);
}

.outcome-list {
  margin: 0 0 20px 0;
  padding-left: 5px;
  list-style: none;
  flex: 1;
}

.outcome-list li {
  margin-bottom: 12px;
  position: relative;
  line-height: 1.6;
  padding-left: 28px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.outcome-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background-color: rgba(var(--primary-rgb), 0.15);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.outcome-list li::after {
  content: "✓";
  color: var(--primary-color);
  position: absolute;
  left: 4px;
  top: 0px;
  font-size: 10px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.competency-area:hover .outcome-list li::before {
  background-color: rgba(var(--primary-rgb), 0.25);
  transform: scale(1.1);
}

.competency-area:hover .outcome-list li {
  transform: translateX(3px);
}

.curriculum-details {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid rgba(var(--primary-rgb), 0.1);
  position: relative;
}

.curriculum-details::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 30%;
  height: 1px;
  background: linear-gradient(to right, var(--primary-color), transparent);
  transition: all 0.3s ease;
}

.competency-area:hover .curriculum-details::before {
  width: 60%;
}

.curriculum-topics {
  flex: 1;
}

.curriculum-topics span {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-tag {
  display: inline-block;
  padding: 5px 12px;
  background-color: rgba(var(--primary-rgb), 0.08);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-color);
  transition: all 0.3s ease;
  font-weight: 500;
}

.topic-tag:hover {
  background-color: rgba(var(--primary-rgb), 0.15);
  transform: translateY(-2px);
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary-color);
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 20px;
  background-color: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  font-size: 0.85rem;
}

.learn-more i {
  transition: all 0.3s ease;
  font-size: 0.8rem;
}

.learn-more:hover {
  color: white;
  background-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.learn-more:hover i {
  transform: translateX(3px);
  color: white;
}

/* Teaching Methodology */
.teaching-methodology {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.08));
  padding: 3.5rem;
  border-radius: 1.5rem;
  margin-top: 60px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateY(0);
}

/*
* Farzana Akter Faria - Personal Portfolio Website
* Modern Design
*/

/* Base Styles - Theme Colors */
:root {
    /* Primary Colors */
    --primary-color: #3B8EA5;  /* Teal */
    --primary-rgb: 59, 142, 165;
    --secondary-color: #EE7674; /* Coral */
    --accent-color: #F2BB05; /* Golden Yellow */
    --light-color: #FAF7F2; /* Soft Ivory */
    --dark-color: #1A535C; /* Deep Teal */
    
    /* Light Mode Colors */
    --bg-color: #F8F9FA;
    --text-color: #2D3748;
    --heading-color: #1A202C;
    --bg-alternate: #EFF1F3;
    --bg-light: #FFFFFF;
    --border-color: #E2E8F0;
    --nav-text: #4A5568;
    --nav-hover: #3B8EA5;
    --nav-active: #3B8EA5;
    
    /* Components */
    --card-bg: #FFFFFF;
    --card-border: #EDF2F7;
    --input-bg: #FFFFFF;
    --input-border: #E2E8F0;
    --input-text: #4A5568;
    --input-placeholder: #A0AEC0;
    --btn-primary-bg: #3B8EA5;
    --btn-primary-text: #FFFFFF;
    --btn-hover-bg: #2C7A8E;
    --btn-hover-text: #FFFFFF;
    --section-bg: #F8F9FA;
    --section-alt-bg: #EFF1F3;
    
    /* Effects */
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Dark Mode Variables */
.dark-mode {
    --bg-color: #1A202C;
    --text-color: #E2E8F0;
    --heading-color: #F7FAFC;
    --bg-alternate: #2D3748;
    --bg-light: #2D3748;
    --border-color: #4A5568;
    --nav-text: #A0AEC0;
    --nav-hover: #EE7674;
    --nav-active: #EE7674;
    
    /* Components */
    --card-bg: #2D3748;
    --card-border: #4A5568;
    --input-bg: #2D3748;
    --input-border: #4A5568;
    --input-text: #E2E8F0;
    --input-placeholder: #A0AEC0;
    --btn-primary-bg: #EE7674;
    --btn-primary-text: #1A202C;
    --btn-hover-bg: #E84A47;
    --btn-hover-text: #1A202C;
    --section-bg: #1A202C;
    --section-alt-bg: #2D3748;
    
    /* Effects */
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.4);
    
    /* Apply dark mode to body */
    background-color: var(--bg-color);
    color: var(--text-color);
}

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

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: var(--transition);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 15px;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 15px;
}

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

a:hover {
  color: var(--secondary-color);
}

ul, ol {
  list-style: none;
  padding-left: 0;
}

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

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

.section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0; /* Remove any bottom margin to control spacing consistently */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    visibility: visible;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

section:nth-of-type(odd) {
    background-color: var(--bg-light);
}

section:nth-of-type(even) {
    background-color: var(--bg-alt);
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.highlight {
  color: var(--primary-color);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  position: relative;
  display: inline-block;
  font-size: 2.2rem;
  margin-bottom: 15px;
  text-transform: capitalize;
}

.section-line {
  width: 70px;
  height: 3px;
  background: var(--primary-color);
  margin: 0 auto;
}

/* Base Button Styles - Modern Design */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    outline: none;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 0.625rem;
    border: 0px solid transparent;
    z-index: -1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.btn:hover::before {
    border-width: 5px;
    opacity: 1;
}

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

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

.primary-btn::before {
    border-color: var(--secondary-color);
}

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

.outline-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
    background-color: rgba(var(--primary-rgb), 0.05);
}

.outline-btn::before {
    border-color: var(--accent-color);
}

.dark-mode .btn {
    color: white;
}

.dark-mode .primary-btn {
    background-color: var(--primary-color);
}

.dark-mode .primary-btn:hover {
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.4);
}

.dark-mode .outline-btn {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.dark-mode .outline-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

/* Mobile responsive buttons */
@media (max-width: 576px) {
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn:hover::before {
        border-width: 4px;
    }
}

/* Base Card Styles - Modern Design */
.card {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    z-index: 1;
    transform: translateY(0);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card:hover::before {
    border-width: 5px;
    opacity: 1;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
}

.card-header {
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    margin-bottom: 1rem;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .card-badge {
    transform: translateY(-3px);
    background-color: rgba(var(--primary-rgb), 0.15);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .card-title {
    color: var(--primary-color);
}

.card-decoration {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0.15;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 0;
}

.card:hover .card-decoration {
    transform: scale(1.2) rotate(15deg);
    opacity: 0.25;
}

/* Dark mode card styles */
.dark-mode .card {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-mode .card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.dark-mode .card::before {
    border-color: var(--primary-color);
}

.dark-mode .card-badge {
    background-color: rgba(var(--primary-rgb), 0.2);
}

.dark-mode .card:hover .card-badge {
    background-color: rgba(var(--primary-rgb), 0.3);
}

/* Special card variations */
.education-card, 
.experience-card, 
.competency-area {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
}

.education-card::before, 
.experience-card::before, 
.competency-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.education-card:hover, 
.experience-card:hover, 
.competency-area:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.education-card:hover::before, 
.experience-card:hover::before, 
.competency-area:hover::before {
    border-width: 5px;
    opacity: 1;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
}

/* Education card specific styles */
.education-card {
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.education-card:hover {
    border-left-width: 8px;
}

/* Experience card specific styles */
.experience-card {
    border-top: 5px solid var(--secondary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.experience-card:hover {
    border-top-width: 8px;
}

/* Competency area specific styles */
.competency-area {
    border-bottom: 5px solid var(--accent-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.competency-area:hover {
    border-bottom-width: 8px;
}

/* Dark mode for special cards */
.dark-mode .education-card, 
.dark-mode .experience-card, 
.dark-mode .competency-area {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .education-card {
    border-left-color: var(--primary-color);
}

.dark-mode .experience-card {
    border-top-color: var(--secondary-color);
}

.dark-mode .competency-area {
    border-bottom-color: var(--accent-color);
}

.dark-mode .education-card:hover, 
.dark-mode .experience-card:hover, 
.dark-mode .competency-area:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Card content animation */
.card-content {
    position: relative;
    z-index: 1;
}

.card:hover .card-content {
    transform: translateZ(5px);
}

/* Skill and Methodology cards */
.skill-item, .methodology-highlight {
    background-color: var(--bg-light);
    border-radius: 1rem;
    padding: 2.25rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.06);
}

.skill-item::before, .methodology-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.skill-item:hover, .methodology-highlight:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.skill-item:hover::before, .methodology-highlight:hover::before {
    border-width: 4px;
    opacity: 1;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
}

.dark-mode .skill-item, .dark-mode .methodology-highlight {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .skill-item:hover, .dark-mode .methodology-highlight:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* Language items */
.language-item {
    background-color: var(--bg-light);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.language-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.language-item:hover {
    transform: translateY(-7px) scale(1.04);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.language-item:hover::before {
    border-width: 4px;
    opacity: 1;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
}

.dark-mode .language-item {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .language-item:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

/* Testimonial cards */
.testimonial-card {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    border-top: 5px solid var(--primary-color);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.05), transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card.active {
    transform: rotateY(0deg) translateZ(0) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 2.75rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    margin-bottom: 25px;
}

.testimonial-content:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.dark-mode .testimonial-card,
.dark-mode .testimonial-content {
    background-color: var(--bg-alternate);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .testimonial-card.active {
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

/* Coming soon container */
.coming-soon-container {
  background: var(--bg-color);
  border-radius: var(--card-border-radius);
  box-shadow: var(--box-shadow);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
  text-align: center;
  margin: 30px auto;
  max-width: 650px;
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  background-image: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.03) 0%,
    rgba(var(--primary-rgb), 0.01) 100%
  );
}

.coming-soon-container::before {
    content: '';
    position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: calc(var(--card-border-radius) + 2px);
    z-index: -1;
    opacity: 0;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.coming-soon-container:hover {
  transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.coming-soon-container:hover::before {
    opacity: 1;
}

.coming-soon-icon {
  position: relative;
  width: 110px;
  height: 110px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: all 0.5s ease;
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.15);
}

.coming-soon-icon::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2px solid rgba(var(--primary-rgb), 0.2);
  animation: pulse-border 2.5s infinite ease-out;
}

.coming-soon-icon i {
  font-size: 46px;
  color: var(--primary-color);
  animation: pulse-icon 2s infinite alternate;
}

.coming-soon-text {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

/*
* Farzana Akter Faria - Personal Portfolio Website
* Modern Design
*/

/* Base Styles - Theme Colors */
:root {
    /* Primary Colors */
    --primary-color: #3B8EA5;  /* Teal */
    --primary-rgb: 59, 142, 165;
    --secondary-color: #EE7674; /* Coral */
    --accent-color: #F2BB05; /* Golden Yellow */
    --light-color: #FAF7F2; /* Soft Ivory */
    --dark-color: #1A535C; /* Deep Teal */
    
    /* Light Mode Colors */
    --bg-color: #F8F9FA;
    --text-color: #2D3748;
    --heading-color: #1A202C;
    --bg-alternate: #EFF1F3;
    --bg-light: #FFFFFF;
    --border-color: #E2E8F0;
    --nav-text: #4A5568;
    --nav-hover: #3B8EA5;
    --nav-active: #3B8EA5;
    
    /* Components */
    --card-bg: #FFFFFF;
    --card-border: #EDF2F7;
    --input-bg: #FFFFFF;
    --input-border: #E2E8F0;
    --input-text: #4A5568;
    --input-placeholder: #A0AEC0;
    --btn-primary-bg: #3B8EA5;
    --btn-primary-text: #FFFFFF;
    --btn-hover-bg: #2C7A8E;
    --btn-hover-text: #FFFFFF;
    --section-bg: #F8F9FA;
    --section-alt-bg: #EFF1F3;
    
    /* Effects */
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Dark Mode Variables */
.dark-mode {
    --bg-color: #1A202C;
    --text-color: #E2E8F0;
    --heading-color: #F7FAFC;
    --bg-alternate: #2D3748;
    --bg-light: #2D3748;
    --border-color: #4A5568;
    --nav-text: #A0AEC0;
    --nav-hover: #EE7674;
    --nav-active: #EE7674;
    
    /* Components */
    --card-bg: #2D3748;
    --card-border: #4A5568;
    --input-bg: #2D3748;
    --input-border: #4A5568;
    --input-text: #E2E8F0;
    --input-placeholder: #A0AEC0;
    --btn-primary-bg: #EE7674;
    --btn-primary-text: #1A202C;
    --btn-hover-bg: #E84A47;
    --btn-hover-text: #1A202C;
    --section-bg: #1A202C;
    --section-alt-bg: #2D3748;
    
    /* Effects */
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.4);
    
    /* Apply dark mode to body */
    background-color: var(--bg-color);
    color: var(--text-color);
}

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

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: var(--transition);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 15px;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 15px;
}

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

a:hover {
  color: var(--secondary-color);
}

ul, ol {
  list-style: none;
  padding-left: 0;
}

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

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

.section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0; /* Remove any bottom margin to control spacing consistently */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    visibility: visible;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

section:nth-of-type(odd) {
    background-color: var(--bg-light);
}

section:nth-of-type(even) {
    background-color: var(--bg-alt);
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.highlight {
  color: var(--primary-color);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  position: relative;
  display: inline-block;
  font-size: 2.2rem;
  margin-bottom: 15px;
  text-transform: capitalize;
}

.section-line {
  width: 70px;
  height: 3px;
  background: var(--primary-color);
  margin: 0 auto;
}

/* Base Button Styles - Modern Design */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    outline: none;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 0.625rem;
    border: 0px solid transparent;
    z-index: -1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.btn:hover::before {
    border-width: 5px;
    opacity: 1;
}

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

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

.primary-btn::before {
    border-color: var(--secondary-color);
}

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

.outline-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
    background-color: rgba(var(--primary-rgb), 0.05);
}

.outline-btn::before {
    border-color: var(--accent-color);
}

.dark-mode .btn {
    color: white;
}

.dark-mode .primary-btn {
    background-color: var(--primary-color);
}

.dark-mode .primary-btn:hover {
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.4);
}

.dark-mode .outline-btn {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.dark-mode .outline-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

/* Mobile responsive buttons */
@media (max-width: 576px) {
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn:hover::before {
        border-width: 4px;
    }
}

/* Base Card Styles - Modern Design */
.card {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    z-index: 1;
    transform: translateY(0);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card:hover::before {
    border-width: 5px;
    opacity: 1;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
}

.card-header {
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    margin-bottom: 1rem;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .card-badge {
    transform: translateY(-3px);
    background-color: rgba(var(--primary-rgb), 0.15);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .card-title {
    color: var(--primary-color);
}

.card-decoration {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0.15;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 0;
}

.card:hover .card-decoration {
    transform: scale(1.2) rotate(15deg);
    opacity: 0.25;
}

/* Dark mode card styles */
.dark-mode .card {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-mode .card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.dark-mode .card::before {
    border-color: var(--primary-color);
}

.dark-mode .card-badge {
    background-color: rgba(var(--primary-rgb), 0.2);
}

.dark-mode .card:hover .card-badge {
    background-color: rgba(var(--primary-rgb), 0.3);
}

/* Special card variations */
.education-card, 
.experience-card, 
.competency-area {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
}

.education-card::before, 
.experience-card::before, 
.competency-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.education-card:hover, 
.experience-card:hover, 
.competency-area:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.education-card:hover::before, 
.experience-card:hover::before, 
.competency-area:hover::before {
    border-width: 5px;
    opacity: 1;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
}

/* Education card specific styles */
.education-card {
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.education-card:hover {
    border-left-width: 8px;
}

/* Experience card specific styles */
.experience-card {
    border-top: 5px solid var(--secondary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.experience-card:hover {
    border-top-width: 8px;
}

/* Competency area specific styles */
.competency-area {
    border-bottom: 5px solid var(--accent-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.competency-area:hover {
    border-bottom-width: 8px;
}

/* Dark mode for special cards */
.dark-mode .education-card, 
.dark-mode .experience-card, 
.dark-mode .competency-area {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .education-card {
    border-left-color: var(--primary-color);
}

.dark-mode .experience-card {
    border-top-color: var(--secondary-color);
}

.dark-mode .competency-area {
    border-bottom-color: var(--accent-color);
}

.dark-mode .education-card:hover, 
.dark-mode .experience-card:hover, 
.dark-mode .competency-area:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Card content animation */
.card-content {
    position: relative;
    z-index: 1;
}

.card:hover .card-content {
    transform: translateZ(5px);
}

/* Skill and Methodology cards */
.skill-item, .methodology-highlight {
    background-color: var(--bg-light);
    border-radius: 1rem;
    padding: 2.25rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.06);
}

.skill-item::before, .methodology-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.skill-item:hover, .methodology-highlight:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.skill-item:hover::before, .methodology-highlight:hover::before {
    border-width: 4px;
    opacity: 1;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
}

.dark-mode .skill-item, .dark-mode .methodology-highlight {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .skill-item:hover, .dark-mode .methodology-highlight:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* Language items */
.language-item {
    background-color: var(--bg-light);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.language-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.language-item:hover {
    transform: translateY(-7px) scale(1.04);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.language-item:hover::before {
    border-width: 4px;
    opacity: 1;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
}

.dark-mode .language-item {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .language-item:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

/* Testimonial cards */
.testimonial-card {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    border-top: 5px solid var(--primary-color);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.05), transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card.active {
    transform: rotateY(0deg) translateZ(0) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 2.75rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    margin-bottom: 25px;
}

.testimonial-content:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.dark-mode .testimonial-card,
.dark-mode .testimonial-content {
    background-color: var(--bg-alternate);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .testimonial-card.active {
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

/* Coming soon container */
.coming-soon-container {
  background: var(--bg-color);
  border-radius: var(--card-border-radius);
  box-shadow: var(--box-shadow);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
  text-align: center;
  margin: 30px auto;
  max-width: 650px;
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  background-image: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.03) 0%,
    rgba(var(--primary-rgb), 0.01) 100%
  );
}

.coming-soon-container::before {
    content: '';
    position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: calc(var(--card-border-radius) + 2px);
    z-index: -1;
    opacity: 0;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.coming-soon-container:hover {
  transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.coming-soon-container:hover::before {
    opacity: 1;
}

.coming-soon-icon {
  position: relative;
  width: 110px;
  height: 110px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: all 0.5s ease;
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.15);
}

.coming-soon-icon::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2px solid rgba(var(--primary-rgb), 0.2);
  animation: pulse-border 2.5s infinite ease-out;
}

.coming-soon-icon i {
  font-size: 46px;
  color: var(--primary-color);
  animation: pulse-icon 2s infinite alternate;
}

.coming-soon-text {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.coming-soon-text::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.coming-soon-container p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-color);
  max-width: 500px;
  margin: 20px auto 0;
}

.coming-soon-container .resource-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}

.resource-tag {
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.resource-tag i {
  font-size: 12px;
}

.dark-mode .coming-soon-container {
    background-color: var(--bg-alternate);
  background-image: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.08) 0%,
    rgba(var(--primary-rgb), 0.02) 100%
  );
    border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.dark-mode .coming-soon-icon {
  background-color: rgba(var(--primary-rgb), 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dark-mode .resource-tag {
  background-color: rgba(var(--primary-rgb), 0.15);
}

.dark-mode .coming-soon-container:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

@keyframes pulse-icon {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}

@keyframes pulse-border {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  70% {
    transform: scale(1.15);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Media queries for coming soon */
@media (max-width: 768px) {
  .coming-soon-container {
    padding: 40px 25px;
  }
  
  .coming-soon-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 25px;
  }
  
  .coming-soon-icon i {
    font-size: 38px;
  }
  
  .coming-soon-text {
    font-size: 28px;
  }
  
  .coming-soon-container p {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .coming-soon-container {
    padding: 30px 20px;
  }
  
  .coming-soon-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }
  
  .coming-soon-icon i {
    font-size: 32px;
  }
  
  .coming-soon-text {
    font-size: 24px;
  }
  
  .coming-soon-text::after {
    width: 60px;
    height: 3px;
  }
  
  .coming-soon-container p {
    font-size: 15px;
  }
  
  .resource-tag {
    padding: 5px 12px;
    font-size: 12px;
  }
}

/* Responsive styles for cards */
@media (max-width: 768px) {
    .card,
    .education-card,
    .experience-card,
    .competency-area,
    .testimonial-card,
    .testimonial-content,
    .coming-soon-container {
        padding: 2.5rem;
    }
    
    .skill-item,
    .methodology-highlight,
    .language-item {
        padding: 1.75rem;
    }
    
    .card:hover,
    .education-card:hover,
    .experience-card:hover,
    .competency-area:hover,
    .testimonial-content:hover,
    .coming-soon-container:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .skill-item:hover,
    .methodology-highlight:hover,
    .language-item:hover {
        transform: translateY(-3px) scale(1.02);
    }
}

@media (max-width: 576px) {
    .card,
    .education-card,
    .experience-card,
    .competency-area,
    .testimonial-card,
    .testimonial-content,
    .coming-soon-container {
        padding: 2rem 1.5rem;
    }
    
    .skill-item,
    .methodology-highlight,
    .language-item {
        padding: 1.5rem 1.25rem;
    }
    
    .card:hover::before,
    .education-card:hover::before,
    .experience-card:hover::before,
    .competency-area:hover::before,
    .skill-item:hover::before,
    .methodology-highlight:hover::before,
    .language-item:hover::before,
    .coming-soon-container:hover::before {
        border-width: 4px;
    }
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 0;
  background-color: var(--bg-color);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition);
}

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

.logo {
  height: 40px;
}

.logo img {
  height: 100%;
  width: auto;
}

/* Navigation */
nav {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

nav .nav-links {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 20px;
  align-items: center;
  list-style: none;
}

.nav-link {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 10px 15px;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-link:hover, .nav-link:focus, .nav-link.active {
  color: var(--primary-color);
  background-color: rgba(var(--primary-rgb), 0.08);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background-color: var(--primary-color);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 5px;
}

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

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.dropdown-toggle i {
  font-size: 0.8rem;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-left: 2px;
}

.dropdown.active .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown.active .dropdown-toggle {
  color: var(--primary-color);
  background-color: rgba(var(--primary-rgb), 0.08);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--bg-color);
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 8px 0;
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  pointer-events: none;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background-color: var(--bg-color);
  border-top: 1px solid rgba(var(--primary-rgb), 0.08);
  border-left: 1px solid rgba(var(--primary-rgb), 0.08);
}

.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-item {
  display: block;
  padding: 10px 18px;
  color: var(--text-color);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-align: left;
  position: relative;
  text-decoration: none;
}

.dropdown-item::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  opacity: 0;
}

.dropdown-item:hover, .dropdown-item:focus {
  background-color: rgba(var(--primary-rgb), 0.08);
  color: var(--primary-color);
  padding-left: 24px;
}

.dropdown-item:hover::before, 
.dropdown-item:focus::before {
  width: 6px;
  opacity: 1;
  transform: translateY(-50%) scaleX(1);
}

.dark-mode .dropdown-menu {
  background-color: var(--bg-dark);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  border-color: rgba(var(--primary-rgb), 0.15);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Language Toggle */
/* Language Toggle - Modern Design */
.language-toggle {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.toggle-container {
  position: relative;
  background: linear-gradient(to right, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0.05));
  border-radius: 24px;
  display: flex;
  padding: 4px;
  width: 110px;
  height: 36px;
  transition: all 0.3s ease;
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.toggle-option {
  position: relative;
  z-index: 2;
  flex: 1;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px;
  cursor: pointer;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-color);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  letter-spacing: 0.02em;
}

.toggle-option span {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0.7;
}

.toggle-option img {
  border-radius: 4px;
  filter: saturate(0.8);
  width: 18px;
  height: 13px;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: scale(0.9);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.toggle-option.active {
  color: var(--bg-color);
}

.toggle-option.active span {
  opacity: 1;
}

.toggle-option.active img {
  filter: saturate(1.2);
  transform: scale(1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
}

#bn-toggle.active ~ .slider {
  left: calc(50% + 0px);
}

.dark-mode .toggle-container {
  background: linear-gradient(to right, rgba(var(--primary-rgb), 0.2), rgba(var(--primary-rgb), 0.1));
  border-color: rgba(var(--primary-rgb), 0.2);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-left: 10px;
    padding: 0;
}

.theme-toggle-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    transform: scale(1.1);
}

.theme-toggle-btn i {
    transition: var(--transition);
}

.dark-mode .theme-toggle-btn {
    color: var(--text-color);
}

.dark-mode .theme-toggle-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.2);
}

.theme-toggle-btn i.fa-sun {
    color: #FFD700;
}

.theme-toggle-btn i.fa-moon {
    color: #6c63ff;
}

.dark-mode .theme-toggle-btn i.fa-sun {
    color: #FDB813;
}

.dark-mode .theme-toggle-btn i.fa-moon {
    color: #8c85ff;
}

/* Mobile menu button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 28px;
  background: var(--text-color);
  border-radius: 10px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Mobile navigation */
@media (max-width: 992px) {
  nav {
    display: flex;
    justify-content: flex-end;
  }
  
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--bg-color);
    flex-direction: column;
    align-items: center;
    padding: 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 99;
    gap: 0;
  }
  
  .nav-links.active {
    height: auto;
    padding: 20px 0;
    opacity: 1;
  }
  
  .hamburger {
    display: flex;
    margin-left: 15px;
  }
  
  .nav-link {
    font-size: 1.1rem;
    padding: 12px 20px;
    width: 100%;
    text-align: center;
    border-radius: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: none;
  }
  
  .nav-links.active .nav-link {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
    transition-delay: 0.1s;
  }
  
  /* Mobile dropdown */
  .dropdown {
    width: 100%;
  }
  
  .dropdown-toggle {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    background-color: transparent !important;
  }
  
  .dropdown-toggle::after {
    position: relative;
    top: 2px;
    margin-left: 8px;
  }
  
  .dropdown-menu {
    position: static !important;
    width: 100%;
    box-shadow: none;
    background-color: rgba(var(--primary-rgb), 0.05);
    padding: 0;
    margin: 0;
    border-radius: 8px;
    max-height: 0;
    overflow: hidden;
    opacity: 1 !important;
    visibility: hidden;
    transform: none !important;
    transition: all 0.4s ease;
    left: 0 !important;
    border: none;
    pointer-events: auto !important;
  }
  
  .dropdown-menu::before {
    display: none;
  }
  
  .dropdown.active .dropdown-menu {
    max-height: 500px;
    padding: 8px 0;
    margin-top: 5px;
    margin-bottom: 5px;
    visibility: visible;
    border-left: 2px solid var(--primary-color);
  }
  
  .dropdown-item {
    padding: 12px 30px;
    text-align: center;
    font-size: 1rem;
    color: var(--text-color);
  }
  
  .dropdown-item::before {
    display: none;
  }
  
  .dropdown-item:hover, 
  .dropdown-item:focus {
    padding-left: 30px;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
  }
  
  .nav-links.active .nav-link:nth-child(2) { transition-delay: 0.15s; }
  .nav-links.active .nav-link:nth-child(3) { transition-delay: 0.2s; }
  .nav-links.active .nav-link:nth-child(4) { transition-delay: 0.25s; }
  .nav-links.active .nav-link:nth-child(5) { transition-delay: 0.3s; }
  .nav-links.active .nav-link:nth-child(6) { transition-delay: 0.35s; }
  .nav-links.active .nav-link:nth-child(7) { transition-delay: 0.4s; }
  .nav-links.active .nav-link:nth-child(8) { transition-delay: 0.45s; }
}

@media (min-width: 993px) and (max-width: 1200px) {
  .nav-link {
    padding: 8px 8px;
    font-size: 0.85rem;
  }
  
  .toggle-container {
    width: 100px;
  }
}

@media (max-width: 576px) {
  header {
    padding: 12px 0;
  }
  
  .header-actions {
    gap: 8px;
  }
  
  .toggle-container {
    width: 100px;
    height: 30px;
  }
  
  .toggle-option {
    font-size: 10px;
  }
  
  .toggle-option img {
    width: 14px;
    height: 10px;
  }
}

/* Hero Section */
#hero {
  position: relative;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  background-color: var(--bg-color); /* Reset to default */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f7fa 0%, #e6e9f0 100%);
  z-index: 0;
}

.dark-mode .hero-bg {
  background: linear-gradient(135deg, #1f2933 0%, #151a20 100%);
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  background-image: radial-gradient(var(--primary-color) 1px, transparent 1px),
                    radial-gradient(var(--secondary-color) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  z-index: 0;
}

.hero-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 100px 0 50px;
  z-index: 1;
}

/* Hero Image */
.hero-image-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  z-index: 2;
}

.image-shape {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 75%;
  transform: translateY(-50%);
  clip-path: polygon(0% 0%, 100% 25%, 100% 75%, 0% 100%);
  overflow: hidden;
}

.teacher-animation {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #e6e9f0 100%);
}

.dark-mode .teacher-animation {
  background: linear-gradient(135deg, #252d38 0%, #1c232d 100%);
}

.teacher-svg {
  width: 100%;
  height: 100%;
}

/* SVG Animation Elements */
.atom {
  animation: rotate 20s linear infinite;
  transform-origin: center;
}

.atom-1 {
  animation-duration: 30s;
}

.atom-2 {
  animation-duration: 25s;
  animation-direction: reverse;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.formula {
  opacity: 0.7;
  animation: float-up 10s ease-in-out infinite;
}

.formula-1 { animation-delay: 0s; }
.formula-2 { animation-delay: 2s; }
.formula-3 { animation-delay: 1s; }
.formula-4 { animation-delay: 3s; }
.formula-5 { animation-delay: 4s; }

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

.liquid {
  animation: bubble 4s ease-in-out infinite;
  transform-origin: center;
}

@keyframes bubble {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.05); }
}

.bubble {
  opacity: 0.7;
  animation: rise 4s ease-in-out infinite;
}

.bubble-1 { animation-delay: 0s; }
.bubble-2 { animation-delay: 1s; }
.bubble-3 { animation-delay: 2s; }

@keyframes rise {
  0% { transform: translateY(15px); opacity: 0; }
  50% { opacity: 0.7; }
  100% { transform: translateY(-15px); opacity: 0; }
}

/* DNA Animation */
.dna {
  animation: pulse-color 8s ease-in-out infinite;
}

.dna:nth-of-type(2) {
  animation-delay: 4s;
}

@keyframes pulse-color {
  0%, 100% { opacity: 0.6; stroke-width: 2px; }
  50% { opacity: 1; stroke-width: 2.5px; }
}

/* Molecule Animation */
.molecule circle {
  animation: pulse-size 6s ease-in-out infinite;
}

.molecule circle:nth-of-type(1) { animation-delay: 0s; }
.molecule circle:nth-of-type(2) { animation-delay: 1.5s; }
.molecule circle:nth-of-type(3) { animation-delay: 3s; }
.molecule circle:nth-of-type(4) { animation-delay: 4.5s; }

@keyframes pulse-size {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Wave Animation */
.wave {
  animation: wave-motion 10s ease-in-out infinite;
  opacity: 0.6;
}

.wave:nth-of-type(2) {
  animation-delay: 5s;
}

@keyframes wave-motion {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(10px); }
}

/* Pulse Circles */
.pulse-circle {
  animation: pulse-opacity 4s ease-in-out infinite;
}

.pulse-circle:nth-of-type(1) { animation-delay: 0s; }
.pulse-circle:nth-of-type(2) { animation-delay: 1.3s; }
.pulse-circle:nth-of-type(3) { animation-delay: 2.6s; }

@keyframes pulse-opacity {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

.shape-overlay {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 75%;
  transform: translateY(-50%);
  clip-path: polygon(0% 0%, 100% 25%, 100% 75%, 0% 100%);
  border: 3px solid var(--primary-color);
  opacity: 0.3;
  z-index: 3;
}

.science-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

.science-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 5;
}

.science-icon i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.icon-1 {
  top: 25%;
  left: -30px;
  animation: float-element 7s ease-in-out infinite;
}

.icon-2 {
  top: 70%;
  right: -30px;
  animation: float-element 8s ease-in-out infinite 0.5s;
}

.icon-3 {
  top: 40%;
  right: 10%;
  animation: float-element 6s ease-in-out infinite 1s;
}

.icon-4 {
  bottom: 20%;
  left: 10%;
  animation: float-element 9s ease-in-out infinite 0.8s;
}

.badge-wrapper {
  position: absolute;
  bottom: 18%;
  left: -50px;
  z-index: 6;
}

.experience-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  box-shadow: 0 10px 30px rgba(138, 77, 118, 0.3);
}

.exp-years {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}

.exp-text {
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.2;
  max-width: 80%;
}

/* Hero Content */
.hero-content {
  position: relative;
  max-width: 600px;
  margin-right: auto;
  padding-left: 20px;
  z-index: 3;
}

.tag-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.tag-badge {
  display: inline-block;
  padding: 6px 12px;
  background-color: rgba(138, 77, 118, 0.1);
  color: var(--primary-color);
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tag-badge:nth-child(2) {  background-color: rgba(238, 118, 116, 0.1);  color: var(--secondary-color);}

.tag-badge:nth-child(3) {
  background-color: rgba(61, 193, 157, 0.1);
  color: #3dc19d;
}

.hero-title {
  margin-bottom: 15px;
  line-height: 1.1;
}

.greeting {
  display: block;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-light);
}

.name {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -1px;
  white-space: nowrap;
  line-height: 1.1;
  display: inline-block;
}

.name .highlight {
  color: var(--primary-color);
}

.hero-subtitle-wrapper {
  margin-bottom: 20px;
  position: relative;
  padding-left: 30px;
}

.hero-subtitle-wrapper:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 3px;
  background-color: var(--primary-color);
  transform: translateY(-50%);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
}

.hero-description {
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-light);
}

.hero-stats {
  display: flex;
  gap: 50px;
  margin-bottom: 40px;
}

.stat-item {
  position: relative;
}

.stat-value {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary-color);
  display: flex;
  align-items: flex-start;
}

.stat-plus, .stat-percent {
  font-size: 1.8rem;
  font-weight: 700;
  margin-left: 3px;
  margin-top: 3px;
}

.stat-label {
  margin-top: 10px;
  font-size: 1rem;
  color: var(--text-light);
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.outline-btn {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.outline-btn:hover {
  background: rgba(138, 77, 118, 0.1);
  transform: translateY(-3px);
}

.hero-scroll {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--text-light);
  font-size: 0.9rem;
  opacity: 0.8;
  animation: fade-in-out 2s ease-in-out infinite;
  z-index: 3;
}

.hero-scroll i {
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes fade-in-out {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

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

/* Responsive */
@media (max-width: 1200px) {
  .hero-image-wrapper {
    width: 38%;
  }
  
  .name {
    font-size: 3.5rem;
  }
}

@media (max-width: 992px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    padding-top: 120px;
  }
  
  .hero-image-wrapper {
    position: relative;
    width: 50%;
    height: 400px;
    margin: 0 auto 50px;
    grid-row: 1;
  }
  
  .image-shape, .shape-overlay {
    top: 0;
    height: 100%;
    transform: none;
    clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 15% 100%);
  }
  
  .hero-content {
    grid-row: 2;
    text-align: center;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .hero-subtitle-wrapper {
    padding-left: 0;
  }
  
  .hero-subtitle-wrapper:before {
    left: 50%;
    top: -15px;
    width: 50px;
    transform: translateX(-50%);
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .badge-wrapper {
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .tag-badges {
    justify-content: center;
  }
  
  .hero-subtitle {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .hero-wrapper {
    padding-top: 100px;
    padding-bottom: 80px;
  }
  
  .hero-image-wrapper {
    width: 70%;
    height: 350px;
  }
  
  .image-shape, .shape-overlay {
    clip-path: polygon(0% 0%, 100% 0%, 80% 100%, 20% 100%);
  }
  
  .science-icon {
    width: 45px;
    height: 45px;
  }
  
  .science-icon i {
    font-size: 1.3rem;
  }
  
  .experience-badge {
    width: 80px;
    height: 80px;
  }
  
  .exp-years {
    font-size: 1.6rem;
  }
  
  .exp-text {
    font-size: 0.6rem;
  }
  
  .name {
    font-size: 3rem;
    white-space: normal;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-scroll {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-wrapper {
    min-height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .hero-image-wrapper {\n    width: 85%;\n    height: 180px;\n    margin-bottom: 10px;\n  }\n\n  .hero-content {\n    padding: 0;\n    max-width: 100%;\n  }\n\n  .tag-badges {\n    margin-bottom: 5px;\n    gap: 5px;\n  }\n\n  .tag-badge {\n    padding: 3px 8px;\n    font-size: 0.7rem;\n  }
  
  .image-shape, .shape-overlay {
    clip-path: polygon(0% 0%, 100% 0%, 75% 100%, 25% 100%);
    height: 70%;
  }
  
  .name {
    font-size: 2.3rem;
    margin-bottom: 5px;
  }
  
  .greeting {
    font-size: 1rem;
    margin-bottom: 5px;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  .hero-description {
    margin-bottom: 12px;
    font-size: 0.9rem;
  }
  
  .stat-value {
    font-size: 2rem;
  }
  
  .stat-plus, .stat-percent {
    font-size: 1.2rem;
  }
  
  .hero-stats {
    gap: 25px;
    margin-bottom: 20px;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-actions .btn {
    width: 100%;
    padding: 10px 20px;
  }
  
  .icon-1, .icon-4 {
    display: none;
  }
  
  .icon-2, .icon-3 {
    width: 40px;
    height: 40px;
  }
}

/* About Section */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  position: relative;
  overflow: visible;
}

/* Image Side Styling */
.about-image-container {
  position: relative;
  background: radial-gradient(circle at 20% 20%, var(--bg-light) 0%, var(--bg-color) 100%);
  border-radius: 20px;
  padding: 25px;
  box-shadow: var(--box-shadow);
  overflow: visible;
  height: fit-content;
}

.image-frame {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transform: perspective(1000px) rotateY(3deg);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 2;
}

.image-frame:hover {
  transform: perspective(1000px) rotateY(0deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.image-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.6s ease;
}

.image-frame:hover img {
  transform: scale(1.03);
}

.experience-indicator {
  position: absolute;
  bottom: -25px;
  right: 30px;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 20px rgba(138, 77, 118, 0.3);
  z-index: 3;
}

.exp-number {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.exp-text {
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.2;
  max-width: 90%;
  margin-top: 2px;
}

.decorative-element {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--bg-color);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 4;
  animation: float-element 6s ease-in-out infinite;
  color: var(--primary-color);
  font-size: 1.4rem;
}

.element-1 {
  top: -15px;
  left: 50px;
  animation-delay: 0s;
}

.element-2 {
  bottom: 60px;
  left: -15px;
  animation-delay: 2s;
}

.element-3 {
  top: 70px;
  right: -15px;
  animation-delay: 1s;
}

/* Content Side Styling */
.about-content-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-top-bar {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.professional-badge, .specialty-badge {
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.professional-badge {  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);  color: white;  box-shadow: 0 5px 15px rgba(59, 142, 165, 0.2);}

.specialty-badge {
  background-color: rgba(138, 77, 118, 0.1);
  color: var(--primary-color);
  border: 1px solid rgba(138, 77, 118, 0.3);
}

.about-greeting {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.about-intro {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-description {
  margin-bottom: 30px;
  line-height: 1.8;
  color: var(--text-color);
}

.about-stats {
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  margin: 30px 0;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
}

.about-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.about-cta {
  padding: 14px 28px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.about-cta.download-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
}

.about-cta.download-btn:hover {
  background-color: rgba(138, 77, 118, 0.1);
  transform: translateY(-5px);
}

.about-cta.primary-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(138, 77, 118, 0.25);
}

@media (max-width: 576px) {
  .about-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .about-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Responsive styles for About section */
@media (max-width: 1200px) {
  .about-wrapper {
    gap: 40px;
  }
  
  .about-image-container {
    padding: 25px;
  }
  
  .about-stats {
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .about-image-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 25px;
  }
  
  .decorative-element {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .about-top-bar {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  
  .professional-badge, .specialty-badge {
    font-size: 0.8rem;
  }
  
  .about-greeting {
    font-size: 1.8rem;
  }
  
  .about-intro {
    font-size: 1.1rem;
  }
  
  .about-stats {
    flex-wrap: wrap;
    gap: 30px 40px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .about-image-container {
    padding: 20px;
  }
  
  .experience-indicator {
    width: 80px;
    height: 80px;
    bottom: -15px;
    right: 15px;
  }
  
  .exp-number {
    font-size: 2rem;
  }
  
  .decorative-element {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  
  .element-1 {
    top: -10px;
    left: 30px;
  }
  
  .element-2 {
    bottom: 50px;
    left: -10px;
  }
  
  .element-3 {
    top: 60px;
    right: -10px;
  }
}

/* Education Section Styles */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.edu-card {
  background: var(--bg-light);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
    height: 100%;
  display: flex;
  flex-direction: column;
    position: relative;
  border-top: 5px solid var(--primary-color);
    opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s forwards;
  animation-delay: calc(var(--delay, 0) * 0.1s);
}

.edu-card:nth-child(1) {
  --delay: 1;
}

.edu-card:nth-child(2) {
  --delay: 2;
  border-top-color: var(--secondary-color);
}

.edu-card:nth-child(3) {
  --delay: 3;
  border-top-color: var(--accent-color);
}

.edu-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.edu-card-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 15px 20px;
    display: flex;
  justify-content: space-between;
    align-items: center;
  color: white;
}

.edu-card:nth-child(2) .edu-card-header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
}

.edu-card:nth-child(3) .edu-card-header {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.edu-year {
  font-weight: 600;
  font-size: 1rem;
    display: flex;
    align-items: center;
}

.edu-degree-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
}

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

.edu-title {
  margin: 0;
  font-size: 1.4rem;
  color: var(--text-color);
  font-weight: 600;
}

.edu-institution {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.edu-institution i {
  font-size: 1.4rem;
    color: var(--primary-color);
  margin-top: 3px;
}

.edu-card:nth-child(2) .edu-institution i {
    color: var(--secondary-color);
}

.edu-card:nth-child(3) .edu-institution i {
    color: var(--accent-color);
}

.edu-institution h4 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  font-weight: 500;
}

.edu-location {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.edu-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 5px;
}

.edu-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 45%;
}

.edu-stat i {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  color: var(--primary-color);
}

.edu-card:nth-child(2) .edu-stat i {
  background: rgba(var(--secondary-rgb), 0.1);
  color: var(--secondary-color);
}

.edu-card:nth-child(3) .edu-stat i {
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent-color);
}

.edu-stat div {
  display: flex;
  flex-direction: column;
}

.edu-stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.edu-stat strong {
  font-weight: 600;
  color: var(--text-color);
}

.edu-details {
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 15px;
}

.edu-details-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.edu-details-header span {
  font-weight: 500;
  color: var(--primary-color);
}

.edu-card:nth-child(2) .edu-details-header span {
  color: var(--secondary-color);
}

.edu-card:nth-child(3) .edu-details-header span {
  color: var(--accent-color);
}

.details-toggle {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.details-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

.details-toggle i {
  transition: transform 0.3s ease;
}

.details-toggle.active i {
  transform: rotate(180deg);
}

.edu-details-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.edu-details-content.active {
  max-height: 300px;
}

.edu-details-content ul {
  margin: 15px 0 0 0;
  padding: 0 0 0 20px;
}

.edu-details-content li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-color);
}

/* Dark mode adjustments */
.dark-mode .edu-card {
  background: var(--dark-bg-secondary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.dark-mode .edu-title,
.dark-mode .edu-institution h4,
.dark-mode .edu-stat strong,
.dark-mode .edu-details-content li {
  color: var(--dark-text);
}

.dark-mode .edu-location,
.dark-mode .edu-stat span {
  color: var(--dark-text-muted);
}

.dark-mode .edu-details {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .details-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .education-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .education-grid {
    grid-template-columns: 1fr;
  }
  
  .edu-card {
    max-width: 100%;
  }
}

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

/* Skills Section */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.skill-category {
  margin-bottom: 30px;
}

.skill-category h3 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 15px;
}

.skill-item {
  background-color: var(--bg-color);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.skill-item:hover {
  transform: var(--card-hover-transform);
  box-shadow: var(--box-shadow-hover);
}

.skill-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Languages Section */
.languages-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.language-item {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background-color: var(--bg-color);
  box-shadow: var(--box-shadow);
  width: 200px;
  transition: var(--transition);
}

.language-item:hover {
  transform: var(--card-hover-transform);
  box-shadow: var(--box-shadow-hover);
}

.language-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.language-item h3 {
  margin-bottom: 10px;
}

.proficiency {
  height: 6px;
  background-color: var(--border-color);
  border-radius: 10px;
  margin: 15px 0;
  overflow: hidden;
}

.proficiency-bar {
  height: 100%;
  border-radius: 10px;
  background-color: var(--primary-color);
}

.native {
  width: 100%;
}

.fluent {
  width: 90%;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

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

.contact-detail h3 {
  margin-bottom: 5px;
}

.contact-form {
  background-color: var(--bg-color);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--bg-light);
  color: var(--text-color);
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(138, 77, 118, 0.1);
}

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

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.3);
    border: none;
    overflow: hidden;
}

#back-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

#back-to-top.visible:hover::before {
    transform: translateX(100%);
}

#back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.4);
}

#back-to-top i {
    font-size: 20px;
    transition: all 0.3s ease;
}

#back-to-top:hover i {
    animation: float-arrow 1.2s ease infinite;
}

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

.dark-mode #back-to-top {
    background: linear-gradient(135deg, var(--primary-color), #2D3748);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.dark-mode #back-to-top:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

/* Hide the footer back-to-top button */
.back-to-top-btn {
    display: none;
}

@media (max-width: 768px) {
    #back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        border-radius: 8px;
    }
    
    #back-to-top i {
        font-size: 18px;
    }
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 30px 0;
    position: relative;
    margin-top: 50px;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-left {
    display: flex;
    align-items: center;
}

.footer-right {
    display: flex;
    align-items: center;
}

.footer-logo {
    max-width: 100px;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.85;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 5px;
}

.back-to-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    margin-left: 20px;
    transition: var(--transition);
    position: absolute;
    right: 20px;
}

.back-to-top-btn i {
    font-size: 0.9rem;
}

.back-to-top-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-separator {
        display: none;
    }

    .back-to-top-btn {
        position: static;
        margin-top: 15px;
        margin-left: 0;
    }
}

/* Media Queries for New Sections */
@media (min-width: 768px) {
  .philosophy-content {
    flex-direction: row;
    align-items: center;
    gap: 50px;
  }
  
  .philosophy-image {
    flex: 1;
    max-width: 40%;
  }
  
  .philosophy-text {
    flex: 1.5;
  }
}

@media (max-width: 768px) {
  .testimonials-container {
    grid-template-columns: 1fr;
  }
  
  .philosophy-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .philosophy-icon {
    margin-bottom: 10px;
  }
  
  .philosophy-image {
    min-height: 400px;
  }
}

/* Philosophy Section Styles */
.philosophy-content {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 40px;
  margin-bottom: 30px;
}

.philosophy-image {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  position: relative;
}

.philosophy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.philosophy-text {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.philosophy-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.3s ease;
}

.philosophy-item:hover {
  transform: translateY(-5px);
}

.philosophy-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.philosophy-item:hover .philosophy-icon {
  transform: rotate(10deg);
}

.philosophy-detail h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.philosophy-detail p {
  color: var(--text-light);
  line-height: 1.7;
}

@media (max-width: 992px) {
  .philosophy-content {
    flex-direction: column;
  }
  
  .philosophy-image {
    max-width: 100%;
    min-height: 450px;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .philosophy-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .philosophy-icon {
    margin-bottom: 15px;
  }
  
  .philosophy-detail h3 {
    font-size: 1.2rem;
  }
}

/* Subjects Section */
.subject-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.subject-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  position: relative;
}

.subject-intro p::before {
  content: '"';
  font-family: 'Georgia', serif;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  color: var(--primary-color);
  opacity: 0.1;
  line-height: 1;
}

.academic-focus-wrapper {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03) 0%, rgba(var(--secondary-rgb), 0.03) 100%);
  border-radius: 2rem;
  padding: 3rem;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.academic-focus-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.5;
  transform: translate(30%, -30%);
}

.academic-focus-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.1), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.4;
  transform: translate(-30%, 30%);
}

/* Academic Focus Areas / Curriculum Design */
.curriculum-levels {
  margin-bottom: 60px;
}

.curriculum-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.level-intro {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.level-intro-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.level-intro-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);
}

.curriculum-tabs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.curriculum-tabs::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 60px;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  border-radius: 4px;
  z-index: 0;
}

.level-tab {
  display: flex;
  position: relative;
  background: var(--bg-light);
  border-radius: 1.5rem;
  padding: 0;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.level-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--secondary-rgb), 0.05) 100%);
  z-index: 0;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.level-tab:hover {
  transform: translateX(8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.level-tab:hover::before {
  opacity: 1;
}

.level-tab.active {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.1) 100%);
  transform: translateX(15px);
  box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.15);
  border-color: var(--primary-color);
}

.tab-icon {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.level-tab:hover .tab-icon {
  transform: scale(1.05);
}

.tab-label {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0 1.5rem 2rem;
  flex: 1;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.tab-label span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  transition: color 0.3s ease;
  letter-spacing: -0.2px;
  margin-bottom: 0.5rem;
}

.level-tab.active .tab-label span {
  color: var(--primary-color);
}

.tab-label small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 0.3rem 1rem;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 2rem;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.tab-description {
  padding-right: 2rem;
}

.tab-description p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-light);
  margin: 0;
}

.curriculum-content {
  display: none;
  visibility: hidden;
  opacity: 0;
  height: 0;
  overflow: hidden; /* Add overflow hidden to prevent showing content before transition */
  transition: opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateY(15px);
  position: relative;
  will-change: transform, opacity;
}

.curriculum-content.active {
  display: block;
  visibility: visible;
  opacity: 1;
  height: auto;
  overflow: visible; /* Reset overflow to visible */
  transform: translateY(0);
  animation: contentFadeIn 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes contentFadeIn {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Competency Grid */
.competency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.competency-area {
  background-color: var(--bg-light);
  border-radius: 1.25rem;
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.05);
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.competency-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 1.25rem;
  border: 0 solid var(--primary-color);
  z-index: -1;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0;
}

.competency-area:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.competency-area:hover::before {
  border-width: 5px;
  opacity: 1;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
}

.competency-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
}

.competency-header::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
  transition: all 0.3s ease;
}

.competency-area:hover .competency-header::after {
  width: 100px;
}

.competency-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: rotate(-5deg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.competency-area:hover .competency-icon {
  transform: rotate(0) scale(1.1);
}

.curriculum-science-icon {  background: linear-gradient(135deg, #3B8EA5 0%, #4ECDC4 100%);}

.lang-icon {  background: linear-gradient(135deg, #EE7674 0%, #DB2777 100%);}

.math-icon {
  background: linear-gradient(135deg, #3dc19d 0%, #31a083 100%);
}

.advanced-science-icon {
  background: linear-gradient(135deg, #3B8EA5 0%, #4ECDC4 100%);
}

.adv-lang-icon {
  background: linear-gradient(135deg, #F4ABC4 0%, #DB2777 100%);
}

.adv-math-icon {
  background: linear-gradient(135deg, #3dc19d 0%, #31a083 100%);
}

.tech-icon {
  background: linear-gradient(135deg, #f7b733 0%, #e09a1d 100%);
}

.competency-header h3 {
  font-size: 1.4rem;
  margin-bottom: 0;
  color: var(--primary-color);
}

.outcome-list {
  margin: 0 0 20px 0;
  padding-left: 5px;
  list-style: none;
  flex: 1;
}

.outcome-list li {
  margin-bottom: 12px;
  position: relative;
  line-height: 1.6;
  padding-left: 28px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.outcome-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background-color: rgba(var(--primary-rgb), 0.15);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.outcome-list li::after {
  content: "✓";
  color: var(--primary-color);
  position: absolute;
  left: 4px;
  top: 0px;
  font-size: 10px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.competency-area:hover .outcome-list li::before {
  background-color: rgba(var(--primary-rgb), 0.25);
  transform: scale(1.1);
}

.competency-area:hover .outcome-list li {
  transform: translateX(3px);
}

.curriculum-details {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid rgba(var(--primary-rgb), 0.1);
  position: relative;
}

.curriculum-details::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 30%;
  height: 1px;
  background: linear-gradient(to right, var(--primary-color), transparent);
  transition: all 0.3s ease;
}

.competency-area:hover .curriculum-details::before {
  width: 60%;
}

.curriculum-topics {
  flex: 1;
}

.curriculum-topics span {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-tag {
  display: inline-block;
  padding: 5px 12px;
  background-color: rgba(var(--primary-rgb), 0.08);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-color);
  transition: all 0.3s ease;
  font-weight: 500;
}

.topic-tag:hover {
  background-color: rgba(var(--primary-rgb), 0.15);
  transform: translateY(-2px);
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary-color);
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 20px;
  background-color: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  font-size: 0.85rem;
}

.learn-more i {
  transition: all 0.3s ease;
  font-size: 0.8rem;
}

.learn-more:hover {
  color: white;
  background-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.learn-more:hover i {
  transform: translateX(3px);
  color: white;
}

/* Teaching Methodology */
.teaching-methodology {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.08));
  padding: 3.5rem;
  border-radius: 1.5rem;
  margin-top: 60px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateY(0);
}

.teaching-methodology::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.5;
  transform: translate(30%, -30%);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.teaching-methodology:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.teaching-methodology:hover::before {
  transform: translate(25%, -25%) scale(1.1);
  opacity: 0.7;
}

/*
* Farzana Akter Faria - Personal Portfolio Website
* Modern Design
*/

/* Base Styles - Theme Colors */
:root {
    /* Primary Colors */
    --primary-color: #3B8EA5;  /* Teal */
    --primary-rgb: 59, 142, 165;
    --secondary-color: #EE7674; /* Coral */
    --accent-color: #F2BB05; /* Golden Yellow */
    --light-color: #FAF7F2; /* Soft Ivory */
    --dark-color: #1A535C; /* Deep Teal */
    
    /* Light Mode Colors */
    --bg-color: #F8F9FA;
    --text-color: #2D3748;
    --heading-color: #1A202C;
    --bg-alternate: #EFF1F3;
    --bg-light: #FFFFFF;
    --border-color: #E2E8F0;
    --nav-text: #4A5568;
    --nav-hover: #3B8EA5;
    --nav-active: #3B8EA5;
    
    /* Components */
    --card-bg: #FFFFFF;
    --card-border: #EDF2F7;
    --input-bg: #FFFFFF;
    --input-border: #E2E8F0;
    --input-text: #4A5568;
    --input-placeholder: #A0AEC0;
    --btn-primary-bg: #3B8EA5;
    --btn-primary-text: #FFFFFF;
    --btn-hover-bg: #2C7A8E;
    --btn-hover-text: #FFFFFF;
    --section-bg: #F8F9FA;
    --section-alt-bg: #EFF1F3;
    
    /* Effects */
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Dark Mode Variables */
.dark-mode {
    --bg-color: #1A202C;
    --text-color: #E2E8F0;
    --heading-color: #F7FAFC;
    --bg-alternate: #2D3748;
    --bg-light: #2D3748;
    --border-color: #4A5568;
    --nav-text: #A0AEC0;
    --nav-hover: #EE7674;
    --nav-active: #EE7674;
    
    /* Components */
    --card-bg: #2D3748;
    --card-border: #4A5568;
    --input-bg: #2D3748;
    --input-border: #4A5568;
    --input-text: #E2E8F0;
    --input-placeholder: #A0AEC0;
    --btn-primary-bg: #EE7674;
    --btn-primary-text: #1A202C;
    --btn-hover-bg: #E84A47;
    --btn-hover-text: #1A202C;
    --section-bg: #1A202C;
    --section-alt-bg: #2D3748;
    
    /* Effects */
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.4);
    
    /* Apply dark mode to body */
    background-color: var(--bg-color);
    color: var(--text-color);
}

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

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: var(--transition);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 15px;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 15px;
}

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

a:hover {
  color: var(--secondary-color);
}

ul, ol {
  list-style: none;
  padding-left: 0;
}

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

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

.section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0; /* Remove any bottom margin to control spacing consistently */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    visibility: visible;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

section:nth-of-type(odd) {
    background-color: var(--bg-light);
}

section:nth-of-type(even) {
    background-color: var(--bg-alt);
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.highlight {
  color: var(--primary-color);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  position: relative;
  display: inline-block;
  font-size: 2.2rem;
  margin-bottom: 15px;
  text-transform: capitalize;
}

.section-line {
  width: 70px;
  height: 3px;
  background: var(--primary-color);
  margin: 0 auto;
}

/* Base Button Styles - Modern Design */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    outline: none;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 0.625rem;
    border: 0px solid transparent;
    z-index: -1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.btn:hover::before {
    border-width: 5px;
    opacity: 1;
}

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

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

.primary-btn::before {
    border-color: var(--secondary-color);
}

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

.outline-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
    background-color: rgba(var(--primary-rgb), 0.05);
}

.outline-btn::before {
    border-color: var(--accent-color);
}

.dark-mode .btn {
    color: white;
}

.dark-mode .primary-btn {
    background-color: var(--primary-color);
}

.dark-mode .primary-btn:hover {
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.4);
}

.dark-mode .outline-btn {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.dark-mode .outline-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

/* Mobile responsive buttons */
@media (max-width: 576px) {
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn:hover::before {
        border-width: 4px;
    }
}

/* Base Card Styles - Modern Design */
.card {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    z-index: 1;
    transform: translateY(0);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card:hover::before {
    border-width: 5px;
    opacity: 1;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
}

.card-header {
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    margin-bottom: 1rem;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .card-badge {
    transform: translateY(-3px);
    background-color: rgba(var(--primary-rgb), 0.15);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .card-title {
    color: var(--primary-color);
}

.card-decoration {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0.15;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 0;
}

.card:hover .card-decoration {
    transform: scale(1.2) rotate(15deg);
    opacity: 0.25;
}

/* Dark mode card styles */
.dark-mode .card {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-mode .card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.dark-mode .card::before {
    border-color: var(--primary-color);
}

.dark-mode .card-badge {
    background-color: rgba(var(--primary-rgb), 0.2);
}

.dark-mode .card:hover .card-badge {
    background-color: rgba(var(--primary-rgb), 0.3);
}

/* Special card variations */
.education-card, 
.experience-card, 
.competency-area {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
}

.education-card::before, 
.experience-card::before, 
.competency-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.education-card:hover, 
.experience-card:hover, 
.competency-area:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.education-card:hover::before, 
.experience-card:hover::before, 
.competency-area:hover::before {
    border-width: 5px;
    opacity: 1;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
}

/* Education card specific styles */
.education-card {
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.education-card:hover {
    border-left-width: 8px;
}

/* Experience card specific styles */
.experience-card {
    border-top: 5px solid var(--secondary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.experience-card:hover {
    border-top-width: 8px;
}

/* Competency area specific styles */
.competency-area {
    border-bottom: 5px solid var(--accent-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.competency-area:hover {
    border-bottom-width: 8px;
}

/* Dark mode for special cards */
.dark-mode .education-card, 
.dark-mode .experience-card, 
.dark-mode .competency-area {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .education-card {
    border-left-color: var(--primary-color);
}

.dark-mode .experience-card {
    border-top-color: var(--secondary-color);
}

.dark-mode .competency-area {
    border-bottom-color: var(--accent-color);
}

.dark-mode .education-card:hover, 
.dark-mode .experience-card:hover, 
.dark-mode .competency-area:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Card content animation */
.card-content {
    position: relative;
    z-index: 1;
}

.card:hover .card-content {
    transform: translateZ(5px);
}

/* Skill and Methodology cards */
.skill-item, .methodology-highlight {
    background-color: var(--bg-light);
    border-radius: 1rem;
    padding: 2.25rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.06);
}

.skill-item::before, .methodology-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.skill-item:hover, .methodology-highlight:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.skill-item:hover::before, .methodology-highlight:hover::before {
    border-width: 4px;
    opacity: 1;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
}

.dark-mode .skill-item, .dark-mode .methodology-highlight {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .skill-item:hover, .dark-mode .methodology-highlight:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* Language items */
.language-item {
    background-color: var(--bg-light);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.language-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.language-item:hover {
    transform: translateY(-7px) scale(1.04);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.language-item:hover::before {
    border-width: 4px;
    opacity: 1;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
}

.dark-mode .language-item {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .language-item:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

/* Testimonial cards */
.testimonial-card {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    border-top: 5px solid var(--primary-color);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.05), transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card.active {
    transform: rotateY(0deg) translateZ(0) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 2.75rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    margin-bottom: 25px;
}

.testimonial-content:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.dark-mode .testimonial-card,
.dark-mode .testimonial-content {
    background-color: var(--bg-alternate);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .testimonial-card.active {
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

/* Coming soon container */
.coming-soon-container {
  background: var(--bg-color);
  border-radius: var(--card-border-radius);
  box-shadow: var(--box-shadow);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
  text-align: center;
  margin: 30px auto;
  max-width: 650px;
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  background-image: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.03) 0%,
    rgba(var(--primary-rgb), 0.01) 100%
  );
}

.coming-soon-container::before {
    content: '';
    position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: calc(var(--card-border-radius) + 2px);
    z-index: -1;
    opacity: 0;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.coming-soon-container:hover {
  transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.coming-soon-container:hover::before {
    opacity: 1;
}

.coming-soon-icon {
  position: relative;
  width: 110px;
  height: 110px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: all 0.5s ease;
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.15);
}

.coming-soon-icon::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2px solid rgba(var(--primary-rgb), 0.2);
  animation: pulse-border 2.5s infinite ease-out;
}

.coming-soon-icon i {
  font-size: 46px;
  color: var(--primary-color);
  animation: pulse-icon 2s infinite alternate;
}

.coming-soon-text {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

/*
* Farzana Akter Faria - Personal Portfolio Website
* Modern Design
*/

/* Base Styles - Theme Colors */
:root {
    /* Primary Colors */
    --primary-color: #3B8EA5;  /* Teal */
    --primary-rgb: 59, 142, 165;
    --secondary-color: #EE7674; /* Coral */
    --accent-color: #F2BB05; /* Golden Yellow */
    --light-color: #FAF7F2; /* Soft Ivory */
    --dark-color: #1A535C; /* Deep Teal */
    
    /* Light Mode Colors */
    --bg-color: #F8F9FA;
    --text-color: #2D3748;
    --heading-color: #1A202C;
    --bg-alternate: #EFF1F3;
    --bg-light: #FFFFFF;
    --border-color: #E2E8F0;
    --nav-text: #4A5568;
    --nav-hover: #3B8EA5;
    --nav-active: #3B8EA5;
    
    /* Components */
    --card-bg: #FFFFFF;
    --card-border: #EDF2F7;
    --input-bg: #FFFFFF;
    --input-border: #E2E8F0;
    --input-text: #4A5568;
    --input-placeholder: #A0AEC0;
    --btn-primary-bg: #3B8EA5;
    --btn-primary-text: #FFFFFF;
    --btn-hover-bg: #2C7A8E;
    --btn-hover-text: #FFFFFF;
    --section-bg: #F8F9FA;
    --section-alt-bg: #EFF1F3;
    
    /* Effects */
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Dark Mode Variables */
.dark-mode {
    --bg-color: #1A202C;
    --text-color: #E2E8F0;
    --heading-color: #F7FAFC;
    --bg-alternate: #2D3748;
    --bg-light: #2D3748;
    --border-color: #4A5568;
    --nav-text: #A0AEC0;
    --nav-hover: #EE7674;
    --nav-active: #EE7674;
    
    /* Components */
    --card-bg: #2D3748;
    --card-border: #4A5568;
    --input-bg: #2D3748;
    --input-border: #4A5568;
    --input-text: #E2E8F0;
    --input-placeholder: #A0AEC0;
    --btn-primary-bg: #EE7674;
    --btn-primary-text: #1A202C;
    --btn-hover-bg: #E84A47;
    --btn-hover-text: #1A202C;
    --section-bg: #1A202C;
    --section-alt-bg: #2D3748;
    
    /* Effects */
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.4);
    
    /* Apply dark mode to body */
    background-color: var(--bg-color);
    color: var(--text-color);
}

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

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: var(--transition);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 15px;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 15px;
}

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

a:hover {
  color: var(--secondary-color);
}

ul, ol {
  list-style: none;
  padding-left: 0;
}

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

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

.section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0; /* Remove any bottom margin to control spacing consistently */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    visibility: visible;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

section:nth-of-type(odd) {
    background-color: var(--bg-light);
}

section:nth-of-type(even) {
    background-color: var(--bg-alt);
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.highlight {
  color: var(--primary-color);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  position: relative;
  display: inline-block;
  font-size: 2.2rem;
  margin-bottom: 15px;
  text-transform: capitalize;
}

.section-line {
  width: 70px;
  height: 3px;
  background: var(--primary-color);
  margin: 0 auto;
}

/* Base Button Styles - Modern Design */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    outline: none;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 0.625rem;
    border: 0px solid transparent;
    z-index: -1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.btn:hover::before {
    border-width: 5px;
    opacity: 1;
}

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

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

.primary-btn::before {
    border-color: var(--secondary-color);
}

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

.outline-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
    background-color: rgba(var(--primary-rgb), 0.05);
}

.outline-btn::before {
    border-color: var(--accent-color);
}

.dark-mode .btn {
    color: white;
}

.dark-mode .primary-btn {
    background-color: var(--primary-color);
}

.dark-mode .primary-btn:hover {
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.4);
}

.dark-mode .outline-btn {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.dark-mode .outline-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

/* Mobile responsive buttons */
@media (max-width: 576px) {
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn:hover::before {
        border-width: 4px;
    }
}

/* Base Card Styles - Modern Design */
.card {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    z-index: 1;
    transform: translateY(0);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card:hover::before {
    border-width: 5px;
    opacity: 1;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
}

.card-header {
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    margin-bottom: 1rem;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .card-badge {
    transform: translateY(-3px);
    background-color: rgba(var(--primary-rgb), 0.15);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .card-title {
    color: var(--primary-color);
}

.card-decoration {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0.15;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 0;
}

.card:hover .card-decoration {
    transform: scale(1.2) rotate(15deg);
    opacity: 0.25;
}

/* Dark mode card styles */
.dark-mode .card {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-mode .card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.dark-mode .card::before {
    border-color: var(--primary-color);
}

.dark-mode .card-badge {
    background-color: rgba(var(--primary-rgb), 0.2);
}

.dark-mode .card:hover .card-badge {
    background-color: rgba(var(--primary-rgb), 0.3);
}

/* Special card variations */
.education-card, 
.experience-card, 
.competency-area {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
}

.education-card::before, 
.experience-card::before, 
.competency-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.education-card:hover, 
.experience-card:hover, 
.competency-area:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.education-card:hover::before, 
.experience-card:hover::before, 
.competency-area:hover::before {
    border-width: 5px;
    opacity: 1;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
}

/* Education card specific styles */
.education-card {
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.education-card:hover {
    border-left-width: 8px;
}

/* Experience card specific styles */
.experience-card {
    border-top: 5px solid var(--secondary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.experience-card:hover {
    border-top-width: 8px;
}

/* Competency area specific styles */
.competency-area {
    border-bottom: 5px solid var(--accent-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.competency-area:hover {
    border-bottom-width: 8px;
}

/* Dark mode for special cards */
.dark-mode .education-card, 
.dark-mode .experience-card, 
.dark-mode .competency-area {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .education-card {
    border-left-color: var(--primary-color);
}

.dark-mode .experience-card {
    border-top-color: var(--secondary-color);
}

.dark-mode .competency-area {
    border-bottom-color: var(--accent-color);
}

.dark-mode .education-card:hover, 
.dark-mode .experience-card:hover, 
.dark-mode .competency-area:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Card content animation */
.card-content {
    position: relative;
    z-index: 1;
}

.card:hover .card-content {
    transform: translateZ(5px);
}

/* Skill and Methodology cards */
.skill-item, .methodology-highlight {
    background-color: var(--bg-light);
    border-radius: 1rem;
    padding: 2.25rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.06);
}

.skill-item::before, .methodology-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.skill-item:hover, .methodology-highlight:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.skill-item:hover::before, .methodology-highlight:hover::before {
    border-width: 4px;
    opacity: 1;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
}

.dark-mode .skill-item, .dark-mode .methodology-highlight {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .skill-item:hover, .dark-mode .methodology-highlight:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* Language items */
.language-item {
    background-color: var(--bg-light);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.language-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.language-item:hover {
    transform: translateY(-7px) scale(1.04);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.language-item:hover::before {
    border-width: 4px;
    opacity: 1;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
}

.dark-mode .language-item {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .language-item:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

/* Testimonial cards */
.testimonial-card {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    border-top: 5px solid var(--primary-color);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.05), transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card.active {
    transform: rotateY(0deg) translateZ(0) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 2.75rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    margin-bottom: 25px;
}

.testimonial-content:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.dark-mode .testimonial-card,
.dark-mode .testimonial-content {
    background-color: var(--bg-alternate);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .testimonial-card.active {
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

/* Coming soon container */
.coming-soon-container {
  background: var(--bg-color);
  border-radius: var(--card-border-radius);
  box-shadow: var(--box-shadow);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
  text-align: center;
  margin: 30px auto;
  max-width: 650px;
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  background-image: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.03) 0%,
    rgba(var(--primary-rgb), 0.01) 100%
  );
}

.coming-soon-container::before {
    content: '';
    position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: calc(var(--card-border-radius) + 2px);
    z-index: -1;
    opacity: 0;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.coming-soon-container:hover {
  transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.coming-soon-container:hover::before {
    opacity: 1;
}

.coming-soon-icon {
  position: relative;
  width: 110px;
  height: 110px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: all 0.5s ease;
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.15);
}

.coming-soon-icon::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2px solid rgba(var(--primary-rgb), 0.2);
  animation: pulse-border 2.5s infinite ease-out;
}

.coming-soon-icon i {
  font-size: 46px;
  color: var(--primary-color);
  animation: pulse-icon 2s infinite alternate;
}

.coming-soon-text {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.coming-soon-text::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.coming-soon-container p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-color);
  max-width: 500px;
  margin: 20px auto 0;
}

.coming-soon-container .resource-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}

.resource-tag {
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.resource-tag i {
  font-size: 12px;
}

.dark-mode .coming-soon-container {
    background-color: var(--bg-alternate);
  background-image: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.08) 0%,
    rgba(var(--primary-rgb), 0.02) 100%
  );
    border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.dark-mode .coming-soon-icon {
  background-color: rgba(var(--primary-rgb), 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dark-mode .resource-tag {
  background-color: rgba(var(--primary-rgb), 0.15);
}

.dark-mode .coming-soon-container:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

@keyframes pulse-icon {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}

@keyframes pulse-border {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  70% {
    transform: scale(1.15);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Media queries for coming soon */
@media (max-width: 768px) {
  .coming-soon-container {
    padding: 40px 25px;
  }
  
  .coming-soon-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 25px;
  }
  
  .coming-soon-icon i {
    font-size: 38px;
  }
  
  .coming-soon-text {
    font-size: 28px;
  }
  
  .coming-soon-container p {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .coming-soon-container {
    padding: 30px 20px;
  }
  
  .coming-soon-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }
  
  .coming-soon-icon i {
    font-size: 32px;
  }
  
  .coming-soon-text {
    font-size: 24px;
  }
  
  .coming-soon-text::after {
    width: 60px;
    height: 3px;
  }
  
  .coming-soon-container p {
    font-size: 15px;
  }
  
  .resource-tag {
    padding: 5px 12px;
    font-size: 12px;
  }
}

/* Responsive styles for cards */
@media (max-width: 768px) {
    .card,
    .education-card,
    .experience-card,
    .competency-area,
    .testimonial-card,
    .testimonial-content,
    .coming-soon-container {
        padding: 2.5rem;
    }
    
    .skill-item,
    .methodology-highlight,
    .language-item {
        padding: 1.75rem;
    }
    
    .card:hover,
    .education-card:hover,
    .experience-card:hover,
    .competency-area:hover,
    .testimonial-content:hover,
    .coming-soon-container:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .skill-item:hover,
    .methodology-highlight:hover,
    .language-item:hover {
        transform: translateY(-3px) scale(1.02);
    }
}

@media (max-width: 576px) {
    .card,
    .education-card,
    .experience-card,
    .competency-area,
    .testimonial-card,
    .testimonial-content,
    .coming-soon-container {
        padding: 2rem 1.5rem;
    }
    
    .skill-item,
    .methodology-highlight,
    .language-item {
        padding: 1.5rem 1.25rem;
    }
    
    .card:hover::before,
    .education-card:hover::before,
    .experience-card:hover::before,
    .competency-area:hover::before,
    .skill-item:hover::before,
    .methodology-highlight:hover::before,
    .language-item:hover::before,
    .coming-soon-container:hover::before {
        border-width: 4px;
    }
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 0;
  background-color: var(--bg-color);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition);
}

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

.logo {
  height: 40px;
}

.logo img {
  height: 100%;
  width: auto;
}

/* Navigation */
nav {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

nav .nav-links {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 20px;
  align-items: center;
  list-style: none;
}

.nav-link {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 10px 15px;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-link:hover, .nav-link:focus, .nav-link.active {
  color: var(--primary-color);
  background-color: rgba(var(--primary-rgb), 0.08);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background-color: var(--primary-color);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 5px;
}

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

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.dropdown-toggle i {
  font-size: 0.8rem;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-left: 2px;
}

.dropdown.active .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown.active .dropdown-toggle {
  color: var(--primary-color);
  background-color: rgba(var(--primary-rgb), 0.08);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--bg-color);
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 8px 0;
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  pointer-events: none;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background-color: var(--bg-color);
  border-top: 1px solid rgba(var(--primary-rgb), 0.08);
  border-left: 1px solid rgba(var(--primary-rgb), 0.08);
}

.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-item {
  display: block;
  padding: 10px 18px;
  color: var(--text-color);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-align: left;
  position: relative;
  text-decoration: none;
}

.dropdown-item::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  opacity: 0;
}

.dropdown-item:hover, .dropdown-item:focus {
  background-color: rgba(var(--primary-rgb), 0.08);
  color: var(--primary-color);
  padding-left: 24px;
}

.dropdown-item:hover::before, 
.dropdown-item:focus::before {
  width: 6px;
  opacity: 1;
  transform: translateY(-50%) scaleX(1);
}

.dark-mode .dropdown-menu {
  background-color: var(--bg-dark);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  border-color: rgba(var(--primary-rgb), 0.15);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Language Toggle */
/* Language Toggle - Modern Design */
.language-toggle {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.toggle-container {
  position: relative;
  background: linear-gradient(to right, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0.05));
  border-radius: 24px;
  display: flex;
  padding: 4px;
  width: 110px;
  height: 36px;
  transition: all 0.3s ease;
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.toggle-option {
  position: relative;
  z-index: 2;
  flex: 1;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px;
  cursor: pointer;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-color);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  letter-spacing: 0.02em;
}

.toggle-option span {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0.7;
}

.toggle-option img {
  border-radius: 4px;
  filter: saturate(0.8);
  width: 18px;
  height: 13px;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: scale(0.9);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.toggle-option.active {
  color: var(--bg-color);
}

.toggle-option.active span {
  opacity: 1;
}

.toggle-option.active img {
  filter: saturate(1.2);
  transform: scale(1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
}

#bn-toggle.active ~ .slider {
  left: calc(50% + 0px);
}

.dark-mode .toggle-container {
  background: linear-gradient(to right, rgba(var(--primary-rgb), 0.2), rgba(var(--primary-rgb), 0.1));
  border-color: rgba(var(--primary-rgb), 0.2);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-left: 10px;
    padding: 0;
}

.theme-toggle-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    transform: scale(1.1);
}

.theme-toggle-btn i {
    transition: var(--transition);
}

.dark-mode .theme-toggle-btn {
    color: var(--text-color);
}

.dark-mode .theme-toggle-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.2);
}

.theme-toggle-btn i.fa-sun {
    color: #FFD700;
}

.theme-toggle-btn i.fa-moon {
    color: #6c63ff;
}

.dark-mode .theme-toggle-btn i.fa-sun {
    color: #FDB813;
}

.dark-mode .theme-toggle-btn i.fa-moon {
    color: #8c85ff;
}

/* Mobile menu button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 28px;
  background: var(--text-color);
  border-radius: 10px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Mobile navigation */
@media (max-width: 992px) {
  nav {
    display: flex;
    justify-content: flex-end;
  }
  
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--bg-color);
    flex-direction: column;
    align-items: center;
    padding: 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 99;
    gap: 0;
  }
  
  .nav-links.active {
    height: auto;
    padding: 20px 0;
    opacity: 1;
  }
  
  .hamburger {
    display: flex;
    margin-left: 15px;
  }
  
  .nav-link {
    font-size: 1.1rem;
    padding: 12px 20px;
    width: 100%;
    text-align: center;
    border-radius: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: none;
  }
  
  .nav-links.active .nav-link {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
    transition-delay: 0.1s;
  }
  
  /* Mobile dropdown */
  .dropdown {
    width: 100%;
  }
  
  .dropdown-toggle {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    background-color: transparent !important;
  }
  
  .dropdown-toggle::after {
    position: relative;
    top: 2px;
    margin-left: 8px;
  }
  
  .dropdown-menu {
    position: static !important;
    width: 100%;
    box-shadow: none;
    background-color: rgba(var(--primary-rgb), 0.05);
    padding: 0;
    margin: 0;
    border-radius: 8px;
    max-height: 0;
    overflow: hidden;
    opacity: 1 !important;
    visibility: hidden;
    transform: none !important;
    transition: all 0.4s ease;
    left: 0 !important;
    border: none;
    pointer-events: auto !important;
  }
  
  .dropdown-menu::before {
    display: none;
  }
  
  .dropdown.active .dropdown-menu {
    max-height: 500px;
    padding: 8px 0;
    margin-top: 5px;
    margin-bottom: 5px;
    visibility: visible;
    border-left: 2px solid var(--primary-color);
  }
  
  .dropdown-item {
    padding: 12px 30px;
    text-align: center;
    font-size: 1rem;
    color: var(--text-color);
  }
  
  .dropdown-item::before {
    display: none;
  }
  
  .dropdown-item:hover, 
  .dropdown-item:focus {
    padding-left: 30px;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
  }
  
  .nav-links.active .nav-link:nth-child(2) { transition-delay: 0.15s; }
  .nav-links.active .nav-link:nth-child(3) { transition-delay: 0.2s; }
  .nav-links.active .nav-link:nth-child(4) { transition-delay: 0.25s; }
  .nav-links.active .nav-link:nth-child(5) { transition-delay: 0.3s; }
  .nav-links.active .nav-link:nth-child(6) { transition-delay: 0.35s; }
  .nav-links.active .nav-link:nth-child(7) { transition-delay: 0.4s; }
  .nav-links.active .nav-link:nth-child(8) { transition-delay: 0.45s; }
}

@media (min-width: 993px) and (max-width: 1200px) {
  .nav-link {
    padding: 8px 8px;
    font-size: 0.85rem;
  }
  
  .toggle-container {
    width: 100px;
  }
}

@media (max-width: 576px) {
  header {
    padding: 12px 0;
  }
  
  .header-actions {
    gap: 8px;
  }
  
  .toggle-container {
    width: 100px;
    height: 30px;
  }
  
  .toggle-option {
    font-size: 10px;
  }
  
  .toggle-option img {
    width: 14px;
    height: 10px;
  }
}

/* Hero Section */
#hero {
  position: relative;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  background-color: var(--bg-color); /* Reset to default */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f7fa 0%, #e6e9f0 100%);
  z-index: 0;
}

.dark-mode .hero-bg {
  background: linear-gradient(135deg, #1f2933 0%, #151a20 100%);
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  background-image: radial-gradient(var(--primary-color) 1px, transparent 1px),
                    radial-gradient(var(--secondary-color) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  z-index: 0;
}

.hero-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 100px 0 50px;
  z-index: 1;
}

/* Hero Image */
.hero-image-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  z-index: 2;
}

.image-shape {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 75%;
  transform: translateY(-50%);
  clip-path: polygon(0% 0%, 100% 25%, 100% 75%, 0% 100%);
  overflow: hidden;
}

.teacher-animation {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #e6e9f0 100%);
}

.dark-mode .teacher-animation {
  background: linear-gradient(135deg, #252d38 0%, #1c232d 100%);
}

.teacher-svg {
  width: 100%;
  height: 100%;
}

/* SVG Animation Elements */
.atom {
  animation: rotate 20s linear infinite;
  transform-origin: center;
}

.atom-1 {
  animation-duration: 30s;
}

.atom-2 {
  animation-duration: 25s;
  animation-direction: reverse;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.formula {
  opacity: 0.7;
  animation: float-up 10s ease-in-out infinite;
}

.formula-1 { animation-delay: 0s; }
.formula-2 { animation-delay: 2s; }
.formula-3 { animation-delay: 1s; }
.formula-4 { animation-delay: 3s; }
.formula-5 { animation-delay: 4s; }

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

.liquid {
  animation: bubble 4s ease-in-out infinite;
  transform-origin: center;
}

@keyframes bubble {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.05); }
}

.bubble {
  opacity: 0.7;
  animation: rise 4s ease-in-out infinite;
}

.bubble-1 { animation-delay: 0s; }
.bubble-2 { animation-delay: 1s; }
.bubble-3 { animation-delay: 2s; }

@keyframes rise {
  0% { transform: translateY(15px); opacity: 0; }
  50% { opacity: 0.7; }
  100% { transform: translateY(-15px); opacity: 0; }
}

/* DNA Animation */
.dna {
  animation: pulse-color 8s ease-in-out infinite;
}

.dna:nth-of-type(2) {
  animation-delay: 4s;
}

@keyframes pulse-color {
  0%, 100% { opacity: 0.6; stroke-width: 2px; }
  50% { opacity: 1; stroke-width: 2.5px; }
}

/* Molecule Animation */
.molecule circle {
  animation: pulse-size 6s ease-in-out infinite;
}

.molecule circle:nth-of-type(1) { animation-delay: 0s; }
.molecule circle:nth-of-type(2) { animation-delay: 1.5s; }
.molecule circle:nth-of-type(3) { animation-delay: 3s; }
.molecule circle:nth-of-type(4) { animation-delay: 4.5s; }

@keyframes pulse-size {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Wave Animation */
.wave {
  animation: wave-motion 10s ease-in-out infinite;
  opacity: 0.6;
}

.wave:nth-of-type(2) {
  animation-delay: 5s;
}

@keyframes wave-motion {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(10px); }
}

/* Pulse Circles */
.pulse-circle {
  animation: pulse-opacity 4s ease-in-out infinite;
}

.pulse-circle:nth-of-type(1) { animation-delay: 0s; }
.pulse-circle:nth-of-type(2) { animation-delay: 1.3s; }
.pulse-circle:nth-of-type(3) { animation-delay: 2.6s; }

@keyframes pulse-opacity {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

.shape-overlay {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 75%;
  transform: translateY(-50%);
  clip-path: polygon(0% 0%, 100% 25%, 100% 75%, 0% 100%);
  border: 3px solid var(--primary-color);
  opacity: 0.3;
  z-index: 3;
}

.science-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

.science-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 5;
}

.science-icon i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.icon-1 {
  top: 25%;
  left: -30px;
  animation: float-element 7s ease-in-out infinite;
}

.icon-2 {
  top: 70%;
  right: -30px;
  animation: float-element 8s ease-in-out infinite 0.5s;
}

.icon-3 {
  top: 40%;
  right: 10%;
  animation: float-element 6s ease-in-out infinite 1s;
}

.icon-4 {
  bottom: 20%;
  left: 10%;
  animation: float-element 9s ease-in-out infinite 0.8s;
}

.badge-wrapper {
  position: absolute;
  bottom: 18%;
  left: -50px;
  z-index: 6;
}

.experience-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  box-shadow: 0 10px 30px rgba(138, 77, 118, 0.3);
}

.exp-years {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}

.exp-text {
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.2;
  max-width: 80%;
}

/* Hero Content */
.hero-content {
  position: relative;
  max-width: 600px;
  margin-right: auto;
  padding-left: 20px;
  z-index: 3;
}

.tag-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.tag-badge {
  display: inline-block;
  padding: 6px 12px;
  background-color: rgba(138, 77, 118, 0.1);
  color: var(--primary-color);
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tag-badge:nth-child(2) {  background-color: rgba(238, 118, 116, 0.1);  color: var(--secondary-color);}

.tag-badge:nth-child(3) {
  background-color: rgba(61, 193, 157, 0.1);
  color: #3dc19d;
}

.hero-title {
  margin-bottom: 15px;
  line-height: 1.1;
}

.greeting {
  display: block;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-light);
}

.name {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -1px;
  white-space: nowrap;
  line-height: 1.1;
  display: inline-block;
}

.name .highlight {
  color: var(--primary-color);
}

.hero-subtitle-wrapper {
  margin-bottom: 20px;
  position: relative;
  padding-left: 30px;
}

.hero-subtitle-wrapper:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 3px;
  background-color: var(--primary-color);
  transform: translateY(-50%);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
}

.hero-description {
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-light);
}

.hero-stats {
  display: flex;
  gap: 50px;
  margin-bottom: 40px;
}

.stat-item {
  position: relative;
}

.stat-value {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary-color);
  display: flex;
  align-items: flex-start;
}

.stat-plus, .stat-percent {
  font-size: 1.8rem;
  font-weight: 700;
  margin-left: 3px;
  margin-top: 3px;
}

.stat-label {
  margin-top: 10px;
  font-size: 1rem;
  color: var(--text-light);
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.outline-btn {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.outline-btn:hover {
  background: rgba(138, 77, 118, 0.1);
  transform: translateY(-3px);
}

.hero-scroll {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--text-light);
  font-size: 0.9rem;
  opacity: 0.8;
  animation: fade-in-out 2s ease-in-out infinite;
  z-index: 3;
}

.hero-scroll i {
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes fade-in-out {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

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

/* Responsive */
@media (max-width: 1200px) {
  .hero-image-wrapper {
    width: 38%;
  }
  
  .name {
    font-size: 3.5rem;
  }
}

@media (max-width: 992px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    padding-top: 120px;
  }
  
  .hero-image-wrapper {
    position: relative;
    width: 50%;
    height: 400px;
    margin: 0 auto 50px;
    grid-row: 1;
  }
  
  .image-shape, .shape-overlay {
    top: 0;
    height: 100%;
    transform: none;
    clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 15% 100%);
  }
  
  .hero-content {
    grid-row: 2;
    text-align: center;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .hero-subtitle-wrapper {
    padding-left: 0;
  }
  
  .hero-subtitle-wrapper:before {
    left: 50%;
    top: -15px;
    width: 50px;
    transform: translateX(-50%);
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .badge-wrapper {
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .tag-badges {
    justify-content: center;
  }
  
  .hero-subtitle {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .hero-wrapper {
    padding-top: 100px;
    padding-bottom: 80px;
  }
  
  .hero-image-wrapper {
    width: 70%;
    height: 350px;
  }
  
  .image-shape, .shape-overlay {
    clip-path: polygon(0% 0%, 100% 0%, 80% 100%, 20% 100%);
  }
  
  .science-icon {
    width: 45px;
    height: 45px;
  }
  
  .science-icon i {
    font-size: 1.3rem;
  }
  
  .experience-badge {
    width: 80px;
    height: 80px;
  }
  
  .exp-years {
    font-size: 1.6rem;
  }
  
  .exp-text {
    font-size: 0.6rem;
  }
  
  .name {
    font-size: 3rem;
    white-space: normal;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-scroll {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-wrapper {
    min-height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  
  .hero-image-wrapper {\n    width: 85%;\n    height: 180px;\n    margin-bottom: 10px;\n  }\n\n  .hero-content {\n    padding: 0;\n    max-width: 100%;\n  }\n\n  .tag-badges {\n    margin-bottom: 5px;\n    gap: 5px;\n  }\n\n  .tag-badge {\n    padding: 3px 8px;\n    font-size: 0.7rem;\n  }
  
  .image-shape, .shape-overlay {
    clip-path: polygon(0% 0%, 100% 0%, 75% 100%, 25% 100%);
    height: 70%;
  }
  
  .name {
    font-size: 2.3rem;
    margin-bottom: 5px;
  }
  
  .greeting {
    font-size: 1rem;
    margin-bottom: 5px;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  .hero-description {
    margin-bottom: 12px;
    font-size: 0.9rem;
  }
  
  .stat-value {
    font-size: 2rem;
  }
  
  .stat-plus, .stat-percent {
    font-size: 1.2rem;
  }
  
  .hero-stats {
    gap: 25px;
    margin-bottom: 20px;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-actions .btn {
    width: 100%;
    padding: 10px 20px;
  }
  
  .icon-1, .icon-4 {
    display: none;
  }
  
  .icon-2, .icon-3 {
    width: 40px;
    height: 40px;
  }
}

/* About Section */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  position: relative;
  overflow: visible;
}

/* Image Side Styling */
.about-image-container {
  position: relative;
  background: radial-gradient(circle at 20% 20%, var(--bg-light) 0%, var(--bg-color) 100%);
  border-radius: 20px;
  padding: 25px;
  box-shadow: var(--box-shadow);
  overflow: visible;
  height: fit-content;
}

.image-frame {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transform: perspective(1000px) rotateY(3deg);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 2;
}

.image-frame:hover {
  transform: perspective(1000px) rotateY(0deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.image-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.6s ease;
}

.image-frame:hover img {
  transform: scale(1.03);
}

.experience-indicator {
  position: absolute;
  bottom: -25px;
  right: 30px;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 20px rgba(138, 77, 118, 0.3);
  z-index: 3;
}

.exp-number {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.exp-text {
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.2;
  max-width: 90%;
  margin-top: 2px;
}

.decorative-element {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--bg-color);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 4;
  animation: float-element 6s ease-in-out infinite;
  color: var(--primary-color);
  font-size: 1.4rem;
}

.element-1 {
  top: -15px;
  left: 50px;
  animation-delay: 0s;
}

.element-2 {
  bottom: 60px;
  left: -15px;
  animation-delay: 2s;
}

.element-3 {
  top: 70px;
  right: -15px;
  animation-delay: 1s;
}

/* Content Side Styling */
.about-content-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-top-bar {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.professional-badge, .specialty-badge {
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.professional-badge {  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);  color: white;  box-shadow: 0 5px 15px rgba(59, 142, 165, 0.2);}

.specialty-badge {
  background-color: rgba(138, 77, 118, 0.1);
  color: var(--primary-color);
  border: 1px solid rgba(138, 77, 118, 0.3);
}

.about-greeting {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.about-intro {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-description {
  margin-bottom: 30px;
  line-height: 1.8;
  color: var(--text-color);
}

.about-stats {
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  margin: 30px 0;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
}

.about-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.about-cta {
  padding: 14px 28px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.about-cta.download-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
}

.about-cta.download-btn:hover {
  background-color: rgba(138, 77, 118, 0.1);
  transform: translateY(-5px);
}

.about-cta.primary-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(138, 77, 118, 0.25);
}

@media (max-width: 576px) {
  .about-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .about-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Responsive styles for About section */
@media (max-width: 1200px) {
  .about-wrapper {
    gap: 40px;
  }
  
  .about-image-container {
    padding: 25px;
  }
  
  .about-stats {
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .about-image-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 25px;
  }
  
  .decorative-element {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .about-top-bar {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  
  .professional-badge, .specialty-badge {
    font-size: 0.8rem;
  }
  
  .about-greeting {
    font-size: 1.8rem;
  }
  
  .about-intro {
    font-size: 1.1rem;
  }
  
  .about-stats {
    flex-wrap: wrap;
    gap: 30px 40px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .about-image-container {
    padding: 20px;
  }
  
  .experience-indicator {
    width: 80px;
    height: 80px;
    bottom: -15px;
    right: 15px;
  }
  
  .exp-number {
    font-size: 2rem;
  }
  
  .decorative-element {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  
  .element-1 {
    top: -10px;
    left: 30px;
  }
  
  .element-2 {
    bottom: 50px;
    left: -10px;
  }
  
  .element-3 {
    top: 60px;
    right: -10px;
  }
}

/* Education Section Styles */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.edu-card {
  background: var(--bg-light);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
    height: 100%;
  display: flex;
  flex-direction: column;
    position: relative;
  border-top: 5px solid var(--primary-color);
    opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s forwards;
  animation-delay: calc(var(--delay, 0) * 0.1s);
}

.edu-card:nth-child(1) {
  --delay: 1;
}

.edu-card:nth-child(2) {
  --delay: 2;
  border-top-color: var(--secondary-color);
}

.edu-card:nth-child(3) {
  --delay: 3;
  border-top-color: var(--accent-color);
}

.edu-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.edu-card-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 15px 20px;
    display: flex;
  justify-content: space-between;
    align-items: center;
  color: white;
}

.edu-card:nth-child(2) .edu-card-header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
}

.edu-card:nth-child(3) .edu-card-header {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.edu-year {
  font-weight: 600;
  font-size: 1rem;
    display: flex;
    align-items: center;
}

.edu-degree-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
}

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

.edu-title {
  margin: 0;
  font-size: 1.4rem;
  color: var(--text-color);
  font-weight: 600;
}

.edu-institution {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.edu-institution i {
  font-size: 1.4rem;
    color: var(--primary-color);
  margin-top: 3px;
}

.edu-card:nth-child(2) .edu-institution i {
    color: var(--secondary-color);
}

.edu-card:nth-child(3) .edu-institution i {
    color: var(--accent-color);
}

.edu-institution h4 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  font-weight: 500;
}

.edu-location {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.edu-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 5px;
}

.edu-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 45%;
}

.edu-stat i {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  color: var(--primary-color);
}

.edu-card:nth-child(2) .edu-stat i {
  background: rgba(var(--secondary-rgb), 0.1);
  color: var(--secondary-color);
}

.edu-card:nth-child(3) .edu-stat i {
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent-color);
}

.edu-stat div {
  display: flex;
  flex-direction: column;
}

.edu-stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.edu-stat strong {
  font-weight: 600;
  color: var(--text-color);
}

.edu-details {
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 15px;
}

.edu-details-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.edu-details-header span {
  font-weight: 500;
  color: var(--primary-color);
}

.edu-card:nth-child(2) .edu-details-header span {
  color: var(--secondary-color);
}

.edu-card:nth-child(3) .edu-details-header span {
  color: var(--accent-color);
}

.details-toggle {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.details-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

.details-toggle i {
  transition: transform 0.3s ease;
}

.details-toggle.active i {
  transform: rotate(180deg);
}

.edu-details-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.edu-details-content.active {
  max-height: 300px;
}

.edu-details-content ul {
  margin: 15px 0 0 0;
  padding: 0 0 0 20px;
}

.edu-details-content li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-color);
}

/* Dark mode adjustments */
.dark-mode .edu-card {
  background: var(--dark-bg-secondary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.dark-mode .edu-title,
.dark-mode .edu-institution h4,
.dark-mode .edu-stat strong,
.dark-mode .edu-details-content li {
  color: var(--dark-text);
}

.dark-mode .edu-location,
.dark-mode .edu-stat span {
  color: var(--dark-text-muted);
}

.dark-mode .edu-details {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .details-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .education-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .education-grid {
    grid-template-columns: 1fr;
  }
  
  .edu-card {
    max-width: 100%;
  }
}

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

/* Skills Section */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.skill-category {
  margin-bottom: 30px;
}

.skill-category h3 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 15px;
}

.skill-item {
  background-color: var(--bg-color);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.skill-item:hover {
  transform: var(--card-hover-transform);
  box-shadow: var(--box-shadow-hover);
}

.skill-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Languages Section */
.languages-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.language-item {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background-color: var(--bg-color);
  box-shadow: var(--box-shadow);
  width: 200px;
  transition: var(--transition);
}

.language-item:hover {
  transform: var(--card-hover-transform);
  box-shadow: var(--box-shadow-hover);
}

.language-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.language-item h3 {
  margin-bottom: 10px;
}

.proficiency {
  height: 6px;
  background-color: var(--border-color);
  border-radius: 10px;
  margin: 15px 0;
  overflow: hidden;
}

.proficiency-bar {
  height: 100%;
  border-radius: 10px;
  background-color: var(--primary-color);
}

.native {
  width: 100%;
}

.fluent {
  width: 90%;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

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

.contact-detail h3 {
  margin-bottom: 5px;
}

.contact-form {
  background-color: var(--bg-color);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--bg-light);
  color: var(--text-color);
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(138, 77, 118, 0.1);
}

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

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.3);
    border: none;
    overflow: hidden;
}

#back-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

#back-to-top.visible:hover::before {
    transform: translateX(100%);
}

#back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.4);
}

#back-to-top i {
    font-size: 20px;
    transition: all 0.3s ease;
}

#back-to-top:hover i {
    animation: float-arrow 1.2s ease infinite;
}

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

.dark-mode #back-to-top {
    background: linear-gradient(135deg, var(--primary-color), #2D3748);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.dark-mode #back-to-top:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

/* Hide the footer back-to-top button */
.back-to-top-btn {
    display: none;
}

@media (max-width: 768px) {
    #back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        border-radius: 8px;
    }
    
    #back-to-top i {
        font-size: 18px;
    }
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 30px 0;
    position: relative;
    margin-top: 50px;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-left {
    display: flex;
    align-items: center;
}

.footer-right {
    display: flex;
    align-items: center;
}

.footer-logo {
    max-width: 100px;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.85;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 5px;
}

.back-to-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    margin-left: 20px;
    transition: var(--transition);
    position: absolute;
    right: 20px;
}

.back-to-top-btn i {
    font-size: 0.9rem;
}

.back-to-top-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-separator {
        display: none;
    }

    .back-to-top-btn {
        position: static;
        margin-top: 15px;
        margin-left: 0;
    }
}

/* Media Queries for New Sections */
@media (min-width: 768px) {
  .philosophy-content {
    flex-direction: row;
    align-items: center;
    gap: 50px;
  }
  
  .philosophy-image {
    flex: 1;
    max-width: 40%;
  }
  
  .philosophy-text {
    flex: 1.5;
  }
}

@media (max-width: 768px) {
  .testimonials-container {
    grid-template-columns: 1fr;
  }
  
  .philosophy-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .philosophy-icon {
    margin-bottom: 10px;
  }
}

/* Philosophy Section Styles */
.philosophy-content {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 40px;
  margin-bottom: 30px;
}

.philosophy-image {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  position: relative;
}

.philosophy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.philosophy-text {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.philosophy-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.3s ease;
}

.philosophy-item:hover {
  transform: translateY(-5px);
}

.philosophy-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.philosophy-item:hover .philosophy-icon {
  transform: rotate(10deg);
}

.philosophy-detail h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.philosophy-detail p {
  color: var(--text-light);
  line-height: 1.7;
}

@media (max-width: 992px) {
  .philosophy-content {
    flex-direction: column;
  }
  
  .philosophy-image {
    max-width: 100%;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .philosophy-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .philosophy-icon {
    margin-bottom: 15px;
  }
  
  .philosophy-detail h3 {
    font-size: 1.2rem;
  }
}

/* Subjects Section */
.subject-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.subject-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  position: relative;
}

.subject-intro p::before {
  content: '"';
  font-family: 'Georgia', serif;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  color: var(--primary-color);
  opacity: 0.1;
  line-height: 1;
}

.academic-focus-wrapper {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03) 0%, rgba(var(--secondary-rgb), 0.03) 100%);
  border-radius: 2rem;
  padding: 3rem;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.academic-focus-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.5;
  transform: translate(30%, -30%);
}

.academic-focus-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.1), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.4;
  transform: translate(-30%, 30%);
}

/* Academic Focus Areas / Curriculum Design */
.curriculum-levels {
  margin-bottom: 60px;
}

.curriculum-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.level-intro {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.level-intro-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.level-intro-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);
}

.curriculum-tabs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.curriculum-tabs::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 60px;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  border-radius: 4px;
  z-index: 0;
}

.level-tab {
  display: flex;
  position: relative;
  background: var(--bg-light);
  border-radius: 1.5rem;
  padding: 0;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.level-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--secondary-rgb), 0.05) 100%);
  z-index: 0;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.level-tab:hover {
  transform: translateX(8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.level-tab:hover::before {
  opacity: 1;
}

.level-tab.active {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.1) 100%);
  transform: translateX(15px);
  box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.15);
  border-color: var(--primary-color);
}

.tab-icon {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.level-tab:hover .tab-icon {
  transform: scale(1.05);
}

.tab-label {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0 1.5rem 2rem;
  flex: 1;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.tab-label span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  transition: color 0.3s ease;
  letter-spacing: -0.2px;
  margin-bottom: 0.5rem;
}

.level-tab.active .tab-label span {
  color: var(--primary-color);
}

.tab-label small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 0.3rem 1rem;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 2rem;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.tab-description {
  padding-right: 2rem;
}

.tab-description p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-light);
  margin: 0;
}

.curriculum-content {
  display: none;
  visibility: hidden;
  opacity: 0;
  height: 0;
  overflow: hidden; /* Add overflow hidden to prevent showing content before transition */
  transition: opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateY(15px);
  position: relative;
  will-change: transform, opacity;
}

.curriculum-content.active {
  display: block;
  visibility: visible;
  opacity: 1;
  height: auto;
  overflow: visible; /* Reset overflow to visible */
  transform: translateY(0);
  animation: contentFadeIn 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes contentFadeIn {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Competency Grid */
.competency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.competency-area {
  background-color: var(--bg-light);
  border-radius: 1.25rem;
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.05);
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.competency-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 1.25rem;
  border: 0 solid var(--primary-color);
  z-index: -1;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0;
}

.competency-area:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.competency-area:hover::before {
  border-width: 5px;
  opacity: 1;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
}

.competency-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
}

.competency-header::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
  transition: all 0.3s ease;
}

.competency-area:hover .competency-header::after {
  width: 100px;
}

.competency-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: rotate(-5deg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.competency-area:hover .competency-icon {
  transform: rotate(0) scale(1.1);
}

.curriculum-science-icon {  background: linear-gradient(135deg, #3B8EA5 0%, #4ECDC4 100%);}

.lang-icon {  background: linear-gradient(135deg, #EE7674 0%, #DB2777 100%);}

.math-icon {
  background: linear-gradient(135deg, #3dc19d 0%, #31a083 100%);
}

.advanced-science-icon {
  background: linear-gradient(135deg, #3B8EA5 0%, #4ECDC4 100%);
}

.adv-lang-icon {
  background: linear-gradient(135deg, #F4ABC4 0%, #DB2777 100%);
}

.adv-math-icon {
  background: linear-gradient(135deg, #3dc19d 0%, #31a083 100%);
}

.tech-icon {
  background: linear-gradient(135deg, #f7b733 0%, #e09a1d 100%);
}

.competency-header h3 {
  font-size: 1.4rem;
  margin-bottom: 0;
  color: var(--primary-color);
}

.outcome-list {
  margin: 0 0 20px 0;
  padding-left: 5px;
  list-style: none;
  flex: 1;
}

.outcome-list li {
  margin-bottom: 12px;
  position: relative;
  line-height: 1.6;
  padding-left: 28px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.outcome-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background-color: rgba(var(--primary-rgb), 0.15);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.outcome-list li::after {
  content: "✓";
  color: var(--primary-color);
  position: absolute;
  left: 4px;
  top: 0px;
  font-size: 10px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.competency-area:hover .outcome-list li::before {
  background-color: rgba(var(--primary-rgb), 0.25);
  transform: scale(1.1);
}

.competency-area:hover .outcome-list li {
  transform: translateX(3px);
}

.curriculum-details {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid rgba(var(--primary-rgb), 0.1);
  position: relative;
}

.curriculum-details::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 30%;
  height: 1px;
  background: linear-gradient(to right, var(--primary-color), transparent);
  transition: all 0.3s ease;
}

.competency-area:hover .curriculum-details::before {
  width: 60%;
}

.curriculum-topics {
  flex: 1;
}

.curriculum-topics span {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-tag {
  display: inline-block;
  padding: 5px 12px;
  background-color: rgba(var(--primary-rgb), 0.08);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-color);
  transition: all 0.3s ease;
  font-weight: 500;
}

.topic-tag:hover {
  background-color: rgba(var(--primary-rgb), 0.15);
  transform: translateY(-2px);
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary-color);
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 20px;
  background-color: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  font-size: 0.85rem;
}

.learn-more i {
  transition: all 0.3s ease;
  font-size: 0.8rem;
}

.learn-more:hover {
  color: white;
  background-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.learn-more:hover i {
  transform: translateX(3px);
  color: white;
}

/* Teaching Methodology */
.teaching-methodology {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.08));
  padding: 3.5rem;
  border-radius: 1.5rem;
  margin-top: 60px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateY(0);
}

.teaching-methodology::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.5;
  transform: translate(30%, -30%);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.teaching-methodology:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.teaching-methodology:hover::before {
  transform: translate(25%, -25%) scale(1.1);
  opacity: 0.7;
}

.methodology-title {
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
  padding-bottom: 15px;
}

.methodology-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
}

.methodology-content p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 25px;
}

.methodology-highlights {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.methodology-highlight {
  background-color: var(--bg-light);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 150px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  z-index: 1;
}

.methodology-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 1rem;
  border: 0 solid var(--primary-color);
  z-index: -1;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0;
}

.methodology-highlight:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.methodology-highlight:hover::before {
  border-width: 3px;
  opacity: 0.15;
}

.highlight-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 8px 15px rgba(var(--primary-rgb), 0.2);
  transform: rotate(-5deg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.methodology-highlight:hover .highlight-icon {
  transform: rotate(0deg) scale(1.1);
  box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

.highlight-text {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.methodology-highlight:hover .highlight-text {
  color: var(--primary-color);
}

/* Teaching Impact */
.teaching-impact {
  background: var(--bg-light);
  padding: 40px;
  border-radius: 15px;
}

.impact-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.6rem;
  color: var(--primary-color);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.impact-item {
  background: var(--bg-color);
  border-radius: var(--card-border-radius);
  padding: var(--card-padding);
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.impact-item:hover {
  transform: var(--card-hover-transform);
  box-shadow: var(--box-shadow-hover);
}

.impact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin: 0 auto 15px;
}

.impact-item h4 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.impact-item p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .competency-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .competency-grid {
    grid-template-columns: 1fr;
  }
  
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .academic-focus-wrapper {
    padding: 2rem 1.5rem;
  }
  
  .level-intro-title {
    font-size: 1.5rem;
  }
  
  .level-intro-text {
    font-size: 1rem;
  }
  
  .curriculum-tabs {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
  }
  
  .curriculum-tabs::before {
    left: 30px;
    width: 3px;
  }
  
  .level-tab {
    width: 100%;
    max-width: 100%;
  }
  
  .level-tab .tab-icon {
    width: 80px;
    height: 80px;
    font-size: 1.8rem;
  }
  
  .level-tab .tab-label {
    padding: 1.25rem 1rem;
  }
  
  .tab-label span {
    font-size: 1.3rem;
  }
  
  .tab-label small {
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
  }
  
  .tab-description {
    display: none;
  }
  
  .level-tab:hover {
    transform: translateX(5px);
  }
  
  .level-tab.active {
    transform: translateX(10px);
  }
  
  .curriculum-content.active {
    animation-duration: 0.5s;
  }
  
  .competency-grid {
    gap: 20px;
  }
  
  .competency-header h3 {
    font-size: 1.3rem;
  }
  
  .competency-icon {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }
  
  .outcome-list li {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  
  .topic-tag {
    font-size: 0.7rem;
    padding: 4px 10px;
  }
  
  .learn-more {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  
  .methodology-title {
    font-size: 1.5rem;
  }
  
  .methodology-highlights {
    gap: 15px;
  }
  
  .methodology-highlight {
    width: calc(50% - 10px);
  }
}

@media (max-width: 576px) {
  .subject-intro p {
    padding: 1.5rem;
    font-size: 1rem;
  }
  
  .academic-focus-wrapper {
    padding: 1.5rem 1rem;
    border-radius: 1.5rem;
  }
  
  .level-intro-title {
    font-size: 1.3rem;
  }
  
  .level-intro-text {
    font-size: 0.95rem;
  }
  
  .curriculum-tabs::before {
    left: 25px;
  }
  
  .level-tab {
    border-radius: 1rem;
  }
  
  .level-tab .tab-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .tab-label {
    padding: 1rem 0.75rem;
  }
  
  .tab-label span {
    font-size: 1.1rem;
  }
  
  .tab-label small {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }
  
  .competency-area {
    padding: 1.75rem;
    border-radius: 1rem;
  }
  
  .competency-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }
  
  .competency-icon {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    margin-bottom: 0;
  }
  
  .competency-header h3 {
    font-size: 1.2rem;
  }
  
  .outcome-list {
    padding-left: 0;
  }
  
  .outcome-list li {
    font-size: 0.85rem;
    padding-left: 24px;
    margin-bottom: 8px;
  }
  
  .outcome-list li::before {
    width: 14px;
    height: 14px;
  }
  
  .curriculum-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .learn-more {
    margin-top: 5px;
    width: 100%;
    justify-content: center;
  }
  
  .impact-grid {
    grid-template-columns: 1fr;
  }
  
  .teaching-methodology,
  .teaching-impact {
    padding: 1.75rem 1.25rem;
    border-radius: 1rem;
    margin-top: 40px;
  }
  
  .methodology-title {
    font-size: 1.3rem;
    padding-bottom: 10px;
  }
  
  .methodology-title::after {
    width: 60px;
    height: 2px;
  }
  
  .methodology-content p {
    font-size: 0.9rem;
  }
  
  .methodology-highlights {
    gap: 10px;
  }
  
  .methodology-highlight {
    padding: 1.25rem 1rem;
    width: calc(50% - 5px);
  }
  
  .highlight-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .highlight-text {
    font-size: 0.85rem;
  }
}

/* Experience Section */
.experience-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
}

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

.timeline-progress-bar {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 50px;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.experience-item {
  position: relative;
  margin-bottom: 60px;
  padding-left: 50px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.section.visible .experience-item {
  opacity: 1;
  transform: translateY(0);
}

.section.visible .experience-item:nth-child(1) {
  transition-delay: 0.2s;
}

.section.visible .experience-item:nth-child(2) {
  transition-delay: 0.4s;
}

.experience-marker {
  position: absolute;
  left: -15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.experience-dot {
  width: 60px;
  height: 60px;
  background: var(--experience-dot-bg, radial-gradient(circle at center, var(--bg-light) 0%, var(--bg-color) 100%));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--box-shadow);
  z-index: 2;
  border: 4px solid var(--experience-dot-border, var(--bg-color));
  transition: all 0.3s ease;
}

.experience-dot i {
  font-size: 1.3rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.experience-date {
  margin-top: 15px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 5px 12px;
  border-radius: 20px;
  background-color: var(--experience-date-bg, var(--primary-color));
  color: #fff;
  box-shadow: 0 3px 10px var(--experience-date-shadow, rgba(138, 77, 118, 0.2));
  transition: all 0.3s ease;
}

.experience-content {
  padding-bottom: 15px;
}

.experience-card {
  background: var(--bg-color);
  border-radius: var(--card-border-radius);
  padding: var(--card-padding);
  box-shadow: var(--box-shadow);
  border-left: 4px solid var(--primary-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.experience-item:hover .experience-dot {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(138, 77, 118, 0.3);
}

.experience-item:hover .experience-date {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(138, 77, 118, 0.3);
}

.experience-item:hover .experience-card {
  transform: var(--card-hover-transform);
  box-shadow: var(--box-shadow-hover);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.role-badge {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(138, 77, 118, 0.2);
}

.exp-progress {
  width: 120px;
  height: 10px;
  background-color: var(--bg-light);
  border-radius: 10px;
  overflow: hidden;
}

.exp-progress .progress-bar {
  height: 100%;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 10px;
  position: relative;
}

.exp-progress .progress-bar span {
  position: absolute;
  right: 0;
  top: -20px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary-color);
  white-space: nowrap;
}

.role-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--text-color);
  font-weight: 600;
}

.experience-card .institution-info {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.experience-card .institution-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  box-shadow: var(--box-shadow);
}

.experience-card .institution-logo i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.experience-card .institution-name {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 5px;
  color: var(--text-color);
}

.experience-card .institution-location {
  font-size: 0.9rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
}

.experience-achievements {
  display: flex;
  margin-bottom: 20px;
}

.experience-card .achievement-item {
  display: flex;
  align-items: center;
  margin-right: 30px;
}

.experience-card .achievement-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

.experience-card .achievement-icon i {
  font-size: 0.9rem;
  color: var(--primary-color);
}

.experience-card .achievement-text {
  display: flex;
  flex-direction: column;
}

.experience-card .achievement-label {
  font-size: 0.8rem;
  color: var(--text-light);
}

.experience-card .achievement-value {
  font-weight: 500;
  color: var(--text-color);
  font-size: 0.95rem;
}

.experience-highlights {
  margin-top: 15px;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
  position: relative;
  z-index: 1;
}

.experience-highlights .highlights-toggle {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  font-size: 0.95rem;
}

.experience-highlights .highlights-toggle i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.experience-highlights .highlights-toggle.active i {
  transform: rotate(180deg);
}

.experience-highlights .highlights-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.experience-highlights .highlights-content.show {
  max-height: 500px;
}

.experience-highlights .highlights-content ul {
  list-style: none;
  padding: 15px 0 0 0;
  margin: 0;
}

.experience-highlights .highlights-content ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-color);
}

.experience-highlights .highlights-content ul li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
}

.experience-card .decoration-svg {
  position: absolute;
  top: 10px;
  right: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  transition: all 0.5s ease;
  transform: none;
}

.experience-item:hover .decoration-svg {
  transform: rotate(10deg) scale(1.1);
  opacity: 0.9;
}

.experience-stats {
  margin-top: 40px;
}

.stat-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  background: var(--bg-color);
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  max-width: 900px;
  margin: 0 auto;
  border-top: 4px solid var(--primary-color);
}

.exp-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 15px;
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(138, 77, 118, 0.25);
}

.stat-icon i {
  font-size: 1.5rem;
  color: white;
}

.exp-stat-item .stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1;
  margin-bottom: 10px;
  position: relative;
  display: flex;
  align-items: baseline;
}

.exp-stat-item .stat-plus {
  font-size: 1.3rem;
  color: var(--primary-color);
  font-weight: 700;
}

.exp-stat-item .stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
}

/* Experience Section Responsive Styles */
@media (max-width: 768px) {
  .experience-timeline {
    margin-left: 10px;
  }
  
  .experience-item {
    padding-left: 20px;
  }
  
  .experience-marker {
    left: -45px;
  }
  
  .experience-dot {
    width: 45px;
    height: 45px;
  }
  
  .experience-achievements {
    flex-direction: column;
    gap: 15px;
  }
  
  .experience-card {
    padding: 20px;
  }
  
  .experience-card .decoration-svg {
    transform: scale(0.8);
    top: 5px;
    right: -10px;
  }
  
  .stat-container {
    padding: 20px 10px;
  }
  
  .exp-stat-item {
    margin: 10px;
  }
  
  .exp-stat-item .stat-icon {
    width: 50px;
    height: 50px;
  }
  
  .exp-stat-item .stat-number {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .experience-timeline {
    margin-left: 0;
  }
  
  .experience-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .experience-card .institution-info {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  
  .experience-card .institution-logo {
    margin-bottom: 15px;
  }
}

/* Updated Education Section */
.education-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
}

.education-items-container {
  display: flex;
  flex-direction: column;
  gap: 35px;
  max-width: 900px;
  margin: 0 auto;
}

.education-item {
  display: flex;
  position: relative;
  background: var(--bg-color);
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.section.visible .education-item {
  opacity: 1;
  transform: translateY(0);
}

.section.visible .education-item:nth-child(1) {
  transition-delay: 0.2s;
}

.section.visible .education-item:nth-child(2) {
  transition-delay: 0.4s;
}

.section.visible .education-item:nth-child(3) {
  transition-delay: 0.6s;
}

.education-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.education-year-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  font-weight: 600;
  padding: 0 15px;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.education-year-badge:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 100%);
}

.education-year-badge span {
  z-index: 1;
}

.education-card {
  flex: 1;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.decoration-svg {
  position: absolute;
  top: 10px;
  right: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  transition: all 0.5s ease;
}

.education-item:hover .decoration-svg {
  transform: rotate(10deg) scale(1.1);
  opacity: 0.9;
}

@media (max-width: 768px) {
  .education-item {
    flex-direction: column;
  }
  
  .education-year-badge {
    width: 100%;
    padding: 10px;
  }
  
  .education-year-badge:after {
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0% 100%);
  }
  
  .education-card {
    padding: 20px;
  }
  
  .decoration-svg {
    transform: scale(0.8);
    top: 5px;
    right: -10px;
  }
}

/* New Experience Section */
.experience-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.experience-card-wrapper {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.section.visible .experience-card-wrapper {
  opacity: 1;
  transform: translateY(0);
}

.section.visible .experience-card-wrapper:nth-child(1) {
  transition-delay: 0.2s;
}

.section.visible .experience-card-wrapper:nth-child(2) {
  transition-delay: 0.4s;
}

.section.visible .experience-card-wrapper:nth-child(3) {
  transition-delay: 0.6s;
}

.experience-card {
  background: var(--bg-color);
  border-radius: var(--card-border-radius);
  padding: var(--card-padding);
  box-shadow: var(--box-shadow);
  height: 100%;
  border-top: 4px solid var(--primary-color);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

.experience-card:hover {
  transform: var(--card-hover-transform);
  box-shadow: var(--box-shadow-hover);
}

.experience-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 10px 20px rgba(138, 77, 118, 0.2);
}

.experience-time {
  position: absolute;
  top: 30px;
  right: 30px;
}

.time-badge {
  background: var(--bg-light);
  color: var(--text-color);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

.experience-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--text-color);
}

.experience-place {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: var(--text-light);
}

.experience-stats {
  display: flex;
  gap: 25px;
  margin-bottom: 25px;
}

.experience-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.experience-stat-item .stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.experience-stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.experience-tags span {
  display: inline-block;
  padding: 5px 12px;
  background-color: rgba(138, 77, 118, 0.1);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.experience-tags span:nth-child(2) {
  background-color: rgba(244, 171, 196, 0.1);
  color: var(--secondary-color);
}

.experience-highlights-accordion {
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 10px 0;
  font-weight: 500;
  color: var(--primary-color);
}

.accordion-header i {
  transition: transform 0.3s ease;
}

.accordion-header.active i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Dark mode card styles */
.dark-mode .card {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-mode .card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.dark-mode .card::before {
    border-color: var(--primary-color);
}

.dark-mode .card-badge {
    background-color: rgba(var(--primary-rgb), 0.2);
}

.dark-mode .card:hover .card-badge {
    background-color: rgba(var(--primary-rgb), 0.3);
}

/* Special card variations */
.education-card, 
.experience-card, 
.competency-area {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
}

.education-card::before, 
.experience-card::before, 
.competency-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.education-card:hover, 
.experience-card:hover, 
.competency-area:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.education-card:hover::before, 
.experience-card:hover::before, 
.competency-area:hover::before {
    border-width: 5px;
    opacity: 1;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
}

/* Education card specific styles */
.education-card {
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.education-card:hover {
    border-left-width: 8px;
}

/* Experience card specific styles */
.experience-card {
    border-top: 5px solid var(--secondary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.experience-card:hover {
    border-top-width: 8px;
}

/* Competency area specific styles */
.competency-area {
    border-bottom: 5px solid var(--accent-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.competency-area:hover {
    border-bottom-width: 8px;
}

/* Dark mode for special cards */
.dark-mode .education-card, 
.dark-mode .experience-card, 
.dark-mode .competency-area {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .education-card {
    border-left-color: var(--primary-color);
}

.dark-mode .experience-card {
    border-top-color: var(--secondary-color);
}

.dark-mode .competency-area {
    border-bottom-color: var(--accent-color);
}

.dark-mode .education-card:hover, 
.dark-mode .experience-card:hover, 
.dark-mode .competency-area:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Card content animation */
.card-content {
    position: relative;
    z-index: 1;
}

.card:hover .card-content {
    transform: translateZ(5px);
}

/* Skill and Methodology cards */
.skill-item, .methodology-highlight {
    background-color: var(--bg-light);
    border-radius: 1rem;
    padding: 2.25rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.06);
}

.skill-item::before, .methodology-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.skill-item:hover, .methodology-highlight:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.skill-item:hover::before, .methodology-highlight:hover::before {
    border-width: 4px;
    opacity: 1;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
}

.dark-mode .skill-item, .dark-mode .methodology-highlight {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .skill-item:hover, .dark-mode .methodology-highlight:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* Language items */
.language-item {
    background-color: var(--bg-light);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.language-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    border: 0 solid var(--primary-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.language-item:hover {
    transform: translateY(-7px) scale(1.04);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.language-item:hover::before {
    border-width: 4px;
    opacity: 1;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
}

.dark-mode .language-item {
    background-color: var(--bg-alternate);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .language-item:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

/* Testimonial cards */
.testimonial-card {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 3rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    border-top: 5px solid var(--primary-color);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.25rem;
    background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.05), transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card.active {
    transform: rotateY(0deg) translateZ(0) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    background-color: var(--bg-light);
    border-radius: 1.25rem;
    padding: 2.75rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.05);
    margin-bottom: 25px;
}

.testimonial-content:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.dark-mode .testimonial-card,
.dark-mode .testimonial-content {
    background-color: var(--bg-alternate);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .testimonial-card.active {
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

/* Coming soon container */
.coming-soon-container {
  background: var(--bg-color);
  border-radius: var(--card-border-radius);
  box-shadow: var(--box-shadow);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
  text-align: center;
  margin: 30px auto;
  max-width: 650px;
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  background-image: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.03) 0%,
    rgba(var(--primary-rgb), 0.01) 100%
  );
}

.coming-soon-container::before {
    content: '';
    position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: calc(var(--card-border-radius) + 2px);
    z-index: -1;
    opacity: 0;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.coming-soon-container:hover {
  transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.coming-soon-container:hover::before {
    opacity: 1;
}

.coming-soon-icon {
  position: relative;
  width: 110px;
  height: 110px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: all 0.5s ease;
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.15);
}

.coming-soon-icon::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2px solid rgba(var(--primary-rgb), 0.2);
  animation: pulse-border 2.5s infinite ease-out;
}

.coming-soon-icon i {
  font-size: 46px;
  color: var(--primary-color);
  animation: pulse-icon 2s infinite alternate;
}

.coming-soon-text {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.coming-soon-text::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.coming-soon-container p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-color);
  max-width: 500px;
  margin: 20px auto 0;
}

.coming-soon-container .resource-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}

.resource-tag {
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.resource-tag i {
  font-size: 12px;
}

.dark-mode .coming-soon-container {
    background-color: var(--bg-alternate);
  background-image: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.08) 0%,
    rgba(var(--primary-rgb), 0.02) 100%
  );
    border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.dark-mode .coming-soon-icon {
  background-color: rgba(var(--primary-rgb), 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dark-mode .resource-tag {
  background-color: rgba(var(--primary-rgb), 0.15);
}

.dark-mode .coming-soon-container:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

@keyframes pulse-icon {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}

@keyframes pulse-border {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  70% {
    transform: scale(1.15);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Media queries for coming soon */
@media (max-width: 768px) {
  .coming-soon-container {
    padding: 40px 25px;
  }
  
  .coming-soon-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 25px;
  }
  
  .coming-soon-icon i {
    font-size: 38px;
  }
  
  .coming-soon-text {
    font-size: 28px;
  }
  
  .coming-soon-container p {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .coming-soon-container {
    padding: 30px 20px;
  }
  
  .coming-soon-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }
  
  .coming-soon-icon i {
    font-size: 32px;
  }
  
  .coming-soon-text {
    font-size: 24px;
  }
  
  .coming-soon-text::after {
    width: 60px;
    height: 3px;
  }
  
  .coming-soon-container p {
    font-size: 15px;
  }
  
  .resource-tag {
    padding: 5px 12px;
    font-size: 12px;
  }
}

/* Responsive styles for cards */
@media (max-width: 768px) {
    .card,
    .education-card,
    .experience-card,
    .competency-area,
    .testimonial-card,
    .testimonial-content,
    .coming-soon-container {
        padding: 2.5rem;
    }
    
    .skill-item,
    .methodology-highlight,
    .language-item {
        padding: 1.75rem;
    }
    
    .card:hover,
    .education-card:hover,
    .experience-card:hover,
    .competency-area:hover,
    .testimonial-content:hover,
    .coming-soon-container:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .skill-item:hover,
    .methodology-highlight:hover,
    .language-item:hover {
        transform: translateY(-3px) scale(1.02);
    }
}

@media (max-width: 576px) {
    .card,
    .education-card,
    .experience-card,
    .competency-area,
    .testimonial-card,
    .testimonial-content,
    .coming-soon-container {
        padding: 2rem 1.5rem;
    }
    
    .skill-item,
    .methodology-highlight,
    .language-item {
        padding: 1.5rem 1.25rem;
    }
    
    .card:hover::before,
    .education-card:hover::before,
    .experience-card:hover::before,
    .competency-area:hover::before,
    .skill-item:hover::before,
    .methodology-highlight:hover::before,
    .language-item:hover::before,
    .coming-soon-container:hover::before {
        border-width: 4px;
    }
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 0;
  background-color: var(--bg-color);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition);
}

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

.logo {
  height: 40px;
}

.logo img {
  height: 100%;
  width: auto;
}

/* Navigation */
nav {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

nav .nav-links {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 20px;
  align-items: center;
  list-style: none;
}

.nav-link {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 10px 15px;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-link:hover, .nav-link:focus, .nav-link.active {
  color: var(--primary-color);
  background-color: rgba(var(--primary-rgb), 0.08);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background-color: var(--primary-color);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 5px;
}

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

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.dropdown-toggle i {
  font-size: 0.8rem;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-left: 2px;
}

.dropdown.active .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background-color: var(--bg-color);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1000;
  padding: 10px 0;
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  pointer-events: none;
  margin-top: 0;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background-color: var(--bg-color);
  border-top: 1px solid rgba(var(--primary-rgb), 0.08);
  border-left: 1px solid rgba(var(--primary-rgb), 0.08);
}

.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-item {
  display: block;
  padding: 10px 18px;
  color: var(--text-color);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-align: left;
  position: relative;
  text-decoration: none;
}

.dropdown-item::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  opacity: 0;
}

.dropdown-item:hover, .dropdown-item:focus {
  background-color: rgba(var(--primary-rgb), 0.05);
  color: var(--primary-color);
  padding-left: 24px;
}

.dropdown-item:hover::before, 
.dropdown-item:focus::before {
  width: 6px;
  opacity: 1;
  transform: translateY(-50%) scaleX(1);
}

.dark-mode .dropdown-menu {
  background-color: var(--bg-color);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  border-color: rgba(var(--primary-rgb), 0.15);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Language Toggle */
/* Language Toggle - Modern Design */
.language-toggle {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.toggle-container {
  position: relative;
  background: linear-gradient(to right, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0.05));
  border-radius: 24px;
  display: flex;
  padding: 4px;
  width: 110px;
  height: 36px;
  transition: all 0.3s ease;
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.toggle-option {
  position: relative;
  z-index: 2;
  flex: 1;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px;
  cursor: pointer;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-color);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  letter-spacing: 0.02em;
}

.toggle-option span {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0.7;
}

.toggle-option img {
  border-radius: 4px;
  filter: saturate(0.8);
  width: 18px;
  height: 13px;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: scale(0.9);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.toggle-option.active {
  color: var(--bg-color);
}

.toggle-option.active span {
  opacity: 1;
}

.toggle-option.active img {
  filter: saturate(1.2);
  transform: scale(1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
}

#bn-toggle.active ~ .slider {
  left: calc(50% + 0px);
}

.dark-mode .toggle-container {
  background: linear-gradient(to right, rgba(var(--primary-rgb), 0.2), rgba(var(--primary-rgb), 0.1));
  border-color: rgba(var(--primary-rgb), 0.2);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-left: 10px;
    padding: 0;
}

.theme-toggle-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    transform: scale(1.1);
}

.theme-toggle-btn i {
    transition: var(--transition);
}

.dark-mode .theme-toggle-btn {
    color: var(--text-color);
}

.dark-mode .theme-toggle-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.2);
}

.theme-toggle-btn i.fa-sun {
    color: #FFD700;
}

.theme-toggle-btn i.fa-moon {
    color: #6c63ff;
}

.dark-mode .theme-toggle-btn i.fa-sun {
    color: #FDB813;
}

.dark-mode .theme-toggle-btn i.fa-moon {
    color: #8c85ff;
}

/* Mobile menu button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 28px;
  background: var(--text-color);
  border-radius: 10px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Mobile navigation */
@media (max-width: 992px) {
  nav {
    display: flex;
    justify-content: flex-end;
  }
  
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--bg-color);
    flex-direction: column;
    align-items: center;
    padding: 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 99;
    gap: 0;
  }
  
  .nav-links.active {
    height: auto;
    padding: 20px 0;
    opacity: 1;
  }
  
  .hamburger {
    display: flex;
    margin-left: 15px;
  }
  
  .nav-link {
    font-size: 1.1rem;
    padding: 12px 20px;
    width: 100%;
    text-align: center;
    border-radius: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: none;
  }
  
  .nav-links.active .nav-link {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
    transition-delay: 0.1s;
  }
  
  /* Mobile dropdown */
  .dropdown {
    width: 100%;
  }
  
  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 12px 20px;
  }
  
  .dropdown-menu {
    position: static !important;
    width: 100%;
    box-shadow: none;
    background-color: rgba(var(--primary-rgb), 0.05);
    padding: 0;
    margin: 0;
    border-radius: 8px;
    max-height: 0;
    overflow: hidden;
    opacity: 1 !important;
    visibility: hidden;
    transform: none !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    left: 0 !important;
    border: none;
  }
  
  .dropdown-menu::before {
    display: none;
  }
  
  .dropdown.active .dropdown-menu {
    max-height: 500px;
    padding: 8px 0;
    margin-top: 5px;
    margin-bottom: 5px;
    visibility: visible;
  }
  
  .dropdown-item {
    padding: 10px 30px;
    text-align: center;
    font-size: 0.95rem;
  }
  
  .dropdown-item::before {
    display: none;
  }
  
  .dropdown-item:hover, 
  .dropdown-item:focus {
    padding-left: 30px;
    background-color: rgba(var(--primary-rgb), 0.1);
  }
  
  .nav-links.active .nav-link:nth-child(2) { transition-delay: 0.15s; }
  .nav-links.active .nav-link:nth-child(3) { transition-delay: 0.2s; }
  .nav-links.active .nav-link:nth-child(4) { transition-delay: 0.25s; }
  .nav-links.active .nav-link:nth-child(5) { transition-delay: 0.3s; }
  .nav-links.active .nav-link:nth-child(6) { transition-delay: 0.35s; }
  .nav-links.active .nav-link:nth-child(7) { transition-delay: 0.4s; }
  .nav-links.active .nav-link:nth-child(8) { transition-delay: 0.45s; }
}

@media (min-width: 993px) and (max-width: 1200px) {
  .nav-link {
    padding: 8px 8px;
    font-size: 0.85rem;
  }
  
  .toggle-container {
    width: 100px;
  }
}

@media (max-width: 576px) {
  header {
    padding: 12px 0;
  }
  
  .header-actions {
    gap: 8px;
  }
  
  .toggle-container {
    width: 100px;
    height: 30px;
  }
  
  .toggle-option {
    font-size: 10px;
  }
  
  .toggle-option img {
    width: 14px;
    height: 10px;
  }
}

/* Hero Section */
#hero {
  position: relative;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  background-color: var(--bg-color); /* Reset to default */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f7fa 0%, #e6e9f0 100%);
  z-index: 0;
}

.dark-mode .hero-bg {
  background: linear-gradient(135deg, #1f2933 0%, #151a20 100%);
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  background-image: radial-gradient(var(--primary-color) 1px, transparent 1px),
                    radial-gradient(var(--secondary-color) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  z-index: 0;
}

.hero-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 100px 0 50px;
  z-index: 1;
}

/* Hero Image */
.hero-image-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  z-index: 2;
}

.image-shape {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 75%;
  transform: translateY(-50%);
  clip-path: polygon(0% 0%, 100% 25%, 100% 75%, 0% 100%);
  overflow: hidden;
}

.teacher-animation {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #e6e9f0 100%);
}

.dark-mode .teacher-animation {
  background: linear-gradient(135deg, #252d38 0%, #1c232d 100%);
}

.teacher-svg {
  width: 100%;
  height: 100%;
}

/* SVG Animation Elements */
.atom {
  animation: rotate 20s linear infinite;
  transform-origin: center;
}

.atom-1 {
  animation-duration: 30s;
}

.atom-2 {
  animation-duration: 25s;
  animation-direction: reverse;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.formula {
  opacity: 0.7;
  animation: float-up 10s ease-in-out infinite;
}

.formula-1 { animation-delay: 0s; }
.formula-2 { animation-delay: 2s; }
.formula-3 { animation-delay: 1s; }
.formula-4 { animation-delay: 3s; }
.formula-5 { animation-delay: 4s; }

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

.liquid {
  animation: bubble 4s ease-in-out infinite;
  transform-origin: center;
}

@keyframes bubble {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.05); }
}

.bubble {
  opacity: 0.7;
  animation: rise 4s ease-in-out infinite;
}

.bubble-1 { animation-delay: 0s; }
.bubble-2 { animation-delay: 1s; }
.bubble-3 { animation-delay: 2s; }

@keyframes rise {
  0% { transform: translateY(15px); opacity: 0; }
  50% { opacity: 0.7; }
  100% { transform: translateY(-15px); opacity: 0; }
}

/* DNA Animation */
.dna {
  animation: pulse-color 8s ease-in-out infinite;
}

.dna:nth-of-type(2) {
  animation-delay: 4s;
}

@keyframes pulse-color {
  0%, 100% { opacity: 0.6; stroke-width: 2px; }
  50% { opacity: 1; stroke-width: 2.5px; }
}

/* Molecule Animation */
.molecule circle {
  animation: pulse-size 6s ease-in-out infinite;
}

.molecule circle:nth-of-type(1) { animation-delay: 0s; }
.molecule circle:nth-of-type(2) { animation-delay: 1.5s; }
.molecule circle:nth-of-type(3) { animation-delay: 3s; }
.molecule circle:nth-of-type(4) { animation-delay: 4.5s; }

@keyframes pulse-size {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Wave Animation */
.wave {
  animation: wave-motion 10s ease-in-out infinite;
  opacity: 0.6;
}

.wave:nth-of-type(2) {
  animation-delay: 5s;
}

@keyframes wave-motion {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(10px); }
}

/* Pulse Circles */
.pulse-circle {
  animation: pulse-opacity 4s ease-in-out infinite;
}

.pulse-circle:nth-of-type(1) { animation-delay: 0s; }
.pulse-circle:nth-of-type(2) { animation-delay: 1.3s; }
.pulse-circle:nth-of-type(3) { animation-delay: 2.6s; }

@keyframes pulse-opacity {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

.shape-overlay {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 75%;
  transform: translateY(-50%);
  clip-path: polygon(0% 0%, 100% 25%, 100% 75%, 0% 100%);
  border: 3px solid var(--primary-color);
  opacity: 0.3;
  z-index: 3;
}

.science-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

.science-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 5;
}

.science-icon i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.icon-1 {
  top: 25%;
  left: -30px;
  animation: float-element 7s ease-in-out infinite;
}

.icon-2 {
  top: 70%;
  right: -30px;
  animation: float-element 8s ease-in-out infinite 0.5s;
}

.icon-3 {
  top: 40%;
  right: 10%;
  animation: float-element 6s ease-in-out infinite 1s;
}

.icon-4 {
  bottom: 20%;
  left: 10%;
  animation: float-element 9s ease-in-out infinite 0.8s;
}

.badge-wrapper {
  position: absolute;
  bottom: 18%;
  left: -50px;
  z-index: 6;
}

.experience-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  box-shadow: 0 10px 30px rgba(138, 77, 118, 0.3);
}

.exp-years {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}

.exp-text {
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.2;
  max-width: 80%;
}

/* Hero Content */
.hero-content {
  position: relative;
  max-width: 600px;
  margin-right: auto;
  padding-left: 20px;
  z-index: 3;
}

.tag-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.tag-badge {
  display: inline-block;
  padding: 6px 12px;
  background-color: rgba(138, 77, 118, 0.1);
  color: var(--primary-color);
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tag-badge:nth-child(2) {  background-color: rgba(238, 118, 116, 0.1);  color: var(--secondary-color);}

.tag-badge:nth-child(3) {
  background-color: rgba(61, 193, 157, 0.1);
  color: #3dc19d;
}

.hero-title {
  margin-bottom: 15px;
  line-height: 1.1;
}

.greeting {
  display: block;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-light);
}

.name {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -1px;
  white-space: nowrap;
  line-height: 1.1;
  display: inline-block;
}

.name .highlight {
  color: var(--primary-color);
}

.hero-subtitle-wrapper {
  margin-bottom: 20px;
  position: relative;
  padding-left: 30px;
}

.hero-subtitle-wrapper:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 3px;
  background-color: var(--primary-color);
  transform: translateY(-50%);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
}

.hero-description {
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-light);
}

.hero-stats {
  display: flex;
  gap: 50px;
  margin-bottom: 40px;
}

.stat-item {
  position: relative;
}

.stat-value {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary-color);
  display: flex;
  align-items: flex-start;
}

.stat-plus, .stat-percent {
  font-size: 1.8rem;
  font-weight: 700;
  margin-left: 3px;
  margin-top: 3px;
}

.stat-label {
  margin-top: 10px;
  font-size: 1rem;
  color: var(--text-light);
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.outline-btn {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.outline-btn:hover {
  background: rgba(138, 77, 118, 0.1);
  transform: translateY(-3px);
}

.hero-scroll {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--text-light);
  font-size: 0.9rem;
  opacity: 0.8;
  animation: fade-in-out 2s ease-in-out infinite;
  z-index: 3;
}

.hero-scroll i {
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes fade-in-out {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

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

/* Responsive */
@media (max-width: 1200px) {
  .hero-image-wrapper {
    width: 38%;
  }
  
  .name {
    font-size: 3.5rem;
  }
}

@media (max-width: 992px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    padding-top: 120px;
  }
  
  .hero-image-wrapper {
    position: relative;
    width: 50%;
    height: 400px;
    margin: 0 auto 50px;
    grid-row: 1;
  }
  
  .image-shape, .shape-overlay {
    top: 0;
    height: 100%;
    transform: none;
    clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 15% 100%);
  }
  
  .hero-content {
    grid-row: 2;
    text-align: center;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .hero-subtitle-wrapper {
    padding-left: 0;
  }
  
  .hero-subtitle-wrapper:before {
    left: 50%;
    top: -15px;
    width: 50px;
    transform: translateX(-50%);
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .badge-wrapper {
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .tag-badges {
    justify-content: center;
  }
  
  .hero-subtitle {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .hero-wrapper {
    padding-top: 100px;
    padding-bottom: 80px;
  }
  
  .hero-image-wrapper {
    width: 70%;
    height: 350px;
  }
  
  .image-shape, .shape-overlay {
    clip-path: polygon(0% 0%, 100% 0%, 80% 100%, 20% 100%);
  }
  
  .science-icon {
    width: 45px;
    height: 45px;
  }
  
  .science-icon i {
    font-size: 1.3rem;
  }
  
  .experience-badge {
    width: 80px;
    height: 80px;
  }
  
  .exp-years {
    font-size: 1.6rem;
  }
  
  .exp-text {
    font-size: 0.6rem;
  }
  
  .name {
    font-size: 3rem;
    white-space: normal;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-scroll {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-wrapper {
    min-height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  
  .hero-image-wrapper {\n    width: 85%;\n    height: 180px;\n    margin-bottom: 10px;\n  }\n\n  .hero-content {\n    padding: 0;\n    max-width: 100%;\n  }\n\n  .tag-badges {\n    margin-bottom: 5px;\n    gap: 5px;\n  }\n\n  .tag-badge {\n    padding: 3px 8px;\n    font-size: 0.7rem;\n  }
  
  .image-shape, .shape-overlay {
    clip-path: polygon(0% 0%, 100% 0%, 75% 100%, 25% 100%);
    height: 70%;
  }
  
  .name {
    font-size: 2.3rem;
    margin-bottom: 5px;
  }
  
  .greeting {
    font-size: 1rem;
    margin-bottom: 5px;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  .hero-description {
    margin-bottom: 12px;
    font-size: 0.9rem;
  }
  
  .stat-value {
    font-size: 2rem;
  }
  
  .stat-plus, .stat-percent {
    font-size: 1.2rem;
  }
  
  .hero-stats {
    gap: 25px;
    margin-bottom: 20px;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-actions .btn {
    width: 100%;
    padding: 10px 20px;
  }
  
  .icon-1, .icon-4 {
    display: none;
  }
  
  .icon-2, .icon-3 {
    width: 40px;
    height: 40px;
  }
}

/* About Section */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  position: relative;
  overflow: visible;
}

/* Image Side Styling */
.about-image-container {
  position: relative;
  background: radial-gradient(circle at 20% 20%, var(--bg-light) 0%, var(--bg-color) 100%);
  border-radius: 20px;
  padding: 25px;
  box-shadow: var(--box-shadow);
  overflow: visible;
  height: fit-content;
}

.image-frame {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transform: perspective(1000px) rotateY(3deg);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 2;
}

.image-frame:hover {
  transform: perspective(1000px) rotateY(0deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.image-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.6s ease;
}

.image-frame:hover img {
  transform: scale(1.03);
}

.experience-indicator {
  position: absolute;
  bottom: -25px;
  right: 30px;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 20px rgba(138, 77, 118, 0.3);
  z-index: 3;
}

.exp-number {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.exp-text {
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.2;
  max-width: 90%;
  margin-top: 2px;
}

.decorative-element {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--bg-color);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 4;
  animation: float-element 6s ease-in-out infinite;
  color: var(--primary-color);
  font-size: 1.4rem;
}

.element-1 {
  top: -15px;
  left: 50px;
  animation-delay: 0s;
}

.element-2 {
  bottom: 60px;
  left: -15px;
  animation-delay: 2s;
}

.element-3 {
  top: 70px;
  right: -15px;
  animation-delay: 1s;
}

/* Content Side Styling */
.about-content-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-top-bar {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.professional-badge, .specialty-badge {
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.professional-badge {  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);  color: white;  box-shadow: 0 5px 15px rgba(59, 142, 165, 0.2);}

.specialty-badge {
  background-color: rgba(138, 77, 118, 0.1);
  color: var(--primary-color);
  border: 1px solid rgba(138, 77, 118, 0.3);
}

.about-greeting {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.about-intro {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-description {
  margin-bottom: 30px;
  line-height: 1.8;
  color: var(--text-color);
}

.about-stats {
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  margin: 30px 0;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
}

.about-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.about-cta {
  padding: 14px 28px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.about-cta.download-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
}

.about-cta.download-btn:hover {
  background-color: rgba(138, 77, 118, 0.1);
  transform: translateY(-5px);
}

.about-cta.primary-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(138, 77, 118, 0.25);
}

@media (max-width: 576px) {
  .about-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .about-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Responsive styles for About section */
@media (max-width: 1200px) {
  .about-wrapper {
    gap: 40px;
  }
  
  .about-image-container {
    padding: 25px;
  }
  
  .about-stats {
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .about-image-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 25px;
  }
  
  .decorative-element {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .about-top-bar {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  
  .professional-badge, .specialty-badge {
    font-size: 0.8rem;
  }
  
  .about-greeting {
    font-size: 1.8rem;
  }
  
  .about-intro {
    font-size: 1.1rem;
  }
  
  .about-stats {
    flex-wrap: wrap;
    gap: 30px 40px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .about-image-container {
    padding: 20px;
  }
  
  .experience-indicator {
    width: 80px;
    height: 80px;
    bottom: -15px;
    right: 15px;
  }
  
  .exp-number {
    font-size: 2rem;
  }
  
  .decorative-element {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  
  .element-1 {
    top: -10px;
    left: 30px;
  }
  
  .element-2 {
    bottom: 50px;
    left: -10px;
  }
  
  .element-3 {
    top: 60px;
    right: -10px;
  }
}

/* Education Section Styles */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.edu-card {
  background: var(--bg-light);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
    height: 100%;
  display: flex;
  flex-direction: column;
    position: relative;
  border-top: 5px solid var(--primary-color);
    opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s forwards;
  animation-delay: calc(var(--delay, 0) * 0.1s);
}

.edu-card:nth-child(1) {
  --delay: 1;
}

.edu-card:nth-child(2) {
  --delay: 2;
  border-top-color: var(--secondary-color);
}

.edu-card:nth-child(3) {
  --delay: 3;
  border-top-color: var(--accent-color);
}

.edu-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.edu-card-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 15px 20px;
    display: flex;
  justify-content: space-between;
    align-items: center;
  color: white;
}

.edu-card:nth-child(2) .edu-card-header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
}

.edu-card:nth-child(3) .edu-card-header {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.edu-year {
  font-weight: 600;
  font-size: 1rem;
    display: flex;
    align-items: center;
}

.edu-degree-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
}

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

.edu-title {
  margin: 0;
  font-size: 1.4rem;
  color: var(--text-color);
  font-weight: 600;
}

.edu-institution {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.edu-institution i {
  font-size: 1.4rem;
    color: var(--primary-color);
  margin-top: 3px;
}

.edu-card:nth-child(2) .edu-institution i {
    color: var(--secondary-color);
}

.edu-card:nth-child(3) .edu-institution i {
    color: var(--accent-color);
}

.edu-institution h4 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  font-weight: 500;
}

.edu-location {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.edu-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 5px;
}

.edu-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 45%;
}

.edu-stat i {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  color: var(--primary-color);
}

.edu-card:nth-child(2) .edu-stat i {
  background: rgba(var(--secondary-rgb), 0.1);
  color: var(--secondary-color);
}

.edu-card:nth-child(3) .edu-stat i {
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent-color);
}

.edu-stat div {
  display: flex;
  flex-direction: column;
}

.edu-stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.edu-stat strong {
  font-weight: 600;
  color: var(--text-color);
}

.edu-details {
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 15px;
}

.edu-details-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.edu-details-header span {
  font-weight: 500;
  color: var(--primary-color);
}

.edu-card:nth-child(2) .edu-details-header span {
  color: var(--secondary-color);
}

.edu-card:nth-child(3) .edu-details-header span {
  color: var(--accent-color);
}

.details-toggle {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.details-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

.details-toggle i {
  transition: transform 0.3s ease;
}

.details-toggle.active i {
  transform: rotate(180deg);
}

.edu-details-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.edu-details-content.active {
  max-height: 300px;
}

.edu-details-content ul {
  margin: 15px 0 0 0;
  padding: 0 0 0 20px;
}

.edu-details-content li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-color);
}

/* Dark mode adjustments */
.dark-mode .edu-card {
  background: var(--dark-bg-secondary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.dark-mode .edu-title,
.dark-mode .edu-institution h4,
.dark-mode .edu-stat strong,
.dark-mode .edu-details-content li {
  color: var(--dark-text);
}

.dark-mode .edu-details {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .details-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .education-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .education-grid {
    grid-template-columns: 1fr;
  }
  
  .edu-card {
    max-width: 100%;
  }
}

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

/* Skills Section */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.skill-category {
  margin-bottom: 30px;
}

.skill-category h3 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 15px;
}

.skill-item {
  background-color: var(--bg-color);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.skill-item:hover {
  transform: var(--card-hover-transform);
  box-shadow: var(--box-shadow-hover);
}

.skill-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Languages Section */
.languages-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.language-item {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background-color: var(--bg-color);
  box-shadow: var(--box-shadow);
  width: 200px;
  transition: var(--transition);
}

.language-item:hover {
  transform: var(--card-hover-transform);
  box-shadow: var(--box-shadow-hover);
}

.language-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.language-item h3 {
  margin-bottom: 10px;
}

.proficiency {
  height: 6px;
  background-color: var(--border-color);
  border-radius: 10px;
  margin: 15px 0;
  overflow: hidden;
}

.proficiency-bar {
  height: 100%;
  border-radius: 10px;
  background-color: var(--primary-color);
}

.native {
  width: 100%;
}

.fluent {
  width: 90%;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

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

.contact-detail h3 {
  margin-bottom: 5px;
}

.contact-form {
  background-color: var(--bg-color);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--bg-light);
  color: var(--text-color);
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(138, 77, 118, 0.1);
}

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

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.3);
    border: none;
    overflow: hidden;
}

#back-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

#back-to-top.visible:hover::before {
    transform: translateX(100%);
}

#back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.4);
}

#back-to-top i {
    font-size: 20px;
    transition: all 0.3s ease;
}

#back-to-top:hover i {
    animation: float-arrow 1.2s ease infinite;
}

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

.dark-mode #back-to-top {
    background: linear-gradient(135deg, var(--primary-color), #2D3748);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.dark-mode #back-to-top:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

/* Hide the footer back-to-top button */
.back-to-top-btn {
    display: none;
}

@media (max-width: 768px) {
    #back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        border-radius: 8px;
    }
    
    #back-to-top i {
        font-size: 18px;
    }
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 30px 0;
    position: relative;
    margin-top: 50px;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-left {
    display: flex;
    align-items: center;
}

.footer-right {
    display: flex;
    align-items: center;
}

.footer-logo {
    max-width: 100px;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.85;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 5px;
}

.back-to-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    margin-left: 20px;
    transition: var(--transition);
    position: absolute;
    right: 20px;
}

.back-to-top-btn i {
    font-size: 0.9rem;
}

.back-to-top-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-separator {
        display: none;
    }

    .back-to-top-btn {
        position: static;
        margin-top: 15px;
        margin-left: 0;
    }
}

/* Media Queries for New Sections */
@media (min-width: 768px) {
  .philosophy-content {
    flex-direction: row;
    align-items: center;
    gap: 50px;
  }
  
  .philosophy-image {
    flex: 1;
    max-width: 40%;
  }
  
  .philosophy-text {
    flex: 1.5;
  }
}

@media (max-width: 768px) {
  .testimonials-container {
    grid-template-columns: 1fr;
  }
  
  .philosophy-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .philosophy-icon {
    margin-bottom: 10px;
  }
}

/* Philosophy Section Styles */
.philosophy-content {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 40px;
  margin-bottom: 30px;
}

.philosophy-image {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  position: relative;
}

.philosophy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.philosophy-text {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.philosophy-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.3s ease;
}

.philosophy-item:hover {
  transform: translateY(-5px);
}

.philosophy-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.philosophy-item:hover .philosophy-icon {
  transform: rotate(10deg);
}

.philosophy-detail h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.philosophy-detail p {
  color: var(--text-light);
  line-height: 1.7;
}

@media (max-width: 992px) {
  .philosophy-content {
    flex-direction: column;
  }
  
  .philosophy-image {
    max-width: 100%;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .philosophy-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .philosophy-icon {
    margin-bottom: 15px;
  }
  
  .philosophy-detail h3 {
    font-size: 1.2rem;
  }
}

/* Subjects Section */
.subject-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.subject-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  position: relative;
}

.subject-intro p::before {
  content: '"';
  font-family: 'Georgia', serif;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  color: var(--primary-color);
  opacity: 0.1;
  line-height: 1;
}

.academic-focus-wrapper {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03) 0%, rgba(var(--secondary-rgb), 0.03) 100%);
  border-radius: 2rem;
  padding: 3rem;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.academic-focus-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.5;
  transform: translate(30%, -30%);
}

.academic-focus-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.1), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.4;
  transform: translate(-30%, 30%);
}

/* Academic Focus Areas / Curriculum Design */
.curriculum-levels {
  margin-bottom: 60px;
}

.curriculum-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.level-intro {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.level-intro-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.level-intro-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);
}

.curriculum-tabs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.curriculum-tabs::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 60px;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  border-radius: 4px;
  z-index: 0;
}

.level-tab {
  display: flex;
  position: relative;
  background: var(--bg-light);
  border-radius: 1.5rem;
  padding: 0;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden; /* Add overflow hidden to prevent showing content before transition */
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.level-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05) 0%, rgba(var(--secondary-rgb), 0.05) 100%);
  z-index: 0;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.level-tab:hover {
  transform: translateX(8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.level-tab:hover::before {
  opacity: 1;
}

.level-tab.active {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.1) 100%);
  transform: translateX(15px);
  box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.15);
  border-color: var(--primary-color);
}

.tab-icon {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.level-tab:hover .tab-icon {
  transform: scale(1.05);
}

.tab-label {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0 1.5rem 2rem;
  flex: 1;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.tab-label span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  transition: color 0.3s ease;
  letter-spacing: -0.2px;
  margin-bottom: 0.5rem;
}

.level-tab.active .tab-label span {
  color: var(--primary-color);
}

.tab-label small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 0.3rem 1rem;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 2rem;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.tab-description {
  padding-right: 2rem;
}

.tab-description p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-light);
  margin: 0;
}

.curriculum-content {
  display: none;
  visibility: hidden;
  opacity: 0;
  height: 0;
  overflow: hidden; /* Add overflow hidden to prevent showing content before transition */
  transition: opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateY(15px);
  position: relative;
  will-change: transform, opacity;
}

.curriculum-content.active {
  display: block;
  visibility: visible;
  opacity: 1;
  height: auto;
  overflow: visible; /* Reset overflow to visible */
  transform: translateY(0);
  animation: contentFadeIn 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes contentFadeIn {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Competency Grid */
.competency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.competency-area {
  background-color: var(--bg-light);
  border-radius: 1.25rem;
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.05);
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.competency-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 1.25rem;
  border: 0 solid var(--primary-color);
  z-index: -1;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0;
}

.competency-area:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.competency-area:hover::before {
  border-width: 5px;
  opacity: 1;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
}

.competency-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
}

.competency-header::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
  transition: all 0.3s ease;
}

.competency-area:hover .competency-header::after {
  width: 100px;
}

.competency-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: rotate(-5deg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.competency-area:hover .competency-icon {
  transform: rotate(0) scale(1.1);
}

.curriculum-science-icon {  background: linear-gradient(135deg, #3B8EA5 0%, #4ECDC4 100%);}

.lang-icon {  background: linear-gradient(135deg, #EE7674 0%, #DB2777 100%);}

.math-icon {
  background: linear-gradient(135deg, #3dc19d 0%, #31a083 100%);
}

.advanced-science-icon {
  background: linear-gradient(135deg, #3B8EA5 0%, #4ECDC4 100%);
}

.adv-lang-icon {
  background: linear-gradient(135deg, #F4ABC4 0%, #DB2777 100%);
}

.adv-math-icon {
  background: linear-gradient(135deg, #3dc19d 0%, #31a083 100%);
}

.tech-icon {
  background: linear-gradient(135deg, #f7b733 0%, #e09a1d 100%);
}

.competency-header h3 {
  font-size: 1.4rem;
  margin-bottom: 0;
  color: var(--primary-color);
}

.outcome-list {
  margin: 0 0 20px 0;
  padding-left: 5px;
  list-style: none;
  flex: 1;
}

.outcome-list li {
  margin-bottom: 12px;
  position: relative;
  line-height: 1.6;
  padding-left: 28px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.outcome-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background-color: rgba(var(--primary-rgb), 0.15);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.outcome-list li::after {
  content: "✓";
  color: var(--primary-color);
  position: absolute;
  left: 4px;
  top: 0px;
  font-size: 10px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.competency-area:hover .outcome-list li::before {
  background-color: rgba(var(--primary-rgb), 0.25);
  transform: scale(1.1);
}

.competency-area:hover .outcome-list li {
  transform: translateX(3px);
}

.curriculum-details {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid rgba(var(--primary-rgb), 0.1);
  position: relative;
}

.curriculum-details::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 30%;
  height: 1px;
  background: linear-gradient(to right, var(--primary-color), transparent);
  transition: all 0.3s ease;
}

.competency-area:hover .curriculum-details::before {
  width: 60%;
}

.curriculum-topics {
  flex: 1;
}

.curriculum-topics span {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-tag {
  display: inline-block;
  padding: 5px 12px;
  background-color: rgba(var(--primary-rgb), 0.08);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-color);
  transition: all 0.3s ease;
  font-weight: 500;
}

.topic-tag:hover {
  background-color: rgba(var(--primary-rgb), 0.15);
  transform: translateY(-2px);
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary-color);
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 20px;
  background-color: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
  font-size: 0.85rem;
}

.learn-more i {
  transition: all 0.3s ease;
  font-size: 0.8rem;
}

.learn-more:hover {
  color: white;
  background-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.learn-more:hover i {
  transform: translateX(3px);
  color: white;
}

/* Teaching Methodology */
.teaching-methodology {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08), rgba(var(--secondary-rgb), 0.08));
  padding: 3.5rem;
  border-radius: 1.5rem;
  margin-top: 60px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateY(0);
}

.teaching-methodology::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.5;
  transform: translate(30%, -30%);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.teaching-methodology:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.teaching-methodology:hover::before {
  transform: translate(25%, -25%) scale(1.1);
  opacity: 0.7;
}

.methodology-title {
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
  padding-bottom: 15px;
}

.methodology-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
}

.methodology-content p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 25px;
}

.methodology-highlights {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.methodology-highlight {
  background-color: var(--bg-light);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 150px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  z-index: 1;
}

.methodology-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 1rem;
  border: 0 solid var(--primary-color);
  z-index: -1;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0;
}

.methodology-highlight:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.methodology-highlight:hover::before {
  border-width: 3px;
  opacity: 0.15;
}

.highlight-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 8px 15px rgba(var(--primary-rgb), 0.2);
  transform: rotate(-5deg);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.methodology-highlight:hover .highlight-icon {
  transform: rotate(0deg) scale(1.1);
  box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

.highlight-text {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.methodology-highlight:hover .highlight-text {
  color: var(--primary-color);
}

/* Teaching Impact */
.teaching-impact {
  background: var(--bg-light);
  padding: 40px;
  border-radius: 15px;
}

.impact-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.6rem;
  color: var(--primary-color);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.impact-item {
  background: var(--bg-color);
  border-radius: var(--card-border-radius);
  padding: var(--card-padding);
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.impact-item:hover {
  transform: var(--card-hover-transform);
  box-shadow: var(--box-shadow-hover);
}

.impact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin: 0 auto 15px;
}

.impact-item h4 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.impact-item p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .competency-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .competency-grid {
    grid-template-columns: 1fr;
  }
  
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .academic-focus-wrapper {
    padding: 2rem 1.5rem;
  }
  
  .level-intro-title {
    font-size: 1.5rem;
  }
  
  .level-intro-text {
    font-size: 1rem;
  }
  
  .curriculum-tabs {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
  }
  
  .curriculum-tabs::before {
    left: 30px;
    width: 3px;
  }
  
  .level-tab {
    width: 100%;
    max-width: 100%;
  }
  
  .level-tab .tab-icon {
    width: 80px;
    height: 80px;
    font-size: 1.8rem;
  }
  
  .level-tab .tab-label {
    padding: 1.25rem 1rem;
  }
  
  .tab-label span {
    font-size: 1.3rem;
  }
  
  .tab-label small {
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
  }
  
  .tab-description {
    display: none;
  }
  
  .level-tab:hover {
    transform: translateX(5px);
  }
  
  .level-tab.active {
    transform: translateX(10px);
  }
  
  .curriculum-content.active {
    animation-duration: 0.5s;
  }
  
  .competency-grid {
    gap: 20px;
  }
  
  .competency-header h3 {
    font-size: 1.3rem;
  }
  
  .competency-icon {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }
  
  .outcome-list li {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  
  .topic-tag {
    font-size: 0.7rem;
    padding: 4px 10px;
  }
  
  .learn-more {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  
  .methodology-title {
    font-size: 1.5rem;
  }
  
  .methodology-highlights {
    gap: 15px;
  }
  
  .methodology-highlight {
    width: calc(50% - 10px);
  }
}

@media (max-width: 576px) {
  .subject-intro p {
    padding: 1.5rem;
    font-size: 1rem;
  }
  
  .academic-focus-wrapper {
    padding: 1.5rem 1rem;
    border-radius: 1.5rem;
  }
  
  .level-intro-title {
    font-size: 1.3rem;
  }
  
  .level-intro-text {
    font-size: 0.95rem;
  }
  
  .curriculum-tabs::before {
    left: 25px;
  }
  
  .level-tab {
    border-radius: 1rem;
  }
  
  .level-tab .tab-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .tab-label {
    padding: 1rem 0.75rem;
  }
  
  .tab-label span {
    font-size: 1.1rem;
  }
  
  .tab-label small {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }
  
  .competency-area {
    padding: 1.75rem;
    border-radius: 1rem;
  }
  
  .competency-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }
  
  .competency-icon {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    margin-bottom: 0;
  }
  
  .competency-header h3 {
    font-size: 1.2rem;
  }
  
  .outcome-list {
    padding-left: 0;
  }
  
  .outcome-list li {
    font-size: 0.85rem;
    padding-left: 24px;
    margin-bottom: 8px;
  }
  
  .outcome-list li::before {
    width: 14px;
    height: 14px;
  }
  
  .curriculum-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .learn-more {
    margin-top: 5px;
    width: 100%;
    justify-content: center;
  }
  
  .impact-grid {
    grid-template-columns: 1fr;
  }
  
  .teaching-methodology,
  .teaching-impact {
    padding: 1.75rem 1.25rem;
    border-radius: 1rem;
    margin-top: 40px;
  }
  
  .methodology-title {
    font-size: 1.3rem;
    padding-bottom: 10px;
  }
  
  .methodology-title::after {
    width: 60px;
    height: 2px;
  }
  
  .methodology-content p {
    font-size: 0.9rem;
  }
  
  .methodology-highlights {
    gap: 10px;
  }
  
  .methodology-highlight {
    padding: 1.25rem 1rem;
    width: calc(50% - 5px);
  }
  
  .highlight-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .highlight-text {
    font-size: 0.85rem;
  }
}

/* Experience Section */
.experience-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
}

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

.timeline-progress-bar {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 50px;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.experience-item {
  position: relative;
  margin-bottom: 60px;
  padding-left: 50px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.section.visible .experience-item {
  opacity: 1;
  transform: translateY(0);
}

.section.visible .experience-item:nth-child(1) {
  transition-delay: 0.2s;
}

.section.visible .experience-item:nth-child(2) {
  transition-delay: 0.4s;
}

.experience-marker {
  position: absolute;
  left: -15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.experience-dot {
  width: 60px;
  height: 60px;
  background: var(--experience-dot-bg, radial-gradient(circle at center, var(--bg-light) 0%, var(--bg-color) 100%));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--box-shadow);
  z-index: 2;
  border: 4px solid var(--experience-dot-border, var(--bg-color));
  transition: all 0.3s ease;
}

.experience-dot i {
  font-size: 1.3rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.experience-date {
  margin-top: 15px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 5px 12px;
  border-radius: 20px;
  background-color: var(--experience-date-bg, var(--primary-color));
  color: #fff;
  box-shadow: 0 3px 10px var(--experience-date-shadow, rgba(138, 77, 118, 0.2));
  transition: all 0.3s ease;
}

.experience-content {
  padding-bottom: 15px;
}

.experience-card {
  background: var(--bg-color);
  border-radius: var(--card-border-radius);
  padding: var(--card-padding);
  box-shadow: var(--box-shadow);
  border-left: 4px solid var(--primary-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.experience-item:hover .experience-dot {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(138, 77, 118, 0.3);
}

.experience-item:hover .experience-date {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(138, 77, 118, 0.3);
}

.experience-item:hover .experience-card {
  transform: var(--card-hover-transform);
  box-shadow: var(--box-shadow-hover);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.role-badge {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(138, 77, 118, 0.2);
}

.exp-progress {
  width: 120px;
  height: 10px;
  background-color: var(--bg-light);
  border-radius: 10px;
  overflow: hidden;
}

.exp-progress .progress-bar {
  height: 100%;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 10px;
  position: relative;
}

.exp-progress .progress-bar span {
  position: absolute;
  right: 0;
  top: -20px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary-color);
  white-space: nowrap;
}

.role-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--text-color);
  font-weight: 600;
}

.experience-card .institution-info {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.experience-card .institution-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  box-shadow: var(--box-shadow);
}

.experience-card .institution-logo i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.experience-card .institution-name {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 5px;
  color: var(--text-color);
}

.experience-card .institution-location {
  font-size: 0.9rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
}

.experience-achievements {
  display: flex;
  margin-bottom: 20px;
}

.experience-card .achievement-item {
  display: flex;
  align-items: center;
  margin-right: 30px;
}

.experience-card .achievement-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

.experience-card .achievement-icon i {
  font-size: 0.9rem;
  color: var(--primary-color);
}

.experience-card .achievement-text {
  display: flex;
  flex-direction: column;
}

.experience-card .achievement-label {
  font-size: 0.8rem;
  color: var(--text-light);
}

.experience-card .achievement-value {
  font-weight: 500;
  color: var(--text-color);
  font-size: 0.95rem;
}

.experience-highlights {
  margin-top: 15px;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
  position: relative;
  z-index: 1;
}

.experience-highlights .highlights-toggle {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  font-size: 0.95rem;
}

.experience-highlights .highlights-toggle i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.experience-highlights .highlights-toggle.active i {
  transform: rotate(180deg);
}

.experience-highlights .highlights-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.experience-highlights .highlights-content.show {
  max-height: 500px;
}

.experience-highlights .highlights-content ul {
  list-style: none;
  padding: 15px 0 0 0;
  margin: 0;
}

.experience-highlights .highlights-content ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-color);
}

.experience-highlights .highlights-content ul li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
}

.experience-card .decoration-svg {
  position: absolute;
  top: 10px;
  right: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  transition: all 0.5s ease;
  transform: none;
}

.experience-item:hover .decoration-svg {
  transform: rotate(10deg) scale(1.1);
  opacity: 0.9;
}

.experience-stats {
  margin-top: 40px;
}

.stat-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  background: var(--bg-color);
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  max-width: 900px;
  margin: 0 auto;
  border-top: 4px solid var(--primary-color);
}

.exp-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 15px;
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(138, 77, 118, 0.25);
}

.stat-icon i {
  font-size: 1.5rem;
  color: white;
}

.exp-stat-item .stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1;
  margin-bottom: 10px;
  position: relative;
  display: flex;
  align-items: baseline;
}

.exp-stat-item .stat-plus {
  font-size: 1.3rem;
  color: var(--primary-color);
  font-weight: 700;
}

.exp-stat-item .stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
}

/* Experience Section Responsive Styles */
@media (max-width: 768px) {
  .experience-timeline {
    margin-left: 10px;
  }
  
  .experience-item {
    padding-left: 20px;
  }
  
  .experience-marker {
    left: -45px;
  }
  
  .experience-dot {
    width: 45px;
    height: 45px;
  }
  
  .experience-achievements {
    flex-direction: column;
    gap: 15px;
  }
  
  .experience-card {
    padding: 20px;
  }
  
  .experience-card .decoration-svg {
    transform: scale(0.8);
    top: 5px;
    right: -10px;
  }
  
  .stat-container {
    padding: 20px 10px;
  }
  
  .exp-stat-item {
    margin: 10px;
  }
  
  .exp-stat-item .stat-icon {
    width: 50px;
    height: 50px;
  }
  
  .exp-stat-item .stat-number {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .experience-timeline {
    margin-left: 0;
  }
  
  .experience-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .experience-card .institution-info {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  
  .experience-card .institution-logo {
    margin-bottom: 15px;
  }
}

/* Updated Education Section */
.education-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
}

.education-items-container {
  display: flex;
  flex-direction: column;
  gap: 35px;
  max-width: 900px;
  margin: 0 auto;
}

.education-item {
  display: flex;
  position: relative;
  background: var(--bg-color);
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.section.visible .education-item {
  opacity: 1;
  transform: translateY(0);
}

.section.visible .education-item:nth-child(1) {
  transition-delay: 0.2s;
}

.section.visible .education-item:nth-child(2) {
  transition-delay: 0.4s;
}

.section.visible .education-item:nth-child(3) {
  transition-delay: 0.6s;
}

.education-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.education-year-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  font-weight: 600;
  padding: 0 15px;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.education-year-badge:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 100%);
}

.education-year-badge span {
  z-index: 1;
}

.education-card {
  flex: 1;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.decoration-svg {
  position: absolute;
  top: 10px;
  right: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  transition: all 0.5s ease;
}

.education-item:hover .decoration-svg {
  transform: rotate(10deg) scale(1.1);
  opacity: 0.9;
}

@media (max-width: 768px) {
  .education-item {
    flex-direction: column;
  }
  
  .education-year-badge {
    width: 100%;
    padding: 10px;
  }
  
  .education-year-badge:after {
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0% 100%);
  }
  
  .education-card {
    padding: 20px;
  }
  
  .decoration-svg {
    transform: scale(0.8);
    top: 5px;
    right: -10px;
  }
}

/* New Experience Section */
.experience-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.experience-card-wrapper {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.section.visible .experience-card-wrapper {
  opacity: 1;
  transform: translateY(0);
}

.section.visible .experience-card-wrapper:nth-child(1) {
  transition-delay: 0.2s;
}

.section.visible .experience-card-wrapper:nth-child(2) {
  transition-delay: 0.4s;
}

.section.visible .experience-card-wrapper:nth-child(3) {
  transition-delay: 0.6s;
}

.experience-card {
  background: var(--bg-color);
  border-radius: var(--card-border-radius);
  padding: var(--card-padding);
  box-shadow: var(--box-shadow);
  height: 100%;
  border-top: 4px solid var(--primary-color);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

.experience-card:hover {
  transform: var(--card-hover-transform);
  box-shadow: var(--box-shadow-hover);
}

.experience-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 10px 20px rgba(138, 77, 118, 0.2);
}

.experience-time {
  position: absolute;
  top: 30px;
  right: 30px;
}

.time-badge {
  background: var(--bg-light);
  color: var(--text-color);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

.experience-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--text-color);
}

.experience-place {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: var(--text-light);
}

.experience-stats {
  display: flex;
  gap: 25px;
  margin-bottom: 25px;
}

.experience-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.experience-stat-item .stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.experience-stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.experience-tags span {
  display: inline-block;
  padding: 5px 12px;
  background-color: rgba(138, 77, 118, 0.1);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.experience-tags span:nth-child(2) {
  background-color: rgba(244, 171, 196, 0.1);
  color: var(--secondary-color);
}

.experience-highlights-accordion {
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 10px 0;
  font-weight: 500;
  color: var(--primary-color);
}

.accordion-header i {
  transition: transform 0.3s ease;
}

.accordion-header.active i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content.show {
  max-height: 500px;
}

.accordion-content ul {
  list-style: none;
  padding: 15px 0 0 0;
  margin: 0;
}

.accordion-content ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text-color);
}

.accordion-content ul li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
}

.experience-card-decoration {
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 0.7;
  pointer-events: none;
  transition: all 0.5s ease;
}

.experience-card:hover .experience-card-decoration {
  transform: rotate(10deg) scale(1.1);
  opacity: 0.9;
}

/* Experience Summary Stats */
.experience-stats-summary {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  background: var(--bg-color);
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  margin: 0 auto;
  max-width: 900px;
}

.summary-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
}

.summary-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 10px 20px rgba(138, 77, 118, 0.2);
}

.summary-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 5px;
  line-height: 1;
  display: flex;
  align-items: baseline;
}

.stat-plus, .stat-percent {
  font-size: 1rem;
  color: var(--primary-color);
  margin-left: 2px;
}

.summary-label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
}

@media (max-width: 992px) {
  .experience-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .experience-time {
    position: static;
    margin-bottom: 15px;
  }
  
  .experience-stats-summary {
    padding: 20px;
    gap: 30px;
  }
  
  .summary-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  .summary-number {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .experience-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .experience-card {
    padding: 20px;
  }
  
  .experience-stats {
    flex-wrap: wrap;
    row-gap: 15px;
  }
  
  .experience-stats-summary {
    gap: 20px;
  }
  
  .summary-stat {
    min-width: 100px;
  }
}

/* New Skills Section Styling */
.skills-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
}

.skills-wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-bottom: 50px;
}

.skills-category-wrapper {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.section.visible .skills-category-wrapper {
  opacity: 1;
  transform: translateY(0);
}

.section.visible .skills-category-wrapper:nth-child(1) {
  transition-delay: 0.1s;
}

.section.visible .skills-category-wrapper:nth-child(2) {
  transition-delay: 0.3s;
}

.section.visible .skills-category-wrapper:nth-child(3) {
  transition-delay: 0.5s;
}

.skills-category-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.skills-category-header:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), transparent);
  border-radius: 2px;
}

.category-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  box-shadow: 0 10px 25px rgba(138, 77, 118, 0.3);
  transform: rotate(-5deg);
  transition: all 0.3s ease;
}

.skills-category-wrapper:hover .category-icon {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 0 15px 30px rgba(138, 77, 118, 0.4);
}

.skills-category-header h3 {
  font-size: 1.8rem;
  margin: 0;
  font-weight: 700;
  color: var(--text-color);
  position: relative;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.skills-hexagon-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
  padding: 20px 10px;
}

.skill-hexagon {
  position: relative;
  width: 180px;
  height: 208px; /* height = width * sqrt(3)/2 */
  margin: 10px 0;
  background-color: var(--bg-color);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  box-shadow: var(--box-shadow);
  opacity: 0;
  transform: scale(0.9);
  backface-visibility: hidden;
  overflow: hidden;
  isolation: isolate;
}

.section.visible .skill-hexagon {
  opacity: 1;
  transform: scale(1);
}

.section.visible .skill-hexagon:nth-child(1) { transition-delay: 0.1s; }
.section.visible .skill-hexagon:nth-child(2) { transition-delay: 0.2s; }
.section.visible .skill-hexagon:nth-child(3) { transition-delay: 0.3s; }
.section.visible .skill-hexagon:nth-child(4) { transition-delay: 0.4s; }
.section.visible .skill-hexagon:nth-child(5) { transition-delay: 0.5s; }

.skill-hexagon.intermediate {
  background: linear-gradient(140deg, var(--bg-color) 0%, rgba(255, 196, 0, 0.1) 100%);
  border: 2px solid rgba(255, 196, 0, 0.5);
  box-shadow: 0 6px 15px rgba(255, 196, 0, 0.2);
}

.skill-hexagon.advanced {
  background: linear-gradient(140deg, var(--bg-color) 0%, rgba(138, 77, 118, 0.1) 100%);
  border: 2px solid rgba(138, 77, 118, 0.5);
  box-shadow: 0 6px 15px rgba(138, 77, 118, 0.2);
}

.skill-hexagon.expert {
  background: linear-gradient(140deg, var(--bg-color) 0%, rgba(167, 139, 250, 0.1) 100%);
  border: 2px solid rgba(167, 139, 250, 0.5);
  box-shadow: 0 6px 15px rgba(167, 139, 250, 0.2);
}

.skill-hexagon:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  opacity: 0.5;
  z-index: 1;
  transition: opacity 0.5s ease;
}

.skill-hexagon:hover {
  transform: translateY(-10px) rotate(3deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.skill-hexagon:hover:before {
  opacity: 0.8;
}

.hexagon-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;
  text-align: center;
  z-index: 2;
  transition: all 0.5s ease;
}

.skill-icon {
  width: 65px;
  height: 65px;
  border-radius: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 3;
  transition: all 0.4s ease;
  transform-style: preserve-3d;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.intermediate .skill-icon {
  color: white;
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.advanced .skill-icon {
  color: white;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.expert .skill-icon {
  color: white;
  background: linear-gradient(135deg, #9370DB 0%, #7B68EE 100%);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.skill-hexagon:hover .skill-icon {
  transform: translateZ(15px) scale(1.1) rotate(-3deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.skill-name {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
  line-height: 1.2;
  position: relative;
  z-index: 3;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.skill-hexagon:hover .skill-name {
  transform: scale(1.05);
}

.skill-level {
  display: flex;
  gap: 5px;
  position: relative;
  z-index: 3;
  padding: 4px 12px;
  border-radius: 15px;
  background-color: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.level-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.intermediate .level-dot.active {
  background-color: #ffc400;
  border-color: #ffc400;
  box-shadow: 0 0 8px #ffc400;
}

.advanced .level-dot.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 8px var(--primary-color);
}

.expert .level-dot.active {
  background-color: #9370DB;
  border-color: #9370DB;
  box-shadow: 0 0 8px #9370DB;
}

/* Skills Legend */
.skills-legend {
  max-width: 600px;
  margin: 40px auto 0;
  padding: 25px;
  background-color: var(--bg-color);
  border-radius: 20px;
  box-shadow: var(--box-shadow);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.7s;
  border-top: 4px solid var(--primary-color);
  position: relative;
  overflow: hidden;
}

.skills-legend:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at bottom right, rgba(var(--primary-rgb), 0.1), transparent 60%);
  z-index: 0;
}

.section.visible .skills-legend {
  opacity: 1;
  transform: translateY(0);
}

.legend-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-color);
  position: relative;
  z-index: 1;
}

.legend-items {
  display: flex;
  justify-content: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.legend-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  border: 1px solid white;
}

.legend-dot.intermediate {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  box-shadow: 0 0 10px rgba(255, 196, 0, 0.5);
}

.legend-dot.advanced {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  box-shadow: 0 0 10px rgba(138, 77, 118, 0.5);
}

.legend-dot.expert {
  background: linear-gradient(135deg, #9370DB 0%, #7B68EE 100%);
  box-shadow: 0 0 10px rgba(147, 112, 219, 0.5);
}

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

@media (max-width: 992px) {
  .skills-hexagon-grid {
    gap: 25px;
  }
  
  .skill-hexagon {
    width: 160px;
    height: 185px;
  }
  
  .skills-legend {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .skills-category-header {
    margin-bottom: 30px;
  }
  
  .skills-category-header h3 {
    font-size: 1.5rem;
  }
  
  .category-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .skills-hexagon-grid {
    gap: 20px;
  }
  
  .skill-hexagon {
    width: 145px;
    height: 168px;
  }
  
  .hexagon-content {
    padding: 20px 15px;
  }
  
  .skill-icon {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  
  .skill-name {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  
  .legend-items {
    gap: 20px;
  }
  
  .legend-item {
    padding: 6px 12px;
  }
}

@media (max-width: 576px) {
  .skills-category-header {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 15px;
  }
  
  .skills-hexagon-grid {
    justify-content: center;
    gap: 15px;
  }
  
  .skill-hexagon {
    width: 140px;
    height: 162px;
  }
  
  .skill-icon {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }
  
  .legend-items {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .legend-item {
    width: 80%;
    justify-content: center;
  }
}

/* Testimonial Styles */
.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    visibility: hidden;
    padding: 20px;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
    position: relative;
}

.testimonial-content {
    background-color: var(--bg-lighter);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.testimonial-content:hover {
    transform: translateY(-5px);
}

.testimonial-content i {
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--primary-color);
    opacity: 0.2;
    font-size: 24px;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.6;
    margin-top: 10px;
}

.testimonial-info {
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    margin-right: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

.testimonial-author h4 {
    margin: 0;
    color: var(--text-color);
    font-size: 18px;
}

.testimonial-author p {
    margin: 5px 0 0;
    font-size: 14px;
    color: var(--text-muted);
}

.testimonial-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    padding: 10px;
}

.testimonial-nav-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.testimonial-nav-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    align-items: center;
    margin: 0 15px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .testimonial-slide {
        min-height: 200px;
    }
    
    .testimonial-info {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-img {
        margin-right: 0;
        margin-bottom: 10px;
    }
} 

/* Testimonials Section Styles */
.testimonial-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.testimonial-scene {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1200px;
    padding: 60px 0 20px;
    height: 440px; /* Decreased height as requested */
    overflow: visible;
}

.testimonial-carousel {
    position: relative;
    width: 100%;
    height: 350px;
    transform-style: preserve-3d;
    transition: transform 1s ease;
    will-change: transform;
}

.testimonial-card {
    position: absolute;
    width: 95%;
    max-width: 900px;
    height: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: calc(var(--card-padding) + 15px) var(--card-padding) 20px;
    background: var(--bg-color);
    border-radius: var(--card-border-radius);
    box-shadow: var(--box-shadow);
    transform: rotateY(0deg) translateZ(400px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.7s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 4px solid var(--primary-color);
    will-change: transform, opacity, visibility;
    backface-visibility: hidden;
    overflow: visible !important;
}

.testimonial-card.active {
    opacity: 1;
    visibility: visible;
    transform: rotateY(0deg) translateZ(0);
    z-index: 3;
}

.testimonial-card:nth-child(2) {
    transform: rotateY(60deg) translateZ(100px) scale(0.9);
    opacity: 0.7;
    z-index: 2;
}

.testimonial-card:nth-child(3) {
    transform: rotateY(-60deg) translateZ(100px) scale(0.9);
    opacity: 0.7;
    z-index: 1;
}

.testimonial-badge {
    position: absolute;
    top: -15px;
    left: 25px;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    z-index: 100;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transform: translateZ(50px);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.testimonial-badge.student {
    background: linear-gradient(135deg, #3B8EA5 0%, #4ECDC4 100%);
    color: #fff;
}

.testimonial-badge.parent {
    background: linear-gradient(135deg, #F4ABC4 0%, #DB2777 100%);
    color: #fff;
}

.testimonial-badge.colleague {
    background: linear-gradient(135deg, #3dc19d 0%, #2a9475 100%);
    color: #fff;
}

.testimonial-rating {
    margin-bottom: 15px;
    color: #FFD700;
    font-size: 18px;
    letter-spacing: 2px;
}

.testimonial-quote {
    margin-bottom: 15px;
    position: relative;
}

.testimonial-quote i {
    font-size: 24px;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    top: 0;
    left: 0;
}

.testimonial-quote p {
    padding-left: 36px;
    font-style: italic;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 0;
    max-height: 180px;
    overflow-y: auto;
}

.testimonial-profile {
    display: flex;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.profile-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.profile-info h4 {
    margin: 0 0 5px;
    font-weight: 600;
    font-size: 18px;
}

.profile-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.control-btn {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.control-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.control-btn i {
    font-size: 16px;
}

.testimonial-indicators {
    display: flex;
    gap: 10px;
    align-items: center;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    width: 30px;
    border-radius: 20px;
    background: var(--primary-color);
}

/* Dark mode styles */
.dark-mode .testimonial-card {
    background: var(--bg-color);
    border-top-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dark-mode .testimonial-profile {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Media queries */
@media (max-width: 768px) {
    .testimonial-scene {
        perspective: 800px;
    }
    
    .testimonial-card {
        height: auto;
        min-height: 400px;
        padding: 25px 20px;
    }
    
    .testimonial-rating {
        font-size: 16px;
    }
    
    .testimonial-quote i {
        font-size: 24px;
    }
    
    .testimonial-quote p {
        font-size: 15px;
        padding-left: 35px;
    }
    
    .profile-image {
        width: 50px;
        height: 50px;
    }
    
    .profile-info h4 {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        width: 95%;
        padding: 30px 15px 20px;
    }
    
    .testimonial-badge {
        left: 15px;
        top: -18px;
        font-size: 13px;
        padding: 8px 18px;
        font-weight: 700;
        z-index: 999;
    }
    
    .testimonial-rating {
        font-size: 14px;
    }
    
    .testimonial-quote p {
        font-size: 14px;
    }
    
    .testimonial-controls {
        margin-top: 20px;
    }
    
    .control-btn {
        width: 35px;
        height: 35px;
    }
} 

/* Resources section - Coming Soon */
.coming-soon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    text-align: center;
    background-color: var(--bg-color);
    border-radius: var(--card-border-radius);
    margin: 30px auto;
    max-width: 600px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.coming-soon-container:hover {
    transform: var(--card-hover-transform);
    box-shadow: var(--box-shadow-hover);
}

.coming-soon-icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.coming-soon-text {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Media queries for coming soon */
@media (max-width: 576px) {
    .coming-soon-container {
        padding: 30px 15px;
    }
    
    .coming-soon-icon {
        font-size: 40px;
    }
    
    .coming-soon-text {
        font-size: 24px;
    }
}

/* SVG Text Elements - High Contrast */
.teacher-svg text {
  fill: #333333 !important; /* Dark text for light backgrounds */
  font-weight: 600; /* Make text bolder for better visibility */
}

.dark-mode .teacher-svg text {
  fill: #FFFFFF !important; /* White text for dark backgrounds */
}

/* Common Card Styles */
.card {
  background: var(--bg-color);
  border-radius: var(--card-border-radius);
  padding: var(--card-padding);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
}

.card:hover {
  transform: var(--card-hover-transform);
  box-shadow: var(--box-shadow-hover);
}

.card-accent-left {
  border-left: 4px solid var(--primary-color);
}

.card-accent-top {
  border-top: 4px solid var(--primary-color);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-badge {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(138, 77, 118, 0.2);
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--text-color);
  font-weight: 600;
}

.card-decoration {
  position: absolute;
  top: 10px;
  right: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  transition: all 0.5s ease;
}

.card:hover .card-decoration {
  transform: rotate(10deg) scale(1.1);
  opacity: 0.9;
}

/* Update specific card styles */
.education-card {
  background: var(--bg-color);
  border-radius: var(--card-border-radius);
  padding: var(--card-padding);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
  border-left: 4px solid var(--primary-color);
}

.education-card:hover {
  transform: var(--card-hover-transform);
  box-shadow: var(--box-shadow-hover);
}

.competency-area {
  background: var(--bg-color);
  border-radius: var(--card-border-radius);
  padding: var(--card-padding);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
}

.competency-area:hover {
  transform: var(--card-hover-transform);
  box-shadow: var(--box-shadow-hover);
}

.impact-item {
  background: var(--bg-color);
  border-radius: var(--card-border-radius);
  padding: var(--card-padding);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
  text-align: center;
}

.impact-item:hover {
  transform: var(--card-hover-transform);
  box-shadow: var(--box-shadow-hover);
}

.methodology-highlight {
  background: var(--bg-color);
  border-radius: 12px;
  padding: 15px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 150px;
  text-align: center;
}

.methodology-highlight:hover {
  transform: var(--card-hover-transform);
  box-shadow: var(--box-shadow-hover);
}

.skill-item {
  background: var(--bg-color);
  border-radius: 10px;
  padding: 15px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
  text-align: center;
}

.skill-item:hover {
  transform: var(--card-hover-transform);
  box-shadow: var(--box-shadow-hover);
}

.language-item {
  background: var(--bg-color);
  border-radius: 10px;
  padding: 20px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 200px;
}

.language-item:hover {
  transform: var(--card-hover-transform);
  box-shadow: var(--box-shadow-hover);
}

.experience-card {
  background: var(--bg-color);
  border-radius: var(--card-border-radius);
  padding: var(--card-padding);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
  border-top: 4px solid var(--primary-color);
  height: 100%;
}

.experience-card:hover {
  transform: var(--card-hover-transform);
  box-shadow: var(--box-shadow-hover);
}

.testimonial-card {
  background: var(--bg-color);
  border-radius: var(--card-border-radius);
  padding: var(--card-padding);
  box-shadow: var(--box-shadow);
  transition: all 0.7s ease;
  overflow: hidden;
  position: absolute;
  border-top: 4px solid var(--primary-color);
  width: 90%;
  max-width: 600px;
  height: 100%;
  left: 0;
  right: 0;
  margin: 0 auto;
  transform: rotateY(0deg) translateZ(400px);
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  will-change: transform, opacity, visibility;
  backface-visibility: hidden;
}

.testimonial-content {
  background: var(--bg-color);
  border-radius: var(--card-border-radius);
  padding: var(--card-padding);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

.testimonial-content:hover {
  transform: var(--card-hover-transform);
}

.coming-soon-container {
  background: var(--bg-color);
  border-radius: var(--card-border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  text-align: center;
  margin: 30px auto;
  max-width: 600px;
}

.coming-soon-container:hover {
  transform: var(--card-hover-transform);
  box-shadow: var(--box-shadow-hover);
}

/* Theme Selector Styles */
.theme-selector {
    position: relative;
    margin-right: 10px;
}

.theme-selector-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-selector-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
}

.theme-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 180px;
    background-color: var(--bg-light);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 10px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.theme-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.theme-option {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.theme-option:hover {
    background-color: rgba(var(--primary-rgb), 0.08);
}

.theme-option.active {
    background-color: rgba(var(--primary-rgb), 0.15);
}

/* Dark mode overrides for specific components */
.dark-mode {
    /* Text elements */
    h1, h2, h3, h4, h5, h6, p, span, a {
        color: var(--text-color);
    }

    /* Links */
    a {
        color: var(--primary-color);
    }

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

    /* Buttons */
    .btn {
        background-color: var(--btn-primary-bg);
        color: var(--btn-primary-text);
    }

    .btn:hover {
        background-color: var(--btn-hover-bg);
        color: var(--btn-hover-text);
    }

    /* Cards */
    .card {
        background-color: var(--card-bg);
        border-color: var(--card-border);
    }

    /* Sections */
    section {
        background-color: var(--section-bg);
    }

    section.alternate {
        background-color: var(--section-alt-bg);
    }

    /* Forms */
    input, textarea, select {
        background-color: var(--input-bg);
        border-color: var(--input-border);
        color: var(--input-text);
    }

    input::placeholder, textarea::placeholder {
        color: var(--input-placeholder);
    }

    /* Navigation */
    .nav-link {
        color: var(--nav-text);
    }

    .nav-link:hover, .nav-link:focus {
        color: var(--nav-hover);
    }

    .nav-link.active {
        color: var(--nav-active);
    }

    /* Dropdown menus */
    .dropdown-menu {
        background-color: var(--bg-light);
        border-color: var(--border-color);
    }

    .dropdown-item {
        color: var(--text-color);
    }

    .dropdown-item:hover, .dropdown-item:focus {
        background-color: var(--bg-alternate);
        color: var(--primary-color);
    }

    /* Icons */
    .icon {
        color: var(--text-color);
    }

    /* Borders */
    .border {
        border-color: var(--border-color) !important;
    }

    /* Shadows */
    .shadow {
        box-shadow: var(--box-shadow) !important;
    }

    /* Timeline */
    .timeline-line {
        background-color: var(--border-color);
    }

    .timeline-dot {
        background-color: var(--primary-color);
        border-color: var(--border-color);
    }

    /* Skills */
    .skill-tag {
        background-color: var(--bg-light);
        color: var(--text-color);
    }

    /* Testimonials */
    .testimonial-card {
        background-color: var(--card-bg);
        border-color: var(--card-border);
    }

    .testimonial-quote {
        color: var(--text-color);
    }

    /* Hero section */
    .hero-pattern {
        opacity: 0.15;
    }

    .hero-text {
        color: var(--text-color);
    }

    /* SVG elements */
    svg path {
        stroke: var(--text-color);
    }

    svg text {
        fill: var(--text-color);
    }
}

/* Dark Mode Toggle */
.mode-toggle-wrapper {
    margin-left: 10px;
    position: relative;
}

.mode-toggle-btn {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.mode-toggle-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
}

.mode-toggle-btn i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    color: var(--text-color);
}

.light-icon {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(45deg) scale(0.5);
    color: #f1c40f; /* Yellow sun color */
}

.dark-icon {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0) scale(1);
    color: var(--text-color); /* Use text color variable for better dark/light contrast */
}

/* When dark mode is active */
.dark-mode .light-icon {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0) scale(1);
}

.dark-mode .dark-icon {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-45deg) scale(0.5);
}

.dark-mode .mode-toggle-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.2);
}

/* Global transitions for dark mode */
body {
    transition: background-color 0.5s ease, color 0.5s ease;
}

* {
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

/* Dark Mode Toggle - New Implementation */
.theme-mode-toggle {
    margin-left: 10px;
    position: relative;
}

#theme-mode-toggle {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    background-color: rgba(var(--primary-rgb), 0.05);
}

#theme-mode-toggle:hover {
    background-color: rgba(var(--primary-rgb), 0.15);
}

#theme-mode-toggle i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    color: var(--text-color);
}

#theme-mode-toggle .fa-sun {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-45deg) scale(0.5);
    color: #f1c40f; /* Sun color */
}

#theme-mode-toggle .fa-moon {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0) scale(1);
    color: #34495e; /* Moon color */
}

.dark-mode #theme-mode-toggle .fa-sun {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0) scale(1);
}

.dark-mode #theme-mode-toggle .fa-moon {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(45deg) scale(0.5);
}

/* Dark Mode Styles */
.dark-mode {
    --bg-color: #1a202c;
    --text-color: #e2e8f0;
    --heading-color: #f7fafc;
    --bg-alternate: #2d3748;
    --bg-light: #2d3748;
    --border-color: #4a5568;
    --nav-text: #e2e8f0;
    --nav-hover: #3B8EA5;
    --nav-active: #3B8EA5;
    --card-bg: #2d3748;
    --card-border: #4a5568;
    --input-bg: #2d3748;
    --input-border: #4a5568;
    --input-text: #e2e8f0;
    --input-placeholder: #a0aec0;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    --section-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --header-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.dark-mode h1, 
.dark-mode h2, 
.dark-mode h3, 
.dark-mode h4, 
.dark-mode h5, 
.dark-mode h6, 
.dark-mode p, 
.dark-mode span, 
.dark-mode a {
    color: var(--text-color);
}

.dark-mode a {
    color: var(--primary-color);
}

.dark-mode a:hover {
    color: var(--secondary-color);
}

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

.dark-mode .btn:hover {
    background-color: darken(var(--primary-color), 10%);
}

.dark-mode .card {
    background-color: var(--card-bg);
    border-color: var(--card-border);
}

.dark-mode section {
    background-color: var(--bg-color);
}

.dark-mode section.alternate {
    background-color: var(--bg-alternate);
}

.dark-mode input, 
.dark-mode textarea, 
.dark-mode select {
    background-color: var(--input-bg);
    border-color: var(--input-border);
    color: var(--input-text);
}

.dark-mode input::placeholder, 
.dark-mode textarea::placeholder {
    color: var(--input-placeholder);
}

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

.dark-mode .nav-link:hover, 
.dark-mode .nav-link:focus {
    color: var(--nav-hover);
}

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

.dark-mode .dropdown-menu {
    background-color: var(--bg-light);
    box-shadow: var(--box-shadow);
}

.dark-mode .dropdown-item {
    color: var(--text-color);
}

.dark-mode .dropdown-item:hover, 
.dark-mode .dropdown-item:focus {
    background-color: rgba(var(--primary-rgb), 0.2);
}

/* Animation for dark mode transition */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Academic Focus Area - New Design */
.focus-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.focus-intro p {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-color);
    font-weight: 400;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.focus-card {
    background-color: #fff;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.dark-mode .focus-card {
    background-color: var(--dark-card-bg);
    border-color: var(--dark-border-color);
}

.focus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.dark-mode .focus-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.focus-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.15);
    transition: all 0.3s ease;
}

.focus-card:hover .focus-icon {
    transform: scale(1.1) rotate(5deg);
}

.focus-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.dark-mode .focus-card h3 {
    color: var(--dark-heading-color);
}

.focus-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.dark-mode .focus-card p {
    color: var(--dark-text-color);
}

.focus-details {
    margin-top: auto;
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
    padding-top: 1.5rem;
}

.focus-levels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.level-tag {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.dark-mode .level-tag {
    background: rgba(var(--primary-rgb), 0.2);
}

.focus-card:hover .level-tag {
    background: var(--primary-color);
    color: white;
}

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

.focus-topics li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.dark-mode .focus-topics li {
    color: var(--dark-text-color);
}

.focus-topics li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
}

.focus-card:hover .focus-topics li {
    color: var(--primary-color);
}

/* Teaching Approach */
.teaching-approach {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03) 0%, rgba(var(--secondary-rgb), 0.03) 100%);
    border-radius: 1.5rem;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.teaching-approach h3 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--heading-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.teaching-approach h3:after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

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

.approach-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(var(--primary-rgb), 0.05);
}

.dark-mode .approach-item {
    background-color: var(--dark-card-bg);
    border-color: var(--dark-border-color);
}

.approach-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.dark-mode .approach-item:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.approach-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.approach-item:hover .approach-icon {
    transform: scale(1.1) rotate(5deg);
}

.approach-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--heading-color);
    transition: all 0.3s ease;
}

.dark-mode .approach-item h4 {
    color: var(--dark-heading-color);
}

.approach-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-color);
}

.dark-mode .approach-item p {
    color: var(--dark-text-color);
}

/* Media Queries for Academic Focus Areas */
@media (max-width: 992px) {
    .focus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .focus-intro p {
        font-size: 1.1rem;
    }
    
    .teaching-approach {
        padding: 2rem;
    }
    
    .teaching-approach h3 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .focus-grid {
        grid-template-columns: 1fr;
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
    }
    
    .focus-card,
    .approach-item {
        padding: 1.75rem;
    }
    
    .focus-icon,
    .approach-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .focus-card h3 {
        font-size: 1.3rem;
    }
    
    .approach-item h4 {
        font-size: 1.1rem;
    }
}

/* Teaching Experience Section */
.teach-exp-container {
  margin-top: 40px;
}

.teach-exp-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.teach-exp-timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  top: 0;
  bottom: 0;
  left: 50px;
  margin-left: -2px;
  border-radius: 4px;
}

.teach-exp-item {
  position: relative;
  background-color: transparent;
  margin-bottom: 60px;
  display: flex;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

.section.visible .teach-exp-item {
  opacity: 1;
  transform: translateY(0);
}

.section.visible .teach-exp-item:nth-child(1) {
  transition-delay: 0.2s;
}

.section.visible .teach-exp-item:nth-child(2) {
  transition-delay: 0.4s;
}

.teach-exp-date {
  width: 120px;
  padding-right: 30px;
  padding-top: 8px;
  text-align: right;
  position: relative;
}

.teach-exp-date span {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-color);
  background-color: rgba(var(--primary-rgb), 0.08);
  padding: 8px 15px;
  border-radius: 20px;
  white-space: nowrap;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.1);
  transition: all 0.3s ease;
}

.teach-exp-item:hover .teach-exp-date span {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.15);
  background-color: rgba(var(--primary-rgb), 0.12);
}

.teach-exp-content {
  background-color: var(--bg-light);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-left: 40px;
  flex: 1;
  position: relative;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.teach-exp-item:hover .teach-exp-content {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.teach-exp-content::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  left: -54px;
  top: 10px;
  border: 5px solid var(--bg-color);
  box-shadow: 0 0 0 5px rgba(var(--primary-rgb), 0.1);
  z-index: 1;
  transition: all 0.3s ease;
}

.teach-exp-item:hover .teach-exp-content::before {
  transform: scale(1.2);
  box-shadow: 0 0 0 8px rgba(var(--primary-rgb), 0.1);
}

.teach-exp-role {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.role-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  box-shadow: 0 6px 15px rgba(var(--primary-rgb), 0.15);
  transition: all 0.3s ease;
}

.teach-exp-item:hover .role-icon {
  transform: rotate(360deg);
}

.role-icon i {
  color: white;
  font-size: 1.2rem;
}

.teach-exp-role h3 {
  margin: 0;
  font-size: 1.4rem;
  color: var(--text-color);
  font-weight: 600;
}

.teach-exp-company {
  margin-bottom: 15px;
  padding-left: 60px;
}

.teach-exp-company span {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 500;
}

.teach-exp-type {
  margin-bottom: 20px;
  padding-left: 60px;
}

.type-badge {
  display: inline-block;
  background-color: rgba(var(--secondary-rgb), 0.1);
  color: var(--secondary-color);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 15px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.teach-exp-item:hover .type-badge {
  background-color: rgba(var(--secondary-rgb), 0.15);
}

.teach-exp-stats {
  display: flex;
  margin-bottom: 20px;
  margin-top: 20px;
  padding-left: 40px;
  gap: 20px;
}

.stat-box {
  background-color: var(--bg-color);
  border-radius: 8px;
  padding: 15px 20px;
  min-width: 120px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  border-top: 3px solid var(--primary-color);
  transition: all 0.3s ease;
}

.teach-exp-item:hover .stat-box {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.teach-exp-details {
  padding-left: 40px;
}

.teach-exp-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.teach-exp-details li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.teach-exp-details li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

.teach-exp-item:hover .teach-exp-details li {
  color: var(--text-color);
  transform: translateX(2px);
}

.teach-exp-item:hover .teach-exp-details li:before {
  transform: scale(1.3);
  background-color: var(--secondary-color);
}

/* Dark Mode Styles */
.dark-mode .teach-exp-content {
  background-color: var(--dark-card-bg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.dark-mode .teach-exp-item:hover .teach-exp-content {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.dark-mode .stat-box {
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dark-mode .teach-exp-date span {
  background-color: rgba(var(--primary-rgb), 0.15);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .teach-exp-timeline::before {
    left: 20px;
  }
  
  .teach-exp-date {
    width: auto;
    text-align: left;
    padding-left: 40px;
    padding-right: 15px;
  }
  
  .teach-exp-content {
    margin-left: 20px;
    padding: 20px;
  }
  
  .teach-exp-content::before {
    left: -34px;
  }
  
  .teach-exp-role h3 {
    font-size: 1.2rem;
  }
  
  .role-icon {
    width: 40px;
    height: 40px;
  }
  
  .teach-exp-company,
  .teach-exp-type,
  .teach-exp-details {
    padding-left: 0;
  }
  
  .teach-exp-stats {
    padding-left: 0;
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .stat-box {
    min-width: 100px;
    padding: 10px 15px;
  }
  
  .stat-value {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .teach-exp-item {
    flex-direction: column;
  }
  
  .teach-exp-date {
    width: 100%;
    padding: 0 0 15px 40px;
  }
  
  .teach-exp-content {
    width: 100%;
    margin-left: 0;
  }
  
  .teach-exp-content::before {
    top: -10px;
    left: 18px;
  }
  
  .teach-exp-timeline::before {
    left: 20px;
  }
  
  .teach-exp-role {
    flex-direction: row;
    align-items: center;
  }
  
  .role-icon {
    margin-bottom: 0;
    margin-right: 15px;
  }
  
  .teach-exp-company, 
  .teach-exp-type {
    padding-left: 0;
  }
  
  .teach-exp-stats {
    justify-content: flex-start;
    gap: 10px;
  }
  
  .stat-box {
    padding: 10px;
    min-width: 90px;
  }
  
  .stat-value {
    font-size: 1.2rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .teach-exp-details {
    padding-left: 0;
  }
}

/* Teaching Experience Cards */
.experience-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.exp-card {
  background-color: var(--bg-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  border-top: 5px solid transparent;
  border-image: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-image-slice: 1;
  opacity: 0;
  transform: translateY(30px);
}

.section.visible .exp-card {
  opacity: 1;
  transform: translateY(0);
}

.section.visible .exp-card:nth-child(1) {
  transition-delay: 0.2s;
}

.section.visible .exp-card:nth-child(2) {
  transition-delay: 0.4s;
}

.exp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.exp-card-header {
  padding: 25px 25px 0;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.exp-badge {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  background-color: rgba(var(--primary-rgb), 0.1);
  padding: 8px 16px;
  border-radius: 30px;
  display: inline-block;
}

.exp-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.2);
  position: relative;
  z-index: 1;
  transition: all 0.5s ease;
}

.exp-card:hover .exp-icon {
  transform: scale(1.1) rotate(10deg);
}

.exp-icon i {
  font-size: 1.5rem;
  color: white;
}

.exp-card-body {
  padding: 25px 25px 15px;
}

.exp-title {
  font-size: 1.5rem;
  margin: 0 0 8px;
  color: var(--text-color);
  font-weight: 600;
}

.exp-company {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.exp-tag {
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 20px;
  background-color: rgba(var(--secondary-rgb), 0.1);
  color: var(--secondary-color);
  font-weight: 500;
  transition: all 0.3s ease;
}

.exp-card:hover .exp-tag {
  background-color: rgba(var(--secondary-rgb), 0.15);
}

.exp-metrics {
  display: flex;
  gap: 25px;
  margin-bottom: 25px;
}

.exp-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.exp-stat-item .stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.exp-stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.exp-stat-item .metric-label {
  font-size: 0.75rem;
}

.exp-metrics {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-radius: 10px;
  background-color: var(--bg-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  min-width: 90px;
  transition: all 0.3s ease;
}

.exp-card:hover .metric {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.metric-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 2px;
}

.exp-card-footer {
  padding: 20px 25px 25px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: auto;
}

.exp-subtitle {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 15px;
  color: var(--text-color);
  position: relative;
  display: inline-block;
}

.exp-subtitle:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50%;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), transparent);
  transition: all 0.3s ease;
}

.exp-card:hover .exp-subtitle:after {
  width: 70%;
}

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

.exp-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--text-light);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.exp-list li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

.exp-card:hover .exp-list li {
  color: var(--text-color);
  transform: translateX(3px);
}

.exp-card:hover .exp-list li:before {
  background-color: var(--secondary-color);
}

/* Dark Mode Styles */
.dark-mode .exp-card {
  background-color: var(--dark-card-bg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.dark-mode .exp-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.dark-mode .exp-badge {
  background-color: rgba(var(--primary-rgb), 0.2);
}

.dark-mode .metric {
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dark-mode .exp-card-footer {
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .experience-cards {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .experience-cards {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .exp-card-header {
    padding: 20px 20px 0;
  }
  
  .exp-card-body, 
  .exp-card-footer {
    padding: 20px;
  }
  
  .exp-icon {
    width: 50px;
    height: 50px;
  }
  
  .exp-icon i {
    font-size: 1.3rem;
  }
  
  .exp-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .exp-card-header {
    padding: 15px 15px 0;
  }
  
  .exp-card-body, 
  .exp-card-footer {
    padding: 15px;
  }
  
  .exp-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  
  .exp-icon {
    width: 45px;
    height: 45px;
  }
  
  .exp-icon i {
    font-size: 1.1rem;
  }
  
  .exp-title {
    font-size: 1.2rem;
  }
  
  .exp-company {
    font-size: 1rem;
  }
  
  .exp-metrics {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .metric {
    min-width: 80px;
    padding: 8px 12px;
  }
  
  .metric-value {
    font-size: 1.2rem;
  }
  
  .metric-label {
    font-size: 0.75rem;
  }
}

/* New Testimonials Section Styles */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.testimonial-item {
    background: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-left: 4px solid var(--primary-color);
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    padding: 15px 20px 0;
    position: relative;
}

.testimonial-category {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonial-category.student {
    background: linear-gradient(135deg, #3B8EA5 0%, #4ECDC4 100%);
    color: #fff;
}

.testimonial-category.parent {
    background: linear-gradient(135deg, #F4ABC4 0%, #DB2777 100%);
    color: #fff;
}

.testimonial-category.colleague {
    background: linear-gradient(135deg, #3dc19d 0%, #2a9475 100%);
    color: #fff;
}

.testimonial-body {
    padding: 20px;
    flex-grow: 1;
    position: relative;
}

.testimonial-icon {
    position: absolute;
    top: 10px;
    right: 20px;
    color: var(--primary-color);
    opacity: 0.1;
    font-size: 40px;
    z-index: 0;
}

.testimonial-text {
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
}

.testimonial-text p {
    font-style: italic;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
}

.testimonial-rating {
    color: #FFD700;
    font-size: 14px;
    margin-top: auto;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(var(--primary-rgb), 0.03);
}

.testimonial-author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-right: 15px;
}

.testimonial-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--heading-color);
}

.testimonial-author p {
    margin: 3px 0 0;
    font-size: 13px;
    color: var(--text-light);
}

/* Dark mode styles */
.dark-mode .testimonial-item {
    background: var(--bg-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.dark-mode .testimonial-footer {
    border-top-color: rgba(255, 255, 255, 0.05);
    background: rgba(var(--primary-rgb), 0.1);
}

.dark-mode .testimonial-author-image {
    border-color: var(--bg-dark);
}

.dark-mode .testimonial-text p {
    color: var(--text-color);
}

.dark-mode .testimonial-author h4 {
    color: var(--dark-heading-color);
}

/* Media queries for testimonials */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    .testimonial-item {
        border-left-width: 3px;
    }
    
    .testimonial-body {
        padding: 15px;
    }
    
    .testimonial-text p {
        font-size: 14px;
    }
    
    .testimonial-icon {
        font-size: 30px;
    }
    
    .testimonial-footer {
        padding: 12px 15px;
    }
    
    .testimonial-author-image {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-author h4 {
        font-size: 15px;
    }
    
    .testimonial-author p {
        font-size: 12px;
    }
}

/* Education Timeline Styles - New Design */
.edu-timeline-wrapper {
    position: relative;
    padding: 40px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.edu-timeline-track {
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.track-line {
    position: absolute;
    width: 6px;
    top: 50px;
    bottom: 50px;
    background: linear-gradient(180deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 50%, 
        var(--accent-color) 100%);
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.2);
    z-index: 1;
}

.track-start,
.track-end {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    position: absolute;
    z-index: 2;
    background: var(--bg-color);
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.2);
}

.track-start {
    top: 30px;
}

.track-end {
    bottom: 30px;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.2);
}

.track-start:after,
.track-end:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--bg-light);
}

.edu-timeline {
    position: relative;
    z-index: 2;
}

.edu-milestone {
    display: flex;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.section.visible .edu-milestone {
    opacity: 1;
    transform: translateY(0);
}

.section.visible .edu-milestone:nth-child(1) {
    transition-delay: 0.2s;
}

.section.visible .edu-milestone:nth-child(2) {
    transition-delay: 0.4s;
}

.section.visible .edu-milestone:nth-child(3) {
    transition-delay: 0.6s;
}

.milestone-connector {
    width: 100px;
    position: relative;
    display: flex;
    justify-content: center;
}

.connector-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    margin-top: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.edu-milestone:nth-child(2) .connector-dot {
    border-color: var(--secondary-color);
}

.edu-milestone:nth-child(3) .connector-dot {
    border-color: var(--accent-color);
}

.dot-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    animation: pulse 2s infinite;
}

.edu-milestone:nth-child(1) .dot-pulse {
    background-color: rgba(var(--primary-rgb), 0.5);
    animation-delay: 0s;
}

.edu-milestone:nth-child(2) .dot-pulse {
    background-color: rgba(var(--secondary-rgb), 0.5);
    animation-delay: 0.6s;
}

.edu-milestone:nth-child(3) .dot-pulse {
    background-color: rgba(var(--accent-rgb), 0.5);
    animation-delay: 1.2s;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.4;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.8;
    }
}

.connector-line {
    position: absolute;
    top: 60px;
    left: 50%;
    width: 50px;
    height: 3px;
    transform-origin: left center;
    z-index: 1;
    transition: all 0.3s ease;
}

.edu-milestone:nth-child(1) .connector-line {
    background-color: var(--primary-color);
}

.edu-milestone:nth-child(2) .connector-line {
    background-color: var(--secondary-color);
}

.edu-milestone:nth-child(3) .connector-line {
    background-color: var(--accent-color);
}

.milestone-content {
    flex: 1;
    padding-left: 10px;
}

.milestone-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.milestone-date {
    font-weight: 600;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    background-color: var(--bg-light);
    margin-right: 15px;
    color: var(--text-color);
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.edu-milestone:hover .milestone-date {
    transform: translateY(-5px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1);
}

.edu-milestone:nth-child(1) .milestone-date {
    border-left: 3px solid var(--primary-color);
}

.edu-milestone:nth-child(2) .milestone-date {
    border-left: 3px solid var(--secondary-color);
}

.edu-milestone:nth-child(3) .milestone-date {
    border-left: 3px solid var(--accent-color);
}

.milestone-badge {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.edu-milestone:nth-child(1) .milestone-badge {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
}

.edu-milestone:nth-child(2) .milestone-badge {
    background-color: rgba(var(--secondary-rgb), 0.1);
    color: var(--secondary-color);
}

.edu-milestone:nth-child(3) .milestone-badge {
    background-color: rgba(var(--accent-rgb), 0.1);
    color: var(--accent-color);
}

.edu-milestone:hover .milestone-badge {
    transform: translateY(-3px);
}

.milestone-card {
    position: relative;
    background-color: var(--bg-color);
    border-radius: 15px;
    padding: 30px;
    margin-right: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(0);
    transition: all 0.5s ease;
    overflow: hidden;
    z-index: 1;
}

.edu-milestone:nth-child(1) .milestone-card {
    border-top: 4px solid var(--primary-color);
}

.edu-milestone:nth-child(2) .milestone-card {
    border-top: 4px solid var(--secondary-color);
}

.edu-milestone:nth-child(3) .milestone-card {
    border-top: 4px solid var(--accent-color);
}

.edu-milestone:hover .milestone-card {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.card-icon {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    z-index: 2;
}

.edu-milestone:nth-child(1) .card-icon {
    color: var(--primary-color);
}

.edu-milestone:nth-child(2) .card-icon {
    color: var(--secondary-color);
}

.edu-milestone:nth-child(3) .card-icon {
    color: var(--accent-color);
}

.edu-milestone:hover .card-icon {
    transform: rotate(360deg);
}

.milestone-title {
    font-size: 1.4rem;
    margin: 0 0 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.edu-milestone:nth-child(1) .milestone-title {
    color: var(--primary-color);
}

.edu-milestone:nth-child(2) .milestone-title {
    color: var(--secondary-color);
}

.edu-milestone:nth-child(3) .milestone-title {
    color: var(--accent-color);
}

.edu-milestone:hover .milestone-title {
    transform: translateX(5px);
}

.milestone-school {
    margin-bottom: 20px;
}

.milestone-school h4 {
    font-size: 1.1rem;
    margin: 0 0 6px;
    font-weight: 600;
}

.school-location {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.school-location:before {
    content: '\f3c5';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.8rem;
    margin-right: 6px;
    opacity: 0.7;
}

.milestone-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
}

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.edu-milestone:nth-child(1) .stat-icon {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
}

.edu-milestone:nth-child(2) .stat-icon {
    background-color: rgba(var(--secondary-rgb), 0.1);
    color: var(--secondary-color);
}

.edu-milestone:nth-child(3) .stat-icon {
    background-color: rgba(var(--accent-rgb), 0.1);
    color: var(--accent-color);
}

.edu-milestone:hover .stat-icon {
    transform: scale(1.1);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 3px;
}

.stat-value {
    font-weight: 600;
    font-size: 1rem;
}

.milestone-highlights {
    border-top: 1px dashed rgba(var(--text-rgb), 0.1);
    padding-top: 15px;
    margin-top: 5px;
}

.highlights-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.highlights-header span {
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.edu-milestone:nth-child(1) .highlights-header span {
    color: var(--primary-color);
}

.edu-milestone:nth-child(2) .highlights-header span {
    color: var(--secondary-color);
}

.edu-milestone:nth-child(3) .highlights-header span {
    color: var(--accent-color);
}

.highlights-toggle {
    background: transparent;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-color);
    outline: none;
}

.highlights-toggle:hover {
    background-color: rgba(var(--text-rgb), 0.05);
}

.highlights-toggle i {
    transition: transform 0.3s ease;
}

.highlights-toggle.active i {
    transform: rotate(180deg);
}

.highlights-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    opacity: 0;
}

.highlights-content.active {
    max-height: 300px;
    opacity: 1;
}

.highlights-content ul {
    padding-left: 10px;
    margin: 10px 0 0;
    list-style-type: none;
}

.highlights-content ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.highlights-content ul li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.edu-milestone:nth-child(1) .highlights-content ul li:before {
    background-color: var(--primary-color);
}

.edu-milestone:nth-child(2) .highlights-content ul li:before {
    background-color: var(--secondary-color);
}

.edu-milestone:nth-child(3) .highlights-content ul li:before {
    background-color: var(--accent-color);
}

.highlights-content ul li:hover:before {
    transform: scale(1.3);
}

.highlights-content ul li:hover {
    transform: translateX(5px);
}

.milestone-decoration {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.4;
    transition: all 0.5s ease;
    z-index: 0;
}

.milestone-decoration svg {
    position: absolute;
    top: 20px;
    right: 0;
    width: 200px;
    height: 200px;
    transform: rotate(-10deg);
}

.edu-milestone:hover .milestone-decoration {
    opacity: 0.6;
    transform: translateX(-10px);
}

/* Dark Mode Adjustments */
.dark-mode .connector-dot {
    background-color: var(--bg-dark);
}

.dark-mode .milestone-date {
    background-color: var(--bg-darker);
}

.dark-mode .milestone-card {
    background-color: var(--bg-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.dark-mode .card-icon {
    background-color: var(--bg-darker);
}

.dark-mode .milestone-highlights {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .highlights-toggle:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .edu-timeline-wrapper {
        padding: 20px 0;
    }
    
    .edu-timeline-track {
        left: 30px;
    }
    
    .milestone-connector {
        width: 60px;
    }
    
    .connector-line {
        width: 30px;
    }
    
    .milestone-card {
        padding: 20px;
    }
    
    .connector-dot {
        width: 30px;
        height: 30px;
        margin-top: 30px;
    }
    
    .milestone-title {
        font-size: 1.2rem;
    }
    
    .milestone-school h4 {
        font-size: 1rem;
    }
    
    .milestone-decoration svg {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 576px) {
    .edu-timeline-track {
        left: 15px;
    }
    
    .milestone-connector {
        width: 30px;
    }
    
    .connector-line {
        width: 15px;
    }
    
    .milestone-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .milestone-date {
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .milestone-card {
        padding: 15px;
    }
    
    .milestone-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .milestone-decoration svg {
        display: none;
    }
    
    .card-icon {
        top: -10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }
}

/* New Professional Skills Section */
.skills-new-container {
  max-width: 1200px;
  margin: 0 auto;
}

.skills-new-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
}

.skills-new-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.skills-new-category {
  background-color: var(--bg-color);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: all 0.4s ease;
  border-top: 4px solid var(--primary-color);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
}

.skills-new-category:nth-child(1) {
  border-color: var(--primary-color);
}

.skills-new-category:nth-child(2) {
  border-color: #3B8EA5;
}

.skills-new-category:nth-child(3) {
  border-color: #EE7674;
}

.section.visible .skills-new-category {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.section.visible .skills-new-category:nth-child(1) {
  transition-delay: 0.1s;
}

.section.visible .skills-new-category:nth-child(2) {
  transition-delay: 0.3s;
}

.section.visible .skills-new-category:nth-child(3) {
  transition-delay: 0.5s;
}

.skills-new-category:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.dark-mode .skills-new-category {
  background-color: var(--bg-alternate);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.dark-mode .skills-new-category:hover {
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.25);
}

.skills-new-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.skills-new-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  flex-shrink: 0;
}

.skills-new-category:nth-child(1) .skills-new-icon {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  box-shadow: 0 10px 20px rgba(138, 77, 118, 0.3);
}

.skills-new-category:nth-child(2) .skills-new-icon {
  background: linear-gradient(135deg, #3B8EA5 0%, #4ECDC4 100%);
  box-shadow: 0 10px 20px rgba(59, 142, 165, 0.3);
}

.skills-new-category:nth-child(3) .skills-new-icon {
  background: linear-gradient(135deg, #EE7674 0%, #F3A183 100%);
  box-shadow: 0 10px 20px rgba(238, 118, 116, 0.3);
}

.skills-new-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: var(--text-color);
}

.skills-new-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.skills-new-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
}

.skills-new-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.skill-new-name {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 500;
}

.skill-new-name i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-color: var(--primary-color);
}

.skills-new-category:nth-child(1) .skill-new-name i {
  background-color: var(--primary-color);
}

.skills-new-category:nth-child(2) .skill-new-name i {
  background-color: #3B8EA5;
}

.skills-new-category:nth-child(3) .skill-new-name i {
  background-color: #EE7674;
}

.dark-mode .skills-new-item {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.skill-new-progress {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: flex-end;
}

.skill-new-bar {
  flex: 1;
  height: 8px;
  background-color: rgba(var(--primary-rgb), 0.1);
  border-radius: 4px;
  overflow: hidden;
  max-width: 200px;
}

.skill-new-level {
  height: 100%;
  border-radius: 4px;
  transition: width 1.2s ease-in-out;
  width: 0;
}

.section.visible .skill-new-level {
  animation: skill-fill 1.2s forwards;
}

.skills-new-category:nth-child(1) .skill-new-level {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.skills-new-category:nth-child(2) .skill-new-level {
  background: linear-gradient(to right, #3B8EA5, #4ECDC4);
}

.skills-new-category:nth-child(3) .skill-new-level {
  background: linear-gradient(to right, #EE7674, #F3A183);
}

.skill-new-percent {
  font-weight: 700;
  color: var(--primary-color);
  min-width: 40px;
  text-align: right;
  font-size: 15px;
}

.skills-new-category:nth-child(1) .skill-new-percent {
  color: var(--primary-color);
}

.skills-new-category:nth-child(2) .skill-new-percent {
  color: #3B8EA5;
}

.skills-new-category:nth-child(3) .skill-new-percent {
  color: #EE7674;
}

@keyframes skill-fill {
  from {
    width: 0;
  }
  to {
    width: var(--level);
  }
}

.skills-new-category-bg {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 180px;
  height: 180px;
  opacity: 0.05;
  transform: rotate(10deg);
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 992px) {
  .skills-new-categories {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .skills-new-category {
    padding: 25px;
  }
  
  .skills-new-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .skills-new-title {
    font-size: 20px;
  }
  
  .skill-new-name i {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  
  .skill-new-bar {
    max-width: 150px;
  }
}

@media (max-width: 576px) {
  .skills-new-intro {
    font-size: 1rem;
  }
  
  .skills-new-categories {
    grid-template-columns: 1fr;
  }
  
  .skills-new-category {
    padding: 20px;
  }
  
  .skills-new-header {
    margin-bottom: 20px;
  }
  
  .skills-new-item {
    padding-bottom: 12px;
    margin-bottom: 12px;
  }
}

/* Mobile Responsive Adjustments for Language Toggle */
@media (max-width: 576px) {
  .toggle-container {
    width: 90px;
    height: 32px;
  }
  
  .toggle-option {
    font-size: 11px;
  }
  
  .toggle-option img {
    width: 16px;
    height: 12px;
  }
}
