@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
}

/* General Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px 16px 30px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.navbar.transparent {
    background-color: transparent;
    box-shadow: none;
    color: white;
}

.navbar.transparent .logo,
.navbar.transparent .nav-links li a,
.navbar.transparent .menu-icon {
    color: white;
}

.navbar.transparent .nav-links.active li a {
    color: black;
}

.navbar.solid {
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar.solid .logo,
.navbar.solid .nav-links li a,
.navbar.solid .menu-icon {
    color: black;
}

.navbar .logo img {
    width: 40px;
}

.logo span {
    padding-left: 10px;
}

.navbar.solid .logo img {
    background-color: #000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links li a {
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
    color: #000;
}

.nav-links li a:hover {
    color: #183847;
}

.menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        transition: background-color 0.3s, box-shadow 0.3s;
    }
    .nav-links {
        display: none; /* Hide the links by default on smaller screens */
        position: absolute;
        top: 100%;
        left: 0;
        background-color: white;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex; /* Show links when menu is toggled */
    }

    .menu-icon {
        display: block; /* Show menu icon */
        color: #000;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem 1rem;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        transition: background-color 0.3s, box-shadow 0.3s;

    }

    .navbar .logo img {
        width: 30px; /* Adjust logo size for very small screens */
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-links li a {
        font-size: 0.9rem;
    }
}


/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
}

.slideshow-container {
    position: absolute;
    width: 100%;
    height: 100%;
    max-height: 550px;
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    height: 550px;
    text-align: center;
}
.hero-content h1 {
    font-size: 3rem;
    color: #ffffff;
    opacity: 0; 
    transform: translateY(-30px);
    animation: dropDown .5s ease-out forwards;
}

.hero-content h1:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-content h1:nth-child(2) {
    animation-delay: 0.5s;
}

/* Animation definition */
@keyframes dropDown {
    0% {
        opacity: 0;
        transform: translateY(-30px); /* Above the starting position */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Settle into final position */
    }
}



.dots-container {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 3px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #ffffff;
}

/* Fade animation */
.fade {
    animation: fade 2s;
}

@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}


/* Medium screens (e.g., tablets, between 768px and 1200px) */
@media (max-width: 1024px) {
    .hero {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.15rem;
    }

    .dot {
        width: 12px;
        height: 12px;
    }
}

/* Small screens (e.g., mobile devices, below 768px) */
@media (max-width: 768px) {
    .hero {
        height: 500px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

/* Extra Small screens (e.g., very small mobile devices, below 480px) */
@media (max-width: 480px) {
    .hero {
        height: 500px;
    }
    .hero-content {
        width: 70%;
        height: 500px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 18px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }
}


/* About Us Section */
.about-us {
    padding: 64px 32px;
}

.about-us h2 {
    margin-top: 20px;
    font-size: 32px;
    margin-bottom: 16px;
    padding-left: 48px;
    position: relative;
    display: inline-block;
}

.line {
    position: relative;
    display: inline-block;
    height: 2px;
    background-color: #000;
    width: 100px;
    margin-left: 16px;
    top: -10px;
}

.about-content {
    display: flex;
    justify-content: space-around;
    padding-left: 48px;
    padding-right: 48px;
    gap: 16px;
    margin-top: 32px;
}

.about-item {
    width: 100%;
    max-width: 300px;
    text-align: left;
    opacity: 0; /* Start hidden */
    transform: translateY(20px); /* Start slightly below */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; /* Smooth animation */
}

.about-item.visible {
    opacity: 1; /* Make visible */
    transform: translateY(0); /* Move to the original position */
}

.number {
    font-size: 32px;
    font-weight: bold;
    color: #000; /* Change number color to black */
}

.about-item p {
    font-size: 14px;
    color: #000; /* Change paragraph text color to black */
    text-align: justify;
}

/* Responsive Styles */

/* Small Screens (Mobile devices) */
@media (max-width: 768px) {
    .about-us {
        padding: 32px 16px;
    }

    .about-us h2 {
        font-size: 24px;
        padding-left: 16px;
    }

    .line {
        width: 60px;
        margin-left: 8px;
    }

    .about-content {
        flex-direction: column;
        padding-left: 16px;
        padding-right: 16px;
        gap: 24px;
        margin-top: 8px;
         margin-bottom: 20px;
    }

    .about-item {
        max-width: 100%;
    }

    .number {
        font-size: 28px;
    }

    .about-item p {
        font-size: 12px;
    }
}

/* Very Small Screens (Mobile Portrait) */
@media (max-width: 480px) {
    .about-us {
        padding: 24px 20px;
    }

    .about-us h2 {
        font-size: 20px;
        padding-left: 8px;
    }

    .line {
        width: 50px;
        margin-left: 4px;
    }

    .about-content {
        flex-direction: column;
        padding-left: 30px;
        padding-right: 30px;
        gap: 16px;
        margin-top: 4px;
        margin-bottom: 20px;
    }

    .about-item {
        max-width: 100%;
    }

    .number {
        font-size: 24px;
    }

    .about-item p {
        font-size: 10px;
    }
}


/* Container: Initial State */
.container {
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 60px 40px;
    padding-top: 100px;
    margin: 0 auto;
    opacity: 0; /* Initially hidden */
    transform: scale(0.8); /* Start scaled down */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth transition */
}

/* Visible State: Pop-up animation */
.container.visible {
    opacity: 1; /* Fully visible */
    transform: scale(1); /* Scale up to normal size */
}

/* Image Section */
.image-section {
    width: 50%;
    padding: 0 20px;
}

.image-section img {
    max-width: 330px;
    width: 100%;
    height: auto;
}

/* Text Section */
.text-section {
    width: 50%;
    padding: 0 20px;
    color: #000;
}

.text-section h3 {
    margin: 0;
    font-weight: bold;
    font-size: 32px;
    color: #000;
}

.text-section p {
    padding-top: 20px;
    line-height: 1.6;
    text-align: justify;
}

/* Responsive Styles */

/* Medium Screens (Tablet or small desktop) */
@media (max-width: 1024px) {
    .container {
        padding: 40px 30px;
    }

    .image-section {
        width: 45%;
    }

    .text-section {
        width: 45%;
    }

    .text-section h3 {
        font-size: 28px;
    }

    .text-section p {
        font-size: 14px;
    }
}

/* Small Screens (Mobile devices) */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
        flex-direction: column;
        align-items: center;
    }

    .image-section {
        width: 80%;
        margin-bottom: 20px;
    }

    .text-section {
        width: 80%;
        text-align: center;
    }

    .text-section h3 {
        font-size: 24px;
    }

    .text-section p {
        font-size: 14px;
    }
}

/* Very Small Screens (Mobile Portrait) */
@media (max-width: 480px) {
    .container {
        padding: 20px 10px;
        margin-top: 50px;
    }

    .image-section {
        width: 60%;
        margin-bottom: 15px;
    }

    .text-section {
        width: 100%;
        margin-top: 30px;
    }

    .text-section h3 {
        font-size: 20px;
    }

    .text-section p {
        font-size: 12px;
        padding-top: 0;
    }
}


/* What We Offer section */
.service {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('img/CTC.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    padding: 64px 32px;
}

.service h2 {
    margin-top: 20px;
    font-size: 32px;
    margin-bottom: 16px;
    padding-left: 48px;
    position: relative;
    display: inline-block;
}

.line {
    position: relative;
    display: inline-block;
    height: 2px;
    background-color: #000;
    width: 100px;
    margin-left: 16px;
    top: -10px;
}

/* Slider Container */
.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

.s-offer {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
    padding: 10px 50px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.s-offer::-webkit-scrollbar {
    display: none;
}

/* Offer Boxes */
.offers {
    background-color: #fff;
    padding: 40px 20px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    margin-bottom: 50px;
    width: 320px;
    flex: 1 1 auto;
}

.offers.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    z-index: 1000;
    visibility: visible;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.9);
}
/* Responsive Styles */

@media (max-width: 1024px) {
    .service {
        padding: 48px 24px;
    }

    .service h2 {
        font-size: 28px;
        padding-left: 32px;
    }

    .line {
        width: 80px;
        margin-left: 12px;
    }

    .offerings {
        padding: 20px;
    }

    .offering {
        flex: 1 1 calc(50% - 40px);
    }

    .offering h3 {
        font-size: 16px;
    }

    .offering p {
        font-size: 12px;
    }
    .prev, .next {
        padding: 10px;
        font-size: 20px;
    }
}

/* Small Screens (Mobile devices) */
@media (max-width: 768px) {
    .service {
        padding: 32px 16px;
    }

    .service h2 {
        font-size: 24px;
        padding-left: 16px;
    }

    .line {
        width: 60px;
        margin-left: 8px;
    }

    .offerings {
        padding: 10px;
        gap: 16px;
    }

    .offering {
        flex: 1 1 calc(100% - 40px);
        margin-bottom: 20px;
    }

    .offering h3 {
        font-size: 14px;
    }

    .offering p {
        font-size: 12px;
    }
    .prev, .next {
        padding: 8px;
        font-size: 18px;
    }
}

/* Very Small Screens (Mobile Portrait) */
@media (max-width: 480px) {
    .service {
        padding: 24px 20px;
    }

    .service h2 {
        font-size: 20px;
        padding-left: 8px;
    }

    .line {
        width: 50px;
        margin-left: 4px;
    }

    .offerings {
        padding: 10px;
        gap: 40px;
    }

    .offering {
        flex: 1 1 calc(100% - 20px);
        margin-bottom: 15px;
        width: 60%;
        height: 60%;
    }

    .offering h3 {
        font-size: 12px;
    }

    .offering p {
        font-size: 10px;
    }
    .prev, .next {
        padding: 6px;
        font-size: 16px;
    }
}

/* Project Section Styles */
.projects {
    background-color: #ffffff;
    width: 100%;
    padding: 64px 20px;
}

.projects h2 {
    margin-top: 20px;
    font-size: 32px;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.line {
    position: relative;
    display: inline-block;
    height: 2px;
    background-color: #000;
    width: 100px;
    margin-left: 16px;
    top: -10px;
}

.view-more {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.projects .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 200px;
    padding: 10px 20px;
    color: rgb(0, 0, 0);
    text-decoration: underline;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.projects .btn:hover {
    color: #183847;
    font-weight: 600;
}

/* Gallery Section */
.gallery {
    display: grid;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 10px;
    grid-template-columns: repeat(4, 1fr);
}

/* Individual gallery items */
.gallery-item {
    position: relative;
    width: 100%;
    max-width: 260px;
    height: auto;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.overlay-pic {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay-pic {
    opacity: 1;
}

.overlay-pic p {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 16px;
    text-align: center;
    padding: 10px;
    line-height: 1.4;
    box-sizing: border-box;
}

/* Responsive Styles */

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .gallery-item {
        max-width: none;
    }

    .projects h2 {
        font-size: 28px;
    }
}

/* For devices with max width of 480px (mobile phones) */
@media (max-width: 480px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gallery-item {
        max-width: none;
    }

    .projects h2 {
        font-size: 24px;
    }

    .projects .btn {
        font-size: 14px;
        padding: 8px 16px;
    }
}


/* Contact Section */
.contact {
    width: 100%;
    padding: 50px;
    background-color: #F4F4F4;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('img/CTC.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact h2 {
    margin-top: 20px;
    font-size: 32px;
    margin-bottom: 16px;
    padding-left: 48px;
    position: relative;
    display: inline-block;
}

.line {
    position: relative;
    display: inline-block;
    height: 2px;
    background-color: #000;
    width: 100px;
    margin-left: 16px;
    top: -10px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: auto;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

/* Contact Form */
.contact-form {
    flex: 1 1 50%;
    padding: 20px 30px;
    background-color: #fff;
    box-sizing: border-box;
}

.contact-form h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #000;
}

.contact-form label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.contact-form button {
    background-color: #183847;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #122c37;
}

/* Contact Info */
.contact-info {
    flex: 1 1 50%;
    background-color: #183847;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.info-content {
    text-align: left;
    padding: 40px;
    border: 2px solid #ffffff;
    height: 100%;
}

.info-content p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-details {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-details i {
    color: #ffffff;
    margin-right: 10px;
    font-size: 30px;
}

.contact-details p {
    font-size: 16px;
}

/* Media Queries */

/* Small Screens: 100px to 480px */
@media (max-width: 480px) {
    .contact {
        padding: 20px 10px;
    }

    .contact h2 {
        font-size: 20px;
        padding-left: 10px;
    }

    .line {
        width: 50px;
        margin-left: 5px;
    }

    .contact-container {
        flex-direction: column;
        padding: 0;
    }

    .contact-form, .contact-info {
        flex: 1 1 100%;
        padding: 10px 15px;
        margin: 0;
    }

    .info-content {
        padding: 15px;
        border: 1px solid #ffffff;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
    }

    .contact-form button {
        font-size: 14px;
        padding: 8px 15px;
    }

    .contact-details i {
        font-size: 24px;
    }

    .contact-details p {
        font-size: 12px;
    }
}

/* Medium Screens: 481px to 768px */
@media (min-width: 481px) and (max-width: 768px) {
    .contact h2 {
        font-size: 28px;
        padding-left: 32px;
    }

    .line {
        width: 90px;
        margin-left: 12px;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-form, .contact-info {
        flex: 1 1 100%;
        padding: 15px 25px;
    }

    .info-content {
        padding: 30px;
    }
}

/* Larger Screens: 768px to 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
    .contact h2 {
        font-size: 30px;
        padding-left: 40px;
    }

    .line {
        width: 100px;
        margin-left: 16px;
    }

    .contact-container {
        flex-wrap: nowrap;
    }

    .contact-form, .contact-info {
        flex: 1 1 50%;
        padding: 20px;
    }

    .info-content {
        padding: 40px;
    }
}



/* Footer Section */
.footer {
    background-color: #183847;
    color: #ffffff;
    padding: 40px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    max-width: 360px;
    padding-left: 20px;
    box-sizing: border-box;
}

.footer-section h3 {
    margin: 0px 20px;
    font-size: 22px;
}

.footer-section h4 {
    margin: 0 0 10px;
    font-size: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    color: #ffffff;
    margin-right: 10px;
    font-size: 16px;
}

.contact-item p {
    margin: 0;

    font-size: 14px;
}

.footer-section .footer-map {
    margin-right: 50px;
}

.footer-logo {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 10px;
    display: flex;
    margin-left: 20px;
}

.footer-logo img {
    width: 30px;
    height: auto;
}

.footer-logo h4 {
    padding-left: 10px;
    padding-top: 8px;
    font-weight: 600;
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 10px;
    font-size: 12px;
}

.footer-bottom p {
    border-top: 1px solid #ffffff;
    margin-top: 20px;
    padding-top: 10px;
    font-size: 12px;
}

/* ABOUT-US PAGE */
.about-page {
    background: linear-gradient(
        rgba(39, 39, 39, 0.8), /* Gradient color with transparency */
        rgba(39, 39, 39, 0.8)
    ), 
    url('img/image5.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.info {
    max-width: 600px;
    margin-top: 70px;
}

.info h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.info p {
    font-size: 20px;
    margin: 0;
}
.profile {
    padding: 60px 20px;
}

.profile-info {
    max-width: 1000px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    gap: 20px;
}

.image-part {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-part img {
    max-width: 100%;
    height: auto;
}

.text-part {
    width: 60%;
    color: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-part h3 {
    font-size: 2rem;
    margin: 0;
    font-weight: bold;
    color: #000000;
}

.text-part p {
    margin: 10px 0 0;
    line-height: 1.6;
    text-align: justify;
    font-size: 14px;
}

/* Commitment Part*/
.commitment-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    height: auto;
}

.commitment-container {
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.commitment-text {
    position: absolute;
    top: 0;
    left: 50px; /* Shift text to overlap on the left side */
    max-width: 500px;
    width: 100%;
    background: #183847;
    color: #ffffff;
    padding: 40px;
    box-sizing: border-box;
    z-index: 2;
    transform-origin: left;
    text-align: justify;
    margin-top: 50px; /* Slight overlap effect */
}
.commitment-text p {
    margin-top: 10px;
    font-size: 16px;
}

.commitment-image {
    flex: 1;
}

.commitment-image img {
    max-width: 300px;
    margin-left: 40%;
    width: 100%;
    height: auto;
}

.commitment-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    position: absolute;
    bottom: 14%;
    left: 10%;
    align-items: left;
    padding: 10px;
}

.stat {
    text-align: left;
    margin-right: 100px;
}

.stat h2 {
    font-weight: bold;
    color: #000;
    text-align: left;
    margin-left: 4px;
    font-size: 50px;
}

.stat p {
    font-weight: bold;
    color: #555;
    text-align: left;
    padding-left: 3px;
    font-size: 20px;
}

/*The Team*/
.team-section {
    text-align: center;
    padding: 50px 20px;
    background-color: white;
}

.team-section h1 {
    font-size: 30px;
    margin-bottom: 10px;
}

.team-section p {
    color: #000000;
    margin-bottom: 40px;
}

.team-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.team-member {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.team-member img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.team-member h3 {
    margin: 10px 0 5px;
    font-size: 16px;
}

.team-member h5 {
    margin: 0 5px 10px;
    font-size: 14px;
    color:#183847;
}

.team-member p {
    color: #000000;
    font-size: 12px;
    margin-bottom: 10px;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    margin: 0 5px;
    font-size: 1.2em;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #183847;
}

/*Contact Page*/
.a-contact {
    width: 100%;
    padding: 50px;
    background-color: #F4F4F4;
}

/* Services */
.services {
    padding: 50px 20px;
}
.architectural, .cadd, .construction {
    display: flex;
    align-items: center;
    padding: 60px 100px 20px 100px;
}

/* Icon Container */
.icon-container {
    background-color: #113c4a;
    color: white;
    padding: 50px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: auto;
}

.icon-container .icon {
    font-size: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icon-container .icon span {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
}

/* Content */
.content {
    margin-left: 20px;
}

.content h2 {
    margin: 0;
    font-size: 24px;
    color: #000000;
}

.content p {
    margin: 10px 0;
    color: #555;
    padding: 10px 40px 10px 0;
    line-height: 1.6;
    text-align: justify;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .architectural, .cadd, .construction {
        flex-direction: column;
        padding: 40px 20px;
    }

    .content {
        margin-left: 0;
        text-align: center;
    }

    .icon-container {
        padding: 30px;
    }

    .icon-container .icon {
        font-size: 80px;
    }

    .icon-container .icon span {
        font-size: 16px;
    }

    .content h2 {
        font-size: 20px;
        margin-top: 10px;
    }

    .content p {
        padding: 10px 20px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .icon-container {
        padding: 20px;
    }

    .icon-container .icon {
        font-size: 60px;
    }

    .icon-container .icon span {
        font-size: 14px;
    }

    .content h2 {
        font-size: 18px;
        margin-top: 10px;
    }

    .content p {
        font-size: 14px;
    }
}


/* Project Page */
.a-project {
    padding: 20px;
    margin-top: 30px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    margin-bottom: 20px;
}

.search {
    flex: 1;
}

.options {
    max-width: 250px;
    width: 100%;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

.search input {
    max-width: 300px;
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

.search-icon {
    font-size: 1.2em;
    color: #888;
}

.search button:disabled {
    padding: 10px 20px;
    border: none;
    background-color: #183847;
    color: white;
    width: 60px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.a-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    max-width: 280px;
    width: 100%;
    overflow: hidden;
    transition: transform 0.2s;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    margin: 10px;
    font-size: 20px;
}

.card p {
    padding: 0 10px 10px;
    font-size: 14px;
    color: #555;
}

.floating-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #00aeff;
    color: #ffffff;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 40px;
    border: none;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    font-family: Arial, sans-serif;
}

.floating-btn:hover {
    background: #6a94a8;
}


.counter {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
  }
  
 /* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .a-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .search input {
        max-width: 100%;
    }
     .card {
        max-width: 100%;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
    }

    .options, .search {
        width: 360px;
    }

    .a-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .card {
        max-width: 100%;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .a-gallery {
         grid-template-columns: repeat(2, 1fr);
    }

    .header {
        padding: 10px;
    }

    .search input {
        font-size: 12px;
        padding: 6px;
    }

    .options {
        width: 160px;
        font-size: 12px;
        padding: 6px;
    }

    .card h3 {
        font-size: 18px;
    }

    .card p {
        font-size: 12px;
    }
}

/* View Project Images */
.view-project {
    max-width: 100%;
    margin: auto;
}

.project-details {
    display: flex;
    gap: 20px;
    margin-top: 50px;
    padding: 20px;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.project-image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
}

.project-info {
    flex: 1;
}

.project-info h1 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.project-info p {
    font-size: 1em;
    color: #555;
}

.related-photos {
    margin-top: 30px;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.related-photos h2 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #555;
}

.photo-gallery {
    max-width: 1000px;
    width: 100%;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 0;
    padding-top: 0;
}

.photo-gallery img {
    max-width: 500px;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.related-photos p {
    font-style: italic;
    color: gray;
}

/* Responsive Design for smaller screens */
@media (max-width: 768px) {
    .project-details {
        flex-direction: column; /* Stack the details vertically */
        align-items: center;
    }

    .project-image img {
        width: 100%; /* Adjust image width for smaller screens */
        height: auto;
    }

    .photo-gallery {
        grid-template-columns: repeat(3, 1fr); /* Two columns for medium screens */
    }
    .project-info {
        text-align: center;
    }
    .related-photos {
        padding: 40px;
        margin-top: 0;
    }
    .related-photos h2 {
    font-size: 18px;
    }
}

@media (max-width: 480px) {
    .project-info h1 {
        font-size: 1.5em; /* Adjust heading size for smaller screens */
    }

    .photo-gallery {
        grid-template-columns: repeat(2, 1fr); /* One column for smaller screens */
        padding: 0;
    }

    .project-image img {
        width: 100%; /* Full width image */
    }
    .related-photos {
        padding: 20px;
        margin-top: 0;
    }
    .related-photos h2 {
    font-size: 14px;
    }
}


/* Services Section */
.services {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 50px 20px;
    background-color: #f8f9fa; /* Light background */
}

/* Offerings grid */
.offerings {
    display: flex;
    padding: 20px 50px;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}
  
.offerings {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: space-around;
}

.offering {
    background-color: #fff;
    padding: 40px 20px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(33.333% - 40px);
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    position: relative;
    opacity: 0; /* Initially hidden */
    transform: translateY(100px); /* Start lower */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; /* Smooth slide-up effect */
    margin-bottom: 50px;
}

.offering {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.offering.visible {
    opacity: 1;
    transform: translateY(0);
}
.offering .icon {
    background-color: #183847;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Ensures the image doesn't overflow the circle */
}

/* Make the image fill the circular container */
.offering .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image completely fills the circle */
    border-radius: 50%; /* Keeps the image fully circular */
}


.offering h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000;
    padding-top: 40px;
}

.offering p {
    font-size: 14px;
    line-height: 1.6;
}
.offering:hover {
    background-color: rgba(0, 0, 0, 0.1); /* Slightly darker background on hover */
    border-radius: 8px;
}

.action-buttons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background-color: rgba(0, 0, 0, 0.3); /* Optional overlay for better visibility */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.offering:hover .action-buttons {
    opacity: 1;
}

.action-buttons .edit-btn,
.action-buttons .delete-btn {
    margin: 5px 5px 0;
    padding: 10px 20px;
    width: 100px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: 2px solid white;
}

.action-buttons .edit-btn:hover,
.action-buttons .delete-btn:hover {
    background-color: rgba(255, 255, 255, 0.9); /* Slightly white background */
    color: black; /* Black text */
}
@media (max-width: 1024px) {
    .offering {
        flex: 1 1 calc(50% - 40px); /* Two columns */
    }
}

/* Tablets & iPads (768px) */
@media (max-width: 768px) {
    .offering {
        flex: 1 1 calc(50% - 20px); /* Two columns, slightly less gap */
    }
}

/* Mobile Phones (480px) */
@media (max-width: 480px) {
    .offerings {
        align-items: center;
        height: 100%;
    }

    .offering {
        flex: 1 1 100%; /* Full width */
        max-width: 100%;
    }
}



  