@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Maven+Pro:wght@400;500;600;700&display=swap");

* {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Inter", "Maven Pro", sans-serif;
  padding-top: 70px;
  overflow-x: hidden;
  background: #ffffff;
  transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: background-color, color;
}

.full-screen {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.full-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 194, 0, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(71, 69, 89, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.full-screen > .container {
  position: relative;
  z-index: 1;
}

.small-text {
  color: #5b5b5b;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  display: inline-block;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  animation: fadeInUp 0.8s ease;
}

ul {
  margin: 0;
  padding: 0;
}

ul li {
  list-style: none;
}

a {
  font-weight: normal;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: #ffc200 !important;
}

.navbar-brand .uil {
  font-size: 40px;
}

p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  color: #5b5b5b;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  letter-spacing: -1px;
}

h1 {
  color: #212121;
  font-size: 2.8em;
  margin: 24px 0;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease 0.2s both;
}

h2 {
  color: #353535;
  font-size: 2.4em;
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #ffc200 0%, #ffd54f 100%);
  border-radius: 2px;
}

h3 {
  color: #484848;
}

h3, b, strong {
  font-weight: bold;
}

.custom-btn {
  background: #f5f7fa;
  color: #5b5b5b;
  font-weight: 600;
  border-radius: 50px;
  padding: 14px 32px;
  font-size: 15px;
  line-height: normal;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.custom-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.custom-btn:hover::before {
  left: 100%;
}

.custom-btn:hover {
  color: #ffc200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 194, 0, 0.3);
}

.custom-btn.custom-btn-bg {
  background: linear-gradient(135deg, #474559 0%, #5a5f7a 100%);
  color: #ffffff;
  border: 2px solid #474559;
}

.custom-btn.custom-btn-bg:hover {
  background: linear-gradient(135deg, #ffc200 0%, #ffd54f 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 194, 0, 0.4);
}

.animated {
  position: relative;
}

.animated-info {
  display: inline-block;
  vertical-align: top;
  margin-top: 5px;
  min-width: 330px;
  position: relative;
  height: 50px;
  overflow: hidden;
}

.animated-item {
  color: #ffc200;
  background: linear-gradient(135deg, #ffc200 0%, #ffd54f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: 38px;
  line-height: 50px;
  display: block;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  white-space: nowrap;
  animation: BottomTotop 6s linear infinite 0s;
}

.animated-item:first-child {
  opacity: 1;
  position: relative;
}

.animated-item:nth-child(2) {
  animation-delay: 2s;
}

.animated-item:nth-child(3) {
  animation-delay: 4s;
}

@keyframes BottomTotop {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  5% {
    opacity: 0;
    transform: translateY(20px);
  }
  10% {
    opacity: 1;
    transform: translateY(0px);
  }
  25% {
    opacity: 1;
    transform: translateY(0px);
  }
  30% {
    opacity: 0;
    transform: translateY(-20px);
  }
  80% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 999999;
  will-change: transform, background-color;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.8);
}

.dark-mode .navbar {
  background: rgba(12, 12, 13, 0.8);
}

.navbar[class*="-unpinned"] {
  transform: translate(0, -150%);
}

.navbar[class*="-pinned"] {
  transform: translate(0, 0);
}

.navbar[class*="headroom--not-top"] {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #f0f0f0;
  padding-top: 0;
  padding-bottom: 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.navbar-brand {
  font-weight: bold;
  transition: all 0.3s ease;
  text-decoration: none !important;
  color: inherit;
  display: inline-block;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.navbar-brand img {
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
  width: 100px;
  height: auto;
  display: block;
}

.navbar-brand:hover img {
  filter: drop-shadow(0 4px 10px rgba(255, 194, 0, 0.3));
}

@media (max-width: 767px) {
  .navbar-brand img {
    width: 80px;
  }
}

.navbar-expand-sm .navbar-nav .nav-link {
  padding: 0 20px;
}

.nav-link {
  font-weight: bold;
  font-size: 16px;
  overflow: hidden;
}

.nav-link span {
  position: relative;
  display: inline-block;
  transition: transform 0.3s;
}

.nav-link span:before {
  position: absolute;
  top: 100%;
  content: attr(data-hover);
  transform: translate3d(0, 0, 0);
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
  color: #ffc200;
  font-weight: bold;
}

.navbar-light .navbar-nav .nav-link:focus span,
.navbar-light .navbar-nav .nav-link:hover span {
  transform: translateY(-100%);
}

.navbar-light .navbar-toggler-icon {
  background: none;
}

.navbar-toggler {
  border: 0;
  padding: 0;
  width: 32px;
  height: 32px;
  line-height: 32px;
  outline: none;
  cursor: pointer;
  margin-right: 10px;
}

.navbar-toggler:focus {
  outline: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:first-child {
  transform: rotate(45deg);
  top: 6px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:nth-child(2) {
  display: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:last-child {
  transform: rotate(-45deg);
  bottom: 1px;
}

.navbar-toggler .navbar-toggler-icon {
  background: #212121;
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  transition: all 0.4s ease;
  position: relative;
}

.copyright-text {
  font-size: 16px;
  font-weight: normal;
  display: block;
}

.color-mode {
  font-weight: bold;
  cursor: pointer;
}

.color-mode-icon {
  position: relative;
  right: 6px;
}

.color-mode-icon:after {
  font-family: 'unicons';
  content: '\ea9f';
  font-size: 30px;
  font-weight: 300;
  font-style: normal;
}

.color-mode-icon.active:after {
  font-family: 'unicons';
  content: '\eb65';
  font-size: 30px;
  color: #ffffff;
}

.dark-mode {
  background: #0c0c0d;
  color: #e0e0e0;
}

.dark-mode body {
  background: #0c0c0d;
  color: #e0e0e0;
}

.dark-mode .navbar {
  background: rgba(12, 12, 13, 0.95) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .navbar-light {
  background: rgba(12, 12, 13, 0.95) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .navbar-light .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}

.dark-mode .navbar-light .navbar-nav .nav-link:hover {
  color: #ffc200 !important;
}

.dark-mode .navbar-light .navbar-nav .nav-link span {
  color: rgba(255, 255, 255, 0.9) !important;
}

.dark-mode .navbar-light .navbar-nav .nav-link:hover span {
  color: #ffc200 !important;
}

.dark-mode .navbar[class*="headroom--not-top"] {
  background: rgba(12, 12, 13, 0.98) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.dark-mode .navbar-brand {
  color: #ffffff !important;
}

.dark-mode .color-mode {
  color: rgba(255, 255, 255, 0.9) !important;
}

.dark-mode .small-text {
  background: #1a1a1f;
  color: #ffffff;
  border: 1px solid #2a2a2f;
}

.dark-mode .feature-card .uil,
.dark-mode .navbar-light .navbar-brand,
.dark-mode h1, .dark-mode h2, .dark-mode h3, .dark-mode h4, .dark-mode h5, .dark-mode h6,
.dark-mode .color-mode {
  color: #ffffff;
}

.dark-mode h2::after {
  background: linear-gradient(90deg, #ffc200 0%, #ffd54f 100%);
}

.dark-mode p {
  color: #b0b0b0;
}

.dark-mode li, .dark-mode ul, .dark-mode strong {
  color: #b0b0b0;
}

.dark-mode .owl-carousel .owl-nav button.owl-next,
.dark-mode .owl-carousel .owl-nav button.owl-prev,
.dark-mode .owl-carousel button.owl-dot {
  color: #ffffff;
}

/* Dark Mode - Sections */
.dark-mode section {
  background: #0c0c0d;
}

.dark-mode .project {
  background: linear-gradient(180deg, #0c0c0d 0%, #121218 100%);
}

.dark-mode .resume {
  background: #0c0c0d;
}

.dark-mode .contact {
  background: linear-gradient(180deg, #121218 0%, #0c0c0d 100%);
}

/* Dark Mode - Buttons */
.dark-mode .custom-btn {
  background: #1a1a1f;
  color: #e0e0e0;
  border: 2px solid #2a2a2f;
}

.dark-mode .custom-btn:hover {
  color: #ffc200;
  border-color: #ffc200;
  background: #1a1a1f;
}

.dark-mode .custom-btn.custom-btn-bg {
  background: linear-gradient(135deg, #474559 0%, #5a5f7a 100%);
  border-color: #474559;
}

.dark-mode .custom-btn.custom-btn-bg:hover {
  background: linear-gradient(135deg, #ffc200 0%, #ffd54f 100%);
  border-color: #ffc200;
}

/* Dark Mode - Project Cards */
.dark-mode .project-info {
  background: #1a1a1f;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #2a2a2f;
}

.dark-mode .project-info:hover {
  box-shadow: 0 15px 40px rgba(255, 194, 0, 0.3);
  border-color: #ffc200;
}

/* Dark Mode - Timeline */
.dark-mode .timeline-wrapper:before {
  background: linear-gradient(180deg, #474559 0%, #5a5f7a 100%);
}

.dark-mode .timeline-yr {
  background: linear-gradient(135deg, #474559 0%, #5a5f7a 100%);
  box-shadow: 0 4px 15px rgba(71, 69, 89, 0.5);
}

.dark-mode .timeline-info h3 {
  color: #ffffff;
}

.dark-mode .timeline-info small {
  color: #ffc200;
  background: rgba(255, 194, 0, 0.1);
  border: 1px solid rgba(255, 194, 0, 0.2);
}

.dark-mode .timeline-info p,
.dark-mode .timeline-info li {
  color: #b0b0b0;
}

.dark-mode .timeline-list li::before {
  color: #ffc200;
}

/* Dark Mode - Contact Form */
.dark-mode .contact-form .form-control {
  background: #1a1a1f;
  border: 2px solid #2a2a2f;
  color: #e0e0e0;
}

.dark-mode .contact-form .form-control::placeholder {
  color: #666;
}

.dark-mode .contact-form .form-control:focus {
  background: #1f1f24;
  border-color: #ffc200;
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 194, 0, 0.2);
}

.dark-mode .contact-form .form-control.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

.dark-mode .contact-form .submit-btn {
  background: linear-gradient(135deg, #474559 0%, #5a5f7a 100%);
}

.dark-mode .contact-form .submit-btn:hover {
  background: linear-gradient(135deg, #ffc200 0%, #ffd54f 100%);
}

/* Dark Mode - Map Container */
.dark-mode .map-container {
  background: #1a1a1f;
  border: 2px solid #2a2a2f;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dark-mode .map-container:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  border-color: #474559;
}

/* Dark Mode - Contact Info */
.dark-mode .contact-info {
  background: linear-gradient(135deg, #1a1a1f 0%, #2a2a2f 100%);
  border: 1px solid #3a3a3f;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dark-mode .contact-info {
  background: linear-gradient(135deg, #1a1a1f 0%, #2a2a2f 100%);
  border: 1px solid #3a3a3f;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dark-mode .contact-info h3 {
  color: #ffffff;
}

.dark-mode .contact-info p,
.dark-mode .contact-info a {
  color: #e0e0e0;
}

.dark-mode .contact-email a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .contact-email a:hover {
  color: #ffffff;
  background: rgba(255, 194, 0, 0.2);
  border-color: rgba(255, 194, 0, 0.5);
}

.dark-mode .contact-email a i {
  color: #ffc200;
}

.dark-mode .contact-email a:hover i {
  color: #ffd54f;
}

.dark-mode .contact-info a:hover {
  color: #ffc200;
}

/* Dark Mode - Social Links */
.dark-mode .social-links a {
  background: linear-gradient(135deg, #1a1a1f 0%, #2a2a2f 100%);
  border: 1px solid #3a3a3f;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.dark-mode .social-links a:hover {
  background: linear-gradient(135deg, #ffc200 0%, #ffd54f 100%);
  border-color: #ffc200;
}

/* Dark Mode - Footer */
.dark-mode .footer {
  background: linear-gradient(135deg, #0a0a0d 0%, #121218 100%);
  border-top: 1px solid #1f1f1f;
}

.dark-mode .copyright-text {
  color: #888;
}

/* Dark Mode - About Section */
.dark-mode .about-text p {
  color: #b0b0b0;
}

.dark-mode .animated-item {
  background: linear-gradient(135deg, #ffc200 0%, #ffd54f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dark-mode .navbar-collapse {
  background: rgba(12, 12, 13, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-top: 10px;
  padding: 15px;
}

.dark-mode .navbar-collapse .color-mode {
  margin: 15px auto;
  width: auto;
  display: inline-flex;
}

.dark-mode .navbar-expand-sm .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}

.dark-mode .navbar-expand-sm .navbar-nav .nav-link:hover {
  color: #ffc200 !important;
}

/* Dark Mode - Navbar Toggler */
.dark-mode .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.2);
}

.dark-mode .navbar-toggler .navbar-toggler-icon {
  background: #ffffff;
}

.dark-mode .navbar-toggler:focus {
  outline: 2px solid rgba(255, 194, 0, 0.3);
  outline-offset: 2px;
}

.timeline-wrapper {
  position: relative;
  padding: 22px 0;
}

.timeline-wrapper:last-child:before {
  height: 0;
}

.timeline-wrapper:before {
  content: "";
  background: linear-gradient(180deg, #474559 0%, #5a5f7a 100%);
  width: 3px;
  height: 100%;
  position: absolute;
  left: 38px;
  border-radius: 2px;
}

.timeline-yr {
  background: linear-gradient(135deg, #474559 0%, #5a5f7a 100%);
  border-radius: 100%;
  position: absolute;
  width: 75px;
  height: 75px;
  line-height: 75px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(71, 69, 89, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, box-shadow;
}

.timeline-yr span {
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  display: block;
  line-height: 75px;
}

.timeline-info {
  display: inline-block;
  vertical-align: top;
  max-width: 432px;
  margin-left: 6em;
}

.timeline-info small {
  color: #474559;
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
  vertical-align: middle;
  margin-left: 15px;
  padding: 4px 12px;
  background: rgba(71, 69, 89, 0.1);
  border-radius: 20px;
}

.owl-carousel .owl-nav span {
  display: none;
}

.owl-carousel .owl-nav .owl-prev:before,
.owl-carousel .owl-nav .owl-next:before {
  background: none;
  padding: 0;
  display: block;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  font-family: 'unicons';
  font-size: 100px;
  line-height: normal;
}

.owl-carousel .owl-nav .owl-prev:before {
  content: '\e833';
  left: -45px;
}

.owl-carousel .owl-nav .owl-next:before {
  content: '\e836';
  right: -45px;
}

.owl-theme .owl-nav [class*=owl-] {
  background: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
  font-size: inherit;
}

.owl-theme .owl-nav [class*=owl-]:hover {
  color: #ffc200;
}

.owl-theme .owl-dots .owl-dot {
  outline: none;
}

.owl-theme .owl-dots .owl-dot span {
  width: 8px;
  height: 8px;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: #5b5b5b;
}

.google-map iframe {
  width: 100%;
}

.contact-form {
  position: relative;
}

.contact-form .form-control {
  background: transparent;
  border-radius: 2px;
  outline: none;
  box-shadow: none;
  font-weight: bold;
  margin: 16px 0;
}

.contact-form .form-control:not(textarea) {
  height: 48px;
}

.contact-form .form-control:hover,
.contact-form .form-control:focus {
  border-color: #727b97;
}

.contact-form .submit-btn {
  background: #ffc200;
  border-radius: 50px;
  color: #ffffff;
  font-weight: bold;
  border: 0;
  cursor: pointer;
  transition: all 0.4s ease;
}

.contact-form .submit-btn:hover {
  background: #474559;
}

.contact-info {
  background: #727b97;
  border-radius: 0 0 3px 3px;
  position: relative;
  bottom: 8px;
}

.contact-info p,
.contact-info a {
  color: #f7f3f3;
}

.social-links .uil {
  color: #f7f3f3;
  font-size: 20px;
  display: block;
  margin: 5px 0;
}

.social-links .uil:hover {
  color: #ffc200;
}

@media (min-width: 1270px) {
  .owl-theme .owl-dots {
    position: relative;
    bottom: 50px;
  }
}

@media (max-width: 991px) {
  .full-screen {
    padding: 4rem 0;
  }

  .color-mode {
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    margin: 15px auto;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    gap: 8px;
    width: fit-content;
    min-width: 140px;
  }

  .color-mode:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
  }

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

  .color-mode-icon {
    font-size: 24px;
  }

  .about-image {
    margin-top: 3em;
    text-align: center;
  }

  .mobile-mt-2,
  .contact-form {
    margin-top: 2em;
  }

  .contact-info {
    padding: 20px;
    margin-bottom: 2rem;
  }

  .navbar-brand img {
    width: 80px;
    height: auto;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .row {
    margin-left: -15px;
    margin-right: -15px;
  }

  .col-lg-7,
  .col-lg-5,
  .col-lg-6,
  .col-md-12,
  .col-12 {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 767px) {
  body {
    padding-top: 60px;
  }

  h1 {
    font-size: 2em;
    line-height: 1.3;
    margin: 20px 0;
  }

  h2 {
    font-size: 1.8em;
    margin-bottom: 2rem;
  }

  h2::after {
    width: 40px;
    height: 3px;
  }

  .animated-info {
    min-width: 100%;
    height: 45px;
    display: block;
    margin-top: 10px;
  }

  .animated-item {
    font-size: 28px;
    line-height: 45px;
  }

  .navbar-collapse {
    background: #ffffff;
    text-align: center;
    padding: 20px;
    margin-top: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  .navbar-collapse .color-mode {
    margin: 15px auto;
    width: auto;
    display: inline-flex;
  }

  .navbar-expand-sm .navbar-nav {
    width: 100%;
  }

  .navbar-expand-sm .navbar-nav .nav-item {
    width: 100%;
    text-align: center;
  }

  .navbar-expand-sm .navbar-nav .nav-link {
    padding: 10px 20px;
    font-size: 16px;
    overflow: visible;
    white-space: normal;
    width: 100%;
    display: block;
  }

  .navbar-expand-sm .navbar-nav .nav-link span {
    white-space: normal;
    display: block;
    width: 100%;
    transform: none !important;
  }

  .navbar-expand-sm .navbar-nav .nav-link span:before {
    display: none;
    content: none;
  }

  .full-screen {
    padding: 3rem 0;
  }

  .about-text {
    text-align: center;
    margin-bottom: 2rem;
  }

  .about-image {
    margin-top: 2rem;
    text-align: center;
  }

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

  .small-text {
    font-size: 12px;
    padding: 8px 16px;
    display: inline-block;
  }

  p {
    font-size: 16px;
    line-height: 1.6;
  }

  section {
    padding: 50px 0;
  }

  .custom-btn {
    width: 100%;
    margin: 8px 0;
    padding: 12px 24px;
    font-size: 14px;
    justify-content: center;
  }

  .custom-btn-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .timeline-info {
    margin-left: 5em;
    max-width: calc(100% - 5em);
  }

  .timeline-yr {
    width: 60px;
    height: 60px;
    line-height: 60px;
  }

  .timeline-yr span {
    font-size: 14px;
    line-height: 60px;
  }

  .timeline-wrapper:before {
    left: 30px;
  }

  .timeline-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .timeline-info small {
    display: block;
    margin: 5px 0;
    font-size: 14px;
  }

  .timeline-info p,
  .timeline-info li {
    font-size: 15px;
    line-height: 1.6;
  }

  .project-info {
    margin-bottom: 20px;
  }

  .contact-form {
    margin-top: 2rem;
  }

  .contact-form .form-control {
    font-size: 14px;
    padding: 12px 16px;
  }

  .map-container {
    padding: 15px;
    margin-bottom: 20px;
  }

  .map-container iframe {
    height: 300px;
  }

  .contact-info {
    padding: 25px 20px;
    margin-bottom: 20px;
  }

  .contact-info h3 {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .contact-email a {
    font-size: 15px;
    padding: 8px 18px;
  }

  .contact-email a i {
    font-size: 16px;
  }

  .social-links {
    gap: 15px;
    flex-wrap: wrap;
  }

  .social-links a {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .footer {
    padding: 30px 0;
  }

  .copyright-text {
    font-size: 14px;
  }
}

@media (max-width: 580px) {
  h1 {
    font-size: 1.75em;
  }

  .animated-info {
    min-width: 100%;
    height: 40px;
  }

  .animated-item {
    font-size: 24px;
    line-height: 40px;
  }

  .timeline-info {
    margin-left: 4.5em;
    max-width: calc(100% - 4.5em);
  }

  .timeline-yr {
    width: 55px;
    height: 55px;
    line-height: 55px;
  }

  .timeline-yr span {
    font-size: 13px;
    line-height: 55px;
  }

  .timeline-wrapper:before {
    left: 27.5px;
  }

  .owl-theme .owl-nav {
    display: none;
  }
}

@media (max-width: 320px) {
  h1 {
    font-size: 1.5em;
  }

  h2 {
    font-size: 1.5em;
  }

  .animated-info {
    height: 35px;
  }

  .animated-item {
    font-size: 20px;
    line-height: 35px;
  }

  .about-text {
    text-align: center;
  }

  .timeline-info {
    margin-left: 4em;
    max-width: calc(100% - 4em);
  }

  .timeline-yr {
    width: 50px;
    height: 50px;
    line-height: 50px;
  }

  .timeline-yr span {
    font-size: 12px;
    line-height: 50px;
  }

  .timeline-wrapper:before {
    left: 25px;
  }

  .custom-btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  p {
    font-size: 15px;
  }

  .full-screen {
    padding: 4rem 0;
  }

  .mobile-block {
    display: block;
  }

  .contact-info {
    flex-direction: column;
  }

  .social-links li {
    display: inline-block;
    vertical-align: top;
  }
}

/* Enhanced Section Headers */
section h2 {
  text-align: center;
  margin-bottom: 4rem;
}

section h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.map-container {
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-info {
  background: #727b97;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  color: #f7f3f3;
}

.contact-info h3 {
  color: #fff;
}

.contact-info p, .contact-info a {
  color: #f7f3f3;
  margin: 0;
}

.social-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-links li {
  margin: 0 10px;
}

.social-links a {
  color: #f7f3f3;
  font-size: 20px;
}

.social-links a:hover {
  color: #ffc200;
}

.contact-form .form-control {
  background: transparent;
  border-radius: 2px;
  outline: none;
  box-shadow: none;
  font-weight: bold;
  margin: 16px 0;
}

.contact-form .form-control:hover, .contact-form .form-control:focus {
  border-color: #ffc200;
}

.contact-form .submit-btn {
  background: #727b97;
  border-radius: 50px;
  color: #ffffff;
  font-weight: bold;
  border: 0;
  cursor: pointer;
  transition: all 0.4s ease;
}

.contact-form .submit-btn:hover {
  background: #51586d;
}

@media (max-width: 991px) {
  .contact-info {
    padding: 2rem;
  }
}

/* Enhanced Project Cards */
.project-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.project-link:hover {
  text-decoration: none;
  color: inherit;
}

.project-info {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
  cursor: pointer;
  will-change: transform, box-shadow;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  pointer-events: none;
}

.project-link * {
  pointer-events: none;
}

.project-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 194, 0, 0.1) 0%, rgba(255, 213, 79, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.project-link:hover .project-info::before,
.project-info:hover::before {
  opacity: 1;
}

.project-link:hover .project-info,
.project-info:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(255, 194, 0, 0.2);
}

.project-info img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-link:hover .project-info img,
.project-info:hover img {
  transform: scale(1.1);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Section Animations */
section {
  animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-text p {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
  line-height: 1.8;
  font-size: 18px;
}

.custom-btn-group {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.about-image {
  animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

/* Enhanced Timeline Hover Effects */
.timeline-wrapper:hover .timeline-yr {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(71, 69, 89, 0.4);
}

.timeline-wrapper:hover .timeline-info {
  transform: translateX(5px);
}

.timeline-info h3 {
  color: #212121;
  margin-bottom: 10px;
}

.timeline-info p, .timeline-info li {
  color: #5b5b5b;
  line-height: 1.8;
}

.timeline-list {
  margin-top: 10px;
  padding-left: 0;
}

.timeline-list li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.timeline-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #ffc200;
  font-weight: bold;
}

/* Enhanced Contact Form */
.contact-form .form-control {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  outline: none;
  box-shadow: none;
  font-weight: 500;
  margin: 16px 0;
  padding: 14px 20px;
  transition: all 0.3s ease;
  font-size: 15px;
}

.contact-form .form-control:focus {
  background: #fff;
  border-color: #ffc200;
  box-shadow: 0 0 0 3px rgba(255, 194, 0, 0.1);
  transform: translateY(-2px);
}

.contact-form .form-control.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.contact-form .submit-btn {
  background: linear-gradient(135deg, #474559 0%, #5a5f7a 100%);
  border-radius: 50px;
  color: #ffffff;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 14px 40px;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(71, 69, 89, 0.3);
}

.contact-form .submit-btn:hover {
  background: linear-gradient(135deg, #ffc200 0%, #ffd54f 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 194, 0, 0.4);
}

/* Enhanced Map Container */
.map-container {
  width: 100%;
  padding: 20px;
  border: 2px solid #727b97;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background: #fff;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-container:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
  border-color: #ffc200;
}

/* Enhanced Contact Info */
.contact-info {
  background: linear-gradient(135deg, #727b97 0%, #5a5f7a 100%);
  border-radius: 15px;
  padding: 30px 25px;
  text-align: center;
  color: #f7f3f3;
  box-shadow: 0 10px 30px rgba(114, 123, 151, 0.3);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-info:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(114, 123, 151, 0.4);
}

.contact-info h3 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.contact-email {
  margin: 0;
}

.contact-email a {
  color: #ffffff;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 16px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-email a i {
  font-size: 18px;
  color: #ffc200;
}

.contact-email a:hover {
  color: #ffffff;
  background: rgba(255, 194, 0, 0.15);
  border-color: rgba(255, 194, 0, 0.4);
  transform: translateY(-2px);
}

.contact-email a:hover i {
  color: #ffd54f;
}

.contact-info a {
  color: #ffc200;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-info a:hover {
  color: #ffd54f;
}

/* Enhanced Footer */
.footer {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-top: 1px solid #e9ecef;
  padding: 40px 0;
}

.copyright-text {
  color: #5b5b5b;
  font-size: 15px;
  font-weight: 500;
}

/* Social Media Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  list-style: none;
  padding: 0;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #474559 0%, #5a5f7a 100%);
  color: #fff;
  font-size: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(71, 69, 89, 0.3);
}

.social-links a:hover {
  background: linear-gradient(135deg, #ffc200 0%, #ffd54f 100%);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 194, 0, 0.4);
  color: #fff !important;
}

/* About Image Enhancement */
.about-image {
  animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
  position: relative;
  will-change: transform;
}

.about-image img {
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, filter;
}

.about-image:hover img {
  transform: translateY(-10px) scale(1.02);
  filter: drop-shadow(0 15px 40px rgba(255, 194, 0, 0.2));
}

.dark-mode .about-image img {
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.dark-mode .about-image:hover img {
  filter: drop-shadow(0 15px 40px rgba(255, 194, 0, 0.3));
}

/* Section Spacing */
section {
  position: relative;
  padding: 80px 0;
  transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.project {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
}

.project::before {
  background: radial-gradient(circle at 50% 0%, rgba(255, 194, 0, 0.02) 0%, transparent 70%);
  opacity: 1;
}

.resume {
  background: #ffffff;
}

.contact {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

section > .container {
  position: relative;
  z-index: 1;
}

/* Owl Carousel Enhancements */
.owl-carousel .owl-item {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.owl-carousel .owl-item.active {
  opacity: 1;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: #ffc200;
  width: 12px;
  height: 12px;
}

/* Scroll Animations */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .timeline-wrapper {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .timeline-wrapper.visible {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Loading Animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
  .project-info:hover {
    transform: translateY(-5px);
  }
  
  .custom-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  
  .social-links {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }
  
  section h2::after {
    width: 40px;
    left: 50%;
    transform: translateX(-50%);
  }

  .owl-carousel {
    margin: 0 -15px;
  }

  .owl-carousel .item {
    padding: 0 10px;
  }

  .project-info img {
    border-radius: 10px;
  }

  .timeline-wrapper {
    padding: 20px 0;
  }

  .contact-form h2 {
    font-size: 1.5em;
    margin-bottom: 1.5rem;
  }

  .map-container {
    border-radius: 15px;
  }
}

/* Smooth Transitions for Dark Mode */
.dark-mode {
  transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark-mode * {
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Background Gradients */
.dark-mode .full-screen::before {
  background: radial-gradient(circle at 20% 50%, rgba(255, 194, 0, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(71, 69, 89, 0.05) 0%, transparent 50%);
}

.dark-mode .project::before {
  background: radial-gradient(circle at 50% 0%, rgba(255, 194, 0, 0.03) 0%, transparent 70%);
  opacity: 1;
}

/* Enhanced Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #ffc200;
  outline-offset: 2px;
  transition: outline 0.2s ease;
}

/* Performance Optimizations */
.project-info,
.custom-btn,
.timeline-wrapper,
.contact-form .form-control {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* Smooth Image Loading */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transition: opacity 0.3s ease;
}

img[loading="lazy"] {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

/* Enhanced Carousel Smoothness */
.owl-carousel {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.owl-carousel .owl-stage {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom Modal Styles */
.custom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.custom-modal.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.custom-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.custom-modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.custom-modal.active .custom-modal-content {
  transform: scale(1) translateY(0);
}

.custom-modal-header {
  padding: 25px 30px;
  border-bottom: 1px solid #e9ecef;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.custom-modal-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #212121;
  letter-spacing: -0.5px;
}

.custom-modal-body {
  padding: 30px;
}

.custom-modal-message {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #5b5b5b;
}

.custom-modal-message strong {
  color: #212121;
  font-weight: 600;
}

.custom-modal-footer {
  padding: 20px 30px;
  border-top: 1px solid #e9ecef;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  background: #f8f9fa;
}

.custom-modal-btn {
  padding: 12px 28px;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  min-width: 100px;
}

.custom-modal-btn-cancel {
  background: #f5f7fa;
  color: #5b5b5b;
  border: 2px solid #e9ecef;
}

.custom-modal-btn-cancel:hover {
  background: #e9ecef;
  color: #212121;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.custom-modal-btn-confirm {
  background: linear-gradient(135deg, #474559 0%, #5a5f7a 100%);
  color: #ffffff;
  border: 2px solid #474559;
  box-shadow: 0 4px 15px rgba(71, 69, 89, 0.3);
}

.custom-modal-btn-confirm:hover {
  background: linear-gradient(135deg, #ffc200 0%, #ffd54f 100%);
  border-color: #ffc200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 194, 0, 0.4);
}

.custom-modal-btn-confirm.loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.custom-alert-content {
  max-width: 400px;
}

.custom-alert-content .custom-modal-footer {
  justify-content: center;
}

/* Dark Mode for Custom Modal */
.dark-mode .custom-modal-overlay {
  background: rgba(0, 0, 0, 0.8);
}

.dark-mode .custom-modal-content {
  background: #1a1a1f;
  border: 1px solid #2a2a2f;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.dark-mode .custom-modal-header {
  background: linear-gradient(135deg, #1a1a1f 0%, #2a2a2f 100%);
  border-bottom: 1px solid #3a3a3f;
}

.dark-mode .custom-modal-title {
  color: #ffffff;
}

.dark-mode .custom-modal-body {
  background: #1a1a1f;
}

.dark-mode .custom-modal-message {
  color: #b0b0b0;
}

.dark-mode .custom-modal-message strong {
  color: #ffffff;
}

.dark-mode .custom-modal-footer {
  background: #1a1a1f;
  border-top: 1px solid #3a3a3f;
}

.dark-mode .custom-modal-btn-cancel {
  background: #2a2a2f;
  color: #e0e0e0;
  border-color: #3a3a3f;
}

.dark-mode .custom-modal-btn-cancel:hover {
  background: #3a3a3f;
  color: #ffffff;
}

.dark-mode .custom-modal-btn-confirm {
  background: linear-gradient(135deg, #474559 0%, #5a5f7a 100%);
  border-color: #474559;
}

.dark-mode .custom-modal-btn-confirm:hover {
  background: linear-gradient(135deg, #ffc200 0%, #ffd54f 100%);
  border-color: #ffc200;
}

/* Responsive Modal */
@media (max-width: 580px) {
  .custom-modal-content {
    width: 95%;
    max-width: none;
  }
  
  .custom-modal-header {
    padding: 20px 20px;
  }
  
  .custom-modal-title {
    font-size: 20px;
  }
  
  .custom-modal-body {
    padding: 20px;
  }
  
  .custom-modal-footer {
    padding: 15px 20px;
    flex-direction: column;
  }
  
  .custom-modal-btn {
    width: 100%;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .color-mode,
  .custom-btn,
  .contact-form,
  .social-links,
  .custom-modal {
    display: none;
  }
}
