@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    font-family: 'Manrope', sans-serif;
    background-color: #fff;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    padding: 10px 145px;
    z-index: 99;
}

.navbar-logo a {
    font-size: 24px;
    color: black;
    text-decoration: none;
    font-weight: bold;
}

.navbar-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.navbar-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.navbar-links a:hover {
    color: #003D5A;
    transition: all 0.3s ease;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    position: absolute;
    background-color: white;
    min-width: 150px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    visibility: hidden;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.dropdown-content a {
    color: #333;
    padding: 12px 12px;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #003D5A;
    border-left: #003D5A solid 2.5px;
}

.navbar-buttons {
    display: flex;
}

.navbar-buttons .button {
    margin-left: 10px;
    padding: 10px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.whatsapp {
    background-color: #003D5A;
    color: white;
}

.call {
    background-color: #003D5A;
    color: white;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    background-color: #f8f9fa;
    overflow-x: hidden;
    transition: width 0.5s ease;
    padding-top: 60px;
}

.sidebar a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px;
    display: block;
    color: #333;
    transition: color 0.3s ease;
}

.sidebar a:hover {
    color: #003D5A;

}

.sidebar .dropdown-content {
    padding-left: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    visibility: hidden;
}

.sidebar .dropdown:hover .dropdown-content {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.sidebar-buttons {
    padding: 10px;
}

.mob {
    border-radius: 10px;
    width: 200px;
    margin-top: 10px;
}

.mob a {
    display: block;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 36px;
    background: none;
    border: none;
    cursor: pointer;
}



/* Hero Section */
.hero {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 50px;
    align-items: center;
    min-height: 90vh;
}

:root {
    --block-width: 50vw;
    /* 2 blocks = 80vw total */
    --gap: 3vw;
}

/* Collage Grid */
.collage {
    display: grid;
    grid-template-columns: var(--block-width) var(--block-width);
    grid-template-rows: calc(var(--block-width) * 0.875) calc(var(--block-width) * 1.5);
    gap: var(--gap);
    justify-content: center;
    max-width: 100%;
}

/* Block Container */
.block {
    width: var(--block-width);
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

/* Block Sizes */
.block-1 {
    grid-column: 1;
    grid-row: 1;
    height: calc(var(--block-width) * 0.875);
}

.block-2 {
    grid-column: 2;
    grid-row: 1;
    height: calc(var(--block-width) * 1.75);
}

.block-3 {
    grid-column: 1;
    grid-row: 2;
    height: calc(var(--block-width) * 1.5);
}

.block-4 {
    grid-column: 2;
    grid-row: 2;
    height: calc(var(--block-width) * 0.625);
    align-self: end;
}

/* Image inside each block */
.block img {
    position: absolute;
    width: calc(var(--block-width) * 2);
    height: calc(var(--block-width) * 2.375);
    /* 2 rows worth */
    object-fit: cover;
}

/* Positioning the image correctly */
.block-1 img {
    top: 0;
    left: 0;
}

.block-2 img {
    top: 0;
    left: calc(var(--block-width) * -1);
}

.block-3 img {
    top: calc(var(--block-width) * -0.875);
    left: 0;
}

.block-4 img {
    top: calc(var(--block-width) * -1.75);
    left: calc(var(--block-width) * -1);
}

@media (min-width: 1024px) {
    :root {
        --block-width: 200px;
        --gap: 16px;
    }
}

/* Content Side */
.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #111;
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555;
}

.btn {
    display: inline-block;
    background-color: #003D5A;
    color: #fff;
    text-decoration: none;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #002f44;
}

.about-section-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 80px 5%;
    flex-wrap: wrap;
}

.about-content {
    max-width: 600px;
    text-align: left;
}

.about-tag {
    display: inline-block;
    background-color: #f1f5f9;
    color: #0077b6;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-heading {
    font-size: 2.8rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.about-cta-button {
    display: inline-block;
    background-color: #003D5A;
    color: #fff;
    text-decoration: none;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.3s;
}

.about-cta-button:hover {
    background-color: #002f44;
}

.about-grid {
    display: grid;
    grid-template-columns: 120px 140px 120px;
    grid-template-rows: 220px 280px;
    grid-template-areas:
        "frag1 frag2 frag2"
        "frag3 frag3 frag4";
    gap: 16px;
    position: relative;
    max-width: max-content;
    padding: 0;
}

.about-frag {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.about-frag img {
    position: absolute;
    width: 460px;
    /* Covers full grid width */
    height: 500px;
    /* Covers full grid height */
    object-fit: cover;
}

/* Image Positioning - Seamless Composition */
.about-frag1 {
    grid-area: frag1;
}

.about-frag1 img {
    top: 0;
    left: 0;
}

.about-frag2 {
    grid-area: frag2;
}

.about-frag2 img {
    top: 0;
    left: -130px;
}

.about-frag3 {
    grid-area: frag3;
}

.about-frag3 img {
    top: -220px;
    /* moves image up exactly one row */
    left: 0;
}

.about-frag4 {
    grid-area: frag4;
}

.about-frag4 img {
    top: -220px;
    left: -280px;
}


.why-choose-us {
    text-align: center;
}

.why-choose-us h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    color: #0077be;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}


@media (max-width: 768px) {
    .about-section-wrapper {
        flex-direction: column-reverse;
        text-align: center;
        padding: 60px 20px;
        gap: 40px;
        width: 100%;
    }

    .about-content {
        text-align: left;
    }

    .about-heading {
        font-size: 2.2rem;
    }

    .about-grid {
        grid-template-columns: 100px 120px 100px;
        grid-template-rows: 120px 160px;
        gap: 10px;
        width: 100%;
    }

    .about-frag img {
        width: 350px;
        height: 350px;
    }

    .about-frag2 img {
        left: -100px;
    }

    .about-frag3 img {
        top: -120px;
    }

    .about-frag4 img {
        top: -120px;
        left: -220px;
    }
}

.testimonials-container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
    overflow: hidden;
    padding: 20px;
}

.testimonials-container h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.testimonials-slider {
    display: flex;
    animation: slide 15s linear infinite;
}

.testimonial-card {
    flex: 0 0 auto;
    width: 300px;
    margin-right: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.testimonial-content {
    text-align: left;
}

.user-image {
    border-radius: 50%;
    height: 50px;
    width: 50px;
    object-fit: cover;
    margin-right: 10px;
}

.testimonial-text {
    clear: both;
    font-size: 1rem;
    color: #555;
    margin: 10px 0;
}

.user-name {
    font-weight: bold;
    margin: 5px 0;
}

.user-title {
    color: #003D5A;
    margin: 5px 0;
}

.rating {
    color: #FFD700;
    font-size: 1.2rem;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}


.footer {
    background-color: #f8f9fa;
    padding: 50px 0 20px;
    font-family: 'Manrope', sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    margin: 0 20px;
    min-width: 250px;
}

.footer-section h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #333;
}

.footer-section p,
.footer-section a {
    color: #555;
    text-decoration: none;
}

.footer-section a:hover {
    color: #003D5A;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
    border-top: 1px solid #ddd;
}

.footer-bottom p {
    color: #555;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: left;
    }

    .footer-section {
        margin-bottom: 30px;
    }
}


.features-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    background-color: rgb(196, 196, 196);
    margin: 0 auto;
    margin-top: 60px;
    flex-wrap: wrap;
    padding: 22px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 15px;
    text-align: center;
}

.feature-icon {
    background-color: white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feature-icon i {
    font-size: 2rem;
    color: #003D5A;
}

.feature p {
    font-size: 1rem;
    color: #333;
    margin: 0;
    font-weight: 500;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .feature {
        width: calc(50% - 30px);
        /* Two items per row on mobile */
        box-sizing: border-box;
    }
}


/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: start;
        padding: 0px 20px;
        gap: 0px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }


    .hero-content {
        text-align: start;
    }

    .collage {
        transform: scale(0.9);
    }
}




.team-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 5%;
    background-color: #fff;
}

.team-content {
    text-align: center;
    max-width: 700px;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background-color: #f8f9fa;
    color: #0077b6;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid #e9ecef;
}

.section-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #0077b6;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.main-heading {
    font-size: 2.8rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
}

.main-heading .highlight {
    color: #0077b6;
}

.description {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    width: 100%;
    max-width: 1200px;
}

.team-member {
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member img {
    width: fit-content;
    height: 360px;
    object-fit: contain;
    border-radius: 16px;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
}

.team-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
}

.team-role {
    font-size: 0.95rem;
    color: #666;
    margin-top: 4px;
}


.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 200px;
    gap: 16px;
}

.bento-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bento-feature {
    grid-column: span 1;
    background: #000;
}

.bento-feature img {
    filter: brightness(0.5);
}

.bento-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    color: white;
}

.bento-overlay span {
    font-size: 14px;
    opacity: 0.8;
}

.bento-overlay h3 {
    font-size: 1.4rem;
    line-height: 1.4;
    margin: 8px 0 0;
    font-weight: 600;
}

.bento-overlay em {
    font-style: italic;
    font-weight: bold;
}

.bento-wide {
    grid-column: span 2;
}

.bento-stat {
    background: linear-gradient(135deg, #003D5A, #005983);
    color: white;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.stat-box {
    padding: 20px;
}

.stat-box span {
    font-size: 14px;
    opacity: 0.8;
}

.stat-box h4 {
    font-size: 2rem;
    margin: 10px 0 5px;
    font-weight: 700;
}

.stat-box p {
    font-size: 14px;
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 180px;
    }

    .bento-wide {
        grid-column: span 1;
    }

    .team-content {
        text-align: left;
    }

    .team-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 32px;
        width: 100%;
        max-width: 1200px;
    }
}


@media screen and (max-width: 768px) {

    .navbar {
        padding: 10px 20px;
    }

    .navbar-links,
    .navbar-buttons {
        display: none;
    }

    .hamburger {
        display: block;
    }
}