@font-face {
  font-family: "Americane Condensed";
  src: url("/static/fonts/HvDTrial_AmericaneCondensed-Regular-BF6493bd3980e90.otf") format("opentype");
}

    :root {
      --white: #FFFFFF;
      --dark-blue: #000B3B;
      --turquoise: #4EC5E0;
      --section-bg: #f8fbfb;
    }

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

    html{
        scroll-behavior: smooth;
    }
    
    body {
      font-family: "Americane Condensed", sans-serif;
      line-height: 1.6;
      color: var(--dark-blue);
      overflow-x: hidden;
      position: relative;
      font-size: 1.5rem;
    }

    [lang="ar"] body{
      font-size: 1.3rem !important;
    }

    body::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url('https://images.unsplash.com/photo-1505118380757-91f5f5632de0?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
      opacity: 0.03;
      z-index: -1;
      pointer-events: none;
    }

    h1, h2, h3, h4 {
      font-weight: 700;
      line-height: 1.2;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    .btn {
      display: inline-block;
      padding: 5px 10px;
      border-radius: 50px;
      font-weight: 600;
      transition: all 0.3s ease;
      text-align: center;
      font-family: "Americane Condensed", sans-serif;
      line-height: 1.6;
      font-size: 1.3rem;
    }

    .btn-primary {
      background-color: var(--dark-blue);
      color: white;
      box-shadow: 0 4px 15px #000B3B;
    }

    .btn-primary:hover {
      background-color: var(--dark-blue);
      transform: translateY(-3px);
      box-shadow: 0 6px 20px #000B3B;
    }

    .btn-primary {
      background-color: var(--dark-blue);
      color: white;
      box-shadow: 0 4px 15px #000B3B;
    }

    .btn-primary:hover {
      background-color: var(--dark-blue);
      transform: translateY(-3px);
      box-shadow: 0 6px 20px #000B3B;
    }
    
    .btn-delete {
      background-color: #FF4C4C;
      color: white;
      border-radius: 10px !important;
      padding: 6px 12px !important;
    }

    .btn-delete:hover {
      background-color: #E04343;
    }

    .btn-edit {
      background-color: #4EC5E0;
      color: white;
      border-radius: 10px !important;
      padding: 6px 12px !important;
    }

    .btn-edit:hover {
      background-color: #42B0C9;
    }

    .btn-outline {
      border: 2px solid var(--dark-blue);
      color: var(--dark-blue);
    }

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

    .btn-outline:disabled,
    .btn-outline:disabled:hover {
      border-color: #ccc;
      color: #ccc;
      background-color: transparent;
      cursor: not-allowed;
    }

    .btn-white {
      background-color: white;
      color: var(--dark-blue);
      box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    }

    .btn-white:hover {
      background-color: rgba(255, 255, 255, 0.9);
      transform: translateY(-3px);
      box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    }

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

    /* Hero Section */
    .hero {
      position: relative;
      height: 100vh;
      min-height: 700px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      text-align: left;
      color: white;
      padding: 0 5vw;
    }

    .video-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
    }

    .video-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.4);
      z-index: 1;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 600px;
    }

    .hero h1 {
      font-size: clamp(2.5rem, 5vw, 4rem);
      margin-bottom: 1rem;
      text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }

    .hero-badge {
      display: inline-block;
      background-color: rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(5px);
      padding: 8px 20px;
      border-radius: 50px;
      font-size: 1.2rem;
      margin-bottom: 2rem;
      border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .hero p {
      font-size: clamp(1.1rem, 2vw, 1.4rem);
      margin-bottom: 2.5rem;
      opacity: 0.9;
      line-height: 1.6;
    }

    .hero-social {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 20px;
      z-index: 2;
    }

    .hero-social a {
      color: white;
      font-size: 1.5rem;
      transition: all 0.3s ease;
      opacity: 0.8;
    }

    .hero-social a:hover {
      transform: translateY(-5px);
      opacity: 1;
      color: var(--dark-blue);
    }

    .scroll-down {
      position: absolute;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      color: white;
      font-size: 2rem;
      animation: bounce 2s infinite;
      cursor: pointer;
      z-index: 2;
    }

    /* Mission Section */
    .mission {
      padding: 100px 0;
      background-color: var(--dark-blue);
      color: white;
      text-align: center;
      background-image: url("https://images.squarespace-cdn.com/content/v1/5369465be4b0507a1fd05af0/1528837069483-LD1R6EJDDHBY8LBPVHIU/randall-ruiz-272502.jpg");
      background-repeat: no-repeat;
      background-attachment: fixed;
      background-size: cover;
      background-position: center;
      position: relative;
      z-index: 1;
    }

    .mission::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.5);
      z-index: -1;
    }

    .mission h2 {
      font-size: clamp(1.8rem, 3vw, 2.5rem);
      margin-bottom: 2rem;
    }

    .mission p {
      max-width: 800px;
      margin: 0 auto;
      line-height: 1.8;
    }

    /* Features Section */
    .features {
      padding: 100px 0;
      background-color: var(--dark-blue);
      position: relative;
    }

    .features::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 1px;
      background: linear-gradient(to right, transparent, rgba(0, 11, 59, 0.2), transparent);
    }

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

    .section-title h2 {
      font-size: clamp(1.8rem, 3vw, 2.5rem);
      color: #000B3B;
      margin-bottom: 1rem;
    }

    .section-title h2.light {
      color: #eee;
    }

    .section-title p {
      color: #000B3B;
      font-size: 1.4rem;
    }
    
    .section-title p.light {
      color: #eee;
    }

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

    
    @media (max-width: 1200px) {
      .features-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    /* Tablet -> 2 columns */
    @media (max-width: 900px) {
      .features-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }


    .feature-card {
      background-color: var(--white);
      border-radius: 12px;
      padding: 40px 30px;
      text-align: center;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
      transition: transform 0.3s ease;
    }

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

    .feature-icon {
      font-size: 2.5rem;
      color: var(--dark-blue);
      margin-bottom: 1.5rem;
    }

    .feature-card h3 {
      font-size: 1.5rem;
      margin-bottom: 1rem;
      color: var(--dark-blue);
    }

    .feature-card p {
      color: var(--dark-blue);
      line-height: 1.6;
    }

    /* About Section */
    .about {
      padding: 100px 0;
      background-color: var(--white);
      position: relative;
    }

    .about::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 1px;
      background: linear-gradient(to right, transparent, rgba(0, 11, 59, 0.2), transparent);
    }

    .about-container {
      display: flex;
      align-items: center;
      gap: 50px;
    }

    .about-text {
      flex: 1;
    }

    .about-text h2 {
      font-size: clamp(1.8rem, 3vw, 2.5rem);
      margin-bottom: 1.5rem;
      color: var(--dark-blue);
    }

    .about-text p {
      margin-bottom: 2rem;
      line-height: 1.8;
    }

    .about-image {
      flex: 1;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .about-image img {
      width: 100%;
      height: auto;
      display: block;
      transition: transform 0.5s ease;
    }

    .about-image:hover img {
      transform: scale(1.03);
    }

    .white-color {
      color: #fff !important;
    }
    .dark-blue {
      color: var(--dark-blue) !important;
    }

    /* Values Section */
    .values {
      padding: 100px 0;
      background-color: var(--dark-blue);
      color: white;
      text-align: center;
      background-image: linear-gradient(rgba(0, 11, 59, 0.4), rgba(0, 11, 59, 0.4)), url("https://images2.alphacoders.com/513/513906.jpg");
      background-repeat: no-repeat;
      background-attachment: fixed;
      background-size: cover;
      background-position: center;
      position: relative;
      z-index: 1;
    }

    .values::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.3);
      z-index: -1;
    }

    .values-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 30px;
    }

    .value-card {
      background-color: var(--white);
      padding: 40px 30px;
      border-radius: 12px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
    }

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

    .value-icon {
      font-size: 2.5rem;
      color: var(--dark-blue);
      margin-bottom: 1.5rem;
    }

    .value-card h3 {
      font-size: 1.5rem;
      margin-bottom: 1rem;
      color: var(--dark-blue);
    }

    [lang="ar"] .value-card h3 {
      font-size: 1.3rem !important;
    }

    /* Blog Section */
    .blog {
      padding: 100px 0;
      background-color: var(--white);
    }

    .blog-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 30px;
    }

    .blog-card {
      background-color: var(--white);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
    }

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

    .blog-image {
      height: 250px;
      overflow: hidden;
    }

    .blog-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .blog-card:hover .blog-image img {
      transform: scale(1.1);
    }

    .blog-content {
      padding: 25px;
    }

    .blog-date {
      font-size: 0.9rem;
      color: var(--dark-blue);
      margin-bottom: 10px;
      display: block;
    }

    .blog-title {
      font-size: 1.3rem;
      margin-bottom: 15px;
      color: var(--dark-blue);
    }

    /* Partners Section */
    .partners {
      padding: 100px 0;
      color: var(--white);
      background-color: var(--white);
    }

    .partners::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
    }

    .partners-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 40px;
      margin-top: 50px;
    }

    .partner-logo {
      max-width: 180px;
      height: auto;
      align-items: center;
      /* filter: grayscale(100%); */
      /* opacity: 0.7; */
      transition: all 0.3s ease;
    }

    .partner-logo:hover {
      filter: grayscale(10%);
      opacity: 1;
      transform: scale(1.05);
    }

    /* sponsors Section */
    .sponsors {
      padding: 100px 0;
      color: var(--white);
      background-color: var(--dark-blue);
    }

    .sponsors::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
    }

    .sponsors-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 40px;
      margin-top: 50px;
    }

    .sponsor-logo {
      max-width: 180px;
      height: auto;
      align-items: center;
      /* filter: grayscale(100%); */
      /* opacity: 0.7; */
      transition: all 0.3s ease;
    }

    .sponsor-logo:hover {
      filter: grayscale(10%);
      opacity: 1;
      transform: scale(1.05);
    }

    /* Contact Section */
    .contact {
      padding: 100px 0;
      background-color: var(--white);
    }

    .contact-map {
      flex: 1;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
      min-height: 400px;
    }

    .contact-map iframe {
      width: 100%;
      height: 100%;
      border: none;
    }

    .contact-form {
      flex: 1;
    }

    .contact-form h3 {
      font-size: 1.8rem;
      margin-bottom: 1.5rem;
      color: var(--dark-blue);
    }

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

    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
    }

    .form-group input,
    .form-group textarea {
      width: 100%;
      padding: 12px 15px;
      border: 1px solid #ddd;
      border-radius: 8px;
      font-family: "Americane Condensed", sans-serif;
      transition: border-color 0.3s ease;
    }

    .form-group input:focus,
    .form-group textarea:focus {
      outline: none;
      border-color: var(--dark-blue);
    }

    .form-group textarea {
      min-height: 150px;
      resize: vertical;
    }

    /* CTA Section */
    .cta {
      padding: 100px 0;
      background-color: var(--dark-blue);
      color: white;
      text-align: center;
    }

    .cta h2 {
      font-size: clamp(1.8rem, 3vw, 2.5rem);
      margin-bottom: 2rem;
    }

    .cta p {
      max-width: 800px;
      margin: 0 auto 2.5rem;
      font-size: 1.4rem;
      line-height: 1.8;
    }

    /* Footer */
    footer {
      background-color: var(--dark-blue);
      color: white;
      padding: 60px 0 30px;
    }

    .footer-about {
      max-width: 800px;
      margin: 0 auto 40px;
      text-align: center;
      padding-bottom: 40px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-about p {
      font-size: 1.4rem;
      line-height: 1.8;
      opacity: 0.9;
    }

    .footer-content {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-column h3 {
      font-size: 1.2rem;
      margin-bottom: 1.5rem;
      position: relative;
      padding-bottom: 10px;
    }

    .footer-column h3::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 50px;
      height: 2px;
      background-color: var(--dark-blue);
    }

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

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

    .footer-column a {
      transition: color 0.3s ease;
      opacity: 0.8;
    }

    .footer-column a:hover {
      color: #4db8c0;
      opacity: 1;
    }

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

    .social-links a {
      font-size: 1.2rem;
      transition: all 0.3s ease;
      opacity: 0.7;
    }

    .social-links a:hover {
      transform: translateY(-5px);
      color: #4db8c0;
      opacity: 1;
    }

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

    .footer-bottom p {
      opacity: 0.7;
      font-size: 0.9rem;
    }

    .powered-by {
      color: rgb(218, 138, 255);
    }
    .powered-by:hover {
      color: rgb(137, 22, 245);
    }

    /* Animations */
    @keyframes bounce {
      0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
      40% { transform: translateY(-15px) translateX(-50%); }
      60% { transform: translateY(-7px) translateX(-50%); }
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .about-container{
        gap: 30px;
      }
      
      .hero-social {
        right: 3vw;
      }
    }
    
    @media (max-width: 1200px) {
      .values-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    /* Tablet -> 2 columns */
    @media (max-width: 900px) {
      .values-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .about-container{
        flex-direction: column;
      }
      
      .about-text, 
      .about-image,
      .contact-map,
      .contact-form {
        width: 100%;
      }
      
      .about-image,
      .contact-map {
        margin-top: 30px;
      }
      
      .hero-social {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin-top: 30px;
      }
      
      .hero {
        text-align: center !important;
        align-items: center !important;
      }
      
      .partners-grid {
        gap: 30px;
      }
    }

    @media (max-width: 480px) {
      .hero h1 {
        font-size: 2.2rem;
      }
      
      .btn {
        padding: 10px 20px;
      }
      
      .features-grid, 
      .values-grid, 
      .blog-grid {
        grid-template-columns: 1fr;
      }
      
      .partner-logo {
        max-width: 120px;
      }
    }

    .the-start {
  padding: 80px 20px;
  text-align: center;
  background:#eee;
}

.the-start h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 20px;
}

.the-start p {
  font-weight: 300;
  color: var(--dark-blue);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}
    .site-header{
      position: sticky; top:0; z-index: 1000;
      background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
      border-bottom: 1px solid rgba(0, 11, 59, 0.1);
    }
    .site-header .container{
      display:flex; align-items:center; justify-content:space-between;
      padding:14px 20px; max-width:1200px; margin:0 auto;
    }
    .brand{ display:flex; align-items:center; gap:10px; font-weight:700; color:var(--dark-blue); }
    .brand i{ font-size:1.2rem; }
    .brand img {  width: 150px; height: auto; /* keeps the aspect ratio */}
    nav ul{ list-style:none; display:flex; gap:24px; }
    nav a{ color:var(--dark-blue); font-weight:600; opacity:.9; transition:.25s; }
    nav a:hover, nav a.active{ color:var(--dark-blue); opacity:1; }
    .nav-toggle{ display:none; background:transparent; color:var(--dark-blue); padding:8px 12px; font-weight:600; }
    @media (max-width:768px){
      nav ul#navList{ display:none; position:absolute; top:64px; background:#fff; border:1px solid rgba(0, 11, 59, .12); border-radius:12px; padding:12px 16px; flex-direction:column; gap:12px; box-shadow:0 10px 30px rgba(0,0,0,.08); }
      nav ul#navList.open{ display:flex; }
      .nav-toggle{ display:block; }
      [dir="rtl"] nav ul{
        left:20px !important;
      }

      [dir="ltr"]  nav ul{
        right:20px !important;
      }      
    }
    /* Start with header hidden */
    .site-header {
      opacity: 0;
      display: none;
      pointer-events: none;
      transition: opacity 0.4s ease;
    }

    /* Show header when scrolled past hero */
    .site-header.show {
      opacity: 1;
      display: block;

      pointer-events: auto;
    }

/* Portfolio / Impact Section - Modern Style */
.portfolio {
  padding: 100px 0;
  background-image: linear-gradient(rgba(0, 44, 46, 0.3), rgba(2, 10, 26, 0.3)), url("/static/images/partners2.jpg");
  text-align: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;

}

.portfolio .section-title h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: 1px;
}

.portfolio .section-title p {
  color: #eee;
  font-size: 1.4rem;
  margin-bottom: 60px;
  font-weight: 500;
}

.portfolio-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.stat-card {
  background: linear-gradient(135deg, #fff, #e6f7f7);
  padding: 50px 30px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
}

.stat-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark-blue);
  margin-bottom: 12px;
  background: linear-gradient(20deg, #4EC5E0, #000B3B);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 1.4rem;
  color: var(--dark-blue);
  font-weight: 600;
  text-align: center;
}

.seperator {
    padding: 80px 0;
    background-color: var(--white);
}

.field-errors{
  color: red;
  font-size: 1rem;
}

.errorlist{
  list-style: none;
}


[dir="rtl"] .hero{
  text-align: right;
}

[dir="rtl"] .hero-social{
  left: 5vw !important;
}

[dir="ltr"] .hero-social{
  right: 5vw !important;
}

/* Responsive table wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto; /* Enable horizontal scrolling */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  display: block;
}

/* Optional: Remove scrollbar in some designs */
.table-responsive::-webkit-scrollbar {
  height: 6px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

/* Optional: keep table full width inside wrapper */
.table-responsive table {
  width: 100%;
  margin-bottom: 0; /* remove extra spacing */
  border-collapse: collapse;
}

.white-space-normal {
  white-space: normal;
}

.text-break {
  word-wrap: break-word!important;
  word-break: break-word!important
}

th, td {
    padding: 12px 15px;
}