/* Base Styles and Variables */
@import "tailwindcss";

:root {
    --primary-color: #e48489; /* Soft red/pink */
    --secondary-color: #000435; /* Deep navy blue */
    --accent-color: #5a70c4; /* Medium blue accent color */
    --light-accent: #dbe1f4; /* Light blue accent */
    --soft-pink: #f4c2c2; /* Soft pink */
    --neutral-gray: #b0b8c5; /* Neutral gray-blue */
    --light-color: #ffffff;
    --dark-color: #333333;
    --gray-color: #f4f4f4;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Lato', sans-serif;
}

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

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-family: var(--font-primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Section Header with Icon */
.header-with-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.section-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.header-with-icon h2 {
    margin-bottom: 0;
}

/* Top Contact Bar */
.top-contact-bar {
    background-color: var(--primary-color);
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.top-contact-bar.hidden {
    transform: translateY(-100%);
}

.top-contact-bar .container {
    display: flex;
    justify-content: flex-start;
}

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

.contact-info a {
    color: var(--light-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-info a:hover {
    color: var(--secondary-color);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px; /* Desktop height */
    background-color: var(--light-color);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Logo and Tagline Styling */
.logo {
    margin-left: -15px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
}

.logo img {
    height: 70px;
    width: auto;
    position: relative;
    margin-bottom: 8px;
}

.tagline {
    font-family: var(--font-secondary);
    font-size: 12px;
    color: var(--secondary-color);
    font-style: italic;
    margin-top: -3px;
    margin-left: 4px;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.nav-links ul {
    display: flex;
    list-style: none;
}

.nav-links ul li {
    margin-left: 20px;
}

.nav-links ul li a {
    color: rgba(102, 102, 102);
    font-family: var(--font-primary);
    font-weight: 600; /* Made slightly bolder for better visibility */
    position: relative;
    font-size: 1.2rem;
    padding: 10px;
}

.nav-links ul li a:hover {
    color: var(--secondary-color);
}

.nav-links ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    color: var(--secondary-color);
}

.nav-links ul li a:hover::after,
.nav-links ul li a.active::after {
    width: 100%;
    color: var(--secondary-color);
    
}

/* Hamburger Menu - Complete Fix */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1002;
    width: 30px;
    height: 22px;
    position: relative;
    background: transparent;
    border: none;
    outline: none;
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
        margin-right: 10px;
    }
    
    .hamburger .bar {
        display: block;
        width: 30px;
        height: 3px;
        background-color: var(--secondary-color);
        margin: 6px 0;
        transition: 0.4s;
    }
    
    /* Active state for hamburger */
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Navigation styles for mobile */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--secondary-color);
        transition: 0.4s ease-in-out;
        z-index: 1001;
        padding: 80px 20px 20px;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }

    .tagline {
        font-size: 10px;
        margin-top: -3px;
    }
    
    .navbar {
        height: 110px; /* Adjust this value to change mobile navbar height */
    }
    
    .logo img {
        height: 60px; /* You may want to adjust logo size proportionally */
        margin-right: 20px;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 4, 53, 0.8), rgba(0, 4, 53, 0.8)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light-color);
    margin-top: 56px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 800px; /* Or any specific height you prefer */
    overflow: hidden;
    margin-top: 40px;
}

.carousel-container {
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out; /* Smoother fade transition */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Add overlay */
.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity here (0.3 = 30% opacity) */
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide:nth-child(1) {
    background-image: url('../images/hero3.jpeg');
}

.carousel-slide:nth-child(2) {
    background-image: url('../images/hero1.jpg');
}

.carousel-slide:nth-child(3) {
    background-image: url('../images/hero2.jpg');
}

/* Ensure content stays above overlay */
.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--light-color);
    padding: 0 20px;
    max-width: 800px;
}

/* Text animations */
@keyframes slideFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--light-color);
    opacity: 0;
    animation: slideFromLeft 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0;
    animation: slideFromRight 0.8s ease-out forwards;
    animation-delay: 0.5s;
}

/* Reset animations when slide changes */
.carousel-slide:not(.active) .slide-content h1,
.carousel-slide:not(.active) .slide-content p {
    animation: none;
    opacity: 0;
}

/* Restart animations when slide becomes active */
.carousel-slide.active .slide-content h1 {
    animation-name: slideFromLeft;
}

.carousel-slide.active .slide-content p {
    animation-name: slideFromRight;
}

/* Hero Carousel Navigation */
.carousel-navigation {
    position: absolute;
    width: 200px; /* Reduced width to keep arrows closer together */
    bottom: 30px; /* Position at bottom instead of middle */
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 2;
}

.prev-btn, .next-btn {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Show arrows on hover */
.hero-carousel:hover .carousel-navigation {
    opacity: 1; /* Show arrows when hovering over the carousel */
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
}

/* Clientele Section */
.clientele {
    padding: 50px 0; /* Keep padding for spacing */
    background-color: var(--neutral-gray); /* Light gray background */
    color: var(--dark-color);
    margin-top: 40px; /* Space above the section */
    min-height: 400px; /* Set a minimum height */
    text-align: center; /* Center text */
}

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

.section-header h2 {
    color: var(--secondary-color); /* Heading color */
    font-size: 2.5rem; /* Adjust heading size */
}

.clientele-logos {
    display: flex;
    flex-wrap: wrap; /* Allow logos to wrap */
    justify-content: center; /* Center logos */
    gap: 20px; /* Space between logos */
}

.client-logo {
    max-width: 150px; /* Set a max width for logos */
    height: auto; /* Maintain aspect ratio */
    transition: transform 0.3s ease; /* Add hover effect */
}

.client-logo:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--gray-color);
}

.testimonial {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-content {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.testimonial-author h4 {
    margin-bottom: 5px;
}

.testimonial-author p {
    color: #666;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background-color: var(--light-color);
    color: var(--light-color);
    text-align: center;
    margin-top: -80px;
}

.cta h2 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(102, 102, 102);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 70px 0 0;
    position: relative;
}

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

.footer-logo h2 {
    color: var(--light-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

.footer-links h3, 
.footer-contact h3 {
    color: var(--light-color);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-links h3::after, 
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact p i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid var(--neutral-gray);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-logo {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-logo h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h3::after, 
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

/* Back to Top Button - Improved for Mobile */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }
}

/* Mission & Vision Cards Section */
.mission-vision-cards {
    position: relative;
    background-color: var(--light-color);
    padding: 80px 0;
    color: var(--light-color);
    margin-top: -100px; /* Reduce negative margin */
    z-index: 1; /* Lower z-index than about section */
}

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

.vision-card, .mission-card {
    background-color: var(--light-color);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    width: 100%;
    max-width: 500px;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    border-left: 5px solid var(--accent-color);
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-header .icon-box {
    background-color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.card-header .icon-box i {
    font-size: 24px;
    color: var(--light-color);
}

.card-header h2 {
    color: var(--secondary-color);
    margin: 0;
    font-size: 1.8rem;
}

.card-body {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-color);
}

/* Responsive adjustments for mission-vision cards */
@media (max-width: 768px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
    }
    
    .vision-card, .mission-card {
        max-width: 100%;
    }
}

/* About Section */
.about-section {
    position: relative;
    padding: 50px 0;
    margin-bottom: 50px;
    height: auto;
}

.about-content {
    display: flex;
    align-items: center;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    margin-bottom: 100px;
    margin-right: 100px;
}

.about-image {
    flex: 0 0 60%;
    position: relative;
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.about-text {
    flex: 0 0 70%;
    padding: 40px;
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    margin-left: -60px; /* This creates the overlap effect */
    position: relative;
    z-index: 2;
    top: 100px;
    width: 100%;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    position: relative;
}

.about-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin-top: 15px;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark-color);
    margin-bottom: 25px;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: bold;
    margin-top: 20px;
}

.learn-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

/* Services Overview */
.services-overview {
    padding: 100px 0;
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(228, 132, 137, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-icon i {
    font-size: 36px;
    color: var(--accent-color);
}

.service-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.service-content p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Floating Contact Icons */
.floating-contacts {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    background-color: var(--secondary-color);
    padding: 15px;
    box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.1);
    z-index: 1002;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.floating-contacts .icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.floating-contacts .icon-wrapper:last-child {
    border-bottom: none;
}

/* Styling the icons */
.floating-contacts a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: var(--light-color);
    transition: all 0.3s ease;
}

/* Increase the icon size within the container */
.floating-contacts a i {
    font-size: 18px;
}

/* Tooltip Styling */
.floating-contacts .contact-info {
    position: absolute;
    right: 50px;
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 8px 12px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 14px;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Tooltip Arrow */
.floating-contacts .contact-info::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--secondary-color);
}

/* Show info ONLY on hover */
.floating-contacts .icon-wrapper:hover .contact-info {
    visibility: visible;
    opacity: 1;
    right: 60px;
}

/* Hover effect for icons */
.floating-contacts a:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .floating-contacts {
        display: none;
    }
}

/* Adjusted approach section for better fit */
.approach {
    padding: 50px 0; /* Reduce padding */
}

.approach .section-header h2 {
    font-size: 22px; /* Decrease heading size */
}

/* Grid layout for approach section */
.approach-cards {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* Two equal columns + center vertical line */
    align-items: center;
    gap: 40px; /* Adjust spacing between elements */
    margin-top: -20px;
    margin-bottom: 30px;
}

/* Style for each approach card */
.approach-card {
    padding: 20px; /* Ensure there's padding inside the card */
    border-radius: 10px;
    text-align: center;
    width: 80%; /* Adjust width for mobile */
    max-width: 500px; /* Set a maximum width */
    position: relative;
    z-index: 2;
    background: var(--light-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: auto; /* Allow height to adjust based on content */
    overflow: hidden; /* Prevent overflow */
    font-size: 22px;
}

.approach-card p {
    font-size: 20px !important;
}

.approach-card:hover {
    transform: scale(1.03); /* Subtle hover effect */
}

/* Style for the vertical line */
.line {
    width: 1.5px;
    height: 100%; /* Full height */
    background-color: #000435; /* Navy blue from your color palette */
    justify-self: center; /* Keep the line in the middle */
    margin-left: 0;
    margin-right: 0;
}

/* Positioning left and right cards */
.left {
    justify-self: end; /* Aligns to the right */
    margin-right: 50px; /* Additional space from the line */
    margin-bottom: -30px;
}

.right {
    justify-self: start; /* Aligns to the left */
    margin-left: 50px; /* Additional space from the line */
}

/* Adjust icon size */
.card-icon {
    font-size: 24px;
    margin-bottom: 10px;
    color: #e48489; /* Adjust based on your theme */
}

/* Services Section */
.services-section {
    padding: 0;
}

.services-hero {
    position: relative;
    width: 100%;
    min-height: 400px;
}

.services-bg {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.services-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 4, 53, 0.6), rgba(0, 4, 53, 0.3));
    z-index: 2;
}

.services-section .container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
}

.services-section h2 {
    margin: 0;
    font-size: 2.5rem;
    color: var(--light-color);
}

.services-section p {
    margin: 20px 0;
    font-size: 1.2rem;
    color: var(--light-color);
}

/* Services Cards */
.services-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    width: 80%;
    margin: 20px auto;
}

.service-card {
    background: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    flex: 1 1 calc(25% - 30px);
    position: relative;
    border-bottom: 4px solid var(--secondary-color);
    margin-top: 50px;
    margin-bottom: 50px;
}

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

.service-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.service-card p {
    color: var(--dark-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.service-card i {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* View All Services button styles */
.text-center {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 60px;
}

.text-center button {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-center button:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .services-cards {
        flex-direction: column;
    }
}

/* About Section Responsive Styles */
@media screen and (max-width: 768px) {
    .about-content {
        flex-direction: column;
        margin: 20px;
        gap: 20px;
        margin-right: 0;
    }

    .about-image {
        flex: 1;
        width: 100%;
        margin-right: 0;
    }

    .about-text {
        flex: 1;
        margin-left: 0;
        padding: 20px;
        top: 0;
        width: 100%;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }

    .about-text h2 {
        font-size: 2rem;
        text-align: center;
    }

    .about-text h2::after {
        margin: 15px auto; /* Center the underline */
    }

    .about-text p {
        font-size: 1rem;
        text-align: center;
    }

    .learn-more {
        display: flex;
        justify-content: center;
    }
}

/* Additional adjustments for very small screens */
@media screen and (max-width: 480px) {
    .about-content {
        margin: 10px;
    }

    .about-text {
        padding: 15px;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }
}

/* Training Areas Section - Simple List Style */
.training-areas {
    padding: 50px 0;
    background-color: var(--light-color);
}

.training-list {
    max-width: 1000px;
    margin: 30px auto;
}

.training-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 1px solid #eee; /* Light separator line */
    transition: transform 0.3s ease;
}

.training-item:hover {
    transform: translateY(-3px);
}

.training-icon {
    flex: 0 0 60px;
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-right: 20px;
}

.training-details {
    flex: 1;
}

.training-details h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.training-details p {
    color: var(--dark-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive styles for training areas */
@media screen and (max-width: 768px) {
    .training-item {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 20px;
    }
    
    .training-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Contact Section */
.contact-section {
    position: relative;
    padding: 80px 0;
    min-height: calc(100vh - 80px);
    background: linear-gradient(45deg, #000435, #e48489);
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 0; /* Remove the gap to enable overlap */
    align-items: flex-start;
    position: relative;
    margin-left: 500px;
}

/* Contact Cards Styling - REVERSED COLORS */
.contact-card {
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3) !important;
}

/* Info card - White on blue side */
.info-card {
    flex: 0 0 60%;
    background-color: var(--light-color);
    color: var(--secondary-color);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.25) !important;
    position: relative;
    z-index: 1;
    margin-right: 100px;
    padding-left: 300px; /* Add left padding to push content to the right */
    margin-left: -80px;
}

/* Form card - Blue on white side */
.form-card {
    flex: 0 0 50%;
    background-color: var(--secondary-color);
    color: var(--light-color);
    box-shadow: none !important; /* Remove box shadow */
    position: relative;
    z-index: 2;
    margin-left: -10%;
    margin-right: -150px;
    top: 30px;
    border-radius: 10px; /* Remove border radius */
    padding: 40px 50px; /* Adjust padding */
}

.form-card h2 {
    color: var(--light-color);
}

.info-card h2 {
    color: var(--secondary-color);
}

/* Form Styling - Updated with border-bottom focus */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0; /* Remove horizontal padding */
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--light-color);
    border-radius: 10px;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: none; /* Remove box shadow */
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group textarea {
    height: 100px;
    resize: none; /* Prevent textarea resizing */
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom: 2px solid var(--primary-color);
    outline: none;
    background-color: transparent;
}

/* Add focus highlight line animation */
.form-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.form-group:focus-within::after {
    width: 100%;
}

/* Submit button styling */
.form-card .btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 0;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.form-card .btn-primary:hover {
    background-color: var(--light-color);
    color: var(--secondary-color);
}

/* Contact Info Styling - Updated for the color switch */
.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0, 4, 53, 0.1);
    padding-bottom: 15px;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 20px;
    width: 40px;
}

.info-details h3 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-details p {
    color: var(--dark-color);
    font-size: 1rem;
}

/* Update link colors in the info card */
.info-card a {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: var(--primary-color);
}

/* Card Headers */
.contact-card h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.contact-card h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-content {
        flex-direction: column;
    }

    .contact-card {
        width: 100%;
    }
    
    .info-card {
        padding-left: 40px; /* Less padding on smaller screens */
    }
    
    .contact-info-items {
        padding-left: 20px; /* Less padding on smaller screens */
    }
}

@media (max-width: 768px) {
    .contact-section {
        background: var(--light-color);
        padding: 40px 0;
    }

    .contact-card {
        padding: 30px;
    }

    .contact-card h2 {
        font-size: 1.8rem;
    }
}

/* Page Header - Centered Text with Reduced Height */
.page-header {
    margin-top: 80px; /* Combined height of navbar and contact bar */
    padding: 0; /* Remove padding since we have fixed height */
    text-align: center; /* Center all text */
    background-color: var(--gray-color);
    position: relative;
    overflow: hidden;
    height: 200px; /* Fixed height as you specified */
    display: flex; /* Use flexbox for vertical centering */
    align-items: center; /* Center content vertically */
}

.page-header .container {
    width: 100%;
    z-index: 2; /* Ensure container is above the background image */
}

.page-header h1 {
    font-size: 2.5rem; /* Slightly smaller for the reduced header */
    margin-bottom: 10px;
    position: relative;
}

.page-header p {
    font-size: 1.1rem; /* Slightly smaller for the reduced header */
    max-width: 800px;
    margin: 0 auto; /* Center the paragraph */
    color: #555;
    position: relative;
}

/* Page Header with Background Image */
.page-header.with-bg-image {
    background-color: transparent;
    color: var(--light-color);
    padding: 0; /* Remove padding since we have fixed height */
}

/* Gradient overlay */
.page-header.with-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 4, 53, 0.5), rgba(0, 4, 53, 0.2));
    z-index: 1;
}

.page-header.with-bg-image h1,
.page-header.with-bg-image p {
    color: var(--light-color);
}

.page-header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Use 100% to fill the container */
    object-fit: cover;
    z-index: 0;
}

/* Responsive adjustments for the header */
@media (max-width: 768px) {
    .page-header {
        margin-top: 70px; /* Match the height of the mobile navbar */
        height: 180px; /* Slightly smaller on mobile */
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 0.9rem;
        max-width: 90%;
    }
}

/* Other sections can have similar adjustments */
.main-content {
    margin-top: 120px; /* Add this class to main content sections that don't have page-header */
}

/* Adjust the JavaScript to handle scroll behavior */
.top-contact-bar.scrolled {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

/* Mobile Navigation Styles */
@media screen and (max-width: 768px) {
    .top-contact-bar {
        display: none; /* Hide contact bar on mobile */
    }

    .navbar {
        top: 0; /* Adjust navbar position since contact bar is hidden */
        height: 130px; /* Adjusted for mobile */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--light-color);
        padding: 50px 20px;
        transition: 0.5s ease;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links ul {
        flex-direction: column;
        margin-top: 30px;
    }

    .nav-links ul li {
        margin: 15px 0;
    }
    .nav-links ul li a {
        color: var(--secondary-color);
    }
    /* Add styles for mobile social links */
    .mobile-social-links {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-social-links h3 {
        display: none; /* Hide the heading */
    }

    .mobile-social-links .social-icons {
        display: flex;
        gap: 15px;
    }

    .mobile-social-links a {
        color: var(--secondary-color);
        font-size: 1.5rem; /* Increase icon size for better visibility */
        transition: color 0.3s ease;
    }

    

    /* Mobile contact info styles */
    .mobile-contact-info {
        margin-top: 20px;
        display: flex;
        flex-direction: row; /* Align icons in a row */
        gap: 15px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-contact-info a {
        color: var(--light-color);
        font-size: 1.5rem; /* Increase icon size for better visibility */
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 5px 0;
    }

    .mobile-contact-info a i {
        width: 20px;
    }

    .mobile-contact-info a:hover {
        color: var(--primary-color);
    }

    /* Show hamburger menu */
    .hamburger {
        display: block;
    }
}

/* Hide mobile elements on larger screens */
@media screen and (min-width: 769px) {
    .mobile-social-links,
    .mobile-contact-info {
        display: none;
    }
}

/* Mobile Navigation Styles */
.nav-links.active {
    right: 0; /* Show the navigation */
}

.hamburger.active {
    position: fixed;
    right: 20px;
    z-index: 1002;
    /* Rotate bars to create X */
    & .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    & .bar:nth-child(2) {
        opacity: 0;
    }
    & .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* Form Status Message */
.form-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    display: none;
    text-align: center;
    font-weight: 500;
}

/* Courses Page Styles */
.course-categories {
    padding: 50px 0 30px;
    background-color: var(--light-color);
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.category-btn {
    padding: 8px 20px;
    background-color: #f4f4f4;
    border: none;
    border-radius: 30px;
    font-family: var(--font-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn.active, .category-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.courses-list {
    padding: 30px 0 70px;
}

.course-item {
    display: flex;
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.course-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.course-image {
    flex: 0 0 400px;
    overflow: hidden;
}

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

.course-item:hover .course-image img {
    transform: scale(1.05);
}

.course-content {
    flex: 1;
    padding: 25px;
}

.course-tags {
    margin-bottom: 15px;
}

.course-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--gray-color);
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 8px;
    color: var(--secondary-color);
}

.course-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.course-details {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.course-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
}

.course-detail i {
    color: var(--primary-color);
}

.course-cta {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 70px 0;
    text-align: center;
}

.course-cta h2 {
    color: var(--light-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.course-cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

/* Responsive styles for courses */
@media (max-width: 992px) {
    .course-item {
        flex-direction: column;
    }
    
    .course-image {
        flex: 0 0 200px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .category-filters {
        flex-wrap: wrap;
    }
    
    .category-btn {
        margin-bottom: 10px;
    }
    
    .course-content h3 {
        font-size: 1.3rem;
    }
    
    .course-details {
        flex-direction: column;
        gap: 10px;
    }
}

/* Course Modules Display */
.course-modules {
    margin: 15px 0;
}

.course-modules h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.course-modules ul {
    list-style: none;
    padding-left: 5px;
}

.course-modules ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.course-modules ul li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    margin-right: 10px;
}

.btn-outline:hover {
    background-color: var(--soft-pink);
    border-color: var(--soft-pink);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1003;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: var(--light-color);
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: sticky;
    top: 0;
    right: 0;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary-color);
    text-decoration: none;
}

.modal-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.modal-header h2 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.modal-body {
    margin-bottom: 20px;
}

.course-section {
    margin-bottom: 25px;
}

.course-section h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.course-module {
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 3px solid var(--primary-color);
}

.course-module h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.course-section ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.course-section ul li {
    margin-bottom: 5px;
}

.modal-footer {
    border-top: 1px solid #eee;
    padding-top: 15px;
    text-align: center;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .course-section h3 {
        font-size: 1.2rem;
    }
    
    .course-module h4 {
        font-size: 1rem;
    }
}

/* Featured Courses Section */
.featured-courses {
    padding: 80px 0;
    background-color: var(--gray-color);
}

.courses-preview {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.course-preview-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    position: relative;
    border-bottom: 4px solid var(--accent-color);
    margin-top: 50px;
    margin-bottom: 50px;
}

.course-preview-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.preview-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(228, 132, 137, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.preview-icon i {
    font-size: 30px;
    color: var(--accent-color);
}

.course-preview-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.course-preview-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.course-preview-card .btn-outline {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.course-preview-card .btn-outline:hover {
    background-color: var(--soft-pink);
    border-color: var(--soft-pink);
}

.text-center {
    text-align: center;
    margin-top: 20px;
}

/* Responsive styles for featured courses */
@media (max-width: 992px) {
    .courses-preview {
        gap: 20px;
    }
    
    .course-preview-card {
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .courses-preview {
        flex-direction: column;
        align-items: center;
    }
    
    .course-preview-card {
        width: 100%;
        max-width: 400px;
    }
}

/* Mission Statement Section */
.mission-statement {
    padding: 80px 0;
    background-color: var(--light-accent);
    color: var(--dark-color);
    margin-bottom: -130px;
    margin-top: -100px;
}

.mission-statement .statement-content {
    width: 1000px;
    margin: 0 auto;
    text-align: center;
    margin-top: -20px;
}

.mission-statement h2 {
    color: var(--secondary-color);
    font-size: 2.2rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.mission-statement h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.mission-statement p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0;
    color: var(--dark-color);
}

@media (max-width: 768px) {
    .mission-statement {
        padding: 60px 0;
    }
    
    .mission-statement h2 {
        font-size: 1.8rem;
    }
    
    .mission-statement p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
}

/* Ensure the footer is styled correctly */
footer {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 70px 0 0;
    position: relative;
}

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

.footer-logo h2 {
    color: var(--light-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

.footer-links h3, 
.footer-contact h3 {
    color: var(--light-color);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-links h3::after, 
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact p i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid var(--neutral-gray);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-logo {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-logo h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h3::after, 
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

/* Responsive adjustments for services */
@media (max-width: 992px) {
    .services-grid {
        gap: 20px; /* Slightly reduce gap on medium screens */
    }
    
    .service-content h2 {
        font-size: 1.6rem; /* Slightly smaller heading on medium screens */
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
    
    .service-item {
        padding: 30px; /* Slightly smaller padding on mobile */
    }
    
    .service-icon {
        width: 70px; /* Slightly smaller icon on mobile */
        height: 70px;
    }
    
    .service-icon i {
        font-size: 30px; /* Slightly smaller icon size on mobile */
    }
    
    /* Training areas responsive adjustments */
    .training-item {
        flex-direction: column;
        text-align: center;
    }
    
    .training-icon {
        margin: 0 auto 15px;
    }
    
    .training-details {
        padding-left: 0;
    }
} 

/* Approach Section - Desktop Styles */
.approach-section {
    display: flex;
    justify-content: center;
    background-color: var(--light-accent);
    min-height: 100vh;
}

.approach-container {
    max-width: 1400px;
    position: relative;
    display: grid;
    gap: 20px;
    align-items: center;
}

/* Vertical line */
.approach-container::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 10%;
    bottom: 10%;
    width: 2px;
    background-color: #000435;
    z-index: 1;
}

/* Card styling */
.approach-card {
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 800px; /* Increased width from 300px to 500px */
    position: relative;
    z-index: 2;
    background: var(--light-color);
    box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.1);
    height: auto; /* Allow height to adjust based on text content */
    overflow-wrap: break-word; /* Ensures text breaks to fit within the card */
}

/* Position cards */
.approach-card.left {
    margin-right: 600px; /* Adjusted margin to maintain alignment */
    margin-left: auto;
}

.approach-card.right {
    margin-left: 600px; /* Adjusted margin to maintain alignment */
    margin-right: auto;
}

.card-icon {
    font-size: 30px;
    color: #e48489;
    margin-bottom: 10px;
}

.asterisk {
    position: absolute;
    left: 50%;
    top: 0;
    width: 40px;
    height: auto;
    z-index: 10;
    opacity: 1;
    transition: transform 0.1s ease-out;
    pointer-events: none;
}

/* Ensure text fits within cards */
.approach-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.approach-card p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .approach-section {
        min-height: auto;
        padding: 40px 0;
    }

    .approach-container::before {
        display: none;
    }

    .approach-card {
        width: 80%;
        height: auto;
        margin: 10px auto;
    }

    .approach-card.left,
    .approach-card.right {
        margin: 10px auto;
    }

    .asterisk {
        display: none;
    }
}

/* Tablet Responsive Styles */
@media (max-width: 1200px) and (min-width: 769px) {
    .approach-card.left {
        margin-right: 500px;
    }

    .approach-card.right {
        margin-left: 500px;
    }
}

/* Professional Training Programs Section */
.training-programs-section {
    padding: 80px 24px;
    background: var(--light-color);
    margin-top: 100px; /* Reduce from 200px */
}

.training-programs-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
}

.training-programs-content {
    display: flex;
    gap: 100px;
    width: 100%;
}

.training-programs-text {
    flex: 0 0 500px;
    text-align: left;
    padding-right: 48px;
    width: 700px;
    position: sticky;
    top: 80px;
    align-self: flex-start;
}

.training-programs-text img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    object-fit: cover;
}

.training-programs-text h2 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

.training-programs-text p {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 30px;
}

.training-programs-text .btn-primary {
    display: inline-block;
    margin-top: 20px;
}
.training-programs-text .btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

.training-programs-cards {
    display: flex;
    flex-direction: column;
    gap: 64px;
    margin-bottom: 48px;
    margin-left: 150px;
    margin-top: 90px;
    position: relative; /* For positioning the separators */
}

/* Style for the separator line */
.training-programs-card:not(:last-child) {
    position: relative;
    padding-bottom: 32px; /* Add space for the separator */
}

.training-programs-card:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
    opacity: 0.7;
}

/* Optional: Add a small decorative element at the center of each separator */
.training-programs-card:not(:last-child)::before {
    content: '•';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    color: var(--primary-color);
    background-color: var(--light-color);
    padding: 0 10px;
    z-index: 1;
}

.training-programs-card {
    display: flex; /* Use flexbox to align items */
    align-items: center; /* Center items vertically */
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-left: -100px;
    margin-top: -40px;
}

.training-programs-card img {
    width: 230px; /* Set a fixed width for the image */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Ensure the image covers the area */
    margin-right: 30px; /* Space between image and text */
    border-radius: 10px;
}

.training-programs-text-content {
    flex: 1; /* Allow text content to take the remaining space */
    width: 300px;
    margin-top: 40px;
}

.training-programs-card h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.training-programs-card p {
    font-size: 16px;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.training-programs-card a {
    margin-top: 20px;
}

.training-programs-card i {
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .training-programs-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .training-programs-text {
        position: static;
        width: 100%;
        padding-right: 0;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .training-programs-cards {
        align-items: center;
    }
    
    .training-programs-card {
        width: 100%;
    }
}

/* Add styling for the image in the training programs text section */
.training-programs-text img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.course-content strong {
    color: var(--primary-color); /* Change to your desired color */
    font-weight: bold; /* Make it bold */
}

.training-programs-text strong {
    color: var(--secondary-color); /* Change to your desired color */
    font-weight: bold; /* Make it bold */
}

/* Vision Section */
.vision-section {
    position: relative;
    margin-top: 40px; /* Space above the section */
    height: 500px; /* Set a height for the section */
    overflow: hidden; /* Ensure the overlay fits within the image */
    
}

.vision-image {
    background-image: url('../images/vision.jpg'); /* Set your background image */
    background-size: cover; /* Cover the entire section */
    background-position: center; /* Center the image */
    height: 100%; /* Full height */
    position: relative; /* Position relative for overlay */
}

.vision-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 4, 53, 0.7); 
}

.vision-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the text */
    color: white; /* Text color */
    text-align: center; /* Center text */
    padding: 20px; /* Add some padding */
    display: flex; /* Use flexbox */
    flex-direction: row; /* Arrange items side by side */
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
    gap: -50px; /* Space between items */
    border-bottom: 2px solid #fff; /* Add a pink border at the bottom */
    padding-bottom: 80px; /* Add some space between text and border */
}

.vision-text h2 {
    font-size: 3rem; /* Adjust heading size */
    color: var(--light-color);
    margin: 0; /* Remove margin to prevent stacking */
    width: 700px; /* Set a specific width */
    text-align: left; /* Align text to the left */
    font-weight: 500;
    position: relative; /*Position relative for the pseudo-element */
}

.vision-text h2::after {
    content: ''; /* Create an empty content for the line */
    display: block; /* Make it a block element */
    width: 60px; /* Full width */
    height: 4px; /* Height of the line */
    background-color: #e48489; /* Pink color */
    margin-top: 10px; /* Space between heading and line */
}

.vision-text p {
    font-size: 1.5rem; /* Adjust paragraph size */
    font-weight: 400;
    margin: 0; /* Remove margin to prevent stacking */
    text-align: left; /* Align text to the left */
    width: 700px;
}

/* Hero Section Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1rem;
    }
}

/* Vision Section Responsive */
@media (max-width: 992px) {
    .vision-text {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        width: 90%;
    }

    .vision-text h2, 
    .vision-text p {
        width: 100%;
        text-align: center;
    }

    .vision-text h2 {
        font-size: 2.5rem;
    }

    .vision-text h2::after {
        margin: 10px auto;
    }

    .vision-text p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .vision-section {
        height: 500px;
        position: relative;
    }

    .vision-image {
        height: 100%;
        position: relative;
    }

    .vision-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 4, 53, 0.7);
    }

    .vision-text {
        position: absolute; /* Change back to absolute */
        top: 50%; /* Center vertically */
        left: 50%; /* Center horizontally */
        transform: translate(-50%, -50%); /* Center perfectly */
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        width: 90%;
        border-bottom: none;
    }

    .vision-text h2, 
    .vision-text p {
        width: 100%;
        text-align: center;
    }

    .vision-text h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .vision-text h2::after {
        content: '';
        display: block;
        width: 60px;
        height: 4px;
        background-color: #e48489;
        margin: 10px auto; /* Center the line */
    }

    .vision-text p {
        font-size: 1rem;
        line-height: 1.5;
    }
}

/* Mission & Vision Cards Responsive */
@media (max-width: 1200px) {
    .cards-container {
        gap: 50px;
    }

    .vision-card, .mission-card {
        max-width: 450px;
    }
}

@media (max-width: 992px) {
    .mission-vision-cards {
        margin-top: -200px;
    }

    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    .vision-card, .mission-card {
        max-width: 90%;
        width: 100%;
    }
}

/* Training Programs Section Responsive */
@media (max-width: 1200px) {
    .training-programs-content {
        gap: 50px;
    }

    .training-programs-text {
        flex: 0 0 400px;
    }

    .training-programs-cards {
        margin-left: 50px;
    }
}

@media (max-width: 992px) {
    .training-programs-content {
        flex-direction: column;
    }

    .training-programs-text {
        width: 100%;
        padding-right: 0;
        position: static;
    }

    .training-programs-cards {
        margin-left: 0;
        margin-top: 40px;
    }

    .training-programs-card {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .training-programs-section {
        padding: 60px 20px;
    }

    .training-programs-text h2 {
        font-size: 28px;
    }

    .training-programs-text p {
        font-size: 16px;
    }

    .training-programs-card {
        flex-direction: column;
        text-align: center;
    }

    .training-programs-card img {
        width: 100%;
        max-width: 300px;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .training-programs-text-content {
        width: 100%;
    }
}

/* Approach Section Responsive */
@media (max-width: 768px) {
    .approach-section {
        min-height: auto;
        padding: 40px 0 20px; /* Reduced bottom padding */
    }

    .approach-container::before {
        display: none;
    }

    .approach-card {
        width: 90%;
        padding: 15px;
        margin-bottom: 20px; /* Reduced margin between cards */
    }

    .approach-card.left,
    .approach-card.right {
        margin: 10px auto;
        width: 80%;
    }

    .approach-content {
        padding-bottom: 0; /* Remove bottom padding */
    .asterisk {
        display: none; /* Hide asterisk on mobile */
    }
}

/* Mission Statement Section Responsive */
@media (max-width: 1200px) {
    .mission-statement .statement-content {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .mission-statement {
        padding: 60px 20px;
        margin-top: -50px;
        margin-bottom: -80px;
    }

    .mission-statement h2 {
        font-size: 1.8rem;
    }

    .mission-statement p {
        font-size: 1rem;
    }
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-logo {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-logo h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h3::after, 
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

/* About Text Section */
.about-text-section {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 10;
    margin-bottom: 150px; /* Add space below about text */
}

/* Mission Vision Cards Section */
.mission-vision-cards {
    position: relative;
    background-color: var(--light-color);
    padding: 80px 0;
    color: var(--light-color);
    margin-top: -100px; /* Reduce negative margin */
    z-index: 1; /* Lower z-index than about section */
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .about-text-section {
        width: 90%;
        padding: 30px 20px;
        margin-bottom: 100px; /* Adjust space for mobile */
    }

    .mission-vision-cards {
        margin-top: -50px; /* Reduce negative margin on mobile */
        padding-top: 60px;
    }

    .cards-container {
        padding-top: 30px;
    }

    /* Ensure cards don't overlap */
    .vision-card, 
    .mission-card {
        position: relative;
        z-index: 1;
        margin-bottom: 30px;
    }
}

/* Add this to your existing CSS */
body.no-scroll {
    overflow: hidden;
}

/* AOS animation enhancements for contact cards */
[data-aos] {
    pointer-events: none; /* Prevent flickering during animation */
}

[data-aos].aos-animate {
    pointer-events: auto; /* Restore pointer events after animation */
}

/* Improve contact section appearance during animations */
.contact-section {
    overflow: hidden; /* Prevent horizontal scrollbar during animations */
    perspective: 1000px; /* Add depth to animations */
}

/* Enhance form card animation */
.form-card[data-aos="fade-right"] {
    transform: translateX(-100px);
    opacity: 0;
    transition-property: transform, opacity;
}

.form-card[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}

/* Enhance info card animation */
.info-card[data-aos="fade-left"] {
    transform: translateX(100px);
    opacity: 0;
    transition-property: transform, opacity;
}

.info-card[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}

/
/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .course-image {
        height: 200px; /* Still taller than original mobile height */
    }
    
    .training-programs-card img {
        width: 120px;
        height: 120px;
    }
}

/* Adjust the course card sizes */
.course-item {
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    max-width: 350px; /* Reduced from original width */
}

/* For featured courses/preview cards */
.course-preview-card {
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    max-width: 320px; /* Reduced from original width */
}

/* Make sure the images in training programs are also reduced */
.training-programs-card img {
    width: 120px; /* Reduced from original width */
    height: 120px; /* Reduced from original height */
    border-radius: 10px;
    object-fit: cover;
    margin-right: 20px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .course-image {
        height: 160px; /* Even smaller on mobile */
    }
    
    .course-item {
        max-width: 90%; /* Allow cards to fit mobile screen */
        margin: 0 auto 30px;
    }
    
    .training-programs-card img {
        width: 90px;
        height: 90px;
    }
}

/* Contact Section Responsive Styling */
@media (max-width: 992px) {
    .contact-content {
        flex-direction: column;
        margin-left: 0;
        padding: 20px;
        width: 100%;
    }

    .contact-card {
        width: 100%;
        margin: 0;
    }

    /* Reset overlapping styles for mobile */
    .form-card, .info-card {
        margin-left: 0;
        margin-right: 0;
        top: 0;
        z-index: 1;
        flex: none;
        padding: 30px;
        width: 100%;
    }

    /* Adjust the background for mobile */
    .contact-section {
        background: linear-gradient(45deg, #000435, #e48489);
        padding: 40px 20px;
    }

    /* Center the form inputs on mobile */
    .form-group {
        width: 100%;
    }

    .form-group input, 
    .form-group textarea {
        width: 100%;
        font-size: 16px; /* Better size for mobile inputs */
    }

    /* Adjust info card styling */
    .info-card {
        padding-left: 30px;
        margin-top: 20px;
    }

    .info-item {
        justify-content: flex-start;
        padding-right: 15px;
    }

    /* Make headings more mobile-friendly */
    .contact-card h2 {
        font-size: 1.8rem;
        text-align: center;
    }

    .contact-card h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Additional adjustments for smaller screens */
@media (max-width: 480px) {
    .contact-section {
        padding: 30px 15px;
    }

    .contact-content {
        padding: 10px;
    }

    .contact-card {
        padding: 20px;
    }

    /* Adjust info items for better mobile display */
    .info-item {
        flex-direction: column;
        text-align: center;
        padding: 15px 0;
    }

    .info-item i {
        font-size: 24px;
        margin: 0 0 10px 0;
        width: auto;
    }

    .info-details {
        width: 100%;
        text-align: center;
    }

    .info-details h3 {
        font-size: 1rem;
    }

    .info-details p {
        font-size: 0.9rem;
    }

    /* Adjust form elements */
    .form-group {
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 0;
    }

    .btn-primary {
        width: 100%; /* Full width button on mobile */
        padding: 12px 20px;
    }
}

/* Contact Info Card Content */
.contact-info-items {
    display: block; /* Ensure content is displayed as block */
    width: 100%;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0, 4, 53, 0.1);
    padding-bottom: 15px;
}

.info-details {
    display: block; /* Ensure details are displayed as block */
}

.info-details h3 {
    display: block;
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-details p {
    display: block;
    color: var(--dark-color);
    font-size: 1rem;
}


