.container {

    width: 90%;

    max-width: 1200px;

    margin: auto;

}


/* --- Hero Section Styles --- */

#hero-section {

    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/about-us/about-us-section01.webp') no-repeat center center/cover;

    color: #fff;

    padding: 60px 0;

    min-height: 80vh;

    display: flex;

    align-items: center;

    /* Prevents content from spilling out during animation */

    overflow: hidden;

}


#hero-container {

    display: flex;

    align-items: center;

    gap: 40px;

}


/* Left Content Article */

#hero-content {

    flex: 1.2;

}


#hero-main-title {

    font-size: 2.5rem;

    line-height: 1.2;

    margin-bottom: 20px;
    

    /* --- ANIMATION ADDED --- */

    opacity: 0; /* Start hidden */

    animation: fadeInUp 0.8s ease-out forwards;

}


#hero-description {

    font-size: 1.1rem;
    line-height: 1.5;

    margin-bottom: 30px;
    /* --- ANIMATION ADDED --- */
text-align: justify;
text-justify: inter-word;
    opacity: 0; /* Start hidden */

    animation: fadeInUp 0.8s ease-out 0.3s forwards; /* 0.3s delay */

}


.btn {

    text-decoration: none;

    padding: 12px 28px;

    border-radius: 5px;

    font-weight: bold;

    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;

    display: inline-block;

    cursor: pointer;

}


#discover-more-btn {

    color: #fff;

    border: 2px solid #fff;

    /* --- ANIMATION ADDED --- */

    opacity: 0; /* Start hidden */

    animation: fadeInUp 0.8s ease-out 0.6s forwards; /* 0.6s delay */

}


#discover-more-btn:hover {

    background-color: #fff;

    color: #333;

    transform: translateY(-2px);

}


/* Right Form Container */

#quote-form-container {

    flex: 1;

    background-color: #f4f7f6;

    color: #333;

    padding: 30px;

    border-radius: 8px;

}


#quote-form-title {

    font-size: 1.8rem;

    margin-top: 0;

    text-align: center;

}


#contact-info {

    text-align: center;

    margin: 20px 0;

}


#contact-info p {

    margin-bottom: 10px;

}


/* #phone-numbers {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

} */


#phone-numbers a {
    color: #001a81;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 5px;
    font-weight: 600;
}

#phone-numbers a:hover {
    color: #007BFF;
}


#form-separator {

    text-align: center;

    font-weight: bold;

    margin: 20px 0;

}


/* Form Styles */

#get-quote-form .form-group {

    margin-bottom: 15px;

}


#get-quote-form label {

    display: none;

}


#get-quote-form input {

    width: 100%;

    padding: 12px;

    border: 1px solid #ccc;

    border-radius: 5px;

    box-sizing: border-box;

    font-size: 1rem;

}


#get-quote-form .mobile-input-wrapper {

    display: flex;

    align-items: center;

}


#get-quote-form .country-code {

    padding: 12px;

    background-color: #e9ecef;

    border: 1px solid #ccc;

    border-right: none;

    border-radius: 5px 0 0 5px;

}


#get-quote-form #mobile {

    border-radius: 0 5px 5px 0;

}


#submit-quote-btn {

    width: 100%;

    background-color: #2c3e50;

    color: #fff;

    border: none;

    font-size: 1.1rem;

}


#submit-quote-btn:hover {

    background-color: #34495e;

    transform: translateY(-2px);

}


/* --- Responsive Design --- */

@media (max-width: 992px) {

    #hero-main-title {

        font-size: 2.8rem;

    }

}


@media (max-width: 768px) {

    #hero-container {

        flex-direction: column;

        text-align: center;

    }


    #hero-section {

        padding: 40px 0;

    }


    #hero-content {

        margin-bottom: 40px;

    }

   

    #hero-main-title {

        font-size: 2.5rem;

    }

}


@media (max-width: 480px) {

    #phone-numbers {

        grid-template-columns: 1fr;

    }


    #hero-main-title {

        font-size: 2rem;

    }


    #hero-description {

        font-size: 1rem;

    }

}



/*

 * --- KEYFRAME ANIMATION DEFINITION ---

 * This defines the animation steps.

 * 'from' state: element is moved down by 20px and is transparent.

 * 'to' state: element is in its original position and fully visible.

 */

@keyframes fadeInUp {

    from {

        transform: translateY(20px);

        opacity: 0;

    }

    to {

        transform: translateY(0);

        opacity: 1;

    }

}



/*------------section 2 start here------------*/ 



.container-01 {
    display: flex;
    max-width: 1200px;
    margin: 4rem auto;
    background-color: #ffffff;
    position: relative;
    padding: 2rem;
}

#about-us-section-01 {
    padding: 2rem 1rem;
}

/* Left Column: Image */
.about-image-column-01 {
    flex: 1; /* Takes up 1 part of the available space */
    min-width: 45%;
}

.about-image-column-01 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
}

/* Middle Column: Floating Cards */
.floating-cards-column-01 {
    position: absolute;
    left: 42%; /* Position cards in the middle */
    top: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    z-index: 2;
}

.info-card-01 {
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    margin: 1.5rem 0;
}

.info-card-icon-wrapper-01 {
    background-color: #2c3e50; /* Dark blue from button */
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.info-card-01 h3 {
    font-size: 1.5rem;
    color: #333;
    font-weight: 600;
}

/* Right Column: Content */
.about-content-column-01 {
    flex: 1; /* Takes up 1 part of the available space */
    padding-left: 12%; /* Space to not overlap with cards */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.subtitle-01 {
    color: #555;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.about-content-column-01 .h1-visual {
    font-size: 2rem;
    line-height: 1.2;
    margin-top: 0.67em;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    text-align: justify;
text-justify: inter-word;
}

/* Preserve the former H2 appearance for the nested service heading. */
.about-content-column-01 .h2-visual {
    font-size: 1.5em;
    font-weight: bold;
    margin-block: 0.83em;
}

.about-content-column-01 p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #666;
    text-align: justify;
text-justify: inter-word;
}

.mission-vision-01 h2 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.learn-more-btn-01 {
    display: inline-block;
    background-color: #2c3e50;
    color: #ffffff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
    align-self: flex-start;
}

.learn-more-btn-01:hover {
    background-color: #34495e;
}

/* Responsive Design for Mobile */
@media (max-width: 992px) {
    .container-01 {
        flex-direction: column;
        margin: 0 auto;
        padding: 0;
    }

    .about-image-column-01 {
        min-width: 100%;
        height: 300px; /* Give image a fixed height on mobile */
    }

    .floating-cards-column-01 {
        position: static; /* Remove absolute positioning */
        transform: none;
        width: auto;
        padding: 1rem;
        order: 2; /* Change order to appear after the image */
    }

    .info-card-01 {
        margin: 1rem;
    }
    
    .about-content-column-01 {
        padding: 2rem;
        order: 3; /* Content comes after floating cards */
    }

    .about-content-column-01 .h1-visual {
        font-size: 2rem;
    }
}

/*------------section 3 starts here------------*/


.container-2 {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 15px;
    

  }


#services-section {

    padding: 60px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/about-us/about-us-secton03.webp') no-repeat center center/cover;
     padding-bottom: 120px;

}


.section-header {

    text-align: center;

    margin-bottom: 50px;

}


#services-section h2 {

    font-size: 2.5rem;

    color: #ffffff;

    margin-bottom: 15px;

}


.section-subtitle {

    font-size: 1.2rem;

    color: #ffffff;

    margin: 0;

}


/* Grid layout for service cards */

#services-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

}


/* --- 3D Flip Box Animation --- */


/* The main container that holds the 3D space */

.flip-box {

    background-color: transparent;

    height: 300px;

    perspective: 1000px;

   

    /* Initial state for reveal-on-scroll animation */

    opacity: 0;

    transform: translateY(20px);

    transition: opacity 0.6s ease-out, transform 0.6s ease-out;

}


/* Class added by JS to trigger reveal animation */

.flip-box.visible {

    opacity: 1;

    transform: translateY(0);

}


/* This container holds the front and back faces and performs the flip */

.flip-box-inner {

    position: relative;

    width: 100%;

    height: 100%;

    text-align: center;

    transition: transform 0.7s;

    transform-style: preserve-3d;

}


/* The hover effect that triggers the flip */

.flip-box:hover .flip-box-inner {

    transform: rotateY(180deg);

}


/* Common styles for both front and back faces */

.flip-box-front, .flip-box-back {

    position: absolute;

    width: 100%;

    height: 100%;

    -webkit-backface-visibility: hidden; /* For Safari */

    backface-visibility: hidden;

    border-radius: 8px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    padding: 20px;

    box-sizing: border-box;

}


/* Styling for the front face of the card */

.flip-box-front {

    background-color: #f8f9fa;

    color: #2c3e50;

}


.icon-wrapper {

    background-color: #2c3e50;

    color: #ffffff;

    width: 70px;

    height: 70px;

    border-radius: 50%;

    margin: 0 auto 20px auto;

    display: flex;

    justify-content: center;

    align-items: center;

}


.icon-wrapper i {

    font-size: 1.8rem;

}


.flip-box-front h3 {

    font-size: 1.5rem;

    color: #2c3e50;

    margin: 0;

}


/* Styling for the back face of the card */

.flip-box-back {

    background-color: #2c3e50;

    color: white;

    transform: rotateY(180deg);

}


.flip-box-back h3 {

    font-size: 1.5rem;

    margin-top: 0;

    margin-bottom: 15px;

}


.flip-box-back p {

    font-size: 1rem;

    line-height: 1.6;

    margin-bottom: 20px;

}


.btn-learn-more {

    border: 2px solid #ffffff;

    color: #ffffff;

    padding: 10px 20px;

    text-decoration: none;

    border-radius: 5px;

    transition: background-color 0.3s, color 0.3s;

}


.btn-learn-more:hover {

    background-color: #ffffff;

    color: #2c3e50;

}



/* --- Responsive Design --- */


@media (max-width: 992px) {

    #services-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}


@media (max-width: 768px) {

    #services-section h2 {

        font-size: 2rem;

    }


    #services-grid {

        grid-template-columns: 1fr;

    }

}


/*--------------secttion 4 starts here--------------*/



#why-us-section {
    padding: 0 20px;
}

.why-us-card {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 40px;
    
    /* These three properties create the overlap effect */
    margin-top: -80px; /* Pulls the card up */
    position: relative; /* Required for z-index */
    z-index: 10;      /* Brings the card to the front */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.why-us-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* --- Left Column: Text --- */
.why-us-card .text-content {
    flex: 1;
}

.why-us-card .text-content h2 {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 16px;
}

.why-us-card .text-content p {
    margin-bottom: 24px;
}

.why-us-card .text-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-us-card .text-content ul li {
    font-size: 1.1rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}
.why-us-card .text-content ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.why-us-card .text-content ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.why-us-card .text-content ul li a:hover {
    color: #0056b3;
}
.why-us-card .text-content ul li a span {
    color: #0056b3;
    font-size: 1.5rem;
}

/* --- Right Column: Image --- */
.why-us-card .image-content {
    flex: 1;
}

.why-us-card .image-content img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}


/* ================================================
   Responsive Design
   ================================================ */
@media (max-width: 992px) {
    .why-us-card {
        flex-direction: column;
        margin-top: -100px; /* Adjust overlap for mobile */
        padding: 40px;
    }
    .why-us-card .text-content {
        margin-bottom: 30px;
    }
}
@media (max-width: 768px) {
    #services-section h2 {
        font-size: 2.2rem;
    }
    .why-us-card h2 {
        font-size: 2rem;
    }
}