/* GOOGLE FONTS */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap");

/* CUSTOM FONTS */
@font-face {
  font-family: 'Batman';
  src: url('../fonts/batman/BlackCapsRegular-wgA2.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Superman';
  src: url('../fonts/superman/NewSuperman-Pzd7.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
:root {
  --header-height: 3rem;
  /* Colors */
  /* Change favorite color */
  --hue-color: 230;
  /*Purple 250 - Green 142 - Blue 230 - Pink 340*/
  /* HSL color mode */
  --first-color: hsl(var(--hue-color), 69%, 61%);
  --first-color-second: hsl(var(--hue-color), 69%, 61%);
  --first-color-alt: hsl(var(--hue-color), 57%, 53%);
  --first-color-lighter: hsl(var(--hue-color), 92%, 85%);
  --text-color: hsl(var(--hue-color), 8%, 45%);
  --text-color-light: hsl(var(--hue-color), 8%, 65%);
  --input-color: hsl(var(--hue-color), 70%, 96%);
  --body-color: hsl(var(--hue-color), 20%, 98%);
  --container-color: #fff;
  --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 80%);
  /* Font and typography */
  --body-font: "Space Mono", "Inter", "Roboto", monospace;
  --modern-font: "Space Mono", "Inter", "Roboto", monospace;
  /* .5rem = 8px, 1rem = 16px, 1.5rem = 24px ... */
  --big-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;
  /* Font weight */
  --font-medium: 500;
  --font-semi-bold: 600;
  /* Margins Bottom */
  /* .25rem = 4px, .5rem = 8px, .75rem = 12px ... */
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;
  /* z index */
  --z-tooltip: 99;
  --z-fixed: 999;
  --z-modal: 9999;
  /* Dark theme */
}

/* Font size for large devices */
@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 3rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
}

/* Prevent any element from causing horizontal overflow */
* {
  max-width: 100%;
}

img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

/* Mobile body spacing adjustment */
@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  
  html {
    scroll-padding-top: 6rem;
    overflow-x: hidden;
  }
}

/* Modern font styling for all sections except home */
.nav,
.about,
.projects-section,
.contact {
  font-family: var(--modern-font);
}

.section-title {
  font-family: var(--modern-font) !important;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--title-color) !important;
}

.section-subtitle {
  font-family: var(--modern-font);
  font-weight: 400;
  letter-spacing: 0.25px;
}

.project-title,
.contact-title {
  font-family: var(--modern-font);
  font-weight: 500;
  letter-spacing: -0.25px;
}

.project-description,
.contact-subtitle {
  font-family: var(--modern-font);
  font-weight: 400;
}

/* h1,
h2,
h3,
h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
} */

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

/* Button Dark/Light */
.nav-btns {
  display: flex;
  align-items: center;
}

.nav-btns .change-theme {
  font-size: 1.25rem;
  color: var(--title-color);
  margin-right: var(--mb-1);
  cursor: pointer;
}

.nav-btns .change-theme:hover {
  color: var(--first-color);
}

/* REUSABLE CSS CLASSES */
.section {
  padding: 6rem 0 4rem;
  scroll-margin-top: 5rem;
}

.section-title {
  font-size: var(--h1-font-size);
  color : var(--title-color) !important;
}

.section-subtitle {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-3);
}

.section-title, .section-subtitle {
  text-align: center;
}

/* LAYOUT */
.container {
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
}

/* Responsive container adjustments */
@media screen and (max-width: 768px) {
  .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Ensure no horizontal overflow */
  .grid {
    gap: 1rem;
  }
  
  /* Make sure all sections fit properly */
  .section {
    padding: 3rem 0;
  }
  
  /* Specific section padding adjustments */
  .home.section,
  .services.section,
  .contact.section {
    padding: 3rem 0;
  }
  
  .about,
  .projects-section {
    padding: 3rem 1.5rem;
  }
  
  /* About cards responsive padding */
  .about-stats {
    padding: 0 1.5rem;
  }
  
  /* About photo responsive */
  .about-img-photo {
    width: 200px;
    height: 200px;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  /* Specific section padding adjustments for mobile */
  .home.section,
  .services.section,
  .contact.section {
    padding: 2rem 0;
  }
  
  .about,
  .projects-section {
    padding: 2rem 1rem;
  }
  
  /* About cards responsive padding for mobile */
  .about-stats {
    padding: 0 1rem;
  }
  
  /* About photo mobile responsive */
  .about-img-photo {
    width: 150px;
    height: 150px;
  }
  
  /* Home responsive adjustments */
  .home-container .home-content .home-data {
    max-width: 100%;
  }
  
  .home-container .home-content .home-data-description {
    max-width: 100%;
    font-size: 0.9rem;
  }
  
  .grid {
    gap: 0.75rem;
  }
}

.grid {
  display: grid;
  gap: 1.5rem;
}

/* HEADER */
.header {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--body-color);
}

/* NAVIGATION */
.nav {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-fixed);
}

.nav__container {
  background-color: var(--container-color);
  border-radius: 2rem;
  padding: 1rem 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav__menu {
  display: flex;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__item {
  display: flex;
  align-items: center;
}

/* Logo styling */
.nav__logo-item {
  margin-right: 1rem;
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 45px;
  width: auto;
  max-width: 45px;
  object-fit: contain;
  transition: all 0.3s ease;
  display: block;
}

.nav__logo-img:hover {
  transform: scale(1.1);
}

/* Logo theme-specific adjustments */
body.batman-theme .nav__logo-img {
  filter: brightness(1.1) contrast(1.2);
}

body.superman-theme .nav__logo-img {
  filter: brightness(1) contrast(1.1);
}

.nav__link {
  color: var(--text-color);
  font-weight: var(--font-medium);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  font-size: var(--normal-font-size);
  font-family: var(--modern-font);
  letter-spacing: 0.25px;
}

.nav__link:hover {
  color: var(--first-color);
  background-color: var(--first-color-lighter);
}

/* Theme selector styles */
.theme-selector {
  border-left: 1px solid var(--text-color-light);
  padding-left: 2rem;
  margin-left: 1rem;
}

.theme-toggle {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.theme-btn {
  background: none;
  border: 2px solid transparent;
  border-radius: 50%;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.theme-btn img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.theme-btn:hover {
  border-color: var(--first-color);
  transform: scale(1.1);
}

.theme-btn:hover img {
  transform: scale(1.1);
}

.theme-btn.active {
  border-color: var(--first-color);
  background-color: var(--first-color-lighter);
}

/* Mobile Navigation */
.nav__toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav__toggle:hover {
  color: var(--first-color);
}

/* Batman theme mobile toggle */
body.batman-theme .nav__toggle {
  color: #eee;
}

body.batman-theme .nav__toggle:hover {
  color: #e94560;
}

/* Superman theme mobile toggle */
body.superman-theme .nav__toggle {
  color: #1e293b;
}

body.superman-theme .nav__toggle:hover {
  color: #dc143c;
}

/* Mobile Navigation Styles */
@media screen and (max-width: 768px) {
  .nav {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    padding: 0;
  }

  .nav__container {
    background-color: var(--container-color);
    border-radius: 0;
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  /* Mobile header logo - visible in the navbar */
  .nav__container::before {
    content: '';
    background-image: url('../img/batman-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 40px;
    height: 40px;
    display: block;
  }

  /* Batman theme mobile header logo */
  body.batman-theme .nav__container::before {
    background-image: url('../img/batman-logo.png');
  }

  /* Superman theme mobile header logo */
  body.superman-theme .nav__container::before {
    background-image: url('../img/superman-logo.png');
  }

  .nav__toggle {
    display: block;
    position: relative;
    z-index: calc(var(--z-modal) + 1);
  }

  /* Hide the desktop menu completely on mobile */
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--container-color);
    backdrop-filter: blur(20px);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: var(--z-modal);
    padding: 4rem 2rem 2rem;
    display: block;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    visibility: hidden;
    opacity: 0;
  }

  /* Show the menu when active */
  .nav__menu.show-menu {
    right: 0;
    visibility: visible;
    opacity: 1;
  }

  .nav__list {
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
    width: 100%;
    max-width: none;
    display: flex;
  }

  .nav__logo-item {
    margin-right: 0;
    margin-bottom: 2rem;
    justify-content: center;
    order: -1;
  }

  .nav__logo-img {
    height: 60px;
    max-width: 60px;
  }

  .nav__item {
    width: 100%;
    justify-content: flex-start;
  }

  .nav__link {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    width: 100%;
    display: block;
    text-align: left;
    border-radius: 0.5rem;
    margin: 0;
    font-weight: var(--font-medium);
    transition: all 0.3s ease;
  }

  .nav__link:hover {
    background-color: var(--first-color-lighter);
    color: var(--first-color);
    transform: translateX(5px);
  }

  .theme-selector {
    border-left: none;
    border-top: 1px solid var(--text-color-light);
    padding-left: 0;
    padding-top: 1.5rem;
    margin-left: 0;
    margin-top: 1.5rem;
    justify-content: center;
    width: 100%;
  }

  .theme-toggle {
    justify-content: center;
    gap: 1rem;
  }

  .theme-btn {
    padding: 0.5rem;
    border-radius: 0.5rem;
  }

  .theme-btn img {
    width: 25px;
    height: 25px;
  }

  /* Mobile menu overlay */
  .nav__menu::after {
    content: '';
    position: fixed;
    top: 0;
    left: -100vw;
    width: 100vw;
    height: 100vh;   
    z-index: -1;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .nav__menu.show-menu::after {
    left: 0;
  }
}

/* Batman theme styles */
body.batman-theme {
  --hue-color: 240;
  --first-color: #1a1a2e;
  --first-color-second: #16213e;
  --first-color-alt: #0f3460;
  --first-color-lighter: #e94560;
  --title-color: #eee;
  --text-color: #ccc;
  --text-color-light: #aaa;
  --input-color: #16213e;
  --body-color: #0f0f23;
  --container-color: rgba(26, 26, 46, 0.9);
  --body-font: "Space Mono", "Inter", "Roboto", monospace;
}

/* Batman theme font styling - Apply to headings and navbar */
body.batman-theme .home-data-title {
  font-family: 'Batman', "Space Mono", "Inter", sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
}

body.batman-theme .home-data-subtitle {
  font-family: 'Batman', "Space Mono", "Inter", sans-serif;
  letter-spacing: 1px;
}

/* Batman theme for all section headings and navbar */
body.batman-theme .nav__link,
body.batman-theme .section-title,
body.batman-theme h1,
body.batman-theme h2,
body.batman-theme h3 {
  font-family: 'Batman', "Space Mono", "Inter", sans-serif;
  letter-spacing: 1px;
  font-weight: 600;
}

body.batman-theme .button {
  font-family: 'Batman', "Space Mono", "Inter", sans-serif;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* Batman theme text styling */
body.batman-theme .nav__link {
  color: #eee;
}

body.batman-theme .nav__link:hover {
  color: #e94560;
  background-color: rgba(233, 69, 96, 0.1);
}

body.batman-theme .section-title,
body.batman-theme .section-subtitle {
  color: #eee;
}

body.batman-theme .button {
  background-color: #e94560;
  color: #fff;
}

body.batman-theme .button:hover {
  background-color: #d63652;
}

body.batman-theme .button-secondary {
  background-color: transparent;
  color: #e94560;
  border: 2px solid #e94560;
}

body.batman-theme .button-secondary:hover {
  background-color: #e94560;
  color: #fff;
  border-color: #e94560;
}

body.batman-theme .about-img-photo {
  border-color: #e94560;
  box-shadow: 0 12px 32px rgba(233, 69, 96, 0.25);
}

body.batman-theme .about-img-photo:hover {
  box-shadow: 0 16px 48px rgba(233, 69, 96, 0.35);
}


/* Batman theme mobile navigation */
@media screen and (max-width: 768px) {
  body.batman-theme .nav__container {
    background-color: rgba(26, 26, 46, 0.95);
    border-bottom: 1px solid rgba(233, 69, 96, 0.3);
  }

  body.batman-theme .nav__menu {
    background-color: rgba(15, 15, 35, 0.98);
    border-left: 2px solid rgba(233, 69, 96, 0.3);
  }

  body.batman-theme .nav__link {
    color: #eee;
    border: 1px solid transparent;
  }

  body.batman-theme .nav__link:hover {
    color: #e94560;
    background-color: rgba(233, 69, 96, 0.15);
    border-color: rgba(233, 69, 96, 0.5);
  }
}

/* Superman theme mobile navigation */
@media screen and (max-width: 768px) {
  body.superman-theme .nav__container {
    background-color: #ffffff !important;
    border-bottom: 1px solid rgba(220, 20, 60, 0.3);
  }

  body.superman-theme .nav__menu {
    background-color: rgba(255, 255, 255, 0.98);
    border-left: 2px solid rgba(220, 20, 60, 0.3);
  }

  body.superman-theme .nav__link {
    color: #1e293b;
    border: 1px solid transparent;
  }

  body.superman-theme .nav__link:hover {
    color: #dc143c;
    background-color: rgba(220, 20, 60, 0.15);
    border-color: rgba(220, 20, 60, 0.5);
  }
}

/* Superman theme styles */
body.superman-theme {
  --hue-color: 220;
  --first-color: #dc143c;
  --first-color-second: #b22222;
  --first-color-alt: #8b0000;
  --first-color-lighter: #ffb6c1;
  --title-color: #1a365d;
  --text-color: #2d3748;
  --text-color-light: #4a5568;
  --input-color: #f7fafc;
  --body-color: #ffffff;
  --container-color: rgba(247, 250, 252, 0.95);
  --body-font: "Space Mono", "Inter", "Roboto", monospace;
}

/* Superman theme font styling - Apply to headings and navbar */
body.superman-theme .home-data-title {
  font-family: 'Superman', "Space Mono", "Inter", sans-serif;
  letter-spacing: 2px;
  line-height: 1.6;
  text-transform: uppercase;
}

body.superman-theme .home-data-subtitle {
  font-family: 'Superman', "Space Mono", "Inter", sans-serif;
  letter-spacing: 1px;
}

/* Superman theme for all section headings and navbar */
body.superman-theme .nav__link,
body.superman-theme .section-title,
body.superman-theme h1,
body.superman-theme h2,
body.superman-theme h3 {
  font-family: 'Superman', "Space Mono", "Inter", sans-serif;
  letter-spacing: 1px;
  font-weight: 600;
}

body.superman-theme .button {
  font-family: 'Superman', "Space Mono", "Inter", sans-serif;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* Superman theme text styling */
body.superman-theme .nav__link {
  color: #1a365d;
}

body.superman-theme .nav__link:hover {
  color: #dc143c;
  background-color: rgba(220, 20, 60, 0.1);
}

body.superman-theme .section-title,
body.superman-theme .section-subtitle {
  color: #1a365d;
}

body.superman-theme .button {
  background-color: #dc143c;
  color: #fff;
}

body.superman-theme .button:hover {
  background-color: #b22222;
}

body.superman-theme .button-secondary {
  background-color: transparent;
  color: #dc143c;
  border: 2px solid #dc143c;
}

body.superman-theme .button-secondary:hover {
  background-color: #dc143c;
  color: #fff;
  border-color: #dc143c;
}

body.superman-theme .about-img-photo {
  border-color: #dc143c;
  box-shadow: 0 12px 32px rgba(220, 20, 60, 0.25);
}

body.superman-theme .about-img-photo:hover {
  box-shadow: 0 16px 48px rgba(220, 20, 60, 0.35);
}

/* Theme-specific home backgrounds */
body.batman-theme .home.section {
  background-image: url('../img/batman-footer.png');
}

body.batman-theme .home-data-title,
body.batman-theme .home-data-subtitle,
body.batman-theme .home-data-description {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

body.batman-theme .home-data-title {
  color: #e94560 !important;
  font-weight: 700;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
}

body.batman-theme .home-data-subtitle {
  color: #ccc !important;
  font-weight: 600;
  margin-top:10px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

body.batman-theme .home-data-description {
  color: #ddd !important;
  line-height: 1.6;
  font-size: 14px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

body.superman-theme .home.section {
  background-image: url('../img/portfolios/superman-bg.jpg');
}

body.superman-theme .home-data-title,
body.superman-theme .home-data-subtitle,

body.superman-theme .home-data-title {
  color: #dc143c !important;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
}

body.superman-theme .home-data-subtitle {
  color: #ffffff !important;
  font-weight: 600;
  letter-spacing: 1px;
  margin-top:10px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

body.superman-theme .home-data-description {
  color: #ffffff !important;
  line-height: 1.6;
  font-size: 14px;
  letter-spacing: 1.5px;
}

/* Batman theme social icons and other elements */
body.batman-theme .home-social-icon {
  color: #e94560;
}

body.batman-theme .home-social-icon:hover {
  color: #d63652;
}

body.batman-theme .home-scroll-button {
  color: #e94560;
}

body.batman-theme .home-scroll-button-name {
  color: #eee;
}

/* Batman theme Lucide icon colors */
body.batman-theme [data-lucide] {
  color: inherit;
  stroke: currentColor;
}

body.batman-theme .home-social-icon [data-lucide] {
  color: #e94560;
  stroke: currentColor;
}

body.batman-theme .home-social-icon svg {
  color: #e94560;
  fill: currentColor;
}

body.batman-theme .contact-icon[data-lucide] {
  color: #e94560;
  stroke: currentColor;
}

body.batman-theme .project-link [data-lucide] {
  color: #e94560;
  stroke: currentColor;
}

/* Superman theme social icons and other elements */
body.superman-theme .home-social-icon {
  color: #dc143c;
}

body.superman-theme .home-social-icon:hover {
  color: #b22222;
}

body.superman-theme .home-scroll-button {
  color: #dc143c;
}

body.superman-theme .home-scroll-button-name {
  color: #1a365d;
}

/* Superman theme Lucide icon colors */
body.superman-theme [data-lucide] {
  color: inherit;
  stroke: currentColor;
}

body.superman-theme .home-social-icon [data-lucide] {
  color: #dc143c;
  stroke: currentColor;
}

body.superman-theme .home-social-icon svg {
  color: #dc143c;
  fill: currentColor;
}

body.superman-theme .contact-icon[data-lucide] {
  color: #dc143c;
  stroke: currentColor;
}

body.superman-theme .project-link [data-lucide] {
  color: #dc143c;
  stroke: currentColor;
}

/* Batman theme section styling */
body.batman-theme #about {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.8)) !important;
}

body.batman-theme #about h1 {
  color: #e94560 !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

body.batman-theme #about p {
  color: #ccc !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

body.batman-theme #contact {
  background: linear-gradient(135deg, rgba(15, 15, 35, 0.9), rgba(26, 26, 46, 0.8)) !important;
}

body.batman-theme #contact h1 {
  color: #e94560 !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

body.batman-theme #contact p {
  color: #ccc !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* Superman theme section styling */
body.superman-theme #about {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(247, 250, 252, 0.9)) !important;
}

body.superman-theme #about h1 {
  color: #dc143c !important;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

body.superman-theme #about p {
  color: #2d3748 !important;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6);
}

body.superman-theme #contact {
  background: linear-gradient(135deg, rgba(247, 250, 252, 0.95), rgba(255, 255, 255, 0.9)) !important;
}

body.superman-theme #contact h1 {
  color: #dc143c !important;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

body.superman-theme #contact p {
  color: #2d3748 !important;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6);
}

/* PROJECTS SECTION */
.projects-section {
  min-height: 100vh;
  padding: 6rem 2rem 4rem;
  background: var(--body-color);
  position: relative;
  scroll-margin-top: 5rem;
}

.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
}

.project-card {
  background: var(--container-color);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  display: grid;
  grid-template-columns: 400px 1fr;
  min-height: 300px;
  align-items: center;
  gap: 0;
}

.project-card:nth-child(even) {
  grid-template-columns: 1fr 400px;
}

.project-card:nth-child(even) .project-image {
  order: 2;
  margin-left: 0;
  margin-right: 1.5rem;
}

.project-card:nth-child(odd) .project-image {
  margin-left: 1.5rem;
  margin-right: 0;
}

.project-card:nth-child(even) .project-content {
  order: 1;
  padding-right: 3rem;
}

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

.project-image {
  position: relative;
  height: 280px;
  overflow: hidden;
  width: calc(100% - 1.5rem);
  border-radius: 1rem;
  background: var(--container-color);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  border-radius: 1rem;
  display: block;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  backdrop-filter: blur(2px);
  border-radius: 1rem;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-link {
  color: #fff;
  font-size: 2.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.project-link:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.project-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.project-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 1rem;
  line-height: 1.2;
  font-family: var(--modern-font);
}

.project-description {
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1.05rem;
  opacity: 0.9;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.tech-tag {
  background: linear-gradient(135deg, var(--first-color-lighter), rgba(var(--first-color-lighter), 0.8));
  color: var(--first-color);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(var(--first-color), 0.1);
  transition: all 0.3s ease;
}

.tech-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--first-color), 0.2);
}

.project-content .button {
  align-self: flex-start;
  padding: 0.75rem 2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.project-content .button:hover {
  transform: translateX(8px);
}

/* Batman Theme Projects */
body.batman-theme .projects-section {
  background: linear-gradient(135deg, rgba(15, 15, 35, 0.95), rgba(26, 26, 46, 0.9));
}

body.batman-theme .project-card {
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(233, 69, 96, 0.2);
}

body.batman-theme .project-card:hover {
  box-shadow: 0 20px 40px rgba(233, 69, 96, 0.3);
  border-color: rgba(233, 69, 96, 0.5);
}

body.batman-theme .project-title {
  color: #eee !important;
  font-family: 'Batman', "Space Mono", "Inter", sans-serif !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  font-weight: normal !important;
  font-size: 1.5rem !important;
}

body.batman-theme .project-description {
  color: #ccc;
}

body.batman-theme .tech-tag {
  background: rgba(233, 69, 96, 0.2);
  color: #e94560;
  border: 1px solid rgba(233, 69, 96, 0.3);
}

body.batman-theme .project-overlay {
  background: rgba(233, 69, 96, 0.8);
}

/* Superman Theme Projects */
body.superman-theme .projects-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.95));
}

body.superman-theme .project-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(220, 20, 60, 0.1);
}

body.superman-theme .project-card:hover {
  box-shadow: 0 20px 40px rgba(220, 20, 60, 0.2);
  border-color: rgba(220, 20, 60, 0.3);
}

body.superman-theme .project-title {
  color: #1a365d !important;
  font-family: 'Superman', "Space Mono", "Inter", sans-serif !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  font-weight: normal !important;
  font-size: 1.5rem !important;
  line-height: 1.6 !important;
}

body.superman-theme .project-description {
  color: #2d3748;
}

body.superman-theme .tech-tag {
  background: rgba(220, 20, 60, 0.1);
  color: #dc143c;
  border: 1px solid rgba(220, 20, 60, 0.2);
}

body.superman-theme .project-overlay {
  background: rgba(220, 20, 60, 0.8);
}

/* Responsive Projects */
@media screen and (max-width: 768px) {
  .projects-grid {
    gap: 2rem;
  }
  
  .project-card {
    grid-template-columns: 1fr !important;
    min-height: auto;
    display: flex !important;
    flex-direction: column;
  }
  
  .project-card:nth-child(even) .project-image,
  .project-card:nth-child(even) .project-content {
    order: initial !important;
  }
  
  .project-card:nth-child(even) .project-content {
    padding: 2rem;
  }
  
  .project-card:nth-child(even) .project-image,
  .project-card:nth-child(odd) .project-image {
    margin: 0 !important;
    width: 100% !important;
    border-radius: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  
  .project-image {
    height: 200px;
    order: 1;
    border-radius: 1.5rem 1.5rem 0 0 !important;
  }
  
  .project-image img {
    border-radius: 1.5rem 1.5rem 0 0 !important;
  }
  
  .project-content {
    padding: 2rem;
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
  }
  
  .project-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  
  .project-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }
  
  .project-tech {
    margin-bottom: 1.5rem;
  }
  
  .tech-tag {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
  
  .button {
    align-self: flex-start;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
  }
}

/* Extra small devices responsive */
@media screen and (max-width: 480px) {
  .projects-grid {
    gap: 1.5rem;
  }
  
  .project-card {
    border-radius: 1rem;
  }
  
  .project-image {
    height: 180px;
  }
  
  .project-image img {
    border-radius: 1rem 1rem 0 0 !important;
  }
  
  .project-content {
    padding: 1.5rem;
  }
  
  .project-title {
    font-size: 1.25rem;
  }
  
  .project-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .project-tech {
    margin-bottom: 1rem;
  }
  
  .tech-tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
  }
  
  .button {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
  }
}

/* Tablet responsive */
@media screen and (max-width: 1024px) {
  .project-card {
    grid-template-columns: 350px 1fr !important;
  }
  
  .project-card:nth-child(even) {
    grid-template-columns: 1fr 350px !important;
  }
  
  .project-content {
    padding: 2.5rem;
  }
}

/* SERVICES SECTION */
.services.section {
  min-height: 100vh;
  padding: 6rem 0 4rem;
  background: var(--body-color);
  position: relative;
  scroll-margin-top: 5rem;
}

.services-accordion-container {
  max-width: 900px;
  margin: 3rem auto 0;
  padding: 0 1rem;
  display: flex;
  justify-content: center;
}

.accordion {
  width: 100%;
  --bs-accordion-color: var(--text-color);
  --bs-accordion-bg: var(--container-color);
  --bs-accordion-border-color: rgba(0, 0, 0, 0.1);
  --bs-accordion-border-radius: 1rem;
  --bs-accordion-inner-border-radius: calc(1rem - 2px);
  --bs-accordion-btn-padding-x: 2rem;
  --bs-accordion-btn-padding-y: 1.5rem;
  --bs-accordion-btn-color: var(--title-color);
  --bs-accordion-btn-bg: var(--container-color);
  --bs-accordion-body-padding-x: 2rem;
  --bs-accordion-body-padding-y: 1.5rem;
}

.accordion-item {
  margin-bottom: 1rem !important;
  border: 2px solid transparent !important;
  border-radius: 1rem !important;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.accordion-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border-color: var(--first-color) !important;
}

.accordion-button {
  font-weight: var(--font-semi-bold) !important;
  font-family: var(--modern-font) !important;
  border: none !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  position: relative !important;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23666'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
  background-size: 1.25rem !important;
  width: 1.25rem !important;
  height: 1.25rem !important;
  flex-shrink: 0 !important;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23666'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
  transform: rotate(-180deg) !important;
}

.accordion-button:not(.collapsed) {
  background-color: var(--first-color-lighter) !important;
  color: var(--first-color) !important;
}

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

.accordion-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.accordion-button:hover .accordion-icon {
  transform: scale(1.1);
}

.accordion-title {
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  margin: 0;
}

.service-description {
  color: var(--text-color);
  line-height: 1.6;
  font-family: var(--modern-font);
  font-size: var(--normal-font-size);
}

.tech-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--body-color);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
}

.tech-card:hover {
  transform: translateY(-3px);
  border-color: var(--first-color);
  background: var(--first-color-lighter);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.tech-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.tech-card:hover .tech-image {
  transform: scale(1.1);
}

.tech-name {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
  font-family: var(--modern-font);
}

.tech-card:hover .tech-name {
  color: var(--first-color);
}

/* Batman Theme Services */
body.batman-theme .services.section {
  background: linear-gradient(135deg, rgba(15, 15, 35, 0.95), rgba(26, 26, 46, 0.9));
}

body.batman-theme .accordion {
  --bs-accordion-color: #ccc;
  --bs-accordion-bg: rgba(26, 26, 46, 0.9);
  --bs-accordion-border-color: rgba(233, 69, 96, 0.2);
  --bs-accordion-btn-color: #eee;
  --bs-accordion-btn-bg: rgba(26, 26, 46, 0.9);
}

body.batman-theme .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e94560'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

body.batman-theme .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e94560'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

body.batman-theme .accordion-item {
  background: rgba(26, 26, 46, 0.9) !important;
  border-color: rgba(233, 69, 96, 0.2) !important;
}

body.batman-theme .accordion-item:hover {
  border-color: #e94560 !important;
  box-shadow: 0 8px 32px rgba(233, 69, 96, 0.3);
}

body.batman-theme .accordion-button:not(.collapsed) {
  background-color: rgba(233, 69, 96, 0.2) !important;
  color: #e94560 !important;
}

body.batman-theme .service-description {
  color: #ccc;
}

body.batman-theme .tech-card {
  background: rgba(22, 33, 62, 0.8);
  border-color: rgba(233, 69, 96, 0.2);
}

body.batman-theme .tech-card:hover {
  border-color: #e94560;
  background: rgba(233, 69, 96, 0.2);
}

body.batman-theme .tech-name {
  color: #ccc;
}

body.batman-theme .tech-card:hover .tech-name {
  color: #e94560;
}

/* Superman Theme Services */
body.superman-theme .services.section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.95));
}

body.superman-theme .accordion {
  --bs-accordion-color: #2d3748;
  --bs-accordion-bg: rgba(255, 255, 255, 0.95);
  --bs-accordion-border-color: rgba(220, 20, 60, 0.1);
  --bs-accordion-btn-color: #1a365d;
  --bs-accordion-btn-bg: rgba(255, 255, 255, 0.95);
}

body.superman-theme .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dc143c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

body.superman-theme .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dc143c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

body.superman-theme .accordion-item {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(220, 20, 60, 0.1) !important;
}

body.superman-theme .accordion-item:hover {
  border-color: #dc143c !important;
  box-shadow: 0 8px 32px rgba(220, 20, 60, 0.2);
}

body.superman-theme .accordion-button:not(.collapsed) {
  background-color: rgba(220, 20, 60, 0.1) !important;
  color: #dc143c !important;
}

body.superman-theme .service-description {
  color: #2d3748;
}

body.superman-theme .tech-card {
  background: #f7fafc;
  border-color: rgba(220, 20, 60, 0.1);
}

body.superman-theme .tech-card:hover {
  border-color: #dc143c;
  background: rgba(220, 20, 60, 0.1);
}

body.superman-theme .tech-name {
  color: #2d3748;
}

body.superman-theme .tech-card:hover .tech-name {
  color: #dc143c;
}

/* Responsive Services */
@media screen and (max-width: 768px) {
  .accordion {
    --bs-accordion-btn-padding-x: 1rem;
    --bs-accordion-btn-padding-y: 1rem;
    --bs-accordion-body-padding-x: 1rem;
  }
  
  .accordion-icon {
    width: 40px;
    height: 40px;
  }
  
  .accordion-title {
    font-size: var(--h3-font-size);
  }
  
  .tech-card {
    padding: 0.75rem;
  }
  
  .tech-image {
    width: 32px;
    height: 32px;
  }
}

/* CONTACT SECTION */
.contact.section {
  padding: 6rem 0 4rem;
  background: var(--body-color);
  scroll-margin-top: 5rem;
}

.contact-container {
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
  justify-items: center;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contact-information {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--container-color);
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  min-height: 60px;
  width: 100%;
}

.contact-information:hover {
  transform: translateY(-5px);
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--first-color);
  font-family: var(--body-font);
  margin: 0;
  flex-shrink: 0;
}
.contact-form {
  background: var(--container-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-inputs {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-content {
  position: relative;
  margin-bottom: 1.5rem;
}

.contact-label {
  font-size: var(--small-font-size);
  color: var(--title-color);
  font-weight: var(--font-medium);
  margin-bottom: 0.5rem;
  display: block;
}

.contact-input {
  width: 100%;
  background: var(--input-color);
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  border: 2px solid transparent;
  outline: none;
  padding: 1rem;
  border-radius: 0.5rem;
  transition: border-color 0.3s ease;
}

.contact-input:focus {
  border-color: var(--first-color);
}

.contact-button {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* Batman Theme Contact */
body.batman-theme .contact.section {
  background: linear-gradient(135deg, rgba(15, 15, 35, 0.95), rgba(26, 26, 46, 0.9));
}

body.batman-theme .contact-information {
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(233, 69, 96, 0.2);
}

body.batman-theme .contact-information:hover {
  border-color: rgba(233, 69, 96, 0.5);
  box-shadow: 0 8px 24px rgba(233, 69, 96, 0.2);
}

body.batman-theme .contact-form {
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid rgba(233, 69, 96, 0.2);
}

body.batman-theme .contact-title {
  color: #eee;
}

body.batman-theme .contact-subtitle {
  color: #ccc;
}

body.batman-theme .contact-label {
  color: #eee;
}

body.batman-theme .contact-input {
  background: rgba(22, 33, 62, 0.8);
  color: #eee;
  border-color: rgba(233, 69, 96, 0.3);
}

body.batman-theme .contact-input:focus {
  border-color: #e94560;
  box-shadow: 0 0 10px rgba(233, 69, 96, 0.3);
}

body.batman-theme .contact-input::placeholder {
  color: #aaa;
}

/* Superman Theme Contact */
body.superman-theme .contact.section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.95));
}

body.superman-theme .contact-information {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(220, 20, 60, 0.1);
}

body.superman-theme .contact-information:hover {
  border-color: rgba(220, 20, 60, 0.3);
  box-shadow: 0 8px 24px rgba(220, 20, 60, 0.1);
}

body.superman-theme .contact-form {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(220, 20, 60, 0.1);
}

body.superman-theme .contact-title {
  color: #1a365d;
}

body.superman-theme .contact-subtitle {
  color: #2d3748;
}

body.superman-theme .contact-label {
  color: #1a365d;
}

body.superman-theme .contact-input {
  background: #f7fafc;
  color: #2d3748;
  border-color: rgba(220, 20, 60, 0.2);
}

body.superman-theme .contact-input:focus {
  border-color: #dc143c;
  box-shadow: 0 0 10px rgba(220, 20, 60, 0.2);
}

body.superman-theme .contact-input::placeholder {
  color: #4a5568;
}

/* Responsive Contact */
@media screen and (max-width: 768px) {
  .contact.section .contact-inputs {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .contact.section .contact-form {
    padding: 1.5rem;
  }
  
  .contact.section .contact-items {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .contact-container {
    max-width: 100%;
    gap: 2rem;
  }
  
  .contact-information {
    padding: 1rem;
    min-height: 60px;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .contact-icon {
    font-size: 2rem;
  }
}
@media screen and (max-width: 768px) {
  
  .nav__container {
    padding: 0.75rem 1.5rem;
  }
  
  .nav__list {
    gap: 1rem;
  }
  
  .nav__logo-img {
    height: 38px;
    max-width: 38px;
  }
  
  .theme-selector {
    padding-left: 1rem;
    margin-left: 0.5rem;
  }
  
  .theme-btn {
    width: 35px;
    height: 35px;
  }
  
  .theme-btn img {
    width: 20px;
    height: 20px;
  }
}

@media screen and (max-width: 480px) {
  .nav__list {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .nav__logo-item {
    margin-right: 0;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
  }
  
  .nav__logo-img {
    height: 32px;
    max-width: 32px;
  }
  
  .theme-selector {
    border-left: none;
    border-top: 1px solid var(--text-color-light);
    padding-left: 0;
    padding-top: 1rem;
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

/* HOME */
.home.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 6rem 0 4rem;
  scroll-margin-top: 0;
}

.home.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.home-container {
  gap: 1rem;
  position: relative;
  z-index: 2;
  margin-top: -3rem; /* Move content further up */
}

.home-container .home-content {
  grid-template-columns: .5fr 3fr;
  padding-top: 1.5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.home-container .home-content .home-img .home-blob {
  width: 200px;
}

.home-container .home-content .home-img .home-blob-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.home-container .home-content .home-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Batman theme blob styling */
body.batman-theme .home-blob {
  fill: #1a1a2e;
  filter: drop-shadow(0 0 20px #e94560) drop-shadow(0 0 40px rgba(233, 69, 96, 0.5));
}

body.batman-theme .home-blob #blob-fill {
  fill: url(#batman-gradient);
}

/* Superman theme blob styling */
body.superman-theme .home-blob {
  fill: #dc143c;
  filter: drop-shadow(0 0 20px #000080) drop-shadow(0 0 40px rgba(0, 0, 128, 0.5));
}

body.superman-theme .home-blob #blob-fill {
  fill: url(#superman-gradient);
}

/* Enhanced blob animation */
.home-blob {
  animation: float 6s ease-in-out infinite;
}

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

.home-container .home-content .home-social {
  display: grid;
  grid-template-columns: max-content;
  row-gap: 1rem;
}

.home-container .home-content .home-social-icon {
  font-size: 1.25rem;
  color: var(--first-color);
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeInLeft 1s ease-out forwards;
  transition: all 0.3s ease;
}

.home-container .home-content .home-social-icon:nth-child(1) {
  animation-delay: 1s;
}

.home-container .home-content .home-social-icon:nth-child(2) {
  animation-delay: 1.2s;
}

.home-container .home-content .home-social-icon:nth-child(3) {
  animation-delay: 1.4s;
}

.home-container .home-content .home-social-icon:hover {
  color: var(--first-color-alt);
  transform: translateY(-3px) scale(1.1);
}

/* Animation for social icons */
@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.home-container .home-content .home-data {
  grid-column: 1/3;
  max-width: 1000px;
  text-align: left;
}

.home-container .home-content .home-data-title {
  font-size: var(--big-font-size);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out 0.2s forwards;
}

.home-container .home-content .home-data-subtitle {
  font-size: var(--h3-font-size);
  color: var(--text-color);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-0-75);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out 0.4s forwards;
}

.home-container .home-content .home-data-description {
  margin-bottom: var(--mb-2);
  line-height: 1.6;
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out 0.6s forwards;
}

/* Home button animation */
.home-data .button {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out 0.8s forwards;
}

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

.home-container .home-scroll {
  display: none;
}

.home-container .home-scroll-button {
  color: var(--first-color);
  transition: 0.3s;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out 1.5s forwards, bounce 2s ease-in-out 2.5s infinite;
}

.home-container .home-scroll-button:hover {
  transform: translateY(0.25rem);
}

/* Bounce animation for scroll button */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.home-container .home-scroll-button-name {
  font-size: var(--small-font-size);
  color: var(--title-color);
  font-weight: var(--font-medium);
  margin-right: var(--mb-0-25);
}

.home-container .home-scroll-button-arrow {
  font-size: 1.25rem;
}

/* BUTTONS */
.button {
  display: inline-block;
  background-color: var(--first-color);
  color: #fff;
  border-color: transparent;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: .5rem;
  font-weight: var(--font-medium);
  font-size: var(--normal-font-size);
  font-family: var(--modern-font);
  letter-spacing: 0.25px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.button:hover {
  background-color: var(--first-color-alt);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.button-icon {
  font-size: 1.25rem;
  transition: 0.3s;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
}

.button-flex {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.button-secondary {
  background-color: transparent;
  color: var(--first-color);
  border: 2px solid var(--first-color);
}

.button-secondary:hover {
  background-color: var(--first-color);
  color: #fff;
  border-color: var(--first-color);
}

/* Home buttons container */
.home-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

/* About buttons container */
.about-buttons {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

/* Responsive button layouts */
@media screen and (max-width: 768px) {
  .home-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .home-buttons .button {
    justify-content: center;
    text-align: center;
  }
  
  .about-buttons {
    margin: 1.5rem 0;
  }
}

@media screen and (max-width: 480px) {
  .button {
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .home-buttons {
    gap: 0.75rem;
  }
}

.button-flex [data-lucide] {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
}

/* Lucide Icon Styling */
[data-lucide] {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
  color: inherit;
  stroke: currentColor;
}

.home-social-icon [data-lucide] {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-icon[data-lucide] {
  width: 2.5rem;
  height: 2.5rem;
  stroke-width: 1.5;
}

.project-link [data-lucide] {
  width: 2rem;
  height: 2rem;
}

.home-scroll-button [data-lucide] {
  width: 1.25rem;
  height: 1.25rem;
}

.button-small {
  padding: .75rem 1rem;
}

.button-white {
  background-color: #fff;
  color: var(--first-color);
}

.button-white:hover {
  background-color: #fff;
}

.button-link {
  padding: 0;
  background-color: transparent;
  color: var(--first-color);
}

.button-link:hover {
  background-color: transparent;
  color: var(--first-color-alt);
}

/* ABOUT */
.about-container-img {
  display: flex;
  justify-content: center;
}

.about-container-imgAlt {
  width: 265px;
  border-radius: .5rem;
}

.about-container-data-description {
  text-align: center;
  margin-bottom: var(--mb-2-5);
  margin-top: var(--mb-2);
}

.about-container-data-info {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: var(--mb-2-5);
}

.about-container-data-info div {
  text-align: center;
}

.about-container-data-info-title {
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

.about-container-data-info-name {
  font-size: var(--smaller-font-size);
}

.about-container-data-info-title, .about-container-data-info-name {
  display: block;
  text-align: center;
}

.about-container .about-buttons {
  display: flex;
  justify-content: center;
}


/* QUALIFICATION */
.qualification-tabs {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: var(--mb-2);
}

.qualification-tabs-button {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  cursor: pointer;
}

.qualification-tabs-button:hover {
  color: var(--first-color);
}

.qualification-tabs-button .qualification-icon {
  font-size: 1.8rem;
  margin-right: var(--mb-0-25);
}

.qualification-tabs-button.qualification-active {
  color: var(--first-color);
}

.qualification [data-content] {
  display: none;
}

.qualification-active[data-content] {
  display: block;
  width:600px;
  max-width:100%;
}

.qualification-data {
  display: grid;
  /* width:600px; */
  grid-template-columns: 1fr max-content 1fr;
}

.qualification-data-alt {
  text-align: center;
}

.qualification-data .qualification-title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}

.qualification-data .qualification-subtitle {
  display: inline-block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-1);
}

.qualification-data .qualification-calendar {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}

.qualification-data .qualification-rounder {
  display: inline-block;
  width: 13px;
  height: 13px;
  background-color: var(--first-color);
  border-radius: 50%;
}

.qualification-data .qualification-line {
  display: block;
  width: 1px;
  height: 100%;
  background-color: var(--first-color);
  transform: translate(6px, -7px);
}

/* SERVICES */
.services-container {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

.services-container .services-content {
  position: relative;
  background-color: var(--container-color);
  padding: 3.5rem .5rem 1.25rem 1.5rem;
  border-radius: .25rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
}

.services-container .services-content:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.services-container .services-content .services-icon {
  display: block;
  font-size: 1.5rem;
  color: var(--first-color);
  margin-bottom: var(--mb-1);
}

.services-container .services-content .services-title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  font-weight: var(--font-medium);
}

.services-container .services-content .services-button {
  cursor: pointer;
  font-size: var(--small-font-size);
}

.services-container .services-content .services-button:hover .button-icon {
  transform: translateX(0.45rem);
}

.services-container .services-content .services-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}

.services-container .services-content .services-modal.active-modal {
  opacity: 1;
  visibility: visible;
}

.services-container .services-content .services-modal-content {
  position: relative;
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: .5rem;
}

.services-container .services-content .services-modal-content .services-modal-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-1-5);
}

.services-container .services-content .services-modal-content .services-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--first-color);
  cursor: pointer;
}

.services-container .services-content .services-modal-content .services-modal-services {
  gap:2rem;
  display: flex;
  flex-wrap:wrap;
}

.services-container .services-content .services-modal-content .services-modal-service {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap:10px;
}
.services-container .services-content .services-modal-content .services-modal-service img{
    width:30px;
    height:30px;
}

.services-container .services-content div img{
    width:40px;
    height:40px;
}

/* PORTFOLIO */
.portfolio-container {
  overflow: initial;
}

.portfolio-container .portfolio-content {
  padding: 0 1.5rem;
}

.portfolio-container .portfolio-content .portfolio-img {
  width: 265px;
  border-radius: .5rem;
  justify-self: center;
}

.portfolio-container .portfolio-content .portfolio-title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
}

.portfolio-container .portfolio-content .portfolio-description {
  margin-bottom: var(--mb-0-75);
}

.portfolio-container .portfolio-content .portfolio-button:hover .button-icon {
  transform: translateX(0.45rem);
}

.portfolio-container .swiper-button-prev::after,
.portfolio-container .swiper-button-next::after {
  content: '';
}

.portfolio-container .swiper-portfolio-icon {
  font-size: 2rem;
  color: var(--first-color);
}

.portfolio-container .swiper-button-next {
  right: -.5rem;
}

.portfolio-container .swiper-button-prev {
  left: -.5rem;
}

.swiper-container-horizontal > .swiper-pagination-bullets {
  bottom: -2.5rem;
}

.swiper-pagination-bullet-active {
  background-color: var(--first-color);
}

.swiper-button-next,
.swiper-button-prev,
.swiper-pagination-bullet {
  outline: none;
}

/* PROJECT IN MIND */
.project {
  text-align: center;
}

.project-bg {
  padding-top: 3rem;
  background-color: var(--first-color-second);
}

.project-bg-title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-0-75);
}

.project-bg-description {
  margin-bottom: var(--mb-1-5);
}

.project-bg-title, .project-bg-description {
  color: #fff;
}

.project-bg-img {
  width: 232px;
  justify-self: center;
}

/* CONTACT ME */
.contact-container {
  row-gap: 3rem;
}

.contact-container .contact-information {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-bottom: var(--mb-2);
}

.contact-container .contact-information .contact-icon {
  font-size: 1.5rem;
  color: var(--first-color);
  margin-right: var(--mb-0-75);
}

.contact-container .contact-information .contact-title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
}

.contact-container .contact-information .contact-subtitle {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.contact-container .contact-content {
  background-color: var(--input-color);
  border-radius: .5rem;
  padding: .75rem 1rem .25rem;
}

.contact-container .contact-content .contact-label {
  font-size: var(--smaller-font-size);
  color: var(--title-color);
}

.contact-container .contact-content .contact-input {
  width: 100%;
  background-color: var(--input-color);
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  border: none;
  outline: none;
  padding: .25rem .5rem .5rem 0;
}

/* FOOTER */
.footer {
  padding-top: 2rem;
}

.footer-bg {
  background-color: var(--first-color-second);
  padding: 2rem 0 3rem;
}

.footer-container .footer-title {
  font-size: var(--h1-font-size);
  margin-bottom: var(--mb-0-25);
}

.footer-container .footer-title span{
    font-size: var(--big-font-size);
    font-family: cursive;
}

.footer-container .footer-subtitle {
  font-size: var(--small-font-size);
}

.footer-container .footer-social {
  font-size: 1.25rem;
  margin-right: var(--mb-1-5);
}

.footer-container .footer-social:hover {
  color: var(--first-color-lighter);
}

.footer .footer-copy {
  font-size: var(--smaller-font-size);
  text-align: center;
  color: #fff;
  margin-top: var(--mb-3);
}

.footer .footer-title,
.footer .footer-subtitle,
.footer .footer-social {
  color: #fff;
}

/* SCROLL UP */
.scrollup {
  position: fixed;
  right: 2.5rem;
  bottom: -20%;
  background-color: var(--first-color);
  opacity: .8;
  padding: .3rem .5rem;
  border-radius: .4rem;
  z-index: var(--z-tooltip);
  transition: .4s;
}

.scrollup-icon {
  font-size: 1.5rem;
  color: #fff;
}

.scrollup:hover {
  background-color: var(--first-color-alt);
}

/* Show scroll */
.show-scroll {
  bottom: 3.5rem;
  right: 2.5rem;
}

/* SCROLL BAR */
::-webkit-scrollbar {
  width: .60rem;
  background-color: var(--scroll-bar-color);
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb-color);
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-color-light);
}

/* MEDIA QUERIES */
/* For small devices */
@media screen and (max-width: 350px) {
  .container {
    margin-left: var(--mb-1-5);
    margin-right: var(--mb-1-5);
  }
  .container .nav-menu {
    padding: 2rem .25rem 4rem;
  }
  .container .nav-list {
    column-gap: 0;
  }
  .home-content {
    grid-template-columns: .25fr 3fr;
  }
  .home-content .home-blob {
    width: 180px;
  }
  .skilss-title {
    font-size: var(--normal-font-size);
  }
  .qualification-data {
    gap: .5rem;
  }
  .services-container {
    grid-template-columns: max-content;
    justify-content: center;
  }
  .services-container .services-content {
    padding-right: 6rem;
  }
  .services-container .services-content .services-modal {
    padding: 0 1rem;
  }

  .project-img {
    width: 200px;
  }
  .testimonial-data,
  .testimonial-header {
    flex-direction: column;
    align-items: center;
  }
  .testimonial-img {
    margin-right: 0;
    margin-bottom: var(--mb-0-25);
  }
  .testimonial-data,
  .testimonial-description {
    text-align: center;
  }
}

/* For nav-menu devices */
@media screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--body-color);
    padding: 2rem 1.5rem 4rem;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.15);
    border-radius: 1.5rem 1.5rem 0 0;
    transition: 0.3s;
  }
}

/* For medium devices */
@media screen and (min-width: 568px) {
  .home-content .home-data {
    grid-column: initial !important;
    margin-left: 25px;
    margin-top: 25px;
    max-width: 500px;
  }
  .home-content .home-img {
    order: 1;
    justify-self: center;
  }
  .about-container,
  .portfolio-content,
  .project-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-container-imgAlt,
  .portfolio-content-imgAlt,
  .project-container-imgAlt {
    width: 225px;
    height: 185px;
    align-self: center;
    margin-top: 25px;
  }
  .portfolio-content {
    align-items: center;
  }
  .qualification-sections {
    display: grid;
    grid-template-columns: .8fr;
    justify-content: center;
  }
  .project-data {
    align-self: center;
  }
  .project-bg {
    padding-top: 0;
  }
  .contact-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }
  .contact-items .contact-information {
    align-items: center;
    min-width: 280px;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .contact-form .contact-inputs {
    grid-template-columns: 1fr 1fr;
  }
  .contact-button {
    display: flex;
    justify-content: center;
  }
  
  .contact-button button{
    border-color: transparent !important;
    box-shadow: none;
  }
  
  .footer-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
  .footer-content,
  .footer-socials {
    text-align: center;
    align-self: center;
    width: 100%;
  }
  .footer-socials {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.5rem 0 1rem 0;
    padding: 1rem 0 0.5rem 0;
  }
  .footer-link {
    font-size: 0.9rem;
  }
  
  /* Scroll to top button mobile adjustments */
  .scroll-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

@media screen and (min-width: 768px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
  body {
    margin: 0;
  }
  .header {
    padding: 1rem 2rem !important;
    top: 0;
    bottom: initial;
  }
  .section {
    padding: 8rem 0 2rem;
  }
  .header,
  .main,
  .footer-container {
    padding: 0 1rem;
  }
  .nav {
    height: calc(--header-height)1.5rem;
    column-gap: 1rem;
  }
  .nav .nav-list {
    display: flex;
    column-gap: 2rem;
  }
  .nav .nav-list .nav-link {
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
  }
  .nav .nav-link-icon,
  .nav .nav-close,
  .nav .nav-toggle {
    display: none;
  }
  .nav .change-theme {
    margin: 0;
  }
  .home-container {
    row-gap: 5rem;
  }
  .home-container .home-content {
    padding-top: 5rem;
    column-gap: 2rem;
  }
  .about-container {
    column-gap: 5rem;
  }
  .about-container-imgAlt {
    width: 330px;
    height: 135px;
  }
  .about-container-data-description {
    text-align: initial;
  }
  .about-container-data-info {
    justify-content: space-between;
  }
  .skills-container {
    grid-template-columns: 1fr 1fr;
  }
  .qualification-sections {
    grid-template-columns: .5fr;
  }
  .qualification-tabs {
    justify-content: center;
  }
  .qualification-tabs-button {
    margin: 0 var(--mb-1-5);
  }
  .services-container {
    grid-template-columns: repeat(3, 218px);
    justify-content: center;
  }
  .services-container .services-icon {
    font-size: 2rem;
  }
  .services-container .services-content {
    padding: 4rem 0 2rem 2.5rem;
  }
  .portfolio-img {
    width: 320px !important;
  }
  .portfolio-content {
    align-items: center;
  }
  .project {
    text-align: initial;
  }
  .project-bg {
    background: none;
  }
  .project .project-container {
    background-color: var(--first-color-second);
    border-radius: 1rem;
    padding: 3rem 2.5rem 0;
    grid-template-columns: 1fr max-content;
    column-gap: 3rem;
  }
}

/* For large devices */
@media screen and (min-width: 1024px) {
  .header,
  .main,
  .footer-container {
    padding: 0;
  }

  .home-social {
    transform: translateX(-5rem);
  }
  .services-container {
    grid-template-columns: repeat(3, 270px);
  }
  .portfolio-container {
    margin-bottom: 2.5rem;
  }
  .portfolio-content {
    column-gap: 5rem;
  }
  .swiper-portfolio-icon {
    font-size: 3rem !important;
  }
  .swiper-button-prev {
    left: -3.5rem !important;
  }
  .swiper-button-next {
    right: -3.5rem !important;
  }
  .swiper-container-horizontal > .swiper-pagination-bullets {
    bottom: -4.5rem;
  }
  .footer-container {
    display: flex;
    justify-content: space-between;
  }
  .footer-container .footer-socials {
    display: flex;
    flex-direction: row;
    column-gap: 1rem;
  }
}

/* About Section Styles */
.about {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--container-color);
  padding: 6rem 2rem 4rem;
  scroll-margin-top: 5rem;
}

.about-container {
  text-align: center;
  color: var(--text-color);
  max-width: 800px;
  padding: 2rem;
}

.about-img {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}

.about-img-photo {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--first-color);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-img-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.about .section-title {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--title-color);
}

.about-description {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 3rem;
  font-family: var(--modern-font);
  font-weight: 400;
  letter-spacing: 0.15px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  padding: 0 2rem;
}

.about-card {
  background: transparent;
  padding: 1.5rem 1rem;
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: none;
  border: none;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Individual card colors */
.about-card:nth-child(1),
.about-card:nth-child(2),
.about-card:nth-child(3) {
  background: transparent;
  color: var(--text-color);
}

.about-card::before {
  display: none;
}

/* Remove all hover effects */
.about-card:hover {
  transform: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.about-card-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
}

.about-card-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  transition: none;
}

/* Remove hover effect for images */
.about-card:hover .about-card-image {
  transform: none;
}

.about-card-number {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--modern-font);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card-specific text colors */
.about-card:nth-child(1) .about-card-number,
.about-card:nth-child(2) .about-card-number,
.about-card:nth-child(3) .about-card-number {
  color: var(--first-color);
}

.about-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--modern-font);
  margin: 0;
  letter-spacing: 0.5px;
}

/* Card-specific title colors */
.about-card:nth-child(1) .about-card-title,
.about-card:nth-child(2) .about-card-title,
.about-card:nth-child(3) .about-card-title {
  color: var(--text-color);
}

.about-description:last-child {
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* Batman Theme About Cards */
body.batman-theme .about-card:nth-child(1),
body.batman-theme .about-card:nth-child(2),
body.batman-theme .about-card:nth-child(3) {
  background: transparent;
  box-shadow: 0 12px 40px rgba(233, 69, 96, 0.15), 0 6px 20px rgba(233, 69, 96, 0.1), 0 2px 8px rgba(233, 69, 96, 0.08);
}

body.batman-theme .about-card::before {
  display: none;
}

body.batman-theme .about-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: 0 12px 40px rgba(233, 69, 96, 0.15), 0 6px 20px rgba(233, 69, 96, 0.1), 0 2px 8px rgba(233, 69, 96, 0.08);
  background: inherit;
}

body.batman-theme .about-card-image {
  filter: none;
}

body.batman-theme .about-card:nth-child(1) .about-card-number,
body.batman-theme .about-card:nth-child(2) .about-card-number,
body.batman-theme .about-card:nth-child(3) .about-card-number {
  color: #e94560;
}

body.batman-theme .about-card:nth-child(1) .about-card-title,
body.batman-theme .about-card:nth-child(2) .about-card-title,
body.batman-theme .about-card:nth-child(3) .about-card-title {
  color: #ccc;
}

/* Superman Theme About Cards */
body.superman-theme .about-card:nth-child(1),
body.superman-theme .about-card:nth-child(2),
body.superman-theme .about-card:nth-child(3) {
  background: transparent;
  box-shadow: 0 12px 40px rgba(220, 20, 60, 0.12), 0 6px 20px rgba(220, 20, 60, 0.08), 0 2px 8px rgba(220, 20, 60, 0.06);
}

body.superman-theme .about-card::before {
  display: none;
}

body.superman-theme .about-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: 0 12px 40px rgba(220, 20, 60, 0.12), 0 6px 20px rgba(220, 20, 60, 0.08), 0 2px 8px rgba(220, 20, 60, 0.06);
  background: inherit;
}

body.superman-theme .about-card-image {
  filter: none;
  content: url('../img/top-rated-dark.png');
}

body.superman-theme .about-card:nth-child(1) .about-card-number,
body.superman-theme .about-card:nth-child(2) .about-card-number,
body.superman-theme .about-card:nth-child(3) .about-card-number {
  color: #dc143c;
}

body.superman-theme .about-card:nth-child(1) .about-card-title,
body.superman-theme .about-card:nth-child(2) .about-card-title,
body.superman-theme .about-card:nth-child(3) .about-card-title {
  color: #2d3748;
}

/* Mobile About Cards */
@media screen and (max-width: 768px) {
  .about-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .about-card {
    padding: 1.5rem 1rem;
  }
  
  .about-card-number {
    font-size: 2rem;
  }
}

/* Force modern fonts for non-home sections */
#about,
#about *:not(.home-data-title):not(.home-data-subtitle):not(.home-data-description),
#projects,
#projects *,
#contact,
#contact * ,
#services,
#services *
#testimonials,
#testimonials *
{
  font-family: var(--modern-font);
}

/* Override with theme fonts for headings */
body.batman-theme #about .section-title,
body.batman-theme #projects .section-title,
body.batman-theme #services .section-title,
body.batman-theme #testimonials .section-title,
body.batman-theme #contact .section-title {
  font-family: 'Batman', "Inter", sans-serif !important;
  font-weight: 700 !important;
  color: var(--section-title-color) !important;
  letter-spacing: 1px !important;
  margin-bottom: 2rem !important;
  font-size: 3rem !important;
}

body.superman-theme #about .section-title,
body.superman-theme #projects .section-title,
body.superman-theme #testimonials .section-title,
body.superman-theme #services .section-title,
body.superman-theme #contact .section-title {
  font-family: 'Superman', "Inter", sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  color: var(--section-title-color) !important;
  margin-bottom: 2rem !important;
  font-size: 3rem !important;
}

/* =============== FOOTER =============== */
.footer {
  position: relative;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.8;
  z-index: -2;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Batman Theme Footer */
body.batman-theme .footer-bg {
  background-image: url('../img/batman-footer.png');
}

body.batman-theme .footer::before {
  background: linear-gradient(135deg, 
    rgba(26, 26, 46, 0.9) 0%, 
    rgba(22, 33, 62, 0.85) 50%, 
    rgba(15, 52, 96, 0.9) 100%);
}

body.batman-theme .footer {
  color: #e2e8f0;
}

/* Superman Theme Footer */
body.superman-theme .footer-bg {
  background-image: url('../img/superman-footer.jpg');
}

body.superman-theme .footer::before {
  background: linear-gradient(135deg, 
    rgba(220, 20, 60, 0.9) 0%, 
    rgba(178, 34, 34, 0.85) 50%, 
    rgba(139, 0, 0, 0.9) 100%);
}

body.superman-theme .footer {
  color: #fef2f2;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.footer-content {
  text-align: center;
  flex: 1;
}

.footer-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.footer-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: all 0.3s ease;
  display: block;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.footer-social {
  color: var(--text-color);
  font-size: 1.5rem;
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-social:hover {
  color: var(--first-color);
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 2rem 0 1rem 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  font-family: var(--body-font);
}

.footer-link:hover {
  color: var(--first-color);
  transform: translateY(-1px);
}

.footer-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -3px;
  left: 50%;
  background-color: var(--first-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.footer-link:hover::after {
  width: 100%;
}

/* Batman theme footer links */
body.batman-theme .footer-link {
  font-family: 'Batman', var(--body-font);
  font-weight: 600;
}

body.batman-theme .footer-link:hover {
  color: #dc2626;
}

body.batman-theme .footer-link::after {
  background-color: #dc2626;
}

/* Superman theme footer links */
body.superman-theme .footer-link {
  font-family: 'Superman', var(--body-font);
  font-weight: 600;
  letter-spacing: 1.5px;
}

body.superman-theme .footer-link:hover {
  color: #ffd700;
}

body.superman-theme .footer-link::after {
  background-color: #ffd700;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--first-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

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

.scroll-to-top:hover {
  background: var(--first-color-alt);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.scroll-to-top:active {
  transform: translateY(-1px);
}

/* Theme-specific scroll button colors */
body.batman-theme .scroll-to-top {
  background: #ffd700;
  color: #000;
}

body.batman-theme .scroll-to-top:hover {
  background: #ffed4e;
}

body.superman-theme .scroll-to-top {
  background: #dc2626;
  color: white;
}

body.superman-theme .scroll-to-top:hover {
  background: #b91c1c;
}

.footer-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: inherit;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.footer-social:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.footer-social svg {
  fill: currentColor;
}

.footer-copy {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0;
}

/* Desktop Footer Layout */
@media screen and (min-width: 768px) {
  .footer-container {
    grid-template-columns: 2fr 1fr 1fr;
    text-align: left;
  }
  
  .footer-content {
    text-align: left;
  }
  
  .footer-logo-container {
    justify-content: flex-start;
  }
  
  .footer-socials {
    justify-content: center;
  }
}

@media screen and (min-width: 1024px) {
  .footer {
    padding: 5rem 0 2.5rem;
  }
  
  .footer-container {
    gap: 4rem;
    flex-direction: row;
    justify-content: space-between;
  }
  
  .footer-logo {
    width: 100px;
    height: 100px;
  }
  
  .footer-links {
    gap: 2.5rem;
    margin: 2.5rem 0 1.5rem 0;
  }
  
  .footer-link {
    font-size: 1rem;
  }
  
  .footer-title {
    font-size: 3rem;
  }
}

/* Comprehensive Mobile Responsive Fixes */
@media screen and (max-width: 768px) {
  /* Prevent any element from overflowing */
  *, *::before, *::after {
    max-width: 100% !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* Ensure all text elements don't overflow */
  h1, h2, h3, h4, h5, h6, p, span, div {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* Make sure all grid and flex containers are responsive */
  .grid {
    grid-template-columns: 1fr !important;
    max-width: 100%;
  }
  
  /* Ensure buttons and links fit */
  .button, .nav__link, .footer-link {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* Fix any remaining large containers */
  .home-container,
  .about-container,
  .services-container,
  .projects-container,
  .contact-container,
  .footer-container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Extra small devices */
@media screen and (max-width: 480px) {
  .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  .section {
    padding: 1.5rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-subtitle {
    font-size: 0.813rem;
  }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  padding: 6rem 0 4rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--first-color), var(--first-color-alt));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--first-color);
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar img {
  transform: scale(1.1);
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--title-color);
  margin: 0 0 0.25rem 0;
}

.testimonial-position {
  font-size: 0.875rem;
  color: var(--text-color);
  opacity: 0.8;
  margin: 0 0 0.5rem 0;
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.testimonial-rating .star {
  width: 16px;
  height: 16px;
  color: #fbbf24;
  fill: transparent;
}

.testimonial-rating .star.filled {
  fill: #fbbf24;
}

.testimonial-review {
  position: relative;
}

.testimonial-quote-icon {
  position: absolute;
  top: -0.5rem;
  left: -0.5rem;
  width: 24px;
  height: 24px;
  color: var(--first-color);
  opacity: 0.3;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
  padding-left: 1rem;
  font-style: italic;
}

/* Theme-specific testimonial styling */
body.batman-theme .testimonial-card {
  background: rgba(14, 17, 23, 0.8);
  border-color: rgba(233, 69, 96, 0.2);
}

body.batman-theme .testimonial-card:hover {
  border-color: rgba(233, 69, 96, 0.4);
  box-shadow: 0 20px 40px rgba(233, 69, 96, 0.1);
}

body.batman-theme .testimonial-name {
  color: #eee;
  font-family: var(--body-font) !important;
}

body.batman-theme .testimonial-position {
  color: #ccc;
}

body.batman-theme .testimonial-text {
  color: #ddd;
}

body.batman-theme .testimonial-avatar {
  border-color: #e94560;
}

body.superman-theme .testimonial-card {
  background: rgba(248, 250, 252, 0.9);
  border-color: rgba(220, 20, 60, 0.2);
}

body.superman-theme .testimonial-card:hover {
  border-color: rgba(220, 20, 60, 0.4);
  box-shadow: 0 20px 40px rgba(220, 20, 60, 0.1);
}

body.superman-theme .testimonial-name {
  color: #1a365d;
  font-family: var(--body-font) !important;
}

body.superman-theme .testimonial-position {
  color: #2d3748;
}

body.superman-theme .testimonial-text {
  color: #4a5568;
}

body.superman-theme .testimonial-avatar {
  border-color: #dc143c;
}

/* Responsive Design */
@media (max-width: 768px) {
  .testimonials {
    padding: 3rem 0 2rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .testimonial-header {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .testimonial-avatar {
    width: 50px;
    height: 50px;
  }
  
  .testimonial-name {
    font-size: 1rem;
  }
  
  .testimonial-position {
    font-size: 0.8rem;
  }
  
  .testimonial-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .testimonial-card {
    padding: 1.25rem;
  }
}

/*# sourceMappingURL=styles.css.map */