@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');

:root {
    --main-color: #d3ad7f;
    --black: #13131a;
    --bg: #13131a;
    --border: rem solid rgba(255, 255, 255, .3);
}

* {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: .2s linear;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar {
    width: .8rem;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: #fff;
    border-radius: 5rem;
}

body {
    background: var(--bg);
}

section {
    padding: 2rem 3%;
}

.heading {
    text-align: center;
    color: #e1e1e1;
    text-transform: uppercase;
    padding-bottom: 3.5rem;
    font-size: 4rem;
}

.heading span {
    color: var(--main-color);
    text-transform: uppercase;
}

.btn {
    margin-top: 1rem;
    display: inline-block;
    padding: .9rem 3rem;
    font-size: 1.7rem;
    color: #fff;
    border-radius: 5px;
    background: var(--main-color);
    cursor: pointer;
}

.btn:hover {
    letter-spacing: .2rem;
    background: #d3ad7f;
}

.header {
    background: rgba(0, 0, 0, 0.5);
    /* Transparent background with 50% opacity */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1%;
    border-bottom: var(--border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    /* Optional: Add a blur effect */
}

.header .logo h3 {
    font-size: 3rem;
    margin: 1rem;
    color: #ddd;
}

.header .navbar {
    margin-left: auto;
    /* Moves the navbar buttons to the right */
}

.header .navbar a {
    margin: 0 2rem;
    font-size: 1.5rem;
    color: #fff;
}

.header .navbar a:hover {
    color: var(--main-color);
    padding-bottom: .5rem;
}

.header .icons div {
    color: #ddd;
    cursor: pointer;
    font-size: 2.5rem;
    margin-left: 2rem;
}

.header .icons div:hover {
    color: var(--main-color);
}

#menu-btn {
    display: none;
}


.messenger-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background-color: #13131a;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.messenger-float:hover {
    transform: scale(1.1);
}

.messenger-float img {
    width: 100%;
    height: auto;
}

.tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #d3ad7f;
    color: #13131a;
    text-align: center;
    border-radius: 5px;
    padding: 5px 10px;
    position: absolute;
    right: 70px;
    bottom: 15px;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.messenger-float:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}


.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url(images/home-img.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.home .content {
    max-width: 60rem;
}

.home .content h3 {
    margin-top: 5rem;
    margin-bottom: 2rem;
    font-size: 6rem;
    text-transform: uppercase;
    color: #ddd;
    text-align: left;
}

.home .content p {
    font-size: 1.7rem;
    font-weight: 390;
    line-height: 1.8;
    padding: 1rem 0;
    margin-bottom: 3rem;
    color: #b0aeae;
    text-align: justify;
}

.about .row {
    display: flex;
    align-items: center;
    background: var(--black);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    /* Box shadow added */
    border-radius: 5px;
    /* Adjust this value to make corners more/less rounded */
    border: var(--border);
    flex-wrap: wrap;
}

.about .row .image {
    flex: 1 1 45rem;
}

.about .row .image img {
    width: 100%;
    border-radius: 5px;
    /* Adjust this value to make corners more/less rounded */
}

.about .row .content {
    flex: 1 1 45rem;
    padding: 2rem;
}

.about .row .content h3 {
    font-size: 3rem;
    color: #ddd;
    text-align: center;
}

.about .row .content p {
    font-size: 1.4rem;
    font-weight: 350;
    color: #b0aeae;
    padding: 1rem 0;
    line-height: 1.5;
    text-align: justify;
}

.services .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.services .box-container .box {
    padding: 5rem;
    text-align: center;
    border: var(--border);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    /* Box shadow added */
    border-radius: 5px;
    /* Rounded corners */
    transition: transform 0.3s, box-shadow 0.3s;
    /* Smooth effect for hover */
}

.services .box-container .box img {
    height: 10rem;
}

.services .box-container .box h3 {
    color: #ddd;
    font-size: 2rem;
    padding: 1rem 0;
}

.services .box-container .box .description {
    color: #b0aeae;
    font-size: 1.1rem;
    padding: .5rem 0;
    font-weight: 300;
    text-align: justify;
}

.services .box-container .box:hover {
    background: #dcdcdc;
    transform: translateY(-10px);
    /* Lift effect on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    /* Stronger shadow on hover */
    border-radius: 5px;
    /* Keep the rounding on hover */
}

.services .box-container .box:hover>* {
    color: var(--black);
}

.portfolio .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.portfolio .box-container .box {
    padding: 5rem;
    text-align: center;
    border: var(--border);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    /* Box shadow added */
    border-radius: 5px;
    /* Rounded corners */
    transition: transform 0.3s, box-shadow 0.3s;
    /* Smooth effect for hover */
}

.portfolio .box-container .box img {
    height: 10rem;
}

.portfolio .box-container .box h3 {
    color: #ddd;
    font-size: 2rem;
    padding: 1rem 0;
}

.portfolio .box-container .box .description {
    color: #b0aeae;
    font-size: 1.1rem;
    padding: .5rem 0;
    font-weight: 300;
    text-align: justify;
}

.portfolio .box-container .box:hover {
    background: #dcdcdc;
    transform: translateY(-10px);
    /* Lift effect on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    /* Stronger shadow on hover */
    border-radius: 5px;
    /* Keep the rounding on hover */
}

.portfolio .box-container .box:hover>* {
    color: var(--black);
}

.review .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.review .box-container .box {
    border: var(--border);
    text-align: center;
    padding: 3rem 2rem;
}

.review .box-container .box p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #b0aeae;
    padding: 2rem 0;
}

.review .box-container .box .user {
    height: 7rem;
    width: 7rem;
    border-radius: 50%;
    object-fit: cover;
}

.review .box-container .box h3 {
    padding: 1rem 0;
    font-size: 2rem;
    color: #ddd;
}

.review .box-container .box .stars i {
    font-size: 1.5rem;
    color: var(--main-color);
}

.team .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.team .box-container .box {
    padding: 5rem;
    text-align: center;
    border: var(--border);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    /* Box shadow added */
    border-radius: 5px;
    /* Rounded corners */
    transition: transform 0.3s, box-shadow 0.3s;
    /* Smooth effect for hover */
}

.team .box-container .box img {
    height: 10rem;
}

.team .box-container .box h3 {
    color: #ddd;
    font-size: 2rem;
    padding: .51rem 10;
}

.team .box-container .box .designation {
    color: #b0aeae;
    font-size: 1.2rem;
    padding: 1rem 0;
}

/* Hover Effects */
.team .box-container .box:hover {
    background: #dcdcdc;
    transform: translateY(-10px);
    /* Lift effect on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    /* Stronger shadow on hover */
    border-radius: 5px;
    /* Keep the rounding on hover */
}

.team .box-container .box:hover>* {
    color: var(--black);
    /* All child elements turn black when box is hovered */
}

.team .box-container .box a {
    color: #b0aeae;
    /* Default color */
    font-size: 2rem;
    padding: 0.2rem;
    transition: color 0.3s ease;
    /* Smooth color transition */
}

.team .box-container .box a:hover,
.team .box-container .box:hover a {
    color: var(--black);
    /* Change social media icons to black when box is hovered */
}

.team .box-container .box a:focus {
    outline: none;
    /* Remove outline when focused */
}

.contact {
    padding: 2rem 3%;
    text-align: center;
}

.contact .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.contact .contact-details {
    flex: 1 1 40%;
    background: #1b1b26;
    padding: 2.5rem;
    border-radius: 5px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact .contact-details h3 {
    font-size: 3rem;
    color: #ddd;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.contact .contact-details .detail {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact .contact-details .detail .icon {
    font-size: 2rem;
    color: #ddd;
    margin-bottom: 1rem;

}

.contact .contact-details .detail h4 {
    font-size: 1.5rem;
    color: #ddd;
    margin: 0;
}

.contact .contact-details .detail p {
    font-size: 1.5rem;
    color: #b0aeae;
    margin: 0;
    margin-bottom: 1rem;
}

.contact .message-form {
    flex: 1 1 55%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact .message-form .inputBox label {
    font-size: 1.4rem;
    color: #ddd;
    display: block;
    margin-bottom: 0.5rem;
}

.contact .message-form .inputBox input,
.contact .message-form .inputBox textarea {
    width: 100%;
    padding: 0.8rem;
    font-size: 1.2rem;
    border: 1.5px solid #1b1b26;
    border-radius: 5px;
    outline: none;
    color: #ddd;
    background: #13131a;
}

.contact .message-form .inputBox textarea {
    height: 120px;
    resize: none;
}

.contact .message-form .btn span {
    margin-left: 0.5rem;
    font-size: 1.2rem;
}



/* Footer */
.fheading {
    text-align: left;
    color: #e1e1e1;
}

.fheading span {
    color: var(--main-color);
}

.footer {
    background-color: #1b1b26;
    color: #b0aeae;
    padding: 3rem 2rem;
    margin-top: 3rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

/* Contact column takes more space */
.footer-column:first-child {
    flex: 4;
    /* Contact section will take double the space */
}

.footer-column h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ddd;
}

.footer-column p {
    font-size: 1.3rem;
    margin: 0.7rem 0;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin: 0.7rem 0;
}

.footer-column ul li a {
    color: #b0aeae;
    text-decoration: none;
    font-size: 1.3rem;
}

.footer-column ul li a:hover {
    color: #d3ad7f;
}

.footer-bottom {
    text-align: center;
    margin-top: 2.2rem;
    border-top: 1px solid #333;
    padding-top: 2rem;
    font-size: 1.5rem;
    color: #777;
}




/* media queries  */
@media (max-width:991px) {

    html {
        font-size: 55%;
    }

    .header {
        padding: 1.5rem 2rem;
    }

    section {
        padding: 2rem;
    }

}

@media (max-width:768px) {

    #menu-btn {
        display: inline-block;
    }

    .header .logo h3 {
        font-size: 2.5rem;
        margin: 1rem;
        color: #ddd;
    }

    .header .navbar {
        position: absolute;
        top: 100%;
        right: -100%;
        background: #13131a;
        width: 30rem;
        height: calc(100vh - 9.5rem);
    }

    .header .navbar.active {
        right: 0;
    }

    .header .navbar a {
        color: #ddd;
        display: block;
        margin: 1.5rem;
        padding: .5rem;
        font-size: 2rem;
    }

    .home {
        min-height: 100vh;
        background: url(images/home-img2.jpg) no-repeat;
        background-size: cover;
        background-position: center;
        justify-content: center;
        text-align: left;
    }

    .home .content h3 {
        font-size: 4.5rem;
    }

    .home .content p {
        font-size: 1.5rem;
    }

    .team .box-container {
        grid-template-columns: repeat(2, 1fr);
        /* Two containers per row */
        gap: 1rem;
        /* Adjust gap for small screens */
    }

    .team .box-container .box {
        padding: 3rem;
        /* Adjust padding for smaller screens */
    }

    .footer-container {
        display: flex;
        flex-wrap: wrap;
        /* Allow items to wrap into new rows */
        gap: 2rem;
        /* Space between items */
        justify-content: space-between;
        /* Space items evenly */
    }

    .footer-column {
        flex: 1;
        /* Each column will take equal width */
        min-width: 100px;
        /* Minimum width for each column */
    }

    /* Make 'contact' span the full width in the first row */
    .footer-column:first-child {
        flex: 1 0 100%;
        /* Make 'contact' take up the full width of the first row */
    }

    /* For the second row (content, services, social) */
    .footer-column:nth-child(2),
    .footer-column:nth-child(3),
    .footer-column:nth-child(4) {
        flex: 1;
        /* These columns will take equal space in the second row */
    }
}

@media (max-width:450px) {

    html {
        font-size: 50%;
    }

}