/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #1e88e5;
  /* Professional Modern Blue */
  --secondary-color: #0d47a1;
  --accent-color: #ffffff;
  --text-color: #1a202c;
  --text-light: #ffffff;
  --bg-color: #ffffff;
  --section-bg: #f8fbff;
  --card-bg: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --border-radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  position: relative;
  background-color: var(--bg-color);
  min-height: 100vh;
}

/* Background Image with Overlay */
body::before {
  content: "";
  background-image: url("https://cdnjs.cloudflare.com/ajax/libs/file-saver/2.0.5/FileSaver.min.js");
  background-image: url("/api/placeholder/1920/1080");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.85;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.98), rgba(13, 71, 161, 0.9));
  z-index: -1;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

ul {
  list-style: none;
}

/* Header Styles */
header {
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
  border-bottom: 2px solid var(--primary-color);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 1.6rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  color: var(--primary-color);
}

.logo h1 {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

nav ul {
  display: flex;
  gap: 30px;
}

nav a {
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  color: #4a5568;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.header-btn {
  background-color: var(--primary-color);
  color: #ffffff;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.header-btn i {
  transition: transform 0.3s ease;
}

.header-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 20px rgba(13, 71, 161, 0.4);
}

.header-btn:hover i {
  transform: translateY(2px);
}

.btn-highlight::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20%;
  height: 200%;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(30deg);
  transition: none;
  animation: shine-effect 4s infinite;
}

@keyframes shine-effect {
  0% {
    left: -60%;
  }

  20% {
    left: 120%;
  }

  100% {
    left: 120%;
  }
}

.new-badge {
  position: absolute;
  top: -12px;
  right: -8px;
  background: linear-gradient(135deg, #ff4b2b, #ff416c);
  color: white;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(255, 75, 43, 0.3);
  z-index: 10;
  pointer-events: none;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}



.hero {
  min-height: 500px;
  display: flex;
  align-items: center;
  color: var(--text-light);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  padding: 60px 0;
}

.hero-content {
  max-width: 700px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

.primary-btn {
  background-color: var(--primary-color);
  color: white;
  border: 1px solid var(--primary-color);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 119, 181, 0.2);
}

.secondary-btn {
  background-color: var(--accent-color);
  color: var(--primary-color);
  border: 1px solid var(--accent-color);
}

.secondary-btn:hover {
  background-color: #005a8c;
  transform: translateY(-1px);
}

/* Features Section */
.features {
  background-color: var(--section-bg);
  padding: 80px 0;
  text-align: center;
}

.features h2 {
  font-size: 2rem;
  margin-bottom: 50px;
  color: var(--primary-color);
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* Footer Styles */
footer {
  background-color: #f8fbff;
  color: var(--text-color);
  padding: 60px 0 30px;
  border-top: 1px solid #e2e8f0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo i {
  color: var(--accent-color);
}

.footer-links h4,
.footer-social h4,
.footer-contact h4 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-contact p {
  color: #4a5568;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--accent-color);
  width: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #9ca3af;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-light);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #9ca3af;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--accent-color);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #e2e8f0;
  color: #718096;
}

/* Responsive Styles */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 15px;
  }

  nav ul {
    gap: 15px;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 1.5rem;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
  }

  .hero {
    min-height: 400px;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .features h2 {
    font-size: 1.6rem;
  }
}

/* Modal Styles */
.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(8px);
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

.modal-wrapper {
  background: #ffffff;
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 800px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  display: flex;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.modal-sidebar {
  background: var(--primary-color);
  color: white;
  padding: 40px 30px;
  flex: 0 0 35%;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #e2e8f0;
}

.sidebar-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.modal-sidebar h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.modal-sidebar p {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.5;
  margin-bottom: 30px;
}

.feature-list {
  margin-top: auto;
}

.feature-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.feature-list i {
  color: #10b981;
}

.modal-body {
  padding: 40px 50px;
  flex: 1;
  background-color: #fafafa;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  cursor: pointer;
  color: #999;
  transition: color 0.3s ease;
  z-index: 10;
}

.close-btn:hover {
  color: var(--primary-color);
}

.modal-body h2 {
  color: var(--text-color);
  margin-bottom: 5px;
  font-size: 1.6rem;
}

.modal-tabs {
  display: flex;
  margin-bottom: 25px;
  background: #f1f5f9;
  padding: 5px;
  border-radius: 10px;
}

.modal-tab {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  color: #64748b;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.modal-tab.active {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.subtitle {
  color: #666;
  margin-bottom: 25px;
  font-size: 0.95rem;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group i {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #888;
}

.modal-body input,
.modal-body select {
  width: 100%;
  padding: 12px 15px 12px 45px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  color: #333;
}

.modal-body input:focus,
.modal-body select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.1);
}

.full-width {
  width: 100%;
}

.hidden {
  display: none !important;
}

.error-text {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 15px;
  text-align: center;
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}