/* =====================
   COLOR PALETTE
===================== */
:root {
    --red: #ff4c4c; --black: #000; --white: #fff; --gray: #e5e5e5;
    --card-bg-light: #fff; --card-bg-dark: #1e1e1e;
    --card-text-light: #333; --card-text-dark: #ddd;
    --shadow-light: rgba(0,0,0,0.15); --shadow-dark: rgba(0,0,0,0.5);
}

/* =====================
   BODY BASE
===================== */
body { transition: background-color 0.3s, color 0.3s; }
body.light-mode { background: var(--white); color: var(--black); }
body.dark-mode { background: var(--black); color: var(--white); }
body a, body .text-red { color: var(--red); }
body.dark-mode .profile-panel .text-muted { color: rgba(255,255,255,0.7) !important; }

/* =====================
   DARK MODE MODAL FIX: FULL WHITE TEXT
===================== */
body.dark-mode .modal-content,
body.dark-mode .modal-header,
body.dark-mode .modal-body,
body.dark-mode .modal-footer {
    background: #111 !important; /* dark background */
    color: #fff !important;       /* all text white */
}

body.dark-mode .modal-title,
body.dark-mode p,
body.dark-mode li,
body.dark-mode ul,
body.dark-mode strong,
body.dark-mode .view-btn,
body.dark-mode .btn-secondary,
body.dark-mode .btn-outline-danger {
    color: #fff !important;       /* ensure all text/buttons white */
}

/* Button styling */
body.dark-mode .btn-outline-danger { 
    border-color: var(--red); 
    color: #fff; 
}
body.dark-mode .btn-outline-danger:hover { 
    background: var(--red); 
    color: #fff; 
}
body.dark-mode .btn-secondary { 
    background: #555; 
    color: #fff; 
}

/* =====================
   NAVBAR
===================== */
.navbar { padding: 1rem; backdrop-filter: blur(10px); transition: background-color 0.3s ease, box-shadow 0.3s ease; }
body:not(.dark-mode) .navbar { background-color: rgba(255,255,255,0.85); box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
body.dark-mode .navbar { background-color: rgba(20,20,20,0.85); box-shadow: 0 4px 20px rgba(0,0,0,0.6); }
.nav-logo { height: 34px; width: auto; object-fit: contain; display: block; }
.navbar .navbar-brand, .navbar .nav-link { transition: color 0.3s ease; }
body:not(.dark-mode) .navbar .navbar-brand, body:not(.dark-mode) .navbar .nav-link { color: var(--black); }
body.dark-mode .navbar .navbar-brand, body.dark-mode .navbar .nav-link { color: var(--white); }
.navbar .nav-link:hover { color: var(--red); }
.navbar .nav-link.active { color: var(--red); font-weight: 600; border-bottom: 2px solid var(--red); }
.navbar .nav-link { position: relative; padding-bottom: 0.3rem; }

/* =====================
   SIDEBAR
===================== */
.sidebar { position: fixed; top: 70px; left: -250px; width: 250px; height: 100%; z-index: 500; display: flex; flex-direction: column; transition: left 0.35s cubic-bezier(0.4,0,0.2,1); }
body:not(.dark-mode) .sidebar { background-color: var(--white); box-shadow: 2px 0 5px rgba(0,0,0,0.2); }
body.dark-mode .sidebar { background-color: #111; box-shadow: 2px 0 8px rgba(0,0,0,0.6); }
.sidebar.active { left: 0; }
.sidebar a { padding: 1rem 1.5rem; text-decoration: none; font-weight: 500; transition: all 0.3s ease; }
body:not(.dark-mode) .sidebar a { color: var(--black); }
body.dark-mode .sidebar a { color: var(--white); }
.sidebar a:hover { background-color: var(--red); color: var(--white); border-radius: 4px; }

/* =====================
   OVERLAY
===================== */
#overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.45); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; z-index: 400; transition: opacity 0.3s ease, visibility 0.3s ease; }
#overlay.active { opacity: 1; visibility: visible; }

/* =====================
   HAMBURGER ICON
===================== */
#menuIcon { font-size: 1.2rem; transition: color 0.3s ease, transform 0.3s ease; }
body.sidebar-open #menuIcon { transform: rotate(90deg); }

/* =====================
   BUTTONS
===================== */
.btn-outline-red { border: 2px solid var(--red); color: var(--red); background: transparent; transition: all 0.3s ease; font-weight: 600; }
.btn-outline-red:hover { background-color: var(--red); color: var(--white); transform: scale(1.05); }

/* =====================
   MAIN LAYOUT
===================== */
.main-layout { display: flex; width: 100%; min-height: 100vh; margin-top: 60px; overflow: hidden; gap: 1rem; }
.content-panel { flex: 1; min-width: 0; padding: 1.5rem; }
.right-panel { width: 20%; min-width: 230px; padding: 1.2rem; display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 0; }

h1 {
  font-size: 2.3rem;       /* same as .skills-section h1 */
  font-weight: 700;        /* bold */
  color: var(--red);       /* match your theme */
  margin: 0 0 1rem 0;      /* remove top margin, keep bottom spacing */
  text-align: left;        /* default alignment */
}

/* =========================
   PROFILE PANEL
========================= */
#profile {
    width: 22%;
    min-width: 260px;
    padding: 3rem 1.5rem;
    background: #fdfdfd;
    border-right: 3px solid #e63946;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-height: 100vh;
    position: sticky;
    top: 0;
    font-family: 'Inter', sans-serif;
    text-align: center;
    transition: background 0.3s ease, border-color 0.3s ease;
}

/* DARK MODE */
body.dark-mode #profile {
    background: linear-gradient(180deg, #0e0e0e 0%, #121212 100%);
    border-right: 2px solid var(--red);
    color: var(--white);
}

/* =========================
   PROFILE PANEL
========================= */
#profile {
    width: 22%;
    min-width: 260px;
    padding: 3rem 1.5rem;
    background: #fdfdfd;
    border-right: 3px solid #e63946;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-height: 100vh;
    position: sticky;
    top: 0;
    font-family: 'Inter', sans-serif;
    text-align: center;
    transition: background 0.3s ease, border-color 0.3s ease;
}

/* DARK MODE */
body.dark-mode #profile {
    background: linear-gradient(180deg, #0e0e0e 0%, #121212 100%);
    border-right: 2px solid #e63946;
    color: #fff;
}

/* PROFILE TOP */
.profile-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.3rem;
}

.profile-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(45deg, var(--red), #ff4b4b);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-avatar img:hover {
    transform: scale(1.07);
}

.profile-name {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.profile-role {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: gray;
}

/* DIVIDER */
.profile-divider {
    width: 60%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--red), transparent);
    margin: 15px auto;
    border-radius: 2px;
}

/* INFO LIST */
.profile-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* ICON */
.info-item i {
    color: var(--red);
    font-size: 1.1rem;
    min-width: 20px;
}

/* MOBILE */
@media(max-width:992px) {
    #profile {
        width: 90%;
        max-width: 320px;
        min-height: auto;
        margin: 2.5rem auto;
        border-right: none !important;
    }

    .profile-avatar {
        width: 120px;
        height: 120px;
    }

    .profile-name {
        font-size: 1.2rem;
    }
}

/* =====================
   RIGHT PANEL NEW DESIGN
===================== */
.right-panel-new {
    width: 22%;
    min-width: 260px;
    padding: 3rem 1.5rem;
    background: #fdfdfd;
    border-left: 3px solid #e63946;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-height: 100vh;
    position: sticky;
    top: 0;
    font-family: 'Inter', sans-serif;
    text-align: left;
}

/* DARK MODE */
body.dark-mode .right-panel-new {
    background: #121212;
}

/* =====================
   NOTIFICATIONS
===================== */
.notifications-new {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

body.dark-mode .notifications-new {
    background: #1a1a1a;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.notifications-header-new {
    font-weight: 600;
    font-size: 1rem;
    color: #222;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

body.dark-mode .notifications-header-new {
    color: #eee;
    border-bottom: 1px solid #333;
}

.notification-icon-new {
    color: #e63946;
}

.notification-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0.5rem 0;
}

.notification-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffb703;
    margin-top: 6px;
    flex-shrink: 0;
}

.notification-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.notification-title {
    margin: 0;
    font-weight: 500;
    font-size: 0.9rem;
    color: #222;
}

.notification-time {
    font-size: 0.75rem;
    color: gray;
}

body.dark-mode .notification-title {
    color: #ddd;
}

/* =====================
   SKILLS GRAPH
===================== */
.skills-graph-new {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}

body.dark-mode .skills-graph-new {
    background: #1a1a1a;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.chart-header-new {
    font-weight: 600;
    font-size: 0.95rem;
    color: #222;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.8rem;
}

body.dark-mode .chart-header-new {
    color: #ddd;
}

.chart-wrapper {
    width: 100%;
}

#skillsChart {
    width: 100%;
    height: 200px;
}

/* MOBILE */
@media(max-width:992px) {
  .right-panel-new {
    width: 90%;
    max-width: 600px;
    padding: 1.5rem 0;
    min-height: auto;
    margin: 1rem auto 0;

    /* remove card look */
    border-left: none;
    border-radius: 0;
    box-shadow: none;
  }

  /* Notifications */
  .notifications-new {
    padding: 0;
    border-radius: 0;
  }

  .notifications-header-new {
    border-bottom: none; /* remove divider */
    padding-bottom: 0;
  }

  .notification-list {
    gap: 6px;
  }

  .notification-item {
    gap: 8px;
    padding: 6px 0;
    flex-direction: row;
    align-items: flex-start;
  }

  .notification-text,
  .notification-title,
  .notification-time {
    text-align: left;
  }

  /* Skills Graph */
  .skills-graph-new {
    padding: 0;
    border-radius: 0;
  }

  .chart-wrapper {
    width: 100%;
  }

  #skillsChart {
    width: 100%;
    height: 200px;
  }
}

/* =====================
   SECTIONS
==================== */
section{
  min-height:100vh; scroll-margin-top:80px; display:flex; flex-direction:column; justify-content:center;
}
.section-divider{
  width:70%; height:3px; margin:1rem auto; background:linear-gradient(to right,var(--red),transparent); border-radius:2px;
}

@media(max-width:992px){
  .main-layout{flex-direction:column; align-items:center;}
  .content-panel{width:100%; padding:1rem; order:1; display:flex; flex-direction:column; align-items:center;}
  .right-panel{width:100%; max-width:600px; margin:.5rem auto; position:relative; text-align:center; align-items:center; border-left:none!important;}
  .right-panel .panel-card{width:100%; margin:0 auto; border:none!important;}
  .update-item{flex-direction:column; align-items:center; text-align:center; gap:.5rem;}
  .chart-container{width:100%; max-width:600px; margin:0 auto;}
  .update-text, .update-time{text-align:center;}
  section{min-height:auto; justify-content:flex-start; gap:.5rem;}
}

/* =====================
   ABOUT SECTION (COMPACT)
===================== */
#about{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:1rem;

  padding:3rem 7%;
  background:var(--bg);
  color:var(--text-primary);
}

/* Title */
#about h1{
  font-size:2rem;
  font-weight:700;
  margin-bottom:.3rem;
}

#about h1::after{
  content:'';
  display:block;
  width:55px;
  height:4px;
  background:var(--red);
  margin-top:6px;
  border-radius:2px;
}

/* Paragraph */
#about p{
  font-size:1rem;
  line-height:1.6;
  color:var(--text-secondary);
  max-width:650px;
  margin-bottom:.5rem;
}

/* Buttons */
.about-buttons{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:.5rem;
}

.about-buttons .btn{
  font-size:.9rem;
  padding:6px 14px;
  border-radius:40px;
  border:2px solid var(--red);
  background:transparent;
  color:var(--red);
  font-weight:600;
  transition:.25s ease;
}

.about-buttons .btn:hover{
  background:var(--red);
  color:#fff;
  transform:translateY(-2px);
}

/* Social Icons */
.about-social{
  display:flex;
  gap:12px;
  margin-bottom:.7rem;
}

.about-social a{
  font-size:1.2rem;
  color:var(--text-secondary);
  transition:.25s ease;
}

.about-social a:hover{
  color:var(--red);
  transform:scale(1.15);
}

/* Chart (compact) */
.about-chart{
  max-width:300px;
  margin-top:8px;
}

/* MOBILE */
@media(max-width:768px){
  #about{
    padding:2.5rem 5%;
  }

  #about h1{
    font-size:1.6rem;
  }

  #about p{
    font-size:.95rem;
  }

  .about-chart{
    max-width:100%;
  }
}

/* =====================
   CV MODAL FIX
==================== */
.cv-modal .modal-dialog {
  width: 80%;
  max-width: 800px;
  height: 80vh;
  margin: 1rem auto 0; /* top margin only on desktop */
}

.cv-modal .modal-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
}

.cv-modal .modal-header,
.cv-modal .modal-footer {
  flex: 0 0 auto;
  padding: 1rem;
}

.cv-modal .modal-body {
  flex: 1 1 auto;
  padding: 0;
  overflow: hidden;
}

.cv-modal .modal-body iframe {
    width: 100%;
    height: 80vh;
    border: none;
    display: block;
}

/* =====================
   SKILLS SECTION
===================== */
.skills-section{padding:15px 4%; min-height:100vh; display:flex; flex-direction:column; justify-content:center;}
.skills-section h1{font-size:2.3rem; font-weight:700; color:var(--red); margin-bottom:1rem;}

.skill-category{margin-bottom:10px;}
.skill-category h3{font-size:1rem;display:flex;align-items:center;color:#000;transition:.3s;}
body.dark-mode .skill-category h3{color:#ccc;}

/* MARQUEE */
.marquee{overflow:hidden;position:relative;width:100%;}
.skills-row{display:flex;gap:15px;animation:marquee 20s linear infinite;}

.skill-icon{
width:55px;height:55px;background:#111;border-radius:10px;
display:flex;align-items:center;justify-content:center;
flex-shrink:0;cursor:pointer;transition:.35s;
}

.skill-icon img{width:100%;height:100%;object-fit:contain;}
.skill-icon:hover{transform:scale(1.1) translateY(-5px);filter:drop-shadow(0 10px 25px rgba(255,255,255,.3));}

@keyframes marquee{0%{transform:translateX(0);}100%{transform:translateX(-50%);}}

/* MOBILE */
@media (max-width:768px){
.skills-section{width:95%;margin:auto;padding:25px 0;text-align:center;}
.skill-category h3{justify-content:center;}
.skills-row{justify-content:center;}
.skill-icon{width:75px;height:75px;}
}

/* =====================
   EXPERIENCE SECTION
===================== */
.experience-section {
  padding:15px 4%; min-height:100vh; display:flex; flex-direction:column; justify-content:center;
}
.experience-section h1 { font-size:2.3rem; font-weight:700; color:var(--red); margin-bottom:1rem; }

/* GRID */
.experience-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; width:100%; }

/* CARD */
.experience-card {
  position:relative; border-radius:14px; background-size:cover; background-position:center;
  color:var(--white); overflow:hidden; display:flex; align-items:flex-end;
  min-height:220px; box-shadow:0 6px 18px var(--shadow-light); transition:.3s;
}
.experience-card:hover { transform:translateY(-5px) scale(1.03); box-shadow:0 12px 25px var(--shadow-light); }

/* HEADER */
.experience-card-header {
  width:100%; padding:15px; display:flex; flex-direction:column; gap:6px;
  background:rgba(0,0,0,.6); backdrop-filter:blur(2px); transition:.3s;
}
.experience-card:hover .experience-card-header { background:rgba(0,0,0,.75); box-shadow:0 0 15px var(--red); }
.header-content { display:flex; justify-content:space-between; align-items:center; }

.company { font-size:0.9rem; font-weight:600; }
.position { font-size:1rem; font-weight:500; }
.address { font-size:.9rem; opacity:.9; }

/* BUTTON */
.view-btn { font-size:.8rem; padding:4px 10px; border:1px solid var(--white); color:var(--white); cursor:pointer; transition:.3s; }
.view-btn:hover { background:var(--red); border-color:var(--red); }

/* RESPONSIVE */
@media (max-width:992px) { .experience-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px) {
  .experience-section { width:95%; margin:auto; }
  .experience-grid { grid-template-columns:1fr; }
}

/* =====================
   CONTACT SECTION
===================== */
.contact-section {
  padding: 30px 4%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* =====================
   WRAPPER (70vh)
===================== */
.contact-wrapper {
  position: relative;
  width: 100%;
  height: 70vh;
  max-height: 650px;
  overflow: hidden;
  border-radius: 16px;
}

/* Map */
#map {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* =====================
   FLOATING CARD
===================== */
.contact-card {
  position: absolute;
  bottom: 0;
  right: 6%;
  width: 290px;
  padding: 1.2rem;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: white;
  border-radius: 12px 12px 0 0;
  z-index: 2;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
  
  overflow: visible; /* ALLOW ARROW TO FLOAT ABOVE CARD */
  transition: max-height 0.5s ease;
}

/* =====================
   CARD CONTENT
===================== */
.card-header h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.card-header p {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-bottom: 0.6rem;
}

/* Info */
.card-info p {
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

/* Social */
.card-social {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.card-social a {
  color: white;
  text-decoration: none;
  font-size: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  transition: 0.3s ease;
}

.card-social a:hover {
  opacity: 0.7;
}

/* Form */
.card-form h4 {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.card-form input,
.card-form textarea {
  width: 100%;
  padding: 0.55rem;
  margin-bottom: 0.6rem;
  border: none;
  border-radius: 6px;
  font-size: 0.8rem;
}

.card-form textarea {
  resize: none;
  height: 65px;
}

.card-form button {
  width: 100%;
  padding: 0.55rem;
  border: none;
  border-radius: 25px;
  background: white;
  color: #0f766e;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.card-form button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* =====================
   FLOATING TOGGLE ARROW
===================== */
.card-toggle {
  position: absolute;
  top: -15px; /* float above the card */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.893);
  color: #0f766e;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 10;
}

.card-toggle:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}

/* Collapse by default */
.card-content {
  max-height: 65px;       /* show only header */
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

/* Expanded State */
.contact-card.expanded .card-content {
  max-height: 1000px; /* show full content */
}

@media (max-width:992px) { .experience-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px) {
  .experience-section { width:95%; margin:auto; }
  .experience-grid { grid-template-columns:1fr; }
}

/* =====================
   MOBILE FLOATING CARD
===================== */
@media (max-width:600px) {
  .contact-section { width:95%; margin:auto; }

  .contact-wrapper {
    height: 400px; /* smaller map height */
    border-radius: 16px;
  }

  #map {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
  }

  .contact-card {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;            /* smaller card */
    padding: 0.5rem;       /* compact padding */
    border-radius: 12px 12px 0 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(6px);
    overflow: visible;     /* allow toggle arrow to float */
    transition: max-height 0.4s ease, padding 0.4s ease;
  }

  /* Floating arrow */
  .card-toggle {
    top: -10px;
    width: 24px;
    height: 24px;
    font-size: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  }

  /* Card content */
  .card-content {
    max-height: 50px; /* only show header for collapsed state */
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
  }

  /* Expanded card content */
  .contact-card.expanded .card-content {
    max-height: 750px;  /* show full content */
    padding-bottom: 0.6rem;
  }

  /* Header */
  .card-header h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }

  .card-header p {
    font-size: 0.65rem;
    margin-bottom: 0.3rem;
  }

  /* Info */
  .card-info p {
    font-size: 0.65rem;
    margin-bottom: 0.3rem;
    line-height: 1.2;
  }

  /* Social links */
  .card-social a {
    font-size: 0.6rem;
    padding: 0 2px;
    border-bottom: 1px solid rgba(255,255,255,0.4);
  }

  /* Form */
  .card-form h4 {
    font-size: 0.75rem;
    margin-bottom: 0.3rem;
  }

  .card-form input,
  .card-form textarea {
    font-size: 0.65rem;
    padding: 0.35rem;
    margin-bottom: 0.3rem;
  }

  .card-form textarea {
    height: 45px;
  }

  .card-form button {
    font-size: 0.65rem;
    padding: 0.35rem;
  }
}

/* Fade-in initial state */
.fade-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* When visible */
.fade-section.show {
    opacity: 1;
    transform: translateY(0);
}