/* Import Montserrat Font */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* Body Styling */
body {
    font-family: 'Nunito', Arial, sans-serif, 'Inter';
    background-color: #f4f4f4;
    color: #333;
    padding-top: 80px; 
}

.navbar-brand .logo {
    width: 140px;
    height: 70px;
    display: block;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; 
}

/* Animation on hover */
.logo:hover {
    transform: scale(1.1); /* Slight zoom effect */
    opacity: 0.9; /* Reduce opacity slightly */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo {
        width: 80px; /* Smaller on mobile screens */
    }
}

@media (max-width: 480px) {
    .logo {
        width: 60px; /* Even smaller on very small screens */
    }
}
/* Header styling */
.header {
    position: relative;
    background: url('./../assets/img/header.jpg') no-repeat center center/cover;
    height: 70vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Banner styling */
.banner {
    background: rgba(28, 27, 26, 0.636); 
    padding: 20px 40px;
    border-radius: 10px;
    display: inline-block;
    max-width: 90%;
}

.banner h1 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #f4f4f4;
}

.banner p {
    font-size: 18px;
    color: #f4f4f4;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.card {
    transition: all 0.3s ease;
}

.progress-bar {
    transition: width 1.5s ease-in-out;
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header h1, .header p, .header .btn {
    opacity: 0;
}
.join-us-section {
    overflow: hidden; /* Ensure no horizontal scroll */
}

/* Make sure image fills the column completely */
.object-fit-cover {
    object-fit: cover;
    min-height: 400px; /* Minimum height for smaller screens */
}

/* Responsive padding adjustments */
@media (max-width: 992px) {
    .join-us-section .col-lg-6 {
        padding: 3rem !important;
    }
}

@media (max-width: 768px) {
    .join-us-section .col-lg-6 {
        padding: 2rem !important;
    }
    
    .object-fit-cover {
        min-height: 300px;
    }
}
.our-focus-section {
    position: relative;
}

.object-fit-cover {
    object-fit: cover;
}

@media (max-width: 768px) {
    .our-focus-section .d-flex.flex-md-row {
        flex-direction: column !important;
    }
    
    .our-focus-section .me-md-4 {
        margin-right: 0 !important;
        margin-bottom: 1rem;
    }
}
/* Preloader full screen */
#preloader {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #f9f9f8; /* Light orange (change to match your theme) */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

/* Logo inside preloader */
#preloader-logo {
    width: 180px;
    padding: 40px; /* Adjust logo size */
    margin-bottom: 15px;
}

/* Spinner (loading animation) */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #050505; /* Red (adjust to match your branding) */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Keyframes for rotation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth fade-out when the page loads */
#preloader.hide {
    opacity: 0;
    pointer-events: none;
}
.contact-img {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.contact-img:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}
.contact-form {
    animation: fadeInUp 1s ease-in-out;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.social-icon i {
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
    color: #ffcc00; 
}
.news-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.news-img {
    height: 200px;
    object-fit: cover;
}

.btn-hover {
    transition: all 0.3s ease-in-out;
}

.btn-hover:hover {
    background-color: #ffc107;
    color: black;
}

.input-style {
    border-radius: 8px;
    border: 1px solid #ced4da;
    transition: all 0.3s ease-in-out;
}

.input-style:focus {
    border-color: #28a745;
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.3);
}
.text-muted {
    font-size: 1rem;
}

.img-fluid {
    border-radius: 12px;
}

.shadow-lg {
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

h5 {
    font-weight: bold;
}
.header2 .banner-image {
    height: 50vh;
    background-size: cover;
    background-position: center;
    position: relative;
  }

  .header2 .overlay {
    background-color: rgba(0, 0, 0, 0.6);
  }

  .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  .card img {
    height: 220px;
    object-fit: cover;
  }

  .modal-content {
    animation: fadeIn 0.5s;
  }

  #preloader {
    background: #fff;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .img-top {
        height: 220px;
        object-fit: cover;
        width: 100%;
    }