/*Custom Property*/
:root {
    /*colors*/
    --international-orange-engineering: hsl(1, 91%, 37%);
    --cadet-blue-creyola: hsl(222, 14%, 69%);
    --oxford-blue-1: hsl(222, 47%, 15%);
    --oxford-blue-2: hsl(222, 44%, 14%);
    --oxford-blue-3: hsl(222, 50%, 11%);
    --sonic-silver: hsl(0, 0%, 44%);
    --space-cadet: hsl(222, 44%, 18%);
    --pastel-pink: hsl(1, 53%, 75%);
    --eerie-black: hsl(0, 0%, 15%);
    --light-grey: hsl(0, 0%, 80%);
    --white: hsl(0, 0%, 100%);



    /*typography*/
    --ff-chakra-petch: 'Chakra Petch', sans-serif;
    --ff-mulish: 'Mulish', sans-serif;

    --fs-1: 3.5rem;
    --fs-2: 3rem;
    --fs-3: 2.4rem;
    --fs-4: 1.8rem;
    --fs-5: 1.4rem;
    --fs-6: 1.2rem;

    --fw-400: 400;
    --fw-600: 600;
    --fw-700: 700;

    /*spacing*/

    --section-padding: 60px;

    /*box shadow*/
    --shadow: 0px 0px 100px 0px hsl(216, 9%, 90%);

    /*border radius*/
    --radius-pill: 100px;
    --radius-circle: 50%;

    /*transition*/
    --transition: 0.25s ease;
    --cubic-out: cubic-bezier(0.05, 0.83, 0.52, 0.97);

}

/*reset*/

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

li {
    list-style: none;
}

a,
img,
button {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    height: auto;
}

button {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
}

address {
    font-style: normal;
}

html {
    font-family: var(--ff-mulish);
    font-size: 10px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--sonic-silver);
    font-size: 1.6rem;
    line-height: 1.5;
    /* height: 300vh; */
    /* background-color: var(--eerie-black); */
}

:focus-visible {
    outline-offset: 4px;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: hsl(0, 0%, 98%);
}

::-webkit-scrollbar-thumb {
    background-color: hsl(0, 0%, 80%);
}

::-webkit-scrollbar-thumb:hover {
    background-color: hsl(0, 0%, 70%);
}


.contact-banner-img {
    background-size: cover;
    width: 100%;
    background-position: center;
}

.container-contact {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-item {
    width: 100%;
    height: 550px;
    max-width: 820px;
    /* background: #fff; */
    box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
    grid-template-columns: repeat(2, 1fr);
    display: grid;
}

.contact {
    /* background: rgb(53, 53, 53); */
    background: linear-gradient(135deg, #add8e6, #ffffff);
}

.first-text {
    color: var(--oxford-blue-3);
    padding-left: 20px;
    padding-top: 20px;
    font-size: 35px;
    font-weight: 600;
    text-align: center;
}

.connect-img {
    height: 350px;
    width: 400px;
    padding-left: 8%;
}

.social-media {
    display: flex;
    list-style: none;
    padding-left: 45%;
}

.social-media ul li {
    padding-left: 15px;
    font-size: 24px;
    margin-top: 10px;
}

i {
    background: black;
    padding: 5px;
    border-radius: 5px;
    transition: .3s;
    color: #fff;
}

.linkdin-connect {
    background: var(--green);
    padding: 5px;
    border-radius: 5px;
    transition: .3s;
    color: #fff;

}

.social-media i:hover {
    background: #fff;
    color: var(--green);
}

.second-text {
    color: var(--oxford-blue-3);
    text-align: center;
    font-weight: 600;
}

.contact-card {
    padding: 9% 20%;
    /* Padding on top and bottom, and more padding on left and right */
    background-color: #fff;
    /* Inner color */
    color: #000;
    /* Text color */
    border-radius: 30px;
    /* Rounded corners */
    border: 2px solid #add8e6;
    /* Outline color */
    text-align: center;
    /* Center align text */
    margin: 0 15px;
    /* Add margin on left and right */
    outline: none;
    /* Remove default outline */
    position: relative;
    /* Position relative for pseudo-element */
    transition: box-shadow 0.3s;
    /* Add transition for smooth effect */
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    z-index: -1;
    border-radius: 35px;
    /* Adjust based on border-radius of .contact-card */
    box-shadow: 0 0 20px transparent;
    /* Initial box-shadow */
    transition: box-shadow 0.3s;
    /* Add transition for smooth effect */
}

.contact-card:hover,
.contact-card:focus {
    box-shadow: 0 0 40px #add8e6;
    /* Glow effect color on hover or focus */
}

.contact-card:hover::before,
.contact-card:focus::before {
    box-shadow: 20px 0 50px #add8e6;
    /* Glow effect color on hover or focus for pseudo-element */
}

.contact-card h3 {
    margin-bottom: 10px;
    /* Add spacing below headings */
    color: var(--oxford-blue-3);
}

.contact-card p {
    color: var(--oxford-blue-3);
}


/**OFFICE ADDRESS**/

.address-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.address-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.address-card img {
    border-radius: 10px 10px 0 0;
}

.address-card .card-text {
    color: #666;
    padding: 3%;
    color: var(--oxford-blue-3);
}

.card-title {
    padding-top: 3%;
    padding-left: 3%;
    color: var(--oxford-blue-3);
    font-size: x-large;
    font-weight: bolder;
}

.office-add-container {
    padding-left: 18%;
    /* padding-right: 3%; */
    width: 150%;
}

/**dropdown**/
/* Custom CSS to show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}


/* Office video to cover the full width */
.card-video {
    width: 100%;
    /* height: auto; 
    border-radius: 10px 10px 0 0; */
}

/* Adjustments for smaller screens */
@media screen and (max-width: 768px) {
    .container-contact {
        height: auto;
        padding-top: 10%; /* Adjust as needed */
    }

    .contact-item {
        height: auto;
        max-width: 90%; /* Adjust as needed */
        grid-template-columns: 1fr; /* Single column layout */
    }

    .connect-img {
        width: 100%; /* Make the image responsive */
        height: auto;
    }

    .social-media {
        padding-left: 0; /* Remove padding */
        justify-content: center; /* Center align social icons */
    }

    .social-media ul li {
        padding-left: 0; /* Remove padding */
        margin: 0 10px; /* Add some spacing between icons */
    }

    .contact-card {
        padding: 5% 10%; /* Adjust padding */
    }

    .office-add-container {
        padding-left: 0; /* Remove left padding */
        padding-right: 0; /* Remove right padding */
        width: 100%; /* Adjust width */
    }
}

/* Additional adjustments for even smaller screens */
@media screen and (max-width: 576px) {
    .container-contact {
        padding-top: 20%; /* Adjust as needed */
    }

    .contact-item {
        max-width: 95%; /* Adjust as needed */
    }

    .contact-card {
        padding: 5% 5%; /* Adjust padding */
    }

    .office-add-container {
        padding-top: 5%; /* Adjust as needed */
    }
}


/* Add this CSS code to adjust the layout for smaller screen sizes */

@media (max-width: 768px) {
    .contact-info {
        padding-top: 10%; /* Adjust the padding-top for smaller screens */
    }
    
    .office-add-container {
        padding-top: 5%; /* Adjust the padding-top for smaller screens */
    }
}

/* Add this CSS code to adjust the layout for smaller screen sizes */

@media (max-width: 768px) {
    .container-contact {
        display: flex;
        flex-direction: column-reverse; /* Reverse the order of the contact and office address sections */
        align-items: center;
    }

    .contact-info {
        margin-top: 5%; /* Adjust the margin-top for smaller screens */
    }

    .office-add-container {
        margin-top: 5%; /* Adjust the margin-top for smaller screens */
    }
}


@media (max-width: 768px) {
    .office-add-container{
        margin-top: 100%;
    }
}





