/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #6b7280;
  scroll-behavior: smooth;
  background: #f8f9fa;
}

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

/* Header Styles */
.site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-top: 4px solid #1e3a8a;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #1e3a8a;
  margin: 3px 0;
  transition: 0.3s;
}

.header-logo img {
  height: 50px;
  transform: scale(4);
  transform-origin: left center;
  position: relative;
  z-index: 1;
}

.header-nav {
  display: flex;
  gap: 2rem;
}

.header-nav a {
  text-decoration: none;
  color: #1e3a8a;
  font-weight: 500;
  transition: color 0.3s ease;
}

.header-nav a:hover {
  color: #3d5a7a;
}

.header-nav a.active {
  color: #3d5a7a;
  font-weight: 600;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .site-header {
    padding: 1rem;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }
  
  .header-nav.open {
    transform: translateX(0);
  }
  
  .header-nav a {
    font-size: 1.5rem;
    font-weight: 600;
  }
  
  .header-logo img {
    transform: scale(3);
  }
}

main {
  padding: 0.5rem 1rem;
}

section {
  margin-bottom: 3rem;
}

.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #3d5a7a 50%, #4e6a89 100%);
  color: #fff;
  text-align: center;
  padding: 11.25rem 1rem; /* Reduced from 15rem by 25% (15 * 0.75 = 11.25) */
  position: relative;
}


.hero h1 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 2rem;
  line-height: 1.4;
}

.hero-about {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    image-set(
      url('../assets/hero-small.webp') 1x,
      url('../assets/hero-large.webp') 2x
    );
  filter: contrast(0.85) brightness(0.9);
}

/* Add spacing after section headings */
section h2 {
  margin-bottom: 3rem;
  color: #6b7280;
}

/* Legal page formatting */
.legal-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.legal-section h1 {
  text-align: center;
  color: #1e3a8a;
  font-size: 3rem;
  margin-bottom: 3rem;
  font-weight: 700;
}

.legal-toc {
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.legal-toc h2 {
  color: #1e3a8a;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.legal-toc ul {
  list-style: none;
  padding: 0;
}

.legal-toc li {
  margin-bottom: 0.5rem;
}

.legal-toc a {
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.legal-toc a:hover {
  color: #3d5a7a;
  text-decoration: underline;
}

.legal-section section {
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.legal-section section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  color: #1e3a8a;
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.legal-section h3 {
  color: #1e3a8a;
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.legal-section p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-section ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-section li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.legal-section a {
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 500;
}

.legal-section a:hover {
  text-decoration: underline;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.feature {
  background: #fff;
  border: 1px solid #ebebea;
  border-radius: 8px;
  padding: 1.5rem;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 0 4px rgba(0,0,0,0.05);
}

/* Services Section Styles */
.services-section {
  background: #f8f9fa;
  padding: 4rem 1rem;
  margin-bottom: 3rem;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 6rem;
}

.service-item:last-child {
  margin-bottom: 0;
}

.services-section h2 {
  color: #6b7280 !important;
}

.service-item.reverse {
  grid-template-columns: 1fr 1fr;
}

.service-item.reverse .service-content {
  order: 1;
}

.service-item.reverse .service-image {
  order: 2;
}

.service-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.service-content {
  padding: 2rem 0;
}

.service-content h3 {
  color: #6b7280;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.service-content p {
  color: #6b7280;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.service-link {
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.service-link:hover {
  border-bottom-color: #1e3a8a;
}

/* Responsive Design for Services */
@media (max-width: 768px) {
  .service-item,
  .service-item.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .service-item.reverse .service-content,
  .service-item.reverse .service-image {
    order: unset;
  }
  
  .service-content h3 {
    font-size: 1.75rem;
  }
  
  .services-section {
    padding: 3rem 1rem;
  }
  
  .service-item {
    margin-bottom: 4rem;
  }
}

.cta {
  text-align: center;
  background: linear-gradient(90deg, rgba(105,99,97,1) 0%, rgba(36,64,101,1) 100%);
  color: #fff;
  padding: 3rem 1rem;
  border-radius: 8px;
}

/* Footer Styles */
.site-footer {
  padding: 2rem 1rem;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.footer-logo img {
  height: 50px;
  transform: scale(4);
  transform-origin: center center;
  margin-bottom: 1rem;
}

.footer-form {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-form input {
  padding: 0.5rem;
  border: 1px solid #ebebea;
  border-radius: 4px;
}

.footer-form button {
  padding: 0.5rem 1rem;
  border: none;
  background: #696361;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

/* Footer Navigation and Social Container */
.footer-nav-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 1rem 0;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  text-decoration: none;
  color: #1e3a8a;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #3d5a7a;
}

/* Footer Social Styles */
.footer-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #1e3a8a;
  text-decoration: none;
  border: 2px solid #1e3a8a;
  border-radius: 50%;
  transition: all 0.3s ease;
  background: #fff;
}

.footer-linkedin:hover {
  background: #1e3a8a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

/* Responsive Design for Footer */
@media (max-width: 768px) {
  .footer-nav-social {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-nav {
    gap: 1.5rem;
  }
  
  .footer-nav a {
    font-size: 0.9rem;
  }
}

/* Screen reader only text - visually hidden but accessible to screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Contact Section Styles */
.contact-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background: #fff;
  text-align: center;
}

.contact-section h1 {
  color: #1e3a8a;
  font-size: 3rem;
  margin-bottom: 3rem;
  font-weight: 700;
}

.contact-intro {
  font-size: 1.2rem;
  color: #6b7280;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  text-align: left;
}

.required {
  color: #dc2626;
  font-weight: bold;
}

.contact-form label {
  display: block;
  color: #1e3a8a;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: #6b7280;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 0.75rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.recaptcha-container {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

.form-message {
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  font-weight: 500;
}

.form-message.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-message.error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.contact-submit-btn {
  background: linear-gradient(135deg, #1e3a8a 0%, #3d5a7a 100%);
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  position: relative;
}

.contact-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.contact-submit-btn:active {
  transform: translateY(0);
}

.contact-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.g-recaptcha {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
}

/* Responsive Design for Contact Form */
@media (max-width: 768px) {
  .contact-section {
    padding: 3rem 1rem;
  }
  
  .contact-section h1 {
    font-size: 2.5rem;
  }
  
  .contact-intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .contact-form {
    gap: 1.5rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 0.875rem;
    margin-bottom: 1rem;
  }
  
  .contact-submit-btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

/* Thank You Section */
.thank-you-section {
  text-align: center;
  padding: 4rem 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-content {
  background: #fff;
  padding: 4rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.success-icon {
  color: #059669;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.thank-you-section h1 {
  color: #1e3a8a;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.thank-you-section p {
  font-size: 1.2rem;
  color: #6b7280;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .thank-you-content {
    padding: 3rem 1.5rem;
  }
  
  .thank-you-section h1 {
    font-size: 2.5rem;
  }
  
  .thank-you-section p {
    font-size: 1.1rem;
  }
}

.cta-button {
  display: inline-block;
  background: #fff;
  color: #1e3a8a;
  border: 2px solid #1e3a8a;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 2rem;
}

.cta-button:hover {
  background: #1e3a8a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

.cta-button:active {
  transform: translateY(0);
}

/* Social Links Styles */
.social-links {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
}

.linkedin-link:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.linkedin-link svg {
  flex-shrink: 0;
}

/* Footer Navigation and Social Container */
.footer-nav-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 1rem 0;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  text-decoration: none;
  color: #1e3a8a;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #3d5a7a;
}

/* Footer Social Styles */
.footer-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #1e3a8a;
  text-decoration: none;
  border: 2px solid #1e3a8a;
  border-radius: 50%;
  transition: all 0.3s ease;
  background: #fff;
}

.footer-linkedin:hover {
  background: #1e3a8a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

/* Responsive Design for Footer */
@media (max-width: 768px) {
  .footer-nav-social {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-nav {
    gap: 1.5rem;
  }
}

/* Responsive Design for Social Links */
@media (max-width: 768px) {
  .linkedin-link {
    font-size: 0.9rem;
    padding: 0.625rem 1.25rem;
    gap: 0.5rem;
  }
  
  .linkedin-link span {
    display: none;
  }
  
  .social-links {
    margin-top: 2rem;
  }
}
