* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #272a84, #1e1f6b);
  color: white;
  padding: 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.5s ease-in-out;
  display: none;
}

.cookie-banner.show {
  display: block;
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.cookie-text p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #e5e7eb;
}

.cookie-text a {
  color: #60a5fa;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.cookie-btn.agree {
  background: #339566;
  color: white;
}

.cookie-btn.agree:hover {
  background: #2d7a5a;
}

.cookie-btn.reject {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cookie-btn.reject:hover {
  background: white;
  color: #272a84;
}

/* Form disabled state */
.form-disabled-overlay {
  position: relative;
}

.form-disabled-overlay::after {
  content: "Please accept our terms and cookies to use the contact form";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  z-index: 10;
  cursor: pointer;
  border-radius: 8px;
}

/* Animation Styles */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-in-up.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #e5e7eb;
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
}

.navbar.hidden {
  transform: translateY(-100%);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #6b7280;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #272a84;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 6, 92, 0.8), rgba(19, 19, 19, 0.8));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  max-width: 1200px;
  padding: 0 1rem;
  width: 100%;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 4rem);
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: 2rem;
  color: #e5e7eb;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Button Styles */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s;
  font-size: clamp(0.9rem, 2vw, 1rem);
  min-width: 200px;
}

.btn-primary {
  background: white;
  color: #272a84;
}

.btn-primary:hover {
  background: #f3f4f6;
}

.btn-success {
  background: #339566;
  color: white;
}

.btn-success:hover {
  background: #2d7a5a;
}

.btn-outline {
  margin: 10px;
  background: transparent;
  border: 2px solid #272a84;
  color: #272a84;
}

.btn-outline:hover {
  background: #272a84;
  color: white;
}

/* Section Styles */
.section {
  padding: 3rem 1rem;
}

.section-bg {
  background: #f9fafb;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: bold;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-header p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grid Styles */
.grid {
  display: grid;
  gap: 2rem;
  width: 100%;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Card Styles */
.card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow 0.3s;
  border-top: 4px solid #272a84;
  width: 100%;
}

.card:nth-child(2) {
  border-top-color: #339566;
}

.card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: rgba(39, 42, 132, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: #272a84;
}

.card:nth-child(2) .card-icon {
  background: rgba(51, 149, 102, 0.1);
  color: #339566;
}

.card h3 {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #111827;
  line-height: 1.3;
}

.card p {
  color: #6b7280;
  margin-bottom: 1rem;
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.5;
}

.card ul {
  list-style: none;
  text-align: left;
  color: #6b7280;
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
}

.card ul li {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* Success Stories Styles */
.success-card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: box-shadow 0.3s;
  border-left: 4px solid #339566;
}

.success-card:nth-child(2) {
  border-left-color: #272a84;
}

.success-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.success-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.success-icon {
  width: 48px;
  height: 48px;
  background: rgba(51, 149, 102, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: #339566;
  font-size: 1.5rem;
}

.success-card:nth-child(2) .success-icon {
  background: rgba(39, 42, 132, 0.1);
  color: #272a84;
}

.success-info h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: bold;
  color: #111827;
  margin-bottom: 0.25rem;
}

.success-info .badge {
  background: #339566;
  color: white;
  padding: 0.4rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  line-height: 1.3;
  max-width: 100%;
  word-wrap: break-word;
  text-align: center;
}

.success-card:nth-child(2) .success-info .badge {
  background: #272a84;
}

.success-info {
  flex: 1;
  min-width: 0;
}

.success-info h3 {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: bold;
  color: #111827;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.success-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.success-quote {
  font-style: italic;
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.success-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.author-info h4 {
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
}

.author-info p {
  font-size: 0.9rem;
  color: #6b7280;
}

/* News Card Styles */
.news-card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: box-shadow 0.3s;
  width: 100%;
}

.news-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.news-date {
  color: #6b7280;
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.news-card h3 {
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  font-weight: bold;
  margin-bottom: 1rem;
  color: #111827;
  line-height: 1.3;
}

.news-card p {
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.5;
  margin-bottom: 1rem;
  color: #6b7280;
}

.news-views {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Loading state */
.loading-news {
  text-align: center;
  padding: 3rem;
  color: #6b7280;
}

.loading-spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #272a84;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.about-content p {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.feature-icon {
  width: 24px;
  height: 24px;
  background: #339566;
  border-radius: 50%;
  margin-right: 1rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
}

.feature-item h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #111827;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
}

.feature-item p {
  color: #6b7280;
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.5;
}

.about-content img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 0.5rem;
  display: block;
  margin: 0 auto;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-item span {
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.4;
}

.contact-icon {
  width: 24px;
  height: 24px;
  background: #272a84;
  border-radius: 50%;
  margin-right: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: clamp(0.9rem, 2vw, 1rem);
  transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #272a84;
  box-shadow: 0 0 0 3px rgba(39, 42, 132, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-disabled {
  background-color: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
}

.cooldown-message {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  color: #92400e;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* Footer */
.footer {
  background: #272a84;
  color: white;
  padding: 3rem 1rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 32px;
  margin-right: 0.75rem;
  filter: brightness(0) invert(1);
}

.footer h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
}

.footer p,
.footer a {
  color: #bfdbfe;
  text-decoration: none;
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.5;
}

.footer a:hover {
  color: white;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #3b4096;
  padding-top: 2rem;
  text-align: center;
  color: #bfdbfe;
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
}

/* Spacer for fixed navbar */
.navbar-spacer {
  height: 64px;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

/* Prevent horizontal scroll */
.hero-content,
.container,
.section {
  max-width: 100%;
  overflow-x: hidden;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }

  .nav-logo img {
    height: 35px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .section {
    padding: 2rem 1rem;
  }

  .card {
    padding: 1.25rem;
  }

  .about-content {
    gap: 2rem;
  }

  .contact-grid {
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .success-author {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
    width: 100%;
  }

  .success-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .success-icon {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }

  .success-info .badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    margin-top: 0.25rem;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 0.75rem;
  }

  .hero-content {
    padding: 0 0.75rem;
  }

  .section {
    padding: 1.5rem 0.75rem;
  }

  .container {
    padding: 0 0.75rem;
  }

  .card {
    padding: 1rem;
  }

  .news-card {
    padding: 1rem;
  }

  .success-card {
    padding: 1rem;
  }

  .cookie-banner {
    padding: 1rem;
  }

  .cookie-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .success-info .badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
    line-height: 1.2;
  }
}
