/* ===============================
   ROOT COLOR VARIABLES - BRAND COLORS
================================= */
:root {
    --primary-red: #5fc39f;
    --primary-green: #5fc39f;
    --primary-black: #1a1a1a;
    --primary-purple: #1a1a1a;
    --secondary-red: #5fc39f;
    --secondary-green: #5fc39f;
    --light-gray: #f8fafc;
    --dark-gray: #374151;
    --white: #ffffff;
    --text-light: #f8f9fa;
    --text-dark: #1a1a1a;
}

/* ===============================
   GLOBAL BASE STYLES
================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    scroll-behavior: smooth;
}

/* Remove unwanted gaps */
header, section:first-of-type, .hero, .carousel, .banner {
    margin-top: 0 !important;
    border-bottom: #16a34a solid 2px;;
    padding-top: 0 !important;
}

/* ===============================
   TOP HEADER BAR (Scrolling Text + Social Icons)
================================= */
.top-header {
    background: linear-gradient(90deg, var(--light-gray), var(--white));
    color: var(--text-dark);
    font-size: 0.9rem;
    padding: 6px 0;
    border-bottom: 1px solid #ddd;
}

.social-links .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    margin: 0 5px;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}
        
.social-links .social-icon.facebook {
    background-color: #3b5998;
}
        
.social-links .social-icon.twitter {
    background-color: #1da1f2;
}
        
.social-links .social-icon.linkedin {
    background-color: #0077b5;
}
        
.social-links .social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
        
.social-links .social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.scrolling-text {
    white-space: nowrap;
    overflow: hidden;
}

.scrolling-text span {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-text 15s linear infinite;
}

@keyframes scroll-text {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* ===============================
   NAVBAR STYLING - BRAND COLORS
=================================
.navbar {
    background-color: var(--primary-black) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 0 !important;
    padding: 0.8rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--white) !important;
}

.navbar-brand img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 50%;
}

.navbar-brand strong {
    color: var(--primary-red);
    font-weight: 700;
}

.navbar-brand small {
    color: var(--primary-green);
    font-size: 0.8rem;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin-right: 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-green) !important;
}

/* ===============================
   HERO SLIDER - 50% HEIGHT
================================= */
.hero-slider {
    position: relative;
    height: 60vh; 
    min-height: 400px; 
    overflow: hidden;
    margin-top: 76px;
}

.hero-slider .carousel-item {
    height: 60vh;
    min-height: 400px;
}

.slider-content-height {
    height: 60vh;
    min-height: 400px;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
    //background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(220, 38, 38, 0.75) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-image {
    max-height: 300px;
    width: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ===============================
   TEXT ANIMATION STYLES - FIXED
================================= */
.animated-text-container {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.animated-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    line-height: 1.2;
    margin: 0;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.typed-cursor {
    font-size: 2.5rem;
    color: var(--primary-green);
    font-weight: 300;
    margin-left: 5px;
    animation: blink 1s infinite;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Typing complete state */
.typing-complete .typed-cursor {
    animation: none;
    opacity: 1;
}

/* ===============================
   CAROUSEL CONTROLS - UPDATED FOR 50% HEIGHT
================================= */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(10, 119, 64, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
    opacity: 1;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    background: var(--primary-purple);
    transform: translateY(-50%) scale(1.1);
}

.hero-slider .carousel-indicators {
    bottom: 20px;
}

.hero-slider .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.hero-slider .carousel-indicators button.active {
    background-color: var(--primary-green);
    border-color: var(--white);
    transform: scale(1.2);
}

/* ===============================
   BRAND BUTTONS
================================= */
.btn-warning {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
    border: none;
    color: var(--white);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background: linear-gradient(135deg, var(--secondary-red), var(--primary-purple));
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(14, 213, 180, 0.3);
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
}

/* ===============================
   STATS SECTION
================================= */
.stats-section {
    background: linear-gradient(135deg, var(--primary-black), var(--primary-purple));
    color: var(--white);
    padding: 4rem 0;
}

.stat-item {
    padding: 1rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

/* ===============================
   SECTION STYLING
================================= */
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===============================
   SERVICES SECTION
================================= */
.services-section {
    background: var(--light-gray);
    padding: 5rem 0;
}

.service-card {
    background: var(--white);
    //border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-content h5 {
    color: var(--primary-black);
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--primary-purple);
}

/* ===============================
   TEAM CAROUSEL SECTION
================================= */
.team-carousel-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.team-carousel-wrapper {
    position: relative;
    padding: 0 60px;
}

.team-carousel {
    padding: 2rem 0;
}

.team-member-card {
    background: var(--white);
    //border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    margin: 1rem;
    height: 450px;
    display: flex;
    flex-direction: column;
    //justify-content: space-between;
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(33, 218, 162, 0.254);
    border-color: var(--primary-red);
}

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--primary-green);
    overflow: hidden;
    position: relative;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.default-avatar {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-red));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
}

.member-info h4 {
    color: var(--primary-black);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.member-position {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: block;
}

.member-description {
    color: var(--dark-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.learn-more-btn {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-purple));
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.learn-more-btn:hover {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-red));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(33, 218, 162, 0.254);
}

/* Team Carousel Controls */
.team-carousel .carousel-control-prev,
.team-carousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    margin: 0 -25px;
}

.team-carousel .carousel-control-next {
    margin-right: -25px;
}

.team-carousel .carousel-control-prev {
    margin-left: -25px;
}

.team-carousel .carousel-control-prev:hover,
.team-carousel .carousel-control-next:hover {
    background: var(--primary-purple);
}

.team-carousel .carousel-indicators {
    bottom: -50px;
}

.team-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-green);
    border: 2px solid transparent;
    margin: 0 5px;
}

.team-carousel .carousel-indicators button.active {
    background-color: var(--primary-red);
    border-color: var(--primary-black);
}

/* ===============================
   NEWS SECTION
================================= */
.news-section {
    padding: 5rem 0;
    background: var(--white);
}

.news-card {
    background: var(--white);
    //border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.news-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-red);
    color: var(--white);
    padding: 0.5rem 1rem;
    //border-radius: 8px;
    text-align: center;
    line-height: 1.2;
}

.news-date span {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.news-date small {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.news-content {
    padding: 2rem;
}

.news-content h5 {
    color: var(--primary-black);
    font-weight: 700;
    margin-bottom: 1rem;
}

.news-content p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--primary-purple);
}

/* ===============================
   CTA SECTION
================================= */
.cta-section {
    background: linear-gradient(135deg, var(--primary-black), var(--primary-purple));
    color: var(--white);
    padding: 4rem 0;
}

/* ===============================
   CONTACT SECTION
================================= */
.contact-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.contact-info-card {
    background: var(--white);
    //border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-details h5 {
    color: var(--primary-black);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--dark-gray);
    margin: 0;
}

.contact-form-card {
    background: var(--white);
    //border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    color: var(--primary-black);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    border: 2px solid #e9ecef;
    //border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.25);
}

/* ===============================
   RESPONSIVE DESIGN FOR 50% HEIGHT
================================= */
@media (max-width: 1200px) {
    .hero-slider {
        height: 45vh;
        min-height: 450px;
    }
    
    .hero-slider .carousel-item {
        height: 45vh;
        min-height: 450px;
    }
    
    .slider-content-height {
        height: 45vh;
        min-height: 450px;
    }
    
    .animated-text {
        font-size: 2.2rem;
    }
    
    .typed-cursor {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .hero-slider {
        height: 40vh;
        min-height: 400px;
    }
    
    .hero-slider .carousel-item {
        height: 40vh;
        min-height: 400px;
    }
    
    .slider-content-height {
        height: 40vh;
        min-height: 400px;
    }
    
    .animated-text {
        font-size: 2rem;
        min-height: 70px;
    }
    
    .typed-cursor {
        font-size: 2rem;
    }
    
    .animated-text-container {
        min-height: 80px;
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .team-carousel-wrapper {
        padding: 0 40px;
    }
    
    .team-member-card {
        height: 360px;
    }
    
    .hero-image {
        max-height: 250px;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 45vh;
        min-height: 280px;
        margin-top: 70px;
    }
    
    .hero-slider .carousel-item {
        height: 45vh;
        min-height: 280px;
    }
    
    .slider-content-height {
        height: 45vh;
        min-height: 280px;
    }
    
    .animated-text {
        font-size: 1.6rem;
        min-height: 60px;
    }
    
    .typed-cursor {
        font-size: 1.6rem;
    }
    
    .animated-text-container {
        min-height: 60px;
        margin-bottom: 0.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .team-carousel-wrapper {
        padding: 0 30px;
    }
    
    .team-member-card {
        height: 340px;
        margin: 0.5rem;
        padding: 1.5rem;
    }
    
    .member-image {
        width: 100px;
        height: 100px;
    }
    
    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        width: 40px;
        height: 40px;
        margin: 0 0.5rem;
        opacity: 1;
    }
    
    .top-header .social-icons {
        display: none;
    }
    
    .services-section,
    .team-carousel-section,
    .news-section,
    .contact-section {
        padding: 3rem 0;
    }
    
    .service-card,
    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
    }
    
    .stats-section {
        padding: 2rem 0;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        max-height: 200px;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 50vh;
        min-height: 350px;
    }
    
    .hero-slider .carousel-item {
        height: 50vh;
        min-height: 350px;
    }
    
    .slider-content-height {
        height: 50vh;
        min-height: 350px;
    }
    
    .animated-text {
        font-size: 1.3rem;
        min-height: 50px;
    }
    
    .typed-cursor {
        font-size: 1.3rem;
    }
    
    .animated-text-container {
        min-height: 50px;
        margin-bottom: 0.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .team-carousel-wrapper {
        padding: 0 20px;
    }
    
    .team-carousel .carousel-control-prev,
    .team-carousel .carousel-control-next {
        width: 40px;
        height: 40px;
        margin: 0 -15px;
    }
    
    .team-member-card {
        height: 320px;
        padding: 1.25rem;
    }
    
    .member-image {
        width: 80px;
        height: 80px;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .hero-slider .carousel-indicators {
        bottom: 10px;
    }
    
    .hero-slider .carousel-indicators button {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }
    
    .hero-image {
        max-height: 150px;
    }

}

/* ===============================
   SLIDE CONTENT ANIMATIONS
================================= */
.slide-content {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel fade transition */
.carousel-item {
    transition: transform 0.6s ease-in-out;
}

.carousel-item.active {
    animation: slideIn 0.6s ease-in-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===============================
   PRINT STYLES
================================= */
@media print {
    .hero-slider,
    .navbar,
    .footer {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* ===============================
   Contact Us Styles
================================= */
/* Contact Hero Section */
.contact-hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 100px 0 80px;
    border-bottom: 1px solid #e9ecef;
}

.hero-subtitle {
    display: block;
    color: #154734;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

/* Contact Main Section */
.contact-main-section {
    padding: 80px 0;
}

/* Contact Information Sidebar */
.contact-info-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-header h3 {
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.sidebar-header h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #FFD700;
    border-radius: 2px;
}

.contact-methods {
    margin: 30px 0;
}

.contact-method-item {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    margin-bottom: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #1a2a57;
}

.contact-method-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-left-color: #00FFAA;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1a2a57, #154734);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.method-content h5 {
    color: #1a2a57;
    margin-bottom: 8px;
    font-weight: 600;
}

.method-content p {
    color: #333;
    margin-bottom: 5px;
    font-weight: 500;
}

.method-content small {
    font-size: 0.8rem;
}

.emergency-contact-card {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    color: white;
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
}

.emergency-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.emergency-content h5 {
    margin-bottom: 8px;
    font-weight: 600;
}

.emergency-content p {
    margin-bottom: 15px;
    opacity: 0.9;
}

.emergency-content .btn {
    border-radius: 20px;
    font-weight: 600;
}

/* Contact Form */
.contact-form-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.form-header h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #AAF0D0;
    border-radius: 2px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 15px 12px 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    height: 50px;
}

.form-control:focus {
    border-color: #1a2a57;
    box-shadow: 0 0 0 0.2rem rgba(26, 42, 87, 0.1);
}

textarea.form-control {
    height: auto;
    padding-left: 50px;
    resize: vertical;
}

.form-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 1.1rem;
    z-index: 2;
}

.textarea-icon {
    top: 25px;
    transform: none;
}

.contact-preferences {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-input {
    margin-right: 8px;
}

.form-check-label {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #333;
}

.form-footer {
    margin-top: 30px;
}

.form-footer .btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 15px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

/* Office Location Section */
.office-location-section {
    padding: 80px 0;
}

.section-badge {
    display: inline-block;
    background: #D9FFEE;
    color: #333;
    padding: 8px 25px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a2a57;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.office-map-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.map-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #D9FFEE 0%, #017136 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.map-content h4 {
    margin-bottom: 10px;
    font-weight: 600;
}

.office-details-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.office-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #D9FFEE;
}

.office-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.office-info-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 5px;
    flex-shrink: 0;
}

.office-info-item strong {
    color: #1a2a57;
    display: block;
    margin-bottom: 5px;
}

.office-info-item p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* FAQ Section */
.contact-faq-section {
    padding: 80px 0;
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 15px !important;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.accordion-button {
    background: white;
    color: #1a2a57;
    font-weight: 600;
    padding: 20px 25px;
    border: none;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background: #1a2a57;
    color: white;
    box-shadow: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a2a57'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 25px;
    background: #f8f9fa;
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.contact-cta-section {
    background: linear-gradient(135deg, #1a2a57 0%, #2c3e6e 100%);
    padding: 80px 0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact-info-sidebar {
        position: static;
        margin-bottom: 40px;
    }

    .contact-form-card {
        padding: 30px;
    }

    .contact-method-item {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .contact-hero-section {
        padding: 80px 0 60px;
    }

    .contact-main-section {
        padding: 60px 0;
    }

    .contact-preferences {
        flex-direction: column;
        gap: 10px;
    }

    .emergency-contact-card {
        flex-direction: column;
        text-align: center;
    }

    .emergency-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .office-info-item {
        flex-direction: column;
        text-align: center;
    }

    .office-info-item i {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .contact-form-card {
        padding: 25px 20px;
    }

    .form-header h3 {
        font-size: 1.5rem;
    }

    .contact-cta-section .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }

    .contact-cta-section .btn:last-child {
        margin-bottom: 0;
    }
}

/* ===============================
   HEADER & NAVIGATION STYLES
================================= */

/* 🔸 Top Bar - FIXED */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999; /* Higher z-index */
    background: linear-gradient(135deg, #1a237e, #283593);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid #017136;
}

.marquee-text {
    color: #ffffff;
    font-weight: 600;
    padding: 0 10px;
}

.marquee-text strong {
    color: #017136;
}

/* 🔸 Main Navbar with Background Image - ADJUSTED */
.main-navbar {
    position: fixed;
    top: 30px; /* Immediately below top-bar */
    left: 0;
    right: 0;
    z-index: 9998; /* Lower than top-bar */
    min-height: 110px;
    padding: 0.6rem 0;
    background: url('../assets/images/ffb-header-img.jpg') no-repeat center center;
    background-size: cover; /* Changed to cover for better responsiveness */
    background-attachment: scroll;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.navbar-brand {
    color: #fff !important;
    font-weight: 700;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 🔸 Logo Styling */
.navbar-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #fff;
    padding: 10px;
    box-shadow: 0 0 20px rgba(3, 95, 49, 0.863);
    object-fit: contain;
    border: 3px solid #E3FFF5;
    transition: all 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(3, 95, 49, 0.863);
}

.brand-text {
    display: flex;
    flex-direction: column;
    margin-left: 20px;
    line-height: 1.2;
}

.brand-main {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    margin: 0;
}

.brand-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: #E3FFF5;
    letter-spacing: 1px;
    margin: 0;
}

.main-navbar .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin-left: 10px;
    transition: color 0.3s ease;
    font-size: 1.05rem;
}

.main-navbar .nav-link:hover {
    color: #07ff51 !important;
}

/* Body padding to account for fixed headers */
body {
    padding-top: 140px; /* Adjusted for both top-bar and navbar */
}

/* Social Links Styling for Header */
.main-navbar .social-links {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.main-navbar .social-icon {
    color: #fff;
    margin: 0 8px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.main-navbar .social-icon:hover {
    color: #ffc107;
    transform: translateY(-2px);
}

/* 🔸 Responsive Adjustments for Header */
@media (max-width: 991px) {
    .navbar-logo {
        width: 90px;
        height: 90px;
    }
    .brand-main {
        font-size: 1.4rem;
    }
    .brand-subtitle {
        font-size: 0.85rem;
    }
    .main-navbar {
        min-height: 95px;
    }
    body {
        padding-top: 125px; /* Adjusted for mobile */
    }
    .main-navbar .social-links {
        margin-left: 15px;
    }
    .main-navbar .social-icon {
        margin: 0 6px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .main-navbar {
        top: 30px;
    }
    body {
        padding-top: 125px;
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        width: 70px;
        height: 70px;
    }
    .brand-main {
        font-size: 1.1rem;
    }
    .brand-subtitle {
        font-size: 0.75rem;
    }
    body {
        padding-top: 115px; /* Adjusted for small mobile */
    }
    .top-bar {
        height: 25px;
        font-size: 0.8rem;
    }
    .main-navbar {
        top: 25px; /* Adjusted for smaller top-bar */
        min-height: 85px;
    }
    .main-navbar .social-links {
        margin-left: 10px;
    }
    .main-navbar .social-icon {
        margin: 0 4px;
        font-size: 0.9rem;
    }
}

/* ===============================
   SLIDER IMAGE FIXES
================================= */

/* Fix for slider images not stretching */
.hero-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This ensures images cover the entire area */
}

/* If you're using background images in slider, use this */
.slide-background {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Ensure carousel items take full height */
.hero-slider .carousel-item {
    height: 60vh;
    min-height: 400px;
}

.hero-slider .carousel-item.active {
    height: 60vh;
    min-height: 400px;
}

/* Remove any conflicting styles from existing CSS */
.hero-slider {
    position: relative;
    height: 60vh; 
    min-height: 400px; 
    overflow: hidden;
    margin-top: 0 !important; /* Remove the margin-top that was pushing it down */
}

/* Remove the old top-header styles that might conflict */
.top-header {
    display: none !important; /* Hide the old top header if it exists */
}