:root {
    --primary-color: #074b72;
    --primary-color-hover: #053a59;
    --background-color: #ffffff;
    --text-color: #074b72;
    --light-border: #ccc;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
}

header h1{
    color: white;
    padding: 1rem;
    font-size: 3rem;
    text-align: center;
}
.hero {
    margin: 0px 30px;
    position: relative;
    min-height: 90vh;
    border-radius: 25px;
    padding: 30px;
    overflow: hidden;
    
    /* Fallback background image if video fails to load or isn't supported */
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
                url('/static/images/bg.png') no-repeat center center;
    background-size: cover;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 2;
}

.hero > *:not(.bg-video) {
    position: relative;
    z-index: 3;
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    background: var(--background-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    
}

.heroh1 {
    color: var(--text-color);
    text-align: center;
}

.hero form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero label {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.hero input,
textarea,
select {
    padding: 0.8rem;
    border: 1px solid var(--light-border);
    border-radius: 4px;
    font-size: 1rem;
    color: var(--text-color);
}

.hero button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero button:hover {
    background-color: var(--primary-color-hover);
}



/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    padding-top: 100px;
}

.modal-content {
    background-color: var(--background-color);
    margin: auto;
    padding: 20px;
    border-radius: 8px;
    width: 60%;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.modal-content h2 {
    color: var(--text-color);
    font-size: 24px;
    margin-bottom: 10px;
}

.modal-content p {
    color: #555;
    font-size: 16px;
    margin-bottom: 20px;
}

.btn-login {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-login:hover {
    background-color: var(--primary-color-hover);
}

.close-btn {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


/*newsletter*/
.newsletter-section {
background-image: url('/static/images/news.png');
background-size: cover;
background-position: center;
height: 50vh; /* Full height */
position: relative;
margin-top: 0;
}

.newsletter-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
padding: 0 10%;
}

.newsletter-content {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
max-width: 1100px;
flex-wrap: wrap;
text-align: left;
}

.newsletter-content h2 {
color: white;
font-size: 3em;
font-weight: bold;
flex: 1;
margin-right: 20px;
}


.newsletter-wrapper
 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 500px;
}
@media (max-width: 580px) {
.newsletter-wrapper{
min-width:0;

}
}
.newsletter-form {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 50px;
  padding: 5px 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex: 1;
}

.newsletter-form input {
  border: none;
  outline: none;
  padding: 15px 20px;
  font-size: 1em;
  border-radius: 50px;
  flex: 1;
}

.newsletter-form button {
  background-color: #074b72;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 15px 30px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #0056b3;
}

.newsletter-agreement {
  color: white;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}
.newsletter-agreement a{
  color: white;
}


/* Responsive Design */
@media (max-width: 768px) {
  .newsletter-content {
      flex-direction: column;
      text-align: center;
  }

  .newsletter-content h2 {
      margin-bottom: 20px;
      text-align: center;
  }

  .newsletter-form {
      max-width: 100%;
  }
}
/*newsletter*/

.trust-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.trust-container {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 30px;
}

.trust-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-8px);
}

.trust-card img {
    height: 60px;
    margin-bottom: 20px;
}

.trust-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.trust-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .trust-container {
        flex-direction: column;
        align-items: center;
    }
}

.purpose-section {
background-color: #dceffd;
padding: 60px 40px;
margin-top: 40px;
}

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

.purpose-title {
text-align: center;
font-size: 2.5em;
margin-bottom: 40px;
}

.purpose-title span {
color: #074b72;
}

.cards-container {
display: flex;
gap: 30px;
justify-content: center;
}

.card {
background: white;
padding: 30px;
border-radius: 15px;
flex: 1;
max-width: 500px;
text-align: center;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-icon {
width: 60px;
height: 60px;
background-color: #f0f6ff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 20px;
}

.card-icon i {
font-size: 20px;
color: #074b72;
}

.card-title {
color: #074b72;
font-size: 1.5em;
margin-bottom: 20px;
}

.card-text {
line-height: 1.6;
color: #333;
}

.feature-highlight-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 10%;
}

.feature {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1000px;
    width: 100%;
}

.feature.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    min-width: 280px;
}

.feature-text h2 {
    font-size: 2rem;
    color: #074b72;
    margin-bottom: 1rem;
}

.feature-text p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
}

.feature-image {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.feature-image img {
    width: 100%;
    max-width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    will-change: transform;
}

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

.promo-header {
    padding: 20px;
    text-align: center;
}

.promo-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    justify-content: center;
}

.promo-header p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .feature {
        flex-direction: column !important;
        text-align: center;
    }

    .feature-text h2 {
        font-size: 1.6rem;
    }

    .feature-text p {
        font-size: 1rem;
    }

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

    .promo-header h2 {
        font-size: 2rem;
    }

    .promo-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {

.cards-container {
    flex-direction: column;

}
    .feature-text h2 {
        font-size: 1.4rem;
    }

    .feature-text p {
        font-size: 0.95rem;
    }

    .promo-header h2 {
        font-size: 1.8rem;
    }

    .promo-header p {
        font-size: 0.95rem;
    }
}
 