/**
 * Service Packages (PMC, AMC, MSC) Page CSS
 * ABIRTEK Web Application
 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

:root {
  --primary: #1e3a8a;
  --secondary: #1e40af;
  --accent: #0369a1;
  --light: #e0f2fe;
  --dark: #0f172a;
  --gray: #64748b;
  --success: #10b981;
  --pm-color: #10B981;
  --amc-color: #1e3a8a;
  --msc-color: #0369a1;
  --gold: #FACC15;
}

body {
  background-color: #ffffff;
  color: var(--dark);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   SKIP TO CONTENT (ACCESSIBILITY)
   ============================================ */

.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
  border-radius: 0 0 4px 0;
}

.skip-to-content:focus {
  top: 0;
}

/* ============================================
   HEADER STYLES
   ============================================ */

header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 7px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

/* HOVER EFFECT  */
.nav-links a:hover {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.06);
}

/* ACTIVE STATE */
.nav-links a.active {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
}

.logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary);
  cursor: pointer;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: left 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    z-index: 99;
  }

  .nav-links.active {
    left: 0;
  }

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  padding: 100px 20px 80px;
  text-align: center;
  border-radius: 0 0 30px 30px;
  margin-bottom: 60px;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 52px;
  color: var(--dark);
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 22px;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background: transparent;
  color: var(--primary);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-white {
  background: white;
  color: var(--primary);
  border: 2px solid white;
}

.btn-white:hover {
  background: transparent;
  color: white;
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: var(--primary);
}

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

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 6px 16px;
  }

  .btn {
    padding: 12px 25px;
    font-size: 14px;
  }
}

/* ============================================
   SERVICE CARDS SECTION
   ============================================ */

.services-section {
  padding: 80px 20px;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}

.section-description {
  font-size: 18px;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  border: 3px solid transparent;
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-10px);
}

.card.pm {
  border-color: var(--pm-color);
}

.card.amc {
  border-color: var(--amc-color);
}

.card.msc {
  border-color: var(--msc-color);
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  margin-bottom: 15px;
}

.badge.pm { background: var(--pm-color); }
.badge.amc { background: var(--amc-color); }
.badge.msc { background: var(--msc-color); }

.card h3 {
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 10px;
  font-weight: 700;
}

.card p {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 25px;
  min-height: 40px;
}

.card ul {
  list-style: none;
  margin-bottom: 30px;
}

.card ul li {
  padding: 12px 0;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.card ul li:last-child {
  border-bottom: none;
}

.card ul li i {
  font-size: 18px;
}

.card.pm ul li i { color: var(--pm-color); }
.card.amc ul li i { color: var(--amc-color); }
.card.msc ul li i { color: var(--msc-color); }

.price {
  font-size: 20px;
  color: var(--dark);
  font-weight: 700;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
}

/* ============================================
   COMPARISON TABLE SECTION
   ============================================ */

.comparison-section {
  padding: 80px 20px;
  background: var(--light);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

th, td {
  border: 1px solid #e5e7eb;
  padding: 18px;
  text-align: center;
}

th {
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 16px;
}

td {
  font-size: 15px;
}

td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--dark);
}

tr:nth-child(even) {
  background: #f9fafb;
}

/* ============================================
   ADVISOR SECTION
   ============================================ */

.advisor-section {
  padding: 80px 20px;
  background: white;
}

.advisor {
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  border-radius: 16px;
  padding: 50px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.advisor h2 {
  font-size: 36px;
  color: var(--dark);
  margin-bottom: 15px;
  font-weight: 800;
}

.advisor p {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 30px;
}

.advisor-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.advisor button {
  padding: 15px 30px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  color: white;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.advisor button.pm {
  background: var(--pm-color);
}

.advisor button.amc {
  background: var(--amc-color);
}

.advisor button.msc {
  background: var(--msc-color);
}

.advisor button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.result {
  margin-top: 30px;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  min-height: 30px;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  text-align: center;
  color: white;
}

.cta-section h2 {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: 800;
}

.cta-section p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* ============================================
   RESPONSIVE DESIGN - SERVICE PACKAGES
   ============================================ */

@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .advisor {
    padding: 30px 20px;
  }

  .advisor h2 {
    font-size: 28px;
  }

  .advisor-buttons {
    flex-direction: column;
  }

  .advisor button {
    width: 100%;
    max-width: 300px;
  }

  .cta-section h2 {
    font-size: 32px;
  }

  .cta-section p {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 32px;
  }

  .section-description {
    font-size: 16px;
  }

  .card {
    padding: 30px 20px;
  }

  .advisor h2 {
    font-size: 24px;
  }

  .advisor p {
    font-size: 16px;
  }

  .cta-section h2 {
    font-size: 28px;
  }

  .cta-section p {
    font-size: 16px;
  }
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.tech-services {
  padding: 80px 20px;
  max-width: 1100px;
  margin: auto;
}

.tech-services h2 {
  font-size: 32px;
  color: #002b5c;
  margin-bottom: 10px;
  text-align: center;
}

.tech-desc {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
  color: #555;
  line-height: 1.6;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
}

.tech-item {
  background: #f8f9fc;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.tech-icon {
  font-size: 32px;
  margin-bottom: 10px;
  color: var(--primary);
}

.tech-item h3 {
  color: #1e40af;
  margin-bottom: 8px;
}

.tech-item p {
  color: #555;
  margin-bottom: 12px;
  font-size: 14px;
}

.tech-item ul {
  padding-left: 18px;
  margin: 0;
}

.tech-item li {
  font-size: 14px;
  color: #444;
  margin-bottom: 6px;
}

@media (max-width: 992px) {
  .tech-services {
    padding: 60px 20px;
  }

  .tech-services h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tech-services {
    padding: 40px 15px;
  }

  .tech-services h2 {
    font-size: 24px;
  }

  .tech-item {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .tech-services h2 {
    font-size: 22px;
  }

  .tech-item {
    padding: 20px;
  }
}

/* ============================================
   FEATURED PROJECTS SECTION
   ============================================ */

.featured-projects {
  padding: 80px 20px;
}

.section-title {
  font-size: 34px;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 10px;
}

.section-subtitle {
  max-width: 800px;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .featured-projects {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .featured-projects {
    padding: 40px 15px;
  }

  .section-title {
    font-size: 24px;
  }
}

/* Header Row */
.projects-header {
  max-width: 1200px;
  margin: 0 auto 50px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

/* Learn More Button */
.projects-cta-btn {
  padding: 9px 26px;
  background: #dfe8f1;
  color: #208dbc;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
  margin-top: 100px;
}

@media (max-width: 768px) {
  .projects-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .projects-cta-btn {
    margin-top: 20px;
  }
}

.projects-cta-btn:hover {
  background: #163b63;
  transform: translateY(-2px);
  color: white;
}

/* Projects Grid */
.projects-list {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .projects-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .projects-list {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
}

/* Card */
.projects-box {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.projects-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

/* Image */
.project-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Content */
.project-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Tag */
.project-tag {
  display: inline-block;
  background: #b7d2f3;
  color: #002b5c;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 15px;
  width: fit-content;
}

/* Title */
.project-content h3 {
  font-size: 20px;
  color: #0a2540;
  margin-bottom: 12px;
  line-height: 1.3;
}

/* Description */
.project-content p {
  color: #555;
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* View Project Button */
.read-details-btn {
  align-self: flex-start;
  padding: 10px 22px;
  background: #0a2540;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.read-details-btn:hover {
  background: #163b63;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta {
  position: relative;
  padding: 140px 20px 160px;
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

/* CTA Heading */
.cta h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .cta {
    padding: 80px 20px 100px;
  }

  .cta h2 {
    font-size: 28px;
  }

  .cta p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .cta {
    padding: 60px 15px 80px;
  }

  .cta h2 {
    font-size: 24px;
  }

  .cta p {
    font-size: 14px;
  }
}

/* CTA Buttons */
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Buttons */
.cta-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .cta-btn {
    width: 80%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .cta-btn {
    width: 90%;
    font-size: 13px;
    padding: 10px 20px;
  }
}

.mail-btn {
  background: #2563EB;
  color: #ffffff;
}

.call-btn {
  background: #2563EB;
  color: #ffffff;
}

.primary-btn {
  background: #2563EB;
  color: #ffffff;
}

.cta-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* ============================================
   FORM SECTION
   ============================================ */

.form-section {
  display: flex;
  justify-content: center;
  margin-top: 0;
  padding-bottom: 40px;
}

.contact-form {
  width: 100%;
  max-width: 700px;
  background: #d7edf9;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (max-width: 768px) {
  .form-section {
    padding: 0 15px 40px;
  }

  .contact-form {
    padding: 25px;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .contact-form {
    padding: 20px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 13px;
    padding: 10px 12px;
  }

  .contact-form button {
    font-size: 14px;
    padding: 12px;
    min-height: 44px; /* Touch-friendly target size */
  }

  /* Ensure all buttons meet minimum touch target size */
  .btn,
  button,
  .modal-actions .btn {
    min-height: 44px;
  }
}

/* Inputs */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  outline: none;
  transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2563eb;
}

/* Button */
.contact-form button {
  margin-top: 10px;
  padding: 14px;
  background: #2563EB;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-form button:hover {
  background: #052e66;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 99;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
  background: var(--secondary);
  transform: translateY(-5px);
}

.back-to-top.show {
  display: flex;
}

@media (max-width: 768px) {
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background-color: #002b5c;
  color: white;
  padding: 60px 20px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #add8e6;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #add8e6;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ============================================
   QUOTE REQUEST MODAL
   ============================================ */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  overflow: auto;
  animation: fadeIn 0.3s ease;
}

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

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

.modal-content {
  background-color: #ffffff;
  margin: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  color: white;
  border-radius: 12px 12px 0 0;
}

.modal-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 32px;
  color: white;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s;
  padding: 0;
  width: 32px;
  height: 32px;
}

.modal-close:hover {
  transform: rotate(90deg);
}

.modal-body {
  padding: 30px;
  background-color: #d7edf9;
  border-radius: 0 0 12px 12px;
}

.modal-description {
  color: #374151;
  margin-bottom: 24px;
  font-size: 15px;
}

.modal-body .form-group {
  margin-bottom: 20px;
}

.modal-body .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.modal-body label {
  display: block;
  margin-bottom: 8px;
  color: var(--dark);
  font-weight: 500;
  font-size: 14px;
}

.modal-body .required {
  color: #ef4444;
}

.modal-body input,
.modal-body select,
.modal-body textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  transition: 0.3s ease;
  font-family: inherit;
  background-color: white;
}

.modal-body input:focus,
.modal-body select:focus,
.modal-body textarea:focus {
  outline: none;
  border-color: #2563eb;
}

.modal-body textarea {
  resize: vertical;
  min-height: 120px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.modal-actions .btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #1e3a8a;
}

.modal-actions .btn-primary {
  background-color: #2563EB;
  color: white;
}

.modal-actions .btn-primary:hover:not(:disabled) {
  background-color: #052e66;
}

.modal-actions .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.modal-actions .btn-secondary {
  background-color: #f3f4f6;
  color: #374151;
  border-color: #e5e7eb;
}

.modal-actions .btn-secondary:hover {
  background-color: #e5e7eb;
  color: #1f2937;
  border-color: #d1d5db;
}

.modal-actions .btn i {
  font-size: 14px;
}

@media (max-width: 768px) {
  .modal-content { margin: 10px; max-height: 95vh; }
  .modal-header { padding: 20px; }
  .modal-header h2 { font-size: 20px; }
  .modal-body { padding: 20px; }
  .modal-body .form-row { grid-template-columns: 1fr; gap: 16px; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .btn { width: 100%; justify-content: center; }
}
