/* Global Styles */
/* This section defines global CSS variables and base styles for the entire document. */
:root {
  /* Modern Color Palette - 2025 */
  /* These variables define a modern color palette for consistent use across the website. */
  --primary-blue: #1e40af;
  --primary-teal: #0891b2;
  --primary-dark: #1e3a8a;
  --accent-orange: #ea580c;
  --accent-gold: #d97706;
  --mocha-mousse: #a78bfa;
 
  /* Neutral Colors */
  /* These variables define neutral colors for backgrounds, text, and borders. */
  --header-dark: #0f172a;
  --text-dark: #1e293b;
  --text-gray: #64748b;
  --text-light: #94a3b8;
  --light-bg: #f8fafc;
  --card-bg: #ffffff;
  --border-light: #e2e8f0;
 
  /* Shadows and Effects */
  /* These variables define shadow and glow effects for various elements. */
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --glow-effect: 0 0 20px rgba(30, 64, 175, 0.3);
 
  /* Legacy variables for compatibility */
  /* These variables are for backward compatibility, mapping to the new color palette. */
  --primary-color: var(--primary-blue);
  --secondary-color: var(--primary-dark);
  --accent-color: var(--accent-orange);
  --text-color: var(--text-dark);
  --light-gray: var(--light-bg);
  --white: #ffffff;
  --dark-gray: var(--text-gray);
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
 
  /* Spacing */
  /* These variables define consistent spacing units for padding and margins. */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
 
  /* Border Radius */
  /* These variables define consistent border-radius values for rounded corners. */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
 
  /* Transitions */
  /* These variables define transition durations for smooth animations. */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}
 
/* Universal Box-Sizing */
/* Applies margin, padding, and box-sizing to all elements for consistent layout. */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
 
/* Body Styles */
/* Defines base font, text color, line height, font size, and background for the body. */
body {
  font-family: var(--font-main);
  color: var(--text-color);
  line-height: 1.7;
  font-size: 16px;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
 
/* Container Styles */
/* Defines a responsive container for content, centering it and applying horizontal padding. */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}
 
/* Typography */
/* Base styles for all heading elements. */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}
 
/* H1 Specific Styles */
/* Styles for the main heading, including a gradient text effect. */
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
 
/* H2 Specific Styles */
h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--primary-blue);
}
 
/* H3 Specific Styles */
h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--text-dark);
}
 
/* Paragraph Styles */
/* Styles for paragraph text. */
p {
  margin-bottom: var(--spacing-md);
  color: var(--text-gray);
}
 
/* Anchor Tag Styles */
/* Base styles for hyperlinks, including transition for hover effects. */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all var(--transition-normal);
}
 
/* Anchor Tag Hover Styles */
a:hover {
  color: var(--primary-dark);
  transform: translateY(-1px);
}
 
/* Button Styles */
/* Base styles for buttons, including gradient background, padding, and shadow. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
  color: white;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}
 
/* Button Pseudo-element for Hover Effect */
/* Creates a subtle swipe effect on button hover. */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-slow);
}
 
/* Button Hover Styles */
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
  color: white;
}
 
/* Button Hover Pseudo-element Animation */
.btn:hover::before {
  left: 100%;
}
 
/* Outline Button Styles */
/* Styles for an outlined button variant. */
.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-orange);
  color: var(--accent-orange);
  box-shadow: none;
}
 
/* Outline Button Hover Styles */
.btn-outline:hover {
  background: var(--accent-orange);
  color: white;
  box-shadow: var(--card-shadow);
}
 
/* Header Styles */
/* Styles for the main header section, including background, padding, and sticky positioning. */
header {
  background: linear-gradient(135deg, var(--header-dark), #1e293b);
  color: white;
  padding: var(--spacing-md) 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}
 
/* Header Container Styles */
/* Flexbox layout for aligning elements within the header. */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
 
/* Logo Styles */
/* Styles for the website logo, including font, color, and text transformation. */
.logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--white), var(--mocha-mousse));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
 
/* Logo Anchor Tag Styles */
.logo a {
  color: inherit;
}
 
/* Navigation Toggle Button (Mobile) */
/* Styles for a hidden navigation toggle button, visible on smaller screens. */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}
 
/* Navigation Toggle Button Hover Styles */
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}
 
/* Navigation List Styles */
/* Flexbox layout for navigation links. */
nav ul {
  display: flex;
  list-style: none;
  gap: var(--spacing-xl);
}
 
/* Navigation List Item Anchor Tag Styles */
/* Styles for individual navigation links, including padding and border-radius. */
nav ul li a {
  color: white;
  font-weight: 500;
  position: relative;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}
 
/* Navigation List Item Anchor Tag Hover Styles */
nav ul li a:hover {
  color: var(--mocha-mousse);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}
 
/* Navigation List Item Anchor Tag Underline Effect */
/* Creates an animated underline effect on hover. */
nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--mocha-mousse), var(--accent-orange));
  transition: width var(--transition-normal);
  border-radius: var(--radius-sm);
}
 
/* Navigation List Item Anchor Tag Underline Hover Animation */
nav ul li a:hover::after {
  width: 80%;
}
 
/* Hero Section */
/* Styles for the main hero section, including background gradient, padding, and text alignment. */
.hero {
  background: linear-gradient(135deg, var(--light-bg) 0%, #e0f2fe 100%);
  color: var(--text-dark);
  padding: var(--spacing-3xl) 0;
  text-align: left;
  position: relative;
  overflow: hidden;
}
 
/* Hero Section Decorative Element */
/* Adds a decorative SVG background with a floating animation. */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%231e40af" fill-opacity="0.05"%3E%3Ccircle cx="30" cy="30" r="4"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  animation: float 6s ease-in-out infinite;
}
 
/* Keyframe Animation for Floating Effect */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}
 
/* Hero Content Container */
/* Styles for the content within the hero section, ensuring it's above the decorative element. */
.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 2;
}
 
/* Hero Section H1 Styles */
/* Styles for the main heading in the hero section. */
.hero h1 {
  margin-bottom: var(--spacing-lg);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
 
/* Hero Section Paragraph Styles */
/* Styles for paragraph text in the hero section. */
.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-2xl);
  color: var(--text-gray);
  font-weight: 400;
}
 
/* Hero Section Buttons Container */
/* Flexbox layout for buttons in the hero section. */
.hero-buttons {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}
/* Skills Section */
/* Styles for the skills section, including background color and a subtle background image. */
.skills {
  background-color: var(--light-gray);
  background-image: url('data:image/svg+xml,%3Csvg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%235D4E8C" fill-opacity="0.05"%3E%3Cpath d="M0 0h20v20H0z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}
 
/* Skills Grid Layout */
/* Grid layout for skill cards, making them responsive. */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}
 
/* Skill Card Styles */
/* Styles for individual skill cards, including background, border-radius, shadow, and hover effects. */
.skill-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  padding: 2rem;
  text-align: center;
}
 
/* Skill Card Hover Styles */
.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
 
/* Skill Cards */
/* Styles for the skill icon within the card. */
.skill-icon {
  color: var(--primary-blue);
}
 
/* Skill Card H3 Styles */
.skill-card h3 {
  margin-bottom: 1rem;
}
 
 
/* Sections */
/* Base padding for all sections. */
.section {
  padding: var(--spacing-3xl) 0;
}
 
/* Section Title Styles */
/* Styles for the main title of each section, centering it and adding bottom margin. */
.section-title {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}
 
/* Section Title H2 Styles */
/* Styles for the H2 within section titles, including a relative position for the underline effect. */
.section-title h2 {
  display: inline-block;
  position: relative;
  padding-bottom: var(--spacing-md);
}
 
/* Section Title Underline Effect */
/* Creates an animated underline effect for section titles. */
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  border-radius: var(--radius-sm);
}
/* Additional Section Padding */
.section {
  padding: 5rem 0;
}
 
/* Section Title Alignment and Margin */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
 
/* Section Title H2 Font Size and Display */
.section-title h2 {
  font-size: 2rem;
  display: inline-block;
  position: relative;
}
 
/* Section Titles */
/* Overrides the background color of the section title underline. */
.section-title h2::after {
  background-color: var(--primary-blue);
}
 
/* Contact Section */
/* Styles for the contact section, including background color. */
.contact {
  background-color: var(--light-gray);
}
 
/* Contact Container Grid Layout */
/* Grid layout for contact information and form. */
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
 
/* Contact Information Styles */
.contact-info {
  line-height: 1.8;
}
 
/* Contact Information H3 Styles */
.contact-info h3 {
  margin-bottom: 1.5rem;
}
 
/* Contact Information Paragraph Styles */
.contact-info p {
  margin-bottom: 0.5rem;
}
 
/* Contact Form Styles */
/* Styles for the contact form, including background, padding, border-radius, and shadow. */
.contact-form {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
 
/* Form Group Styles */
/* Styles for individual form groups (label and input/textarea). */
.form-group {
  margin-bottom: 1.5rem;
}
 
/* Form Group Label Styles */
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
 
/* Form Group Input and Textarea Styles */
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  font-family: var(--font-main);
}
 
/* Form Group Input and Textarea Focus Styles */
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(93, 78, 140, 0.1);
}
 
/* Form Group Textarea Specific Styles */
.form-group textarea {
  min-height: 150px;
  resize: vertical;
}
 
/* Map Container Styles */
/* Styles for a container holding a map, including height, border-radius, and overflow. */
.map-container {
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 2rem;
}
 
 
/* About Section */
/* Styles for the about section, including background color. */
.about {
  background-color: var(--white);
}
 
/* About Content Grid Layout */
/* Grid layout for about section content (text and image). */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}
 
/* About Text Animation */
/* Animation for the about section text, sliding in from the left. */
.about-text {
  animation: slideInLeft 0.8s ease-out;
}
 
/* About Image Styles */
/* Styles for the about section image, including border-radius, shadow, and hover effects. */
.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--card-shadow-hover);
  transition: transform var(--transition-normal);
  animation: slideInRight 0.8s ease-out;
}
 
/* About Image Hover Scale Effect */
.about-image:hover {
  transform: scale(1.02);
}
 
/* About Image Inner Image Styles */
.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}
 
/* About Image Inner Image Hover Scale Effect */
.about-image:hover img {
  transform: scale(1.05);
}
 
/* Keyframe Animation for Sliding In from Left */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
 
/* Keyframe Animation for Sliding In from Right */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
 
/* Info Cards Section */
/* Styles for the info cards section, including background gradient and relative positioning. */
.info-cards {
  background: linear-gradient(135deg, var(--light-bg) 0%, #f1f5f9 100%);
  position: relative;
}
 
/* Card Grid Layout */
/* Grid layout for info cards, making them responsive. */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
}
 
/* Info Card Styles */
/* Styles for individual info cards, including background, padding, border-radius, shadow, and hover effects. */
.info-card {
  background: var(--card-bg);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}
 
/* Info Card Top Border Effect */
/* Creates a colored top border for the info card. */
.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
}
 
/* Info Card Hover Styles */
.info-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
}
 
/* Card Icon Styles */
/* Styles for the icon within the info card, including background gradient, border-radius, and shadow. */
.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
  color: white;
  font-size: 1.5rem;
  box-shadow: var(--glow-effect);
}
 
/* Info Card H3 Styles */
.info-card h3 {
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
}
 
/* Info Card Paragraph Styles */
.info-card p {
  margin-bottom: var(--spacing-lg);
  color: var(--text-gray);
}
 
/* Info Card Anchor Tag Styles */
/* Styles for links within info cards, including icon alignment and hover effects. */
.info-card a {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--primary-blue);
  font-weight: 600;
  transition: all var(--transition-normal);
}
 
/* Info Card Anchor Tag Hover Styles */
.info-card a:hover {
  color: var(--primary-dark);
  gap: var(--spacing-md);
}
 
/* Students Section */
/* Styles for the students section, including background color. */
.students {
  background-color: var(--white);
}
 
/* Students Grid Layout */
/* Grid layout for student cards, making them responsive and centered. */
.students-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  gap: 2rem;
 
}
 
/* Student Card Styles */
/* Styles for individual student cards, including background, border-radius, shadow, and hover effects. */
.student-card {
  background: var(--card-bg);
  border-radius: 12px;  
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 340px;
 
  justify-content: space-between;
 
}
 
/* Student Card Hover Styles */
.student-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}
 
/* Student Image Container */
/* Styles for the image container within the student card, including fixed height and overflow. */
.student-image {
  width: 100%;
  height: 380px;
  overflow: hidden;
}
 
/* Student Image Styles */
.student-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
 
/* Student Card Image Hover Scale Effect */
.student-card:hover .student-image img {
  transform: scale(1.05);
}
 
/* Student Information Styles */
/* Styles for the information section within the student card, including padding and flexbox layout. */
.student-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}
/* Student Info Button Alignment */
.student-info .btn {
  margin-top: auto;
  align-self: flex-start;
}
 
/* Student Info H3 Styles */
.student-info h3 {
  margin: 0.5rem 0 0.2rem;
  color: var(--text-dark);
    font-size: 1.1rem;
 
}
 
/* Student Info Paragraph Styles */
.student-info p {
  color: var(--text-light);
  margin-bottom: var(--spacing-lg);
  font-size: 0.9rem;
}
 
/* Student Skills Container */
/* Flexbox layout for skill tags within the student card. */
.student-skills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}
 
/* Skill Tag Styles */
/* Styles for individual skill tags, including background gradient, color, padding, and border-radius. */
.skill-tag {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  color: white;
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(30, 64, 175, 0.2);
}
 
/* Filter Section */
/* Styles for the filter button container, including flexbox layout and centering. */
.filter-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-3xl);
}
 
/* Filter Button Styles */
/* Styles for filter buttons, including transparent background, border, and hover effects. */
.filter-btn {
  background: transparent;
  border: 2px solid var(--border-light);
  color: var(--text-gray);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  font-weight: 500;
}
 
/* Filter Button Hover and Active Styles */
.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
}
 
/* Profile Styles */
/* Styles for the profile section, including background color. */
.profile {
  background-color: var(--white);
}
 
/* Profile Header Grid Layout */
/* Grid layout for the profile header (image and info). */
.profile-header {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-3xl);
  align-items: start;
}
 
/* Profile Image Styles */
/* Styles for the profile image, including border-radius, shadow, and sticky positioning. */
.profile-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--card-shadow-hover);
  position: sticky;
  top: 120px;
  aspect-ratio: 4 / 5;
}
 
/* Profile Image Inner Image Styles */
.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
 
 
 
/* Profile Information H1 Styles */
.profile-info h1 {
  margin-bottom: var(--spacing-lg);
}
 
/* Profile Meta Information Styles */
.profile-meta {
  margin-bottom: var(--spacing-xl);
}
 
/* Profile Meta Paragraph Styles */
.profile-meta p {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-sm);
  color: var(--text-gray);
}
 
/* Profile Meta Icon Styles */
.profile-meta i {
  color: var(--primary-blue);
  width: 20px;
}
 
/* Profile Bio Styles */
.profile-bio {
  margin-bottom: var(--spacing-xl);
}
 
/* Profile Strengths and Projects Section Styles */
.profile-strengths,
.profile-projects {
  margin-bottom: var(--spacing-3xl);
}
 
/* Profile Strengths and Projects H2 Styles */
.profile-strengths h2,
.profile-projects h2 {
  margin-bottom: var(--spacing-xl);
}
 
/* Strengths List Grid Layout */
/* Grid layout for strengths items. */
.strengths-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
}
 
/* Strength Item Styles */
/* Styles for individual strength items, including flexbox layout, padding, background, and hover effects. */
.strength-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-light);
}
 
/* Strength Item Hover Styles */
.strength-item:hover {
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  transform: translateY(-2px);
}
 
/* Strength Icon Styles */
.strength-icon {
  color: var(--primary-blue);
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}
 
/* Projects Grid Layout */
/* Grid layout for project cards. */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
}
 
/* Project Card Styles */
/* Styles for individual project cards, including background, border-radius, shadow, and hover effects. */
.project-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-light);
}
 
/* Project Card Hover Styles */
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}
 
/* Project Image Placeholder */
/* Styles for the project image placeholder, including background gradient and centered content. */
.project-image {
  height: 50px;
  background: linear-gradient(135deg, var(--light-bg), var(--border-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 3rem;
}
 
/* Project Information Styles */
.project-info {
  padding: var(--spacing-xl);
}
 
/* Project Information H3 Styles */
.project-info h3 {
  margin-bottom: var(--spacing-md);
}
 
/* Project Information Paragraph Styles */
.project-info p {
  margin-bottom: var(--spacing-lg);
}
/* Gallery */
/* Styles for the gallery section. */
.gallery {
  margin: 2rem 0;
}
 
/* Gallery Grid Layout */
/* Grid layout for gallery items. */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}
 
/* Gallery Item Styles */
/* Styles for individual gallery items, including border-radius and shadow. */
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
 
/* Gallery Item Image Styles */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
 
/* Gallery Item Image Hover Scale Effect */
.gallery-item:hover img {
  transform: scale(1.05);
}
 
/* School Section */
/* Styles for the school section, including background color. */
.school {
  background-color: var(--white);
}
/* School Content Side-by-Side Layout */
/* Flexbox layout for school content, arranging items side-by-side. */
.school-content.side-by-side {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2rem;
  margin-top: 2rem;
}
 
/* School Content Side-by-Side Image Styles */
.school-content.side-by-side .school-image {
  max-width: 300px;
  flex: 0 0 auto;
}
 
/* School Content Side-by-Side Image Inner Image Styles */
.school-content.side-by-side .school-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
 
/* School Content Side-by-Side History Styles */
.school-content.side-by-side .school-history {
  flex: 1;
}
 
/* Media Query for School Content Side-by-Side Layout on Smaller Screens */
@media (max-width: 768px) {
  .school-content.side-by-side {
    flex-direction: column;
  }
}
/* School History with Image Layout */
/* Flexbox layout for school history content when an image is present. */
.school-history.with-image {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
 
/* School History Text Styles */
.school-history.with-image .text {
  flex: 2;
  min-width: 280px;
}
 
/* School History Image Container Styles */
.school-history.with-image .image {
  flex: 1;
  min-width: 200px;
  max-width: 200px;
}
 
/* School History Image Inner Image Styles */
.school-history.with-image .image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
/* School Image Building Styles */
.school-image.building img {
  width: 100%;
  height: auto;
  max-height: 550px;
  object-fit: cover;
  display: block;
}
 
 
 
 
/* CTA Section */
/* Styles for the Call to Action section, including background gradient, text alignment, and relative positioning. */
.cta {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
 
/* CTA Section Decorative Element */
/* Adds a decorative SVG background to the CTA section. */
.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="white" fill-opacity="0.05"%3E%3Cpath d="M20 20c0 11.046-8.954 20-20 20v-40c11.046 0 20 8.954 20 20z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}
 
/* CTA Section Container */
/* Styles for the content within the CTA section, ensuring it's above the decorative element. */
.cta .container {
  position: relative;
  z-index: 2;
}
 
/* CTA Section H2 Styles */
.cta h2 {
  color: white;
  margin-bottom: var(--spacing-lg);
}
 
/* CTA Section Paragraph Styles */
.cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}
 
/* Footer */
/* Styles for the footer section, including background gradient and padding. */
footer {
  background: linear-gradient(135deg, var(--header-dark), #1e293b);
  color: white;
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
}
 
/* Footer Content Grid Layout */
/* Grid layout for footer columns. */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}
 
/* Footer Column H3 Styles */
.footer-column h3 {
  color: white;
  margin-bottom: var(--spacing-lg);
  font-size: 1.2rem;
}
 
/* Footer Column Paragraph Styles */
.footer-column p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--spacing-sm);
}
 
/* Footer Column Unordered List Styles */
.footer-column ul {
  list-style: none;
}
 
/* Footer Column List Item Styles */
.footer-column ul li {
  margin-bottom: var(--spacing-sm);
}
 
/* Footer Column List Item Anchor Tag Styles */
.footer-column ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-normal);
}
 
/* Footer Column List Item Anchor Tag Hover Styles */
.footer-column ul li a:hover {
  color: var(--mocha-mousse);
}
 
/* Social Links Container */
/* Flexbox layout for social media links. */
.social-links {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}
 
/* Footer Social Links Anchor Tag Styles */
footer .social-links a {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}
 
 
/* Social Links Anchor Tag Styles */
/* Styles for individual social media links, including background, border-radius, and hover effects. */
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  color: black;
  transition: all var(--transition-normal);
}
 
 
/* Social Links Anchor Tag Hover Styles */
.social-links a:hover {
  background: var(--mocha-mousse);
  transform: translateY(-2px);
}
 
/* Footer Bottom Section */
/* Styles for the bottom section of the footer, including top border and text alignment. */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-lg);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}
 
/* Footer Bottom Anchor Tag Styles */
.footer-bottom a {
  color: var(--mocha-mousse);
}
 
/* Responsive Design */
/* Media query for screens up to 768px wide. */
@media (max-width: 768px) {
  /* Container Padding Adjustment */
  .container {
    padding: 0 var(--spacing-md);
  }
 
  /* Navigation Toggle Button Display */
  .nav-toggle {
    display: block;
  }
 
  /* Navigation List Mobile Styles */
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--header-dark);
    flex-direction: column;
    padding: var(--spacing-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }
 
  /* Navigation List Active State */
  nav ul.active {
    display: flex;
  }
 
  /* Navigation List Item Mobile Margin */
  nav ul li {
    margin: var(--spacing-sm) 0;
  }
 
  /* Hero Section Mobile Adjustments */
  .hero {
    text-align: center;
    padding: var(--spacing-2xl) 0;
  }
 
  /* Hero Buttons Mobile Justification */
  .hero-buttons {
    justify-content: center;
  }
 
  /* About Content Mobile Grid Layout */
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
 
  /* Profile Header Mobile Grid Layout and Alignment */
  .profile-header {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    text-align: center;
  }
 
  /* Profile Image Mobile Adjustments */
  .profile-image {
    max-width: 300px;
    margin: 0 auto;
    position: static;
  }
 
  /* Card Grid Mobile Layout */
  .card-grid {
    grid-template-columns: 1fr;
  }
 
  /* Students Grid Mobile Layout */
  .students-grid {
    grid-template-columns: 1fr;
  }
 
  /* Filter Container Mobile Adjustments */
  .filter-container {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: var(--spacing-sm);
  }
 
  /* Filter Button Mobile White Space */
  .filter-btn {
    white-space: nowrap;
  }
}
 
/* Media query for screens up to 480px wide. */
@media (max-width: 480px) {
  /* Hero H1 Font Size Adjustment */
  .hero h1 {
    font-size: 2rem;
  }
 
  /* Section Padding Adjustment */
  .section {
    padding: var(--spacing-2xl) 0;
  }
 
  /* Hero Buttons Mobile Flex Direction and Alignment */
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
 
  /* Button Mobile Width Adjustment */
  .btn {
    width: 100%;
    max-width: 300px;
  }
}
 
/* Utility Classes */

/* Statistics Section Styles */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

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

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Enhanced accessibility for filter buttons */
.filter-btn[aria-pressed="true"] {
    background-color: var(--primary-color);
    color: var(--white);
}

.filter-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Enhanced student card accessibility */
.student-card:focus-within {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.student-card .btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Mobile responsiveness for stats */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

