/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-accent: #003D5C;
  --secondary-accent: #0055A4;
  --dark-bg: #FFFFFF;
  --section-bg: #F5F7FA;
  --text-color: #1A1A1A;
  --hover-color: #002D42;
  --light-gray: #E8ECEF;
  --border-color: #D8E0E8;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background-color: var(--dark-bg);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(
        135deg,
        #F0F4F8 0%,
        #E3F2FD 25%,
        #E1F5FE 50%,
        #F3E5F5 75%,
        #F0F4F8 100%
    );
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    opacity: 1;
}

.animated-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
}

/* Header */
.web-name {
  background: #FFFFFF;
  padding: 1rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-bottom: 2px solid var(--primary-accent);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-name {
  font-family: 'Arvo', serif;
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  color: var(--primary-accent);
  text-shadow: none;
  white-space: nowrap;
  margin: 0;
}

/* Main Navigation */
.main-nav {
  display: flex;
  gap: 0.1rem;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: center;
  flex: 1;
}

.nav-link {
  background: var(--light-gray);
  color: var(--primary-accent);
  border: 2px solid transparent;
  padding: 0.8rem 0.85rem;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 1000;
  display: flex;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
}

.nav-link:hover {
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  color: white;
  transform: translateY(-2px);
}

.nav-link.active {
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  color: #FFFFFF;
  border-color: var(--primary-accent);
  box-shadow: 0 4px 12px rgba(0, 61, 92, 0.2);
}

/* Main Content */
main {
  flex: 1;
  padding-top: 100px;
}

/* Pages Container */
.pages-container {
  width: 100%;
  overflow-x: hidden;
}

.page {
  display: none;
  opacity: 0;
  animation: fadeIn 0.5s ease-out;
  width: 100%;
  box-sizing: border-box;
}

.page.active {
  display: block;
  opacity: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 5%;
  width: 100%;
  box-sizing: border-box;
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 8vw, 3.5rem);
  color: var(--primary-accent);
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
  display: inline-block;
  width: 100%;
  text-shadow: none;
}

.page-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

/* Hero Section */
.hero-section {
  padding: 4rem 5% 3rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  animation: scaleIn 0.6s ease-out;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 10vw, 4.5rem);
  color: var(--primary-accent);
  margin: 1rem 0;
  line-height: 1.2;
  text-shadow: none;
}

.profile-img {
  width: min(280px, 70%);
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 4px solid var(--primary-accent);
  box-shadow: 0 8px 30px rgba(0, 61, 92, 0.15);
  margin: 2rem auto;
  object-fit: cover;
  display: block;
  animation: pulse 3s ease-in-out infinite;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 4vw, 2rem);
  margin: 1rem 0;
  color: #333333;
  text-shadow: none;
}

.hero-description {
  font-size: 1.1rem;
  color: #555555;
  margin: 1.5rem 0 2rem;
  text-shadow: none;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cta-btn {
  padding: 1rem 2rem;
  border-radius: 25px;
  border: 2px solid var(--primary-accent);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Poppins', sans-serif;
  text-shadow: none;
}

.cta-btn.primary {
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  color: #FFFFFF;
}

.cta-btn.primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 61, 92, 0.2);
}

.cta-btn.secondary {
  background: transparent;
  color: var(--primary-accent);
  border-color: var(--primary-accent);
}

.cta-btn.secondary:hover {
  background: var(--light-gray);
  transform: translateY(-4px);
}

/* Content Sections */
.content-section {
  width: 90%;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2.5rem;
  border-radius: 15px;
  background: var(--section-bg);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.content-section:hover {
  box-shadow: 0 8px 16px rgba(0, 61, 92, 0.1);
  transform: translateY(-2px);
  border-color: var(--secondary-accent);
}

.section-heading {
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  margin-bottom: 1.5rem;
  color: var(--primary-accent);
  text-align: center;
  font-family: 'Arvo', serif;
  position: relative;
  display: inline-block;
  width: 100%;
  text-shadow: none;
}

.section-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.content-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.content-wrapper ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.content-wrapper li {
  padding: 1.25rem;
  color: var(--text-color);
  background: #FFFFFF;
  border-radius: 10px;
  border-left: 4px solid var(--primary-accent);
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.content-wrapper li:hover {
  transform: translateX(8px);
  background: var(--section-bg);
  box-shadow: 0 4px 12px rgba(0, 61, 92, 0.1);
  border-left-color: var(--secondary-accent);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

.about-content h2 {
  font-size: 2rem;
  color: var(--primary-accent);
  margin-bottom: 1rem;
  text-shadow: none;
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555555;
  margin-bottom: 1rem;
}

.about-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-box {
  background: #FFFFFF;
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary-accent);
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.stat-box:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(0, 61, 92, 0.1);
}

.stat-box h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-accent);
}

.stat-box p {
  margin: 0.25rem 0;
  font-size: 0.95rem;
  color: #555555;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.portfolio-card {
  background: #FFFFFF;
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 61, 92, 0.1);
  border-color: var(--secondary-accent);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.portfolio-card h3 {
  font-size: 1.3rem;
  color: var(--primary-accent);
  margin-bottom: 0.5rem;
}

.portfolio-card p {
  color: #666666;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.status {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #E3F2FD;
  color: #003D5C;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.status.coming {
  background: #FFF3E0;
  color: #E65100;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.skill-category {
  background: #FFFFFF;
  padding: 2rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary-accent);
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 61, 92, 0.1);
  border-left-color: var(--secondary-accent);
}

.skill-category h3 {
  color: var(--primary-accent);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-shadow: none;
}

.skill-category ul {
  list-style: none;
  padding: 0;
}

.skill-category li {
  color: #555555;
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.skill-category li::before {
  content: '▸';
  color: var(--secondary-accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Interests Section */
.interests-section {
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  border-radius: 10px;
  color: white;
  text-align: center;
}

.interests-section h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.interests-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.interests-list span {
  background: rgba(255, 255, 255, 0.25);
  padding: 0.75rem 1.5rem;
  border-radius: 20px;
  font-weight: 500;
}

/* Contact Page */
.contact-page .page-container {
  text-align: center;
}

.contact-content {
  max-width: 800px;
  margin: 3rem auto;
}

.contact-info h2 {
  font-size: 2rem;
  color: var(--primary-accent);
  margin-bottom: 1rem;
  text-shadow: none;
}

.contact-info > p {
  font-size: 1.1rem;
  color: #555555;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--section-bg);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.contact-method:hover {
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 61, 92, 0.15);
  border-color: var(--primary-accent);
}

.contact-method i {
  font-size: 2rem;
}

.contact-method span {
  font-weight: 600;
  color: var(--text-color);
}

/* Header Contact Links */
.contact {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

.contact-link {
  color: var(--primary-accent);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: clamp(0.9rem, 3vw, 1rem);
  border: 2px solid transparent;
}

.contact-link:hover {
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 61, 92, 0.15);
  border-color: var(--primary-accent);
}

/* Footer */
.footer-div {
  margin-top: auto;
  padding: 2rem 5%;
  background: var(--section-bg);
  text-align: center;
  border-top: 2px solid var(--primary-accent);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  color: var(--text-color);
}

.project-item {
  margin-bottom: 2rem;
  /* Add more styles as needed */
}
.project-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 61, 92, 0.2);
  width: 15rem;
  border: 2px solid transparent;
}
.project-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 61, 92, 0.25);
  border-color: white;
}


@media (max-width: 768px) {
  /*... (other media query styles)... */

.project-button {
    display: inline-block; /* Change to inline-block */
    width: 15rem; /* Adjust width as needed to fit two buttons per line */
    margin: 0.5rem; /* Add some margin for spacing */
  }
}

/* Responsive Design */
@media (max-width: 1000px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  .main-nav {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 5% 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .page-container {
    padding: 2rem 5%;
  }

  .main-nav {
    gap: 0.3rem;
  }

  .nav-link {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }

  .contact {
    flex-direction: row;
    margin-top: 0.5rem;
    gap: 0.5rem;
  }

  .contact-link {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 1.5rem;
  }

  .header-container {
    gap: 0.5rem;
  }

  .main-nav {
    gap: 0.25rem;
  }

  .nav-link {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }

  .profile-img {
    width: 60%;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cta-btn {
    width: 100%;
  }

  .contact-methods {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-container {
    padding: 2rem 4%;
  }

  /* Ensure no overflow on mobile */
  .portfolio-grid,
  .skills-grid,
  .about-grid {
    width: 100%;
    overflow-x: hidden;
  }

  .portfolio-card,
  .skill-category,
  .stat-box {
    width: 100%;
  }
}

/* Fallbacks for older browsers */
@supports not (backdrop-filter: blur(12px)) {
.content-section {
    background: var(--section-bg);
  }

.web-name {
    background: var(--section-bg);
  }
}

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

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

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Enhanced Animations */
@keyframes slideFromRight {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

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

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

/* Apply animations to elements */
.hero-section {
  animation: fadeIn 1s ease-out;
}

.profile-img {
  animation: pulse 2s ease-in-out infinite;
  /* ...existing code... */
}

.content-section {
  animation: fadeIn 0.8s ease-out;
  animation-fill-mode: both;
  /* ...existing code... */
}

.content-wrapper li {
  animation: slideIn 0.5s ease-out;
  animation-fill-mode: both;
  /* ...existing code... */
}

/* Stagger animations for list items */
.content-wrapper li:nth-child(1) { animation-delay: 0.1s; }
.content-wrapper li:nth-child(2) { animation-delay: 0.2s; }
.content-wrapper li:nth-child(3) { animation-delay: 0.3s; }

/* Add smooth transitions */
.contact-link {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* ...existing code... */
}

/* Add animation classes */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-from-left {
    transform: translateX(-100px);
}

.slide-from-right {
    transform: translateX(100px);
}

.scale-in {
    transform: scale(0.8);
}

.animate-active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    display: none;
    position: fixed;
    z-index: 1999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    animation: fadeBackdrop 0.3s ease-out forwards;
}

.modal-backdrop.show {
    display: block;
}

@keyframes fadeBackdrop {
    from {
        background: rgba(0, 0, 0, 0);
    }
    to {
        background: rgba(0, 0, 0, 0.5);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-content {
    background-color: #FFFFFF;
    padding: 0;
    border-radius: 15px;
    border: 2px solid var(--primary-accent);
    box-shadow: 0 10px 40px rgba(0, 61, 92, 0.2);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-accent);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    color: var(--secondary-accent);
    transform: scale(1.2);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    color: white;
    padding: 2rem;
    text-align: center;
    border-bottom: 2px solid var(--border-color);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
    text-shadow: none;
}

.modal-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-body > .modal-btn {
    margin-top: 1rem;
}

.modal-image-container {
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 61, 92, 0.15);
}

.modal-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.modal-details h3 {
    color: var(--primary-accent);
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-family: 'Arvo', serif;
}

.modal-details p {
    color: #555555;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.modal-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.modal-features li {
    padding: 0.6rem 0;
    color: #666666;
    border-bottom: 1px solid var(--light-gray);
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.modal-features li:last-child {
    border-bottom: none;
}

.modal-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-accent);
    font-weight: bold;
}

.modal-footer {
    padding: 1.5rem 2rem;
    background: var(--section-bg);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-btn {
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    border: 2px solid var(--primary-accent);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.modal-btn.primary {
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    color: #FFFFFF;
}

.modal-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 61, 92, 0.2);
}

.modal-btn.secondary {
    background: #FFFFFF;
    color: var(--primary-accent);
    border-color: var(--primary-accent);
}

.modal-btn.secondary:hover {
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    color: #FFFFFF;
    transform: translateY(-3px);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-footer {
        padding: 1rem 1.5rem;
    }

    .modal-close {
        right: 15px;
        top: 10px;
        font-size: 1.8rem;
    }
}