/**
* Template Name: Folio
* Template URL: https://bootstrapmade.com/folio-bootstrap-portfolio-template/
* Updated: Aug 08 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/*--------------------------------------------------------------
  FONTS
--------------------------------------------------------------*/
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --heading-font: "Playfair Display", serif;
  --nav-font: "Poppins", sans-serif;
}

/*--------------------------------------------------------------
  GLOBAL COLORS
--------------------------------------------------------------*/
:root {
  --background-color: #f5f4f3; /* soft off-white background */
  --default-color: #240404; /* neutral dark gray for text */
  --heading-color: #470808; /* stronger heading color */
  --accent-color: #b8915c; /* warm, elegant accent */
  --accent-gradient: linear-gradient(135deg, #b8915c, #d6b88c);
  --surface-color: #ffffff; /* cards, boxes */
  --contrast-color: #441116; /* text on accent */
  --shadow-color: rgba(88, 17, 146, 0.08); /* subtle shadow for elevation */
}

/*--------------------------------------------------------------
  NAVIGATION MENU COLORS
--------------------------------------------------------------*/
:root {
  --nav-color: rgba(43,43,43,0.8);
  --nav-hover-color: var(--accent-color);
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #5a5a5a;
  --nav-dropdown-hover-color: var(--accent-color);
}

/*--------------------------------------------------------------
  COLOR PRESETS
--------------------------------------------------------------*/
.light-background {
  --background-color: #f5f4f3;
  --surface-color: #ffffff;
  --default-color: #4a4a4a;
  --heading-color: #2b2b2b;
}

.dark-background {
  --background-color: #2c2c2c;
  --surface-color: #383838;
  --default-color: #e0e0e0;
  --heading-color: #ffffff;
  --contrast-color: #ffffff;
}
/*--------------------------------------------------------------
  BODY & TYPOGRAPHY
--------------------------------------------------------------*/
body {
  font-family: var(--default-font);
  color: var(--default-color);
  background-color: var(--background-color);
  line-height: 1.65;
  font-size: 12px;
  transition: background-color 0.3s, color 0.3s;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--heading-color);
  line-height: 1.3;
  margin-bottom: 1rem;
  transition: color 0.3s;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
  CARDS / SURFACE ELEMENTS
--------------------------------------------------------------*/
.card, .section-box {
  background-color: var(--surface-color);

  /* reduced & balanced spacing */
  padding: 1rem;

  /* clean modern corners (1px looks broken) */
  border-radius: 10px;

  /* softer professional shadow */
  box-shadow: 0 2px 8px var(--shadow-color);

  /* smoother animation */
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover, .section-box:hover {
  transform: translateY(-4px);

  /* controlled hover shadow (not too heavy) */
  box-shadow: 0 8px 18px var(--shadow-color);
}
/*--------------------------------------------------------------
  PREMIUM LINK STYLE (RIPPLE REMOVED)
--------------------------------------------------------------*/

a {
  color: var(--default-color);
  text-decoration: none;
  display: inline-block;
  position: relative;
  transition: color 0.35s ease, transform 0.35s ease;
}

a:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

/* animated underline */

a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg,var(--accent-color),transparent);
  transition: all .35s ease;
}

a:hover::after {
  width: 28px;
  left: calc(50% - 14px);
}

/*--------------------------------------------------------------
  SMOOTH & ADVANCED ANIMATIONS
--------------------------------------------------------------*/

@keyframes entrance {
  0% { opacity: 0; transform: translateY(40px) scale(0.9); }
  60% { opacity: 1; transform: translateY(-10px) scale(1.05); }
  100% { transform: translateY(0) scale(1); }
}

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

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px) scale(0.97); }
  60% { transform: translateY(-5px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/*--------------------------------------------------------------
  PREMIUM BUTTONS
--------------------------------------------------------------*/

.button, .btn {
  background: linear-gradient(
    135deg,
    var(--accent-color),
    color-mix(in srgb,var(--accent-color),#ffffff 25%)
  );
  color: var(--contrast-color);
  padding: 0.75rem 1.5rem;
  font-family: var(--nav-font);
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform .35s ease, box-shadow .35s ease;
}

/* hover */

.button:hover, .btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 10px 25px rgba(0,0,0,0.15),
    0 0 10px color-mix(in srgb,var(--accent-color),transparent 60%);
}

/* click feedback */

.button:active, .btn:active {
  transform: scale(.96);
}

/* optional pulse */

@keyframes pulse {
  0% { box-shadow: 0 0 0 rgba(184,160,126,0.2); }
  50% { box-shadow: 0 0 15px rgba(184,160,126,0.35); }
  100% { box-shadow: 0 0 0 rgba(184,160,126,0.2); }
}

.button.pulse, .btn.pulse {
  animation: pulse 2s infinite;
}

/*--------------------------------------------------------------
  MODAL
--------------------------------------------------------------*/

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 999;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-radius: 20px;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
  transform: translateY(-30px) scale(0.95);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.modal.active .modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}
/*--------------------------------------------------------------
  GLASS CARD (STANDARD & RESPONSIVE)
--------------------------------------------------------------*/

.glass-card {
  background: rgba(255,255,255,0.25);

  /* balanced blur (lighter & modern) */
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);

  /* clean modern radius */
  border-radius: 14px;

  border: 1px solid rgba(255,255,255,0.18);

  /* softer shadow */
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);

  /* reduced padding (fix large size) */
  padding: 1.2rem;

  position: relative;
  overflow: hidden;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* floating (subtle, not distracting) */
@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.glass-card {
  animation: floatCard 8s ease-in-out infinite;
}

/* hover (controlled & smooth) */
.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/*--------------------------------
  RESPONSIVE (MOBILE)
--------------------------------*/
@media (max-width: 768px) {

  .glass-card {
    padding: 1rem;
    border-radius: 12px;
  }

}/*
# Global Header
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# HEADER
--------------------------------------------------------------*/

.header {
  --background-color: rgba(111, 104, 95, 0.85);
  --default-color: #ffffff;
  --heading-color: #ffffff;

  position: fixed;
  top: 0;
  width: 100%;

  color: var(--default-color);
  background: var(--background-color);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-bottom: 1px solid rgba(255,255,255,0.08);

  padding: 12px 0;
  transition: all 0.4s ease;

  z-index: 997;
}

/* subtle glow line */

.header::after{
  content:"";
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:1px;
  background:linear-gradient(
  90deg,
  transparent,
  rgba(255,255,255,0.3),
  transparent
  );
}

/* logo */

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 28px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
  letter-spacing: 0.4px;
}

/* scroll effect */

.scrolled .header {
  --background-color: rgba(82, 78, 68, 0.85);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/*--------------------------------------------------------------
# NAVIGATION
--------------------------------------------------------------*/

/* Desktop Menu */

@media (min-width: 1200px) {

  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {

    color: var(--nav-color);

    padding: 18px 16px;

    font-size:14px;
    font-family: var(--nav-font);
    font-weight: 500;

    display: flex;
    align-items: center;

    position: relative;

    transition: all .35s ease;
  }

  /* premium underline animation */

  .navmenu a::after{
    content:"";
    position:absolute;
    bottom:10px;
    left:50%;
    width:0;
    height:2px;
    background:var(--accent-color);
    border-radius:2px;
    transition:.35s;
  }

  .navmenu a:hover::after{
    width:22px;
    left:calc(50% - 11px);
  }

  /* hover color */

  .navmenu li:hover>a,
  .navmenu .active {
    color: var(--nav-hover-color);
  }

  /* dropdown */

  .navmenu .dropdown ul {

    margin: 0;
    padding: 10px 0;

    background: rgba(111,104,95,0.95);

    backdrop-filter: blur(10px);

    position: absolute;

    visibility: hidden;
    opacity: 0;

    left: 14px;
    top: 130%;

    border-radius: 10px;

    transition: .35s;

    box-shadow: 0 10px 35px rgba(0,0,0,0.15);

  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 16px;
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

}

/*--------------------------------------------------------------
# MOBILE NAVIGATION
--------------------------------------------------------------*/

@media (max-width: 1199px) {

  .mobile-nav-toggle {
    display: none !important;
  }

  .navmenu {

    padding: 6px 10px;

    width: 100%;

    overflow-x: auto;
    overflow-y: visible !important;

    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;

    backdrop-filter: blur(12px);

    background: rgba(111,104,95,0.95);

    border-radius: 12px;

  }

  .navmenu::-webkit-scrollbar {
    display: none;
  }

  /* horizontal menu */

  .navmenu ul {

    display: flex !important;
    flex-direction: row !important;

    position: static!important;

    padding: 6px 0;
    margin: 0;

    width: max-content;

    gap: 8px;

  }

  .navmenu li {
    flex: 0 0 auto;
  }

  .navmenu a,
  .navmenu a:focus {

    color: #fff;

    padding: 8px 16px;

    font-family: var(--nav-font);

    font-size: 14px;

    font-weight: 500;

    border-radius: 20px;

    transition: all .3s ease;
  }

  /* premium hover */

  .navmenu a:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-1px);
  }

  /* dropdown */

  .navmenu .dropdown {
    position:relative !important;
    
  }

  .navmenu .dropdown ul {

    display: none !important;

    position: absolute;

    top: 45px;
    left: 10px;


    flex-direction: column !important;

    background: rgba(111,104,95,0.96);

    border-radius: 10px;

    padding: 8px;

    z-index: 999;

    box-shadow: 0 12px 35px rgba(0,0,0,0.18);
  }

  .navmenu .dropdown.active > ul {
    display: block !important;
    animation: dropdownFade .3s ease forwards;
  }

  .navmenu .dropdown ul a {

    padding: 7px 14px;
    font-size: 13px;

    border-radius: 14px;
  }

  .navmenu .dropdown ul a:hover {
    background: rgba(255,255,255,0.25);
  }

  .navmenu a i {
    font-size: 12px;
    margin-left: 5px;
    transition: transform .3s ease;
  }

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

}

/* dropdown animation */

@keyframes dropdownFade {

  from{
    opacity:0;
    transform:translateY(-8px);
  }

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

}
/*--------------------------------------------------------------
# Advanced Global Footer
--------------------------------------------------------------*/
/*=============================
  NEXT-LEVEL FOOTER
=============================*/
/*--------------------------------------------------------------
  FOOTER (STANDARD & RESPONSIVE)
--------------------------------------------------------------*/

footer {
  position: relative;
  color: var(--contrast-color);

  /* lighter gradient */
  background: linear-gradient(135deg, rgba(241, 148, 17, 0.2), rgba(139,100,100,0.15));

  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);

  text-align: center;

  /* reduced spacing */
  padding: 60px 15px 30px 15px;

  overflow: hidden;
}

/* Animated background (softer) */
footer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;

  background: radial-gradient(circle at 20% 20%, rgba(184,160,126,0.1), transparent 50%), 
              radial-gradient(circle at 80% 80%, rgba(184,160,126,0.08), transparent 50%);

  animation: bgMove 20s linear infinite;
  z-index: 0;
}

@keyframes bgMove {
  0% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(20px, 25px) rotate(25deg); }
  100% { transform: translate(0,0) rotate(0deg); }
}

/* Content */
.footer-content {
  position: relative;
  z-index: 1;
}

/* Heading & Text */
footer h3, footer p {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards ease;
}

footer h3 {
  animation-delay: 0.2s;
  font-size: 26px; /* reduced */
  font-weight: 600;
  margin-bottom: 10px;
}

footer p {
  animation-delay: 0.4s;
  font-size: 14px; /* reduced */
  margin-bottom: 20px;
  opacity: 0.8;
}

/* Animation */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Social Links */
.footer .social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.footer .social-links a {
  width: 42px;   /* reduced */
  height: 42px;
  border-radius: 50%;
  background: var(--accent-color);
  color: var(--contrast-color);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;

  transition: transform 0.3s ease, box-shadow 0.3s ease;

  box-shadow: 0 3px 8px rgba(0,0,0,0.12);

  animation: floatIcons 4s ease-in-out infinite alternate;
}

/* Softer floating */
@keyframes floatIcons {
  0% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

/* Hover (controlled) */
.footer .social-links a:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 16px rgba(184,160,126,0.25);
}

.footer .social-links a::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}

.footer .social-links a:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Copyright */
.footer .copyright {
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 15px;
  padding-top: 15px;

  font-size: 14px; /* FIXED (was 30px ❌) */
  opacity: 0.8;
}

.footer .credits {
  font-size: 12px;
  margin-top: 5px;
  opacity: 0.6;
}

/*--------------------------------------------------------------
# PRELOADER (CLEAN)
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: var(--background-color);

  display: flex;
  align-items: center;
  justify-content: center;

  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#preloader:before {
  content: "";
  border: 4px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 50px;
  height: 50px;

  animation: animate-preloader 1s linear infinite;

  box-shadow: 0 0 10px var(--accent-color);
}

@keyframes animate-preloader {
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# SCROLL TOP BUTTON (STANDARD)
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;

  z-index: 99999;

  background-color: var(--accent-color);

  width: 40px;
  height: 40px;

  border-radius: 6px;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 4px 12px rgba(0,0,0,0.2);

  transition: all 0.3s ease;
}

.scroll-top i {
  font-size: 18px; /* FIXED missing value */
  color: var(--contrast-color);
}

.scroll-top:hover {
  transform: translateY(-4px);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# MOBILE RESPONSIVE
--------------------------------------------------------------*/
@media (max-width: 768px) {

  footer {
    padding: 40px 10px 20px 10px;
  }

  footer h3 {
    font-size: 22px;
  }

  footer p {
    font-size: 13px;
  }

  .footer .social-links a {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

}
/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs (STANDARD)
--------------------------------------------------------------*/

#teaching,
#responsibilities {
  padding-top: 0px;
}

.page-title {
  color: var(--default-color);
  background-color: var(--background-color);

  /* reduced spacing */
  padding: 100px 0 50px 0;

  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Soft overlay */
.page-title:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 60%);
  position: absolute;
  inset: 0;
  backdrop-filter: blur(2px);
}

/* Title */
.page-title h1 {
  font-size: 34px; /* reduced */
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  animation: titleFade 0.8s ease;
}

/* Breadcrumbs */
.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;

  padding: 0;
  margin: 0;

  font-size: 14px; /* reduced */
}

.page-title .breadcrumbs ol li+li {
  padding-left: 8px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  padding-right: 8px;
}

/*--------------------------------------------------------------
# Global Sections (STANDARD)
--------------------------------------------------------------*/

section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);

  /* reduced spacing */
  padding: 40px 0;

  scroll-margin-top: 80px;
  overflow: clip;
  position: relative;

  transition: all 0.3s ease;
}

/* subtle hover */
.section:hover {
  transform: translateY(-2px);
}

/* divider */
.section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);

  width: 60px; /* reduced */
  height: 2px;

  background: color-mix(in srgb, var(--accent-color), transparent 75%);
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 56px;
  }
}

/*--------------------------------------------------------------
# Section Titles (STANDARD)
--------------------------------------------------------------*/

.section-title {
  text-align: center;

  /* reduced spacing */
  padding-bottom: 35px;

  position: relative;
}

/* Title */
.section-title h2 {
  font-size: 24px; /* reduced */
  font-weight: 500;
  margin-bottom: 10px;
  display: inline-block;
}

/* underline */
.section-title h2::after {
  content: "";
  position: absolute;

  width: 30px;
  height: 2px;

  background: var(--accent-color);

  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);

  transition: width 0.3s ease;
}

.section-title:hover h2::after {
  width: 60px;
}

/* description */
.section-title p {
  margin-bottom: 0;

  font-size: 15px; /* reduced */

  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

/*--------------------------------------------------------------
# MOBILE RESPONSIVE
--------------------------------------------------------------*/

@media (max-width: 768px) {

  .page-title {
    padding: 80px 0 40px 0;
  }

  .page-title h1 {
    font-size: 26px;
  }

  .section-title h2 {
    font-size: 20px;
  }

  .section-title p {
    font-size: 14px;
  }

  section,
  .section {
    padding: 30px 0;
  }

}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 90%;
  height:90.5%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 1;
  margin: auto;
  max-width: 100%;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 80%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 60px;
  font-weight: 700;
}

.hero p {
  margin: 5px 0 0 0;
  font-size: 28px;
}

.hero p span {
  letter-spacing: 1px;
  border-bottom: 2px solid var(--accent-color);
}

.hero .social-links {
  margin-top: 25px;
}

.hero .social-links a {
  font-size:80px;
  display: inline-flex;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  line-height: 1;
  margin-right: 20px;
  transition: 0.3s;
}

.hero .social-links a:hover {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 20px;
  }
 

}
/*--------------------------------------------------------------
# About Section (Premium Card Style)
--------------------------------------------------------------*/

.about .profile-img {
  border: 18px solid var(--accent-color);
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 15px 45px rgba(0,0,0,0.12);
  transition: all 0.45s ease;
  position: relative;
}

.about .profile-img::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,0.4),transparent);
  opacity:0;
  transition:0.4s;
}

.about .profile-img:hover::before{
  opacity:1;
}

.about .profile-img:hover{
  transform:translateY(-10px) scale(1.02);
  box-shadow:0 25px 60px rgba(0,0,0,0.18);
}

.about .profile-img img{
  margin-top:-60px;
  margin-left:40px;
  margin-bottom:40px;
  position:relative;
  z-index:1;
  transition:transform 0.6s ease;
}

.about .profile-img:hover img{
  transform:scale(1.05);
}

.about .content h3{
  font-size:1.8rem;
  font-weight:700;
  letter-spacing:0.5px;
}

.about .content ul li{
  padding:10px 0 0 0;
  display:flex;
  align-items:center;
  transition:0.35s;
}

.about .content ul li:hover{
  transform:translateX(8px);
}

.about .content ul i{
  color:var(--accent-color);
  margin-right:0.6rem;
  font-size:1.3rem;
}

/*--------------------------------------------------------------
# Academic Responsibilities (Premium Cards)
--------------------------------------------------------------*/

#responsibilities{
  background:linear-gradient(180deg,#f9fafc,#ffffff);
  padding:70px 0;
  position:relative;
  overflow:hidden;
}

/* soft background glow */

#responsibilities::before{
  content:"";
  position:absolute;
  width:400px;
  height:400px;
  background:radial-gradient(circle,var(--accent-color),transparent 70%);
  opacity:0.08;
  top:-120px;
  left:-120px;
  filter:blur(80px);
}

#responsibilities .service-item{
  background:rgba(255,255,255,0.85);
  backdrop-filter:blur(14px);
  padding:30px;
  border-radius:18px;
  transition:0.45s ease;
  box-shadow:0 12px 35px rgba(0,0,0,0.08);
  height:100%;
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.4);
}

/* glowing accent border */

#responsibilities .service-item::before{
  content:"";
  position:absolute;
  width:100%;
  height:3px;
  left:0;
  top:0;
  background:linear-gradient(90deg,var(--accent-color),transparent);
}

/* animated shine */

#responsibilities .service-item::after{
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:60%;
  height:100%;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,0.4),transparent);
  transform:skewX(-25deg);
  transition:0.7s;
}

#responsibilities .service-item:hover::after{
  left:140%;
}

#responsibilities .service-item:hover{
  transform:translateY(-12px) scale(1.02);
  box-shadow:0 25px 60px rgba(0,0,0,0.15);
}

#responsibilities .icon{
  font-size:32px;
  color:var(--accent-color);
  margin-right:15px;
  transition:0.4s;
}

#responsibilities .service-item:hover .icon{
  transform:scale(1.25) rotate(6deg);
}

#responsibilities .title{
  font-size:19px;
  font-weight:600;
}

#responsibilities .description{
  font-size:15px;
  color:#666;
  line-height:1.7;
}



/*--------------------------------------------------------------
# Skills Section (Standard Size)
--------------------------------------------------------------*/

#skills{
  /* reduced spacing */
  padding:60px 0;

  background:linear-gradient(180deg,#ffffff,#f7f9fc);
  position:relative;
  overflow:hidden;
}

/* soft animated gradient background */

#skills::before{
  content:"";
  position:absolute;

  /* reduced size */
  width:350px;
  height:350px;

  background:radial-gradient(circle,var(--accent-color),transparent 70%);
  opacity:0.04;

  right:-120px;
  bottom:-120px;

  filter:blur(70px);
}

.skill-card{
  background:#fff;

  /* reduced padding */
  padding:22px;

  text-align:center;

  /* standard radius */
  border-radius:14px;

  transition:0.35s ease;

  /* softer shadow */
  box-shadow:0 8px 20px rgba(0,0,0,0.08);

  height:100%;
  position:relative;
  overflow:hidden;
  border:1px solid rgba(0,0,0,0.03);
}

/* animated gradient border */

.skill-card::before{
  content:"";
  position:absolute;
  inset:0;
  padding:2px;
  border-radius:14px;

  background:linear-gradient(120deg,var(--accent-color),transparent,var(--accent-color));
  background-size:200% 200%;

  animation:borderMove 6s linear infinite;

  -webkit-mask:
     linear-gradient(#fff 0 0) content-box,
     linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
          mask-composite:exclude;

  opacity:0;
  transition:0.3s;
}

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

/* floating shine effect */

.skill-card::after{
  content:"";
  position:absolute;
  top:0;
  left:-100%;

  /* reduced */
  width:50%;

  height:100%;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,0.35),transparent);
  transform:skewX(-20deg);
  transition:0.6s;
}

.skill-card:hover::after{
  left:120%;
}

/* icon */
.skill-card i{
  font-size:30px; /* reduced from 44px */
  color:var(--accent-color);
  margin-bottom:12px;
  transition:0.35s;
}

.skill-card:hover i{
  transform:scale(1.15) rotate(5deg);
}

/* title */
.skill-card h4{
  font-weight:600;
  margin-bottom:8px;

  /* reduced */
  font-size:16px;
}

/* description */
.skill-card p{
  font-size:14px; /* reduced */
  color:#555;
}

/* hover */
.skill-card:hover{
  transform:translateY(-6px) scale(1.01);
  box-shadow:0 14px 30px rgba(0,0,0,0.12);
}

/* animated border movement */

@keyframes borderMove{
  0%{ background-position:0% 50%; }
  50%{ background-position:100% 50%; }
  100%{ background-position:0% 50%; }
}
/*--------------------------------------------------------------
# Experience Section (Standard Size)
--------------------------------------------------------------*/

.experience-card{
  background:rgba(255,255,255,0.9);

  /* fixed + kept */
  backdrop-filter: blur(10px);

  /* reduced padding */
  padding:22px;

  /* standard radius */
  border-radius:14px;

  /* softer shadow */
  box-shadow:0 8px 22px rgba(0,0,0,0.08);

  transition:0.35s;
  position:relative;
  overflow:hidden;
}

/* gradient border */

.experience-card::before{
  content:"";
  position:absolute;
  inset:0;
  padding:2px;

  border-radius:14px;

  background:linear-gradient(120deg,var(--accent-color),transparent,var(--accent-color));

  -webkit-mask:
     linear-gradient(#fff 0 0) content-box,
     linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
          mask-composite:exclude;

  opacity:0;
  transition:0.3s;
}

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

.experience-card:hover{
  /* controlled hover */
  transform:translateY(-6px) scale(1.01);

  box-shadow:0 14px 35px rgba(0,0,0,0.12);
}

/* items */

.experience-item{
  display:flex;

  /* reduced spacing */
  gap:14px;

  margin-bottom:18px;

  align-items:flex-start;
  transition:0.3s;
  position:relative;
}

/* timeline dot */

.experience-item::before{
  content:"";
  position:absolute;
  left:-10px;
  top:6px;

  width:6px;
  height:6px;

  border-radius:50%;
  background:var(--accent-color);

  box-shadow:0 0 6px var(--accent-color);
}

.experience-item:hover{
  transform:translateX(6px);
}

/* icon */

.experience-item i{
  font-size:24px; /* reduced from 32px */
  color:var(--accent-color);
  transition:0.3s;
}

.experience-item:hover i{
  transform:scale(1.1) rotate(4deg);
}

/* title */

.experience-item h4{
  font-size:16px; /* reduced */
  font-weight:600;
}

/* date/text */

.experience-item span{
  font-size:13px; /* reduced */
  color:#888;
}


/*--------------------------------------------------------------
# Services Section (Premium Hover Interaction)
--------------------------------------------------------------*/

.services .service-item{
  position:relative;
  height:100%;
  margin-bottom:30px;
  padding:30px;
  border-radius:20px;
  transition:0.45s;
  background:rgba(255,255,255,0.9);
  backdrop-filter:blur(12px);
  box-shadow:0 12px 35px rgba(0,0,0,0.08);
  overflow:hidden;
}

/* animated gradient border */

.services .service-item::before{
  content:"";
  position:absolute;
  inset:0;
  padding:2px;
  border-radius:20px;
  background:linear-gradient(120deg,var(--accent-color),transparent,var(--accent-color));
  -webkit-mask:
     linear-gradient(#fff 0 0) content-box,
     linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
          mask-composite:exclude;
  opacity:0;
  transition:0.4s;
}

.services .service-item:hover::before{
  opacity:1;
}

/* shine animation */

.services .service-item::after{
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:60%;
  height:100%;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,0.45),transparent);
  transform:skewX(-25deg);
  transition:0.7s;
}

.services .service-item:hover::after{
  left:140%;
}

.services .service-item:hover{
  transform:translateY(-12px) scale(1.02);
  box-shadow:0 25px 65px rgba(0,0,0,0.18);
}

.services .service-item .icon i{
  color:var(--accent-color);
  font-size:44px;
  transition:0.45s;
}

.services .service-item:hover .icon i{
  transform:scale(1.3) rotate(6deg);
}

.services .service-item .title{
  font-weight:700;
  margin-bottom:10px;
  font-size:21px;
}

.services .service-item .description{
  font-size:19px;
  color:color-mix(in srgb, var(--default-color), transparent 30%);
}

.services .service-item .readmore{
  display:flex;
  align-items:center;
  font-weight:600;
  font-size:19px;
  transition:0.35s;
}

.services .service-item .readmore i{
  margin-left:8px;
  transition:0.35s;
}

.services .service-item:hover .readmore i{
  transform:translateX(8px);
}

.services .service-item:hover .title,
.services .service-item:hover .readmore{
  color:var(--accent-color);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Testimonials Premium Blocks
--------------------------------------------------------------*/

.testimonials{
  position:relative;
  padding:60px 0;
}

/* testimonial card block */

.testimonials .testimonial-item{

  text-align:center;

  background:rgba(255,255,255,0.9);

  backdrop-filter:blur(14px);

  padding:40px 35px;

  border-radius:20px;

  box-shadow:
  0 20px 60px rgba(0,0,0,0.12);

  transition:all 0.4s ease;

  position:relative;

  overflow:hidden;

}

/* glowing animated border */

.testimonials .testimonial-item::before{

  content:"";

  position:absolute;

  inset:0;

  border-radius:20px;

  padding:1px;

  background:linear-gradient(
  120deg,
  transparent,
  var(--accent-color),
  transparent
  );

  opacity:0;

  transition:0.4s;

}

/* hover effect */

.testimonials .testimonial-item:hover{

  transform:translateY(-12px) scale(1.02);

  box-shadow:0 40px 90px rgba(0,0,0,0.2);

}

.testimonials .testimonial-item:hover::before{
  opacity:1;
}


/*--------------------------------------------------------------
# Avatar
--------------------------------------------------------------*/

.testimonials .testimonial-img{

  width:110px;

  border-radius:50%;

  border:5px solid var(--background-color);

  margin:0 auto 15px;

  box-shadow:0 12px 30px rgba(0,0,0,0.15);

  transition:0.4s;

}

/* floating avatar */

@keyframes avatarFloat{

  0%{transform:translateY(0)}
  50%{transform:translateY(-6px)}
  100%{transform:translateY(0)}

}

.testimonials .testimonial-img{

  animation:avatarFloat 5s ease-in-out infinite;

}

.testimonials .testimonial-item:hover .testimonial-img{

  transform:scale(1.08);

}


/*--------------------------------------------------------------
# Name + Role
--------------------------------------------------------------*/

.testimonials .testimonial-item h3{

  font-size:21px;

  font-weight:700;

  margin:10px 0 4px;

}

.testimonials .testimonial-item h4{

  font-size:14px;

  color:color-mix(in srgb,var(--default-color),transparent 40%);

  margin-bottom:15px;

}


/*--------------------------------------------------------------
# Stars
--------------------------------------------------------------*/

.testimonials .stars{

  margin-bottom:15px;

}

.testimonials .stars i{

  color:#ffc107;

  font-size:18px;

  margin:0 2px;

  transition:0.3s;

}

/* star glow */

.testimonials .testimonial-item:hover .stars i{

  text-shadow:0 0 12px rgba(255,193,7,0.8);

}


/*--------------------------------------------------------------
# Quote Text
--------------------------------------------------------------*/

.testimonials p{

  font-style:italic;

  line-height:1.7;

  font-size:15px;

  color:color-mix(in srgb,var(--default-color),transparent 25%);

  margin:0 auto;

}


/* quote icons */

.testimonials .quote-icon-left,
.testimonials .quote-icon-right{

  font-size:28px;

  color:color-mix(in srgb,var(--accent-color),transparent 40%);

}

.testimonials .quote-icon-right{

  transform:scale(-1,-1);

}


/*--------------------------------------------------------------
# Slider
--------------------------------------------------------------*/

.testimonials .swiper-wrapper{

  height:auto;

}


/* premium pagination */

.testimonials .swiper-pagination{

  margin-top:25px;

}

.testimonials .swiper-pagination-bullet{

  width:12px;

  height:12px;

  border-radius:50%;

  background:color-mix(in srgb,var(--default-color),transparent 85%);

  opacity:1;

  transition:0.4s;

}

.testimonials .swiper-pagination-bullet-active{

  background:var(--accent-color);

  transform:scale(1.5);

  box-shadow:0 0 10px var(--accent-color);

}


/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media (min-width:992px){

  .testimonials p{
    width:75%;
  }

}

@media (max-width:768px){

  .testimonials .testimonial-item{

    padding:30px 25px;

  }

}
/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Portfolio Filters (Ultra Premium)
--------------------------------------------------------------*/

.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 40px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 22px;
  font-size: 17px;
  font-weight: 500;
  margin: 6px;
  border-radius: 40px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
  position: relative;
}

/* glowing border */

.portfolio .portfolio-filters li::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:40px;
  padding:1px;
  background:linear-gradient(120deg,var(--accent-color),transparent);
  -webkit-mask:
     linear-gradient(#fff 0 0) content-box,
     linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
          mask-composite:exclude;
  opacity:0;
  transition:0.3s;
}

.portfolio .portfolio-filters li:hover::before,
.portfolio .portfolio-filters li.filter-active::before{
  opacity:1;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: #fff;
  background: var(--accent-color);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

@media (max-width:575px){
  .portfolio .portfolio-filters li{
    font-size:14px;
    padding:8px 16px;
  }
}


/*--------------------------------------------------------------
# Portfolio Card
--------------------------------------------------------------*/

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.1);
  transition: all 0.45s ease;
}

/* premium hover lift */

.portfolio .portfolio-content:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 28px 70px rgba(0,0,0,0.2);
}


/*--------------------------------------------------------------
# Portfolio Image
--------------------------------------------------------------*/

.portfolio .portfolio-content img {
  transition: transform 0.7s ease, filter 0.5s ease;
  width: 100%;
  display: block;
}

/* cinematic zoom */

.portfolio .portfolio-content:hover img {
  transform: scale(1.15);
  filter: brightness(0.75) contrast(1.1);
}


/*--------------------------------------------------------------
# Portfolio Overlay
--------------------------------------------------------------*/

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all 0.45s ease;
  padding: 25px;

  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.15),
    rgba(0,0,0,0.85)
  );

  backdrop-filter: blur(6px);
}

/* category tag */

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 13px;
  padding: 6px 14px;
  font-weight: 500;
  color: #fff;
  display: inline-block;
  border-radius: 20px;
  background: var(--accent-color);
  letter-spacing: 0.6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}


/* project title */

.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 20px;
  text-align: center;
  left: 0;
  right: 0;
  font-size: 19px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.6px;
}


/*--------------------------------------------------------------
# Portfolio Icons
--------------------------------------------------------------*/

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {

  position: absolute;
  left: calc(50% - 48px);
  top: calc(50% - 20px);

  width: 46px;
  height: 46px;

  font-size: 22px;

  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);

  transition: all 0.35s ease;
}

/* second icon */

.portfolio .portfolio-content .portfolio-info .details-link {
  left: calc(50% + 6px);
}

/* icon hover */

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  background: var(--accent-color);
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}


/*--------------------------------------------------------------
# Hover Activation
--------------------------------------------------------------*/

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.15);
}
/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Pricing (Ultra Premium Design)
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Pricing (Standard Size)
--------------------------------------------------------------*/

.pricing .pricing-item{

  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);

  /* reduced padding */
  padding:25px 22px;

  height:100%;

  /* standard radius */
  border-radius:14px;

  /* softer shadow */
  box-shadow:0 10px 25px rgba(0,0,0,0.08);

  transition:all 0.35s ease;

  position:relative;
  overflow:hidden;
}

/* glowing top border */

.pricing .pricing-item::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:2px;

  background:linear-gradient(
    90deg,
    var(--accent-color),
    transparent
  );
}

/* hover */

.pricing .pricing-item:hover{

  transform:translateY(-6px) scale(1.01);

  box-shadow:0 18px 40px rgba(0,0,0,0.12);
}


/*--------------------------------------------------------------
# Plan Title
--------------------------------------------------------------*/

.pricing h3{

  font-weight:600;

  margin-bottom:10px;

  font-size:17px;

  letter-spacing:0.4px;
}


/*--------------------------------------------------------------
# Price
--------------------------------------------------------------*/

.pricing h4{

  color:var(--accent-color);

  font-size:34px; /* reduced */

  font-weight:700;

  font-family:var(--heading-font);

  margin-bottom:8px;
}

.pricing h4 sup{
  font-size:18px;
}

.pricing h4 span{

  color:color-mix(in srgb,var(--default-color),transparent 50%);

  font-size:14px;

  font-weight:500;
}


/* description */

.pricing .description{
  font-size:13px;
  margin-bottom:8px;
}


/*--------------------------------------------------------------
# CTA Button
--------------------------------------------------------------*/

.pricing .cta-btn{

  border:1px solid var(--default-color);

  color:var(--default-color);

  display:block;

  text-align:center;

  padding:10px 25px;

  border-radius:30px;

  font-size:14px;

  font-weight:600;

  font-family:var(--heading-font);

  transition:all 0.3s ease;

  margin-top:15px;
}

/* button hover */

.pricing .cta-btn:hover{

  background:linear-gradient(
    135deg,
    var(--accent-color),
    color-mix(in srgb,var(--accent-color),black 20%)
  );

  color:var(--contrast-color);

  border-color:var(--accent-color);

  transform:translateY(-2px);

  box-shadow:0 8px 18px rgba(0,0,0,0.15);
}


/*--------------------------------------------------------------
# Feature List
--------------------------------------------------------------*/

.pricing ul{

  padding:0;

  list-style:none;

  text-align:left;

  line-height:20px;

  margin-top:15px;
}

.pricing ul li{

  padding:7px 0;

  display:flex;

  align-items:center;

  transition:0.25s;
}

/* hover */

.pricing ul li:hover{
  transform:translateX(4px);
}

/* check icon */

.pricing ul i{

  color:#059652;

  font-size:18px;

  padding-right:5px;
}


/* not available */

.pricing ul .na{

  color:color-mix(in srgb,var(--default-color),transparent 60%);
}

.pricing ul .na i{

  color:color-mix(in srgb,var(--default-color),transparent 60%);
}

.pricing ul .na span{

  text-decoration:line-through;
}


/*--------------------------------------------------------------
# Featured Plan
--------------------------------------------------------------*/

.pricing .featured{

  transform:scale(1.03);

  border:2px solid var(--accent-color);
}

/* popular badge */

.pricing .featured .popular{

  position:absolute;

  top:12px;
  right:12px;

  padding:5px 12px;

  font-size:12px;

  border-radius:25px;

  animation:badgeFloat 4s ease-in-out infinite;
}

/* badge animation */

@keyframes badgeFloat{
  0%{transform:translateY(0)}
  50%{transform:translateY(-3px)}
  100%{transform:translateY(0)}
}


/* featured button */

.pricing .featured .cta-btn{

  background:var(--accent-color);

  color:var(--contrast-color);

  border-color:var(--accent-color);
}


/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media (max-width:992px){

  .pricing .box{

    max-width:70%;

    margin:0 auto 25px auto;

  }

}

@media (max-width:767px){

  .pricing .box{

    max-width:85%;

    margin:0 auto 20px auto;

  }

}

@media (max-width:420px){

  .pricing .box{

    max-width:100%;

    margin:0 auto 15px auto;

  }

}
/*--------------------------------------------------------------
# Contact Section (Ultra Premium)
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Contact (Standard Size)
--------------------------------------------------------------*/

.contact .info-wrap {
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.9),
    rgba(255,255,255,0.6)
  );

  backdrop-filter: blur(10px);
  padding:25px;
  margin-bottom:20px;
  border-radius:14px;

  box-shadow:0 10px 25px rgba(0,0,0,0.08);

  transition: all 0.35s ease;

  position: relative;
  overflow: hidden;
}

/* glowing top border */

.contact .info-wrap::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:2px;
  background:linear-gradient(90deg,var(--accent-color),transparent);
}

.contact .info-wrap:hover{
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}


/*--------------------------------------------------------------
# Contact Info Items
--------------------------------------------------------------*/

.contact .info-item{
  display:flex;
  align-items:center;
  margin-bottom:16px;
}

.contact .info-item i{
  font-size:18px;
  width:45px;
  height:45px;
  margin-right:12px;
  border-radius:50%;
  transition:all 0.3s ease;

  background:rgba(255,255,255,0.7);
  backdrop-filter:blur(4px);

  /* restored border */
  border:1px solid color-mix(in srgb,var(--accent-color),transparent 40%);
}

/* icon animation */

.contact .info-item:hover i{
  background:var(--accent-color);
  color:var(--contrast-color);
  transform:scale(1.1) rotate(5deg);
  box-shadow:0 8px 18px rgba(0,0,0,0.15);
}

/* title */

.contact .info-item h3{
  font-size:15px;
  font-weight:600;
  margin:0 0 3px 0;
}

/* text */

.contact .info-item p{
  margin-bottom:0;
  font-size:13px;
}


/*--------------------------------------------------------------
# Contact Form (SEND MESSAGE CARD FIX)
--------------------------------------------------------------*/

.contact .php-email-form{

  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(10px);

  padding:25px;
  border-radius:14px;

  /* restored premium border */
  border:1px solid rgba(255,255,255,0.4);

  /* restored shadow */
  box-shadow:0 10px 25px rgba(0,0,0,0.08);

  transition:all 0.35s ease;

  position:relative;
  overflow:hidden;
}

/* 🔥 glowing top border like info card */

.contact .php-email-form::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:2px;
  background:linear-gradient(90deg,var(--accent-color),transparent);
}

.contact .php-email-form:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 40px rgba(0,0,0,0.12);
}


/*--------------------------------------------------------------
# Input Fields
--------------------------------------------------------------*/

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea{

  font-size:13px;
  padding:10px 12px;
  border-radius:8px;

  /* restored border */
  border:1px solid color-mix(in srgb,var(--default-color),transparent 80%);

  background:rgba(255,255,255,0.7);
  color:var(--default-color);

  transition:all 0.3s ease;
}

/* focus glow restored */

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus{

  border-color:var(--accent-color);

  box-shadow:
    0 0 0 2px color-mix(in srgb,var(--accent-color),transparent 85%),
    0 4px 12px rgba(0,0,0,0.08);

  background:#fff;
}

/* placeholder */

.contact .php-email-form input::placeholder,
.contact .php-email-form textarea::placeholder{

  color:color-mix(in srgb,var(--default-color),transparent 60%);
}


/*--------------------------------------------------------------
# Submit Button
--------------------------------------------------------------*/

.contact .php-email-form button[type=submit]{

  color:var(--contrast-color);

  background:linear-gradient(
    135deg,
    var(--accent-color),
    color-mix(in srgb,var(--accent-color),black 20%)
  );

  border:0;

  padding:10px 24px;
  border-radius:30px;

  font-weight:600;
  font-size:14px;

  transition:all 0.3s ease;

  box-shadow:0 8px 18px rgba(0,0,0,0.15);

  position:relative;
  overflow:hidden;
}

/* shine effect restored */

.contact .php-email-form button[type=submit]::before{
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background:linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.4),
    transparent
  );
  transition:0.6s;
}

.contact .php-email-form button[type=submit]:hover::before{
  left:100%;
}

/* hover */

.contact .php-email-form button[type=submit]:hover{

  transform:translateY(-2px) scale(1.02);
  box-shadow:0 12px 28px rgba(0,0,0,0.2);
}


/*--------------------------------------------------------------
# Mobile
--------------------------------------------------------------*/

@media (max-width:575px){

  .contact .php-email-form{
    padding:20px;
  }

}
/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Portfolio Details (Premium Advanced Design)
--------------------------------------------------------------*/

.portfolio-details .portfolio-details-slider img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.5s ease, filter 0.5s ease;
}

/* image hover premium zoom */

.portfolio-details .portfolio-details-slider:hover img {
  transform: scale(1.05);
  filter: brightness(1.05) contrast(1.05);
}


/*--------------------------------------------------------------
# Slider Pagination
--------------------------------------------------------------*/

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 25px;
  position: relative;
}

.portfolio-details .portfolio-details-slider 
.swiper-pagination 
.swiper-pagination-bullet {

  width: 12px;
  height: 12px;

  background-color: color-mix(in srgb, var(--default-color), transparent 85%);

  opacity: 1;

  transition: all 0.4s ease;

  border-radius: 50%;
}

/* active bullet animation */

.portfolio-details .portfolio-details-slider 
.swiper-pagination 
.swiper-pagination-bullet-active {

  background-color: var(--accent-color);

  transform: scale(1.4);

  box-shadow: 0 0 10px var(--accent-color);
}


/*--------------------------------------------------------------
# Portfolio Info Card
--------------------------------------------------------------*/

.portfolio-details .portfolio-info {

  background: rgba(255,255,255,0.85);

  backdrop-filter: blur(12px);

  padding: 35px;

  border-radius: 16px;

  box-shadow: 0 20px 60px rgba(0,0,0,0.12);

  transition: all 0.4s ease;

  position: relative;

}

/* floating card */

.portfolio-details .portfolio-info:hover {

  transform: translateY(-8px);

  box-shadow: 0 30px 80px rgba(0,0,0,0.2);

}


/*--------------------------------------------------------------
# Portfolio Info Title
--------------------------------------------------------------*/

.portfolio-details .portfolio-info h3 {

  font-size: 22px;

  font-weight: 700;

  margin-bottom: 20px;

  padding-bottom: 15px;

  position: relative;

}

/* animated underline */

.portfolio-details .portfolio-info h3::after {

  content: "";

  position: absolute;

  left: 0;

  bottom: 0;

  width: 50px;

  height: 3px;

  background: var(--accent-color);

  transition: width 0.4s ease;

}

.portfolio-details .portfolio-info:hover h3::after {

  width: 80px;

}


/*--------------------------------------------------------------
# Portfolio Info List
--------------------------------------------------------------*/

.portfolio-details .portfolio-info ul {

  list-style: none;

  padding: 0;

  font-size: 15px;

}

.portfolio-details .portfolio-info ul li {

  padding: 8px 0;

  transition: transform 0.3s ease;

}

.portfolio-details .portfolio-info ul li+li {

  margin-top: 8px;

}

/* hover micro interaction */

.portfolio-details .portfolio-info ul li:hover {

  transform: translateX(6px);

  color: var(--accent-color);

}


/*--------------------------------------------------------------
# Portfolio Description
--------------------------------------------------------------*/

.portfolio-details .portfolio-description {

  padding-top: 35px;

}

.portfolio-details .portfolio-description h2 {

  font-size: 28px;

  font-weight: 700;

  margin-bottom: 20px;

  position: relative;

}

/* underline animation */

.portfolio-details .portfolio-description h2::after {

  content: "";

  display: block;

  width: 60px;

  height: 3px;

  margin-top: 8px;

  background: var(--accent-color);

}

.portfolio-details .portfolio-description p {

  padding: 0;

  line-height: 1.7;

  font-size: 16px;

  color: color-mix(in srgb, var(--default-color), transparent 30%);

}


/*--------------------------------------------------------------
# Floating Motion Effect
--------------------------------------------------------------*/

@keyframes floatCard {

  0% { transform: translateY(0px); }

  50% { transform: translateY(-6px); }

  100% { transform: translateY(0px); }

}

.portfolio-details .portfolio-info {

  animation: floatCard 6s ease-in-out infinite;

}


/*--------------------------------------------------------------
# Mobile Optimization
--------------------------------------------------------------*/

@media (max-width:768px){

  .portfolio-details .portfolio-info{

    padding:25px;

  }

  .portfolio-details .portfolio-description h2{

    font-size:22px;

  }

}
/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/

.service-details .service-box {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

.service-details .service-box+.service-box {
  margin-top: 30px;
}

.service-details .service-box h4 {
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid color-mix(in srgb, var(--default-color), transparent 92%);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.service-details .services-list {
  background-color: var(--surface-color);
}

.service-details .services-list a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-top: 15px;
  transition: 0.3s;
}

.service-details .services-list a:first-child {
  margin-top: 0;
}

.service-details .services-list a i {
  font-size: 16px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .services-list a.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.service-details .services-list a.active i {
  color: var(--contrast-color);
}

.service-details .services-list a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.service-details .download-catalog a {
  color: var(--default-color);
  display: flex;
  align-items: center;
  padding: 10px 0;
  transition: 0.3s;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .download-catalog a:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-details .download-catalog a:last-child {
  padding-bottom: 0;
}

.service-details .download-catalog a i {
  font-size: 24px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .download-catalog a:hover {
  color: var(--accent-color);
}

.service-details .help-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  margin-top: 30px;
  padding: 30px 15px;
}

.service-details .help-box .help-icon {
  font-size: 48px;
}

.service-details .help-box h4,
.service-details .help-box a {
  color: var(--contrast-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here *//*--------------------------------------------------------------
# Service Details (Ultra Premium Design)
--------------------------------------------------------------*/

/* Service Box */

.service-details .service-box{
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  padding:25px;
  border-radius:14px;

  box-shadow:0 15px 45px rgba(0,0,0,0.12);

  transition:all 0.4s ease;

  position:relative;
  overflow:hidden;
}
/* glowing top line */

.service-details .service-box::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:3px;
  background:linear-gradient(90deg,var(--accent-color),transparent);
}

.service-details .service-box:hover{
  transform:translateY(-6px);
  box-shadow:0 25px 60px rgba(0,0,0,0.2);
}

.service-details .service-box + .service-box{
  margin-top:30px;
}


/*--------------------------------------------------------------
# Service Box Title
--------------------------------------------------------------*/

.service-details .service-box h4{
  font-size:20px;
  font-weight:700;

  padding-bottom:12px;
  margin-bottom:15px;

  position:relative;
}

/* animated underline */

.service-details .service-box h4::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:40px;
  height:3px;
  background:var(--accent-color);
  transition:0.4s;
}

.service-details .service-box:hover h4::after{
  width:70px;
}


/*--------------------------------------------------------------
# Services List
--------------------------------------------------------------*/

.service-details .services-list{
  background:rgba(255,255,255,0.85);
  backdrop-filter:blur(10px);
  border-radius:12px;
  padding:10px;
}

.service-details .services-list a{

  color:color-mix(in srgb,var(--default-color),transparent 20%);

  background:color-mix(in srgb,var(--default-color),transparent 96%);

  display:flex;
  align-items:center;

  padding:13px 16px;

  margin-top:12px;

  border-radius:8px;

  transition:all 0.35s ease;
}

.service-details .services-list a:first-child{
  margin-top:0;
}

/* icon */

.service-details .services-list a i{
  font-size:16px;
  margin-right:10px;
  color:var(--accent-color);

  transition:0.3s;
}

/* hover */

.service-details .services-list a:hover{
  transform:translateX(6px);
  background:color-mix(in srgb,var(--accent-color),transparent 92%);
  color:var(--accent-color);
}

/* active service */

.service-details .services-list a.active{
  color:var(--contrast-color);
  background:linear-gradient(
    135deg,
    var(--accent-color),
    color-mix(in srgb,var(--accent-color),black 20%)
  );
  box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.service-details .services-list a.active i{
  color:var(--contrast-color);
}


/*--------------------------------------------------------------
# Download Catalog
--------------------------------------------------------------*/

.service-details .download-catalog a{

  color:var(--default-color);

  display:flex;
  align-items:center;

  padding:12px 0;

  transition:0.3s;

  border-top:1px solid
  color-mix(in srgb,var(--default-color),transparent 90%);
}

.service-details .download-catalog a:first-child{
  border-top:0;
  padding-top:0;
}

.service-details .download-catalog a:last-child{
  padding-bottom:0;
}

.service-details .download-catalog a i{

  font-size:24px;
  margin-right:10px;

  color:var(--accent-color);

  transition:0.3s;
}

.service-details .download-catalog a:hover{

  color:var(--accent-color);
  transform:translateX(6px);
}


/*--------------------------------------------------------------
# Help Box (Premium Gradient Card)
--------------------------------------------------------------*/

.service-details .help-box{

  background:linear-gradient(
    135deg,
    var(--accent-color),
    color-mix(in srgb,var(--accent-color),black 20%)
  );

  color:var(--contrast-color);

  margin-top:30px;

  padding:35px 20px;

  border-radius:14px;

  text-align:center;

  box-shadow:0 20px 50px rgba(0,0,0,0.25);

  transition:all 0.4s ease;
}

.service-details .help-box:hover{
  transform:translateY(-6px) scale(1.02);
}

.service-details .help-box .help-icon{

  font-size:48px;

  margin-bottom:10px;

  animation:helpFloat 4s ease-in-out infinite;
}

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

.service-details .help-box h4,
.service-details .help-box a{
  color:var(--contrast-color);
}


/*--------------------------------------------------------------
# Service Image
--------------------------------------------------------------*/

.service-details .services-img{

  margin-bottom:20px;
  overflow:hidden;
  border-radius:12px;
}

.service-details .services-img img{

  width:100%;
  transition:0.5s;
}

.service-details .services-img:hover img{

  transform:scale(1.08);
}


/*--------------------------------------------------------------
# Service Content
--------------------------------------------------------------*/

.service-details h3{

  font-size:28px;
  font-weight:700;

  margin-bottom:15px;

  position:relative;
}

.service-details h3::after{

  content:"";
  display:block;

  width:60px;
  height:3px;

  background:var(--accent-color);

  margin-top:8px;
}

.service-details p{

  font-size:16px;
  line-height:1.7;
}


/*--------------------------------------------------------------
# Feature List
--------------------------------------------------------------*/

.service-details ul{

  list-style:none;
  padding:0;
  font-size:15px;
}

.service-details ul li{

  padding:6px 0;

  display:flex;
  align-items:center;

  transition:0.3s;
}

.service-details ul li:hover{
  transform:translateX(6px);
}

.service-details ul i{

  font-size:20px;

  margin-right:10px;

  color:var(--accent-color);
}
  .page-title {
  padding: 50px 0 30px 0;
}

}
#responsibilities {
  padding-top: 0px;
  margin-top: 0;
}
/* --- Advanced Motion Triggers --- */

/* Add class="reveal" to any element in your HTML you want to animate */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* This class is added by Javascript when the element enters the screen */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Magnetic Hover for everything */
.magnetic {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.magnetic:hover {
  transform: scale(1.05);
}

#research .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}


/* Apply featured style to ALL research cards */

.pricing-item {
  border: 2px solid #c58b3c;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
  background: #fff;
}

/* hover effect */
.pricing-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.15);
}

/* optional: golden top label */
.pricing-item .popular {
  background: linear-gradient(90deg,#c58b3c,#8a5a2b);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 13px;
  display: inline-block;
  margin-bottom: 10px;
}

/* ================================
   RESPONSIVE FONT OVERRIDE
================================ */

/* Body */
body {
  font-size: clamp(14px, 1vw + 10px, 16px) !important;
}

/* Headings */
h1 { font-size: clamp(28px, 3vw, 40px) !important; }
h2 { font-size: clamp(24px, 2.5vw, 32px) !important; }
h3 { font-size: clamp(20px, 2vw, 26px) !important; }
h4 { font-size: clamp(18px, 1.6vw, 22px) !important; }
h5 { font-size: clamp(16px, 1.4vw, 20px) !important; }
h6 { font-size: clamp(14px, 1.2vw, 18px) !important; }

/* Links */
a {
  font-size: clamp(14px, 1vw, 16px) !important;
}

/* Buttons */
.button, .btn {
  font-size: clamp(14px, 1vw, 16px) !important;
}

/* Cards */
.card, .section-box {
  font-size: clamp(14px, 1vw, 16px) !important;
}

/* Header logo */
.header .logo h1 {
  font-size: clamp(20px, 2vw, 28px) !important;
}

/* Mobile Fix */
@media (max-width: 768px) {

  body {
    font-size: 14px !important;
  }

  h1 { font-size: 26px !important; }
  h2 { font-size: 22px !important; }
  h3 { font-size: 20px !important; }

  .header .logo h1 {
    font-size: 20px !important;
  }

  .button, .btn {
    font-size: 14px !important;
    padding: 0.6rem 1.2rem !important;
  }
}




/* =========================
   FINAL OVERLAP + SIZE FIX
========================= */

/* Fix card container */
.workshop-card{
  position: relative;
  padding: 18px 16px 16px 16px !important; /* reduced top space */
  border-radius: 14px;
  overflow: hidden; /* IMPORTANT: prevents overlap */

  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 🔥 FIX BADGE PROPERLY (NO OVERLAP) */
.workshop-card .badge,
.workshop-card .research-tag,
.workshop-card span {

  position: static !important;   /* REMOVE absolute */
  display: inline-block;

  margin-bottom: 8px;            /* space above title */

  font-size: 11px;
  padding: 4px 10px;

  border-radius: 16px;
}

/* Title fix */
.workshop-card h4{
  font-size: 16px;
  line-height: 1.4;
  margin: 6px 0 8px 0;
}

/* Description fix */
.workshop-card p{
  font-size: 13px;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Meta info (Journal + Year) */
.workshop-card strong,
.workshop-card .meta{
  font-size: 13px;
}

/* Reduce spacing between items */
.workshop-card div{
  margin-bottom: 6px;
}

/* Button fix */
.workshop-card .btn{
  margin-top: 10px;
  padding: 7px 16px;
  font-size: 13px;
}

/* Grid spacing fix */
.row.g-4{
  --bs-gutter-x: 20px !important;
  --bs-gutter-y: 20px !important;
}

/* Remove extra large spacing */
section .container{
  padding-top: 0 !important;
}

/* Mobile fix */
@media (max-width:768px){

  .workshop-card{
    padding: 16px;
  }

  .workshop-card h4{
    font-size: 15px;
  }

}

/* ===== ACADEMIC SECTION FIX (DESKTOP STANDARD VIEW) ===== */

/* container width control */
#academic,
.academic-section {
  max-width: 1100px;
  margin: auto;
  padding: 20px 15px !important;
}

/* row spacing */
#academic .row {
  gap: 20px 0;
  justify-content: center;
}

/* card design fix */
#academic .col-lg-4,
#academic .col-md-6 {
  display: flex;
}

#academic .col-lg-4 > div,
#academic .col-md-6 > div {
  width: 100%;
}

/* card styling */
#academic .workshop-card,
#academic .info-wrap,
#academic .card {
  padding: 18px 16px !important;
  border-radius: 12px;
  min-height: 180px;
  max-height: 220px;
  overflow: hidden;
  transition: 0.3s ease;
}

/* reduce text size */
#academic h4 {
  font-size: 17px !important;
  margin-bottom: 8px;
}

#academic p {
  font-size: 13.5px !important;
  line-height: 1.5;
  margin-bottom: 0;
}

/* icon size fix */
#academic .icon {
  font-size: 20px !important;
  margin-bottom: 6px;
}

/* reduce large heading */
#academic h2 {
  font-size: 26px !important;
  margin-bottom: 10px;
}

/* subtitle text */
#academic p.subtitle,
#academic .section-subtitle {
  font-size: 14px;
  max-width: 700px;
  margin: auto;
}

/* hover effect (clean subtle) */
#academic .workshop-card:hover,
#academic .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* ===== FIX FOR LARGE SCREENS ===== */
@media (min-width: 1400px) {
  #academic,
  .academic-section {
    max-width: 1000px;
  }
}

/* ===== TABLET ===== */
@media (max-width: 992px) {
  #academic .workshop-card {
    min-height: auto;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 576px) {
  #academic h2 {
    font-size: 22px !important;
  }

  #academic h4 {
    font-size: 15px !important;
  }

  #academic p {
    font-size: 13px !important;
  }
}


.hero .social-links {
  margin-top: 25px;
}

.hero .social-links a {
  font-size: 40px; /* increased size (you can adjust 36–50px) */

  display: inline-block;

  color: color-mix(in srgb, var(--default-color), transparent 50%);
  line-height: 1;

  margin-right: 18px;

  transition: 0.3s;
}

/* hover */
.hero .social-links a:hover {
  color: var(--accent-color);
  transform: translateY(-3px) scale(1.1);
}
