/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Arial", sans-serif;
    color: #333;
}

.parallax-scroll {
    transition: transform 0.2s ease-out; /* Smooth transition */
    will-change: transform;
}


/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.navbar.shrink {
    padding: 0.5rem 0;
    background-color: #fff;
}

.navbar.shrink .navbar-brand img {
    height: 50px;
}

.navbar .navbar-logo {
    height: 70px;
    transition: height 0.3s ease;
}

/* Navbar Links */
.navbar .nav-link {
    color: #000 !important;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.navbar .nav-link:hover {
    color: #000 !important;
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #FFDE13;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.navbar .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.navbar .nav-link:hover {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Social Media Icons */
.social-media-icons .nav-link i {
    color: #000;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-media-icons .nav-link:hover i {
    color: #FFDE13;
}

/* Video Parallax Background */
.video-header {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.video-header video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

.video-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.video-header .container {
    position: relative;
    z-index: 2;
}

.animated-text {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1.5s ease-out forwards;
}

.animated-text:nth-child(1) {
    animation-delay: 0.5s;
}

.animated-text:nth-child(2) {
    animation-delay: 1s;
}

/* Hero Section Button Pulse */
.btn-pulsing {
    color: #fff;
    background-color: transparent;
    border: 2px solid #FFDE13;
    font-size: 1.2rem;
    padding: 15px 40px;
    position: relative;
    animation: pulse 2s infinite;
    transition: background-color 0.3s ease;
}

.btn-pulsing:hover {
    background-color: #FFDE13;
    color: #000;
    border: 2px solid #FFDE13;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 222, 19, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 222, 19, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 222, 19, 0);
    }
}

/* Services Section */
.services-section {
    background-color: #fff;
    padding: 60px 0;
}

/* Service Box Styles */
.service-box {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.service-box i {
    color: #FFDE13;
    margin-bottom: 1rem;
}

/* Branded Residences Section */
.branded-residences-section {
    background-color: #fff;
    padding: 60px 0;
}

.branded-residences-section h2 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
}

.residence-box {
    text-align: center;
    margin-bottom: 20px;
}

.residence-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.residence-box h5 {
    margin-top: 15px;
    font-size: 1.2rem;
}

.residence-box p {
    font-size: 0.9rem;
    color: #666;
}

.residence-box:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Meaningful Change Section */
.meaningful-change-section {
    background-color: #f9f9f9;
    padding: 60px 0;
    overflow: hidden;
}

.meaningful-change-section h2 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}



.meaning-box {
    text-align: left;
    margin-bottom: 20px;
}

.meaning-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.animated-image-left {
    transform: translateX(-50px);
}

.animated-image-right {
    transform: translateX(50px);
}

.animated-text-left,
.animated-text-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.animated-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.animate-visible .animated-image-left {
    opacity: 1;
    transform: translateX(0);
}

.animate-visible .animated-image-right {
    opacity: 1;
    transform: translateX(0);
}

.animate-visible .animated-text-left {
    opacity: 1;
    transform: translateX(0);
}

.animate-visible .animated-text-right {
    opacity: 1;
    transform: translateX(0);
}

.animate-visible .animated-btn {
    opacity: 1;
    transform: translateY(0);
}


/*Integrated Solution*/
.integrated-solutions-section{
    background-color: white;
}

.container.text-center {
    border-top: 1px solid black;
}

.text-center h2{
    font-size: 1rem;
    padding-bottom: 15px;
    padding-top: 50px;
    text-transform: uppercase;
}

.text-center h3{
    font-size: 2.5rem;
    font-weight: 700;
}

.text-center em {
    font-style: italic;
    color: #FFDE13;
}

/* Add CSS from your provided code */

.card-img-top {
    width: 100%;
    height: auto;  /* Ensure the image scales correctly */
    object-fit: cover;
}

/* Cards start hidden */
.animated-card {
    opacity: 0;
    transform: translateY(50px); /* Initial position */
    transition: opacity 0.8s ease, transform 0.8s ease;
    position: relative;
}

/* When the card is visible */
.animate-card-visible  {
    opacity: 1;
    transform: translateY(0); /* Reset position when in view */
}



.text-center h3{
    font-size: 3rem;
    padding-bottom: 15px;
}


/* Be Inspired Section */
.be-inspired-section {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.be-inspired-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.be-inspired-section em {
    font-style: italic;
    color: #FFDE13;
}

.featured-post img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.featured-post h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.post img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.post h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.date {
    color: #666;
    font-size: 0.9rem;
}

.btn-yellow {
    background-color: #FFDE13;
    color: #fff;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 1rem;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.btn-yellow:hover {
    background-color: #e0c210;
}

/* Card Animation */
 .post,
 .featured-post {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    /* Ensure that the card animations have a staggered effect */
    transition-delay: 0s;
}

.be-inspired-section .featured-post {
    /* Featured post appears first */
    transition-delay: 0.1s;
}

.be-inspired-section .post:nth-child(1) {
    transition-delay: 0.2s;
}

.be-inspired-section .post:nth-child(2) {
    transition-delay: 0.3s;
}

.be-inspired-section .post:nth-child(3) {
    transition-delay: 0.4s;
}

.be-inspired-section .post:nth-child(4) {
    transition-delay: 0.5s;
}

.animate-card2 {
    opacity: 1;
    transform: translateY(0);
}


/* Parallax Section */
.parallax-section {
    background-image: url('images/parallax1.jpg');
    background-attachment: fixed;
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 150px 0;
}

.parallax-section h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
}

.parallax-section p {
    font-size: 1.5rem;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
}

/* Contact Section */
.contact-section {
    background-color: #fff;
    padding: 60px 0;
    border-top: 2px solid black;
}

.btn-yellow {
    background-color: #FFDE13;
    border: none;
    color: #fff;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-yellow:hover {
    background-color: #e0c210;
    transform: scale(1.05);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #FFDE13;
    color: #fff;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 20px;
    padding-left: 20px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    background-color: #e0c210;
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #000;
    color: #fff;
}

footer .social-icons a {
    color: #FFDE13;
    margin: 0 10px;
    transition: color 0.3s ease;
}

footer .social-icons a:hover {
    color: #e0c210;
}

/* Keyframes */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}










/* About Us Hero Section */
.about-hero-section {
    position: relative;
    height: 60vh;
    background-image: url('videos/aboutvideo.mp4');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    overflow: hidden;
    text-align: center;
    color: #fff;
}

.img-fluid  {
    height: 300px;
    width: 300px;
    transition: all 0.2s ease-out;
}
.img-fluid:hover  {

    transform: translateY(-10px);
    transition: all 0.2s ease-in;
    box-shadow: 0 12px 18px rgba(0, 0, 0, 0.2);
}

.img-fluid2  {
    height: auto;
    width: 350px;
    border-radius: 20px;
}

.img-fluid2:hover  {
    transform: translateY(-10px);
    transform: scale(1.05);
    transform: rotate3d(0, 0, 1, 5deg);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}
.why-babouris-section h2 {
font-size: 3rem;
    font-weight: 700;
}

.about-section h2 {
    font-size: 3rem;
    font-weight: 700;
}

.leadership-section p {
    font-size: 1rem;
}

.leadership-section h5 {
    font-size: 1.6rem;
    font-weight: 500;
}

.leadership-section h2 {
    font-size: 3rem;
    font-weight: 700;
}

.about-hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0,Here is the continuation of the CSS for your **About Us** page:

```css
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.about-hero-section .container {
    position: relative;
    z-index: 2;
}

.about-hero-section h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.about-hero-section p {
    font-size: 1.8rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

/* About Section */
.about {
    background-color: red;
}

.about-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.about-section img {
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
}

/* Our Mission Section */
.mission-section {
    background-color: #fff;
    padding: 60px 0;
}

.mission-section h2 {
    font-size: 2.5rem;
    color: #FFDE13;
}

.mission-section p {
    font-size: 1.2rem;
    color: #666;
}

.mission-section img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
}

/* Parallax Call to Action Section */
.parallax-section {
    position: relative;
    height: 50vh;
    background-image: url('images/parallax2.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.parallax-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.parallax-section h2 {
    font-size: 3rem;
    z-index: 2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.parallax-section p {
    font-size: 1.5rem;
    z-index: 2;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}


/* Contact Section */
.contact-section {
    background-color: #fff;
    padding: 60px 0;
}

.contact-section h2 {
    font-size: 2.5rem;
    color: #FFDE13;
}

.contact-section input, .contact-section textarea {
    border: 2px solid #FFDE13;
    margin-bottom: 15px;
}

.contact-section button {
    background-color: #FFDE13;
    border: none;
    padding: 15px 30px;
    color: #fff;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.contact-section button:hover {
    background-color: #e0c210;
}

/* Footer */
footer {
    background-color: #000;
    color: white;
}

footer a {
    color: #FFDE13;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #e0c210;
}
