body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    padding: 20px;
}

header {
    background: #003366;
    color: #fff;
    padding: 20px 0;
}

header h1 {
    margin: 0;
}

nav a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
}

section {
    padding: 40px 0;    
    background-color: #fff !important;
}

section h2 {
    color: #003366;
}

footer {
    text-align: center;
    background: #003366;
    color: white;
    padding: 20px 0;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    box-sizing: border-box;
    color: white;
}

form button {
    padding: 10px 20px;
    background: #003366;
    color: white;
    border: none;
    cursor: pointer;
}

.logo-img {
    height: 50px;
}

.navbar-custom {
    background-color: #fff; /* Light background */
}

.nav-link {
    font-weight: 600;
    color: #115B84 !important;
}

.contact-btn {
    color: #115B84;
    border-color: #115B84;
}

.contact-btn:hover {
    background-color: #115B84;
    color: #fefdf9;
}

#hero {
    position: relative;
    height: 100vh;
    padding: 0;
    margin: 0;
    overflow: hidden;
    /* margin-bottom: -150px; */
    margin-bottom: -50px;
    border-bottom: none;
}

#hero img {
    height: 100vh;
    width: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    object-position: 0% 100%;
}

.hero-content {
    z-index: 2;
}

.custom-shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 250px; /* Adjust if needed */
    overflow: hidden; 
    pointer-events: none;
}

.custom-shape-divider svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}


#services h5 {
    font-weight: bold;
    color: #2C4C71;
}

#services p {
    font-size: 0.95rem;
}

.about-title {
    color: #2C4C71;
    font-weight: bold;
    text-align: left;
}
  
.about-icon {
    height: 100px;
}
  
.about-number {
    background-color: #2C4C71;
    color: white;
    font-size: 2.25rem;
    font-weight: bold;
    padding: 10px 48px; /* Increased horizontal padding (length), reduced vertical */
    border-radius: 6px;
}  
  
.about-label {
    color: #2C4C71;
    font-size: 1.1rem;
}

.section-divider {
    border: none;
    height: 2px;
    background-color: #2C4C71 !important; 
    width: 80%;
    margin: 0 auto;
}

.text-title {
    color: #2C4C71;
    font-weight: bold;
    font-size: 2rem;
  }
  
.why-us-section {
    background-color: #f8f9fa; /* same as bg-light */
}

.reduced-image {
    width: 80%; 
    max-height: 60%;
    object-fit: cover;
    display: block;
    margin-left: 0; 
    margin-right: auto;
    border-radius: 12px;
}
  
.why-us-list li {
    font-size: 2.2rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #2C4C71;
    display: flex;
    align-items: center;
}
  
.diamond-icon {
    color: #2C4C71;
    font-size: 2.2rem;
    margin-right: 15px;
    line-height: 1.8;
}

.testimonials {
    background-color: #ffffff;
}

.testimonial {
    background-color: transparent;
    border-left: 3px solid #2C4C71;
    height: 100%;
}

.testimonial p {
    font-size: 1rem;
    line-height: 1.6;
    color: #2C4C71;
}

.contact-section {
    background-image: url("images/contact_image.avif");
    background-size: cover; /* or 'cover' if you want full background */
    background-repeat: no-repeat;
    background-position: center;
    min-height: 50vh; /* Half of viewport height */
    padding: 4rem 1rem;
  }
  
.contact-box {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}
  
.icon-star {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.partners-section {
    background-color: #fff;
    padding: 4rem 1rem;
  }
  
.partner-logo {
    width: 100%;
    max-height: 100px;
    object-fit: contain;
    transition: transform 0.3s ease;
}
  
.partner-logo:hover {
    transform: scale(1.05);
}  

html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    .why-us-list li {
        font-size: 1.2rem;
    }

    .diamond-icon {
        font-size: 1.2rem;
        margin-right: 10px;
    }

    .reduced-image {
        width: 100%;
        max-height: none;
    }

    .testimonial-spacing {
        margin-left: 20px;
        margin-right: 20px;
    }
}


/*FOOTER*/
.footer {
    background-color: #003366;
    color: white;
    padding: 40px 0 20px;
}
  
.footer-container-fluid {
    width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
}
  
.footer-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
  
.footer-form,
.footer-info {
    flex: 1;
    min-width: 0; /* Prevent flex shrinking */
}
  
.footer-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
  
.form-row {
    display: flex;
    gap: 20px;
}

.footer-form input::placeholder,
.footer-form textarea::placeholder {
  color: white;
  opacity: 1; /* Ensures it's fully visible */
}
  
input[type="text"],
input[type="email"] {
    flex: 1;
    border: none;
    border-bottom: 1px solid white;
    background: transparent;
    color: white;
    padding: 10px;
    font-size: 16px;
}
  
.full-input {
    width: 100%;
}
  
button {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid white;
    color: white;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}
  
.footer-info {
    text-align: center;
}
  
.footer-info p,
.footer-info a {
    margin: 10px 0;
    color: white;
    text-decoration: none;
}
  
.footer-info a:hover {
    text-decoration: underline;
}
  
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
}
  
.footer-bottom a {
    color: white;
    text-decoration: underline;
}
  
  /* Responsive Fix */
@media (max-width: 900px) {
    .footer-grid {
      flex-direction: column;
    }
  
    .form-row {
      flex-direction: column;
    }
}

.footer-form button {
    padding: 12px 24px;
    background-color: #003366;
    border: 2px solid white;
    color: white;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}
  
.footer-form button:hover {
    background-color: white;
    color: #2C4C71;
    border: 2px solid #003366;
}

input[type="text"]:focus,
input[type="email"]:focus {
  outline: none;
  box-shadow: none;
  border-bottom: 1px solid white;
}

.footer-cta {
    text-align: center;
    margin-bottom: 30px;
}
  
.footer-cta h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: white;
}
  
.footer-cta p {
    font-size: 18px;
    color: #e0e0e0;
}
  
.footer-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    color: white;
    font-size: 16px;
}
  
.footer-benefits li {
    margin-bottom: 6px;
}
  
.footer-info i {
    margin-right: 10px;
}
  
.footer-social {
    margin-top: 20px;
    text-align: center;
}
  
.footer-social a {
    margin-right: 15px;
    font-size: 20px;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}
 
.footer-social a:hover {
    color: #ccc;
}

.hero-wrapper {
    position: relative;
}

.hero-img {
    height: 400px;
    object-fit: cover;
}

.history-card {
    position: absolute;
    bottom: -80px; /* Default overlap for larger screens */
    left: 50%;
    transform: translateX(-50%);
    max-width: 1000px;
    z-index: 2;
    box-shadow: none !important;
}

/* Adjust the bottom position for smaller screens */
@media (max-width: 768px) {
    .history-card {
        bottom: 40px; /* Push the card down on medium screens */
    }
}

/* Further adjustment for even smaller screens if needed */
@media (max-width: 576px) {
    .history-card {
        bottom: -350px; /* Push the card down further on very small screens */
    }
}

@media (max-width: 576px) {
    .history {
        margin-top: 300px; /* Push the card down further on very small screens */

    }
}

/* .history-section .container.py-5 {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
}

.history-section .row.align-items-center.my-5 {
    margin-top: 4.5rem !important;
    margin-bottom: 4.5rem !important;
} */

.history .row img {
    width: 100%;               /* always fill its column */
    aspect-ratio: 4 / 3;       /* lock to a 4:3 ratio */
    object-fit: cover;         /* crop-center to fill */
    border-radius: 12px;       /* match your rounded corners */
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
}

.history-section h2,
.history-section h4,
.history-section h5,
.history-section p {
  color: #003366;
}

.history-section .no-crop {
    /* let the browser size it naturally */
    box-shadow: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    width: auto;     /* or keep width:100% if you want it full-width of column */
    height: auto;
}

.history-section p,
.history-section h2,
.history-section h4,
.history-section h5 {
  line-height: 2 !important;
}