:root {
  --navy: #0d5790;
  --deep-blue: #1366a6;
  --sky-blue: #0f97cd;
  --action-orange: #eb721c;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scrollbar-gutter: stable;
}

body {
  width: 100%;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

/* Navigation */
.main-nav {
  background: var(--white);
  padding: 1rem 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  gap: 1.5rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
}

.bar {
  width: 24px;
  height: 3px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--action-orange);
  transition: all 0.3s ease;
}

.desktop-menu {
  display: flex;
  gap: 2rem;
}

.desktop-menu a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 300;
  transition: color 0.3s;
}

.desktop-menu a:hover {
  color: var(--action-orange);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  width: auto;
  height: 62px;
}

.nav-actions .btn-primary {
  background: var(--sky-blue);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.nav-actions .btn-primary:hover {
  background: var(--deep-blue);
}

/* About Hero */
.about-hero {
  background: linear-gradient(135deg, rgba(19, 102, 166, 0.85) 0%, rgba(13, 87, 144, 0.9) 100%), url('Assets/Get2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 8rem 5% 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.about-hero .container {
  position: relative;
  z-index: 1;
}

.about-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.about-hero .hero-desc {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0.9;
}

/* Section Padding */
.section-padding {
  padding: 5rem 5%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  text-align: center;
}

.section-title:not(.text-center) {
  text-align: left;
}

.section-subtitle {
  font-size: 1rem;
  color: #666;
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle:not(.text-center) {
  text-align: left;
}

.text-center {
  text-align: center !important;
}

/* Our Story */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #555;
}

.story-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
}

.stat h3 {
  font-size: 2.5rem;
  color: var(--action-orange);
  margin-bottom: 0.5rem;
}

.stat p {
  color: var(--navy);
  font-weight: 600;
}

.story-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Our Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--sky-blue), var(--deep-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.value-card h3 {
  color: var(--navy);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.value-card p {
  color: #666;
  line-height: 1.6;
}

/* Our Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.member-image {
  height: 250px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
  transform: scale(1.05);
}

.team-member h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  color: var(--navy);
  font-size: 1.3rem;
}

.member-role {
  padding: 0 1.5rem;
  color: var(--action-orange);
  font-weight: 600;
  font-size: 0.9rem;
}

.member-bio {
  padding: 0.5rem 1.5rem 1.5rem;
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Why Choose Us */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-content h2 {
  text-align: left;
  margin-bottom: 2rem;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.why-point i {
  color: var(--action-orange);
  font-size: 1.5rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.why-point h4 {
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.why-point p {
  color: #666;
  line-height: 1.6;
}

.why-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--action-orange) 0%, #d65a0f 100%);
  color: white;
  padding: 4rem 5%;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta {
  display: inline-block;
  background: white;
  color: var(--action-orange);
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
  background: var(--navy);
  color: white;
  transform: translateY(-2px);
}

/* Footer */
.main-footer {
  background: var(--navy);
  color: white;
  padding: 4rem 5% 2rem;
  margin-top: 0;
}

[class*="elfsight-app"] {
  position: fixed !important;
  left: auto !important;
  right: 16px !important;
  bottom: 16px !important;
  max-width: calc(100vw - 32px) !important;
  z-index: 999 !important;
  width: auto !important;
  margin: 0 !important;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--sky-blue);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-logo {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: white;
}

.footer-logo span {
  color: var(--action-orange);
}

.footer-slogan {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--action-orange);
}

.footer-description {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.socials {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  margin-left: 6rem;
}

.social-link {
  color: white;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
}

.social-link:hover {
  background: var(--sky-blue);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--sky-blue);
}

.newsletter p {
  color: #ccc;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
}

.btn-newsletter {
  background: var(--action-orange);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-newsletter:hover {
  background: var(--deep-blue);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: #ccc;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .main-nav {
    padding: 0.85rem 3%;
  }

  .hamburger {
    display: inline-flex;
  }

  .desktop-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s ease;
  }

  .desktop-menu a {
    width: 100%;
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(13, 87, 144, 0.08);
  }

  .desktop-menu a:last-child {
    border-bottom: none;
  }

  .desktop-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-actions {
    display: none;
  }

  .story-grid,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 6rem 5% 4rem;
  }

  .about-hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .story-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .logo-img {
    height: 52px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .section-padding {
    padding: 3rem 5%;
  }

  .cta-section {
    padding: 3rem 5%;
  }

  .main-footer {
    padding-bottom: 1.5rem;
  }

  [class*="elfsight-app"] {
    right: 12px !important;
    bottom: 12px !important;
    max-width: calc(100vw - 24px) !important;
  }

  .cta-section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 48px;
  }

  .about-hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .story-stats {
    gap: 0.5rem;
  }
}
