@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Open+Sans&family=Philosopher&family=Poppins:wght@300&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;

}

:root {
    --font-01: 'Poppins', sans-serif;
    --font-02: 'Philosopher', sans-serif;

    /* color  */
    --global-color-0: #B76E79;
    --global-color-1: #DCAE96;
    --global-color-2: #A9A9A9;
    --global-color-3: lightblue;
    --global-color-4: #f7f7f7;
    --global-color-5: #fff;
    --global-color-6: #A9A9A9;
    --global-color-7: #BFD1FF;

}

/* sectionFirst */

.sectionFirst {
    padding: 12rem 0% 15rem;
}

.sectionFirst::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: var(--global-color-2); */
    background-image: url("../Images/about_us.jpeg");
    z-index: -1;
    opacity: .7;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Default text color */
.boxinfo p, .ser-name {
    color: #333; /* Default dark gray */
    transition: color 0.3s ease-in-out;
}

/* Hover effect: Change text color when hovering over the image */
.box:hover .boxinfo p, 
.box:hover .boxinfo .ser-name {
    color: #B76E79; /* Rose gold */
}


.sectionFirst h1 {
    text-align: center;
    font-size: 5rem;
    font-family: var(--font-02);
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.AboutMeInDetail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.AboutMeInDetail:nth-child(even) {
    flex-direction: row-reverse;
}

.img img {
    max-width: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.infoAboutMe {
    max-width: 60%;
}

.infoAboutMe h1 {
    font-size: 24px;
    color: #333;
}

.p-text {
    font-size: 18px;
    color: #555;
    margin-bottom: 10px;
}

.para {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.infoAboutMe h2 {
    font-size: 20px;
    color: #333;
    margin-top: 20px;
}

.iconLink {
    margin-top: 10px;
}

.iconLink i {
    margin-right: 10px;
    color: #666;
}

.iconLink a {
    text-decoration: none;
    color: #007BFF;
}

.iconLink a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .AboutMeInDetail {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .AboutMeInDetail:nth-child(even) {
        flex-direction: column;
    }

    .img img {
        max-width: 100%;
    }

    .infoAboutMe {
        max-width: 100%;
    }
}

/* Now it's time to make it responsive  */

@media (max-width:1024px) {
    header {
        padding: 10px;
        overflow-x: visible;
    }
    header nav {
        position: absolute;
        width: 100%;
        top: 88px;
        left: 0;
        display: none;
    }
    header.active nav {
        display: block;
    }
    header ul li {
        width: 100%;
    }
    header ul li a {
        border: 1px solid #434343;
        position: relative;
        z-index: 3;
        font-weight: 800;
    }
    header ul li a:hover {
        color: var(--global-color-3);
    }
    header ul li a:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--global-color-1);
        z-index: -1;
        opacity: .8;
    }
    header ul li #NavNum {
        width: fit-content;
        display: none;
    }
    /* menuToggle */
    .menuToggle {
        position: relative;
        width: 40px;
        height: 50px;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .menuToggle::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background: #fff;
        box-shadow: 0 12px #fff;
        transform: translateY(-12px);
    }
    .menuToggle::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background: #fff;
        transform: translateY(12px);
    }
    /* .active  */
    header.active .menuToggle::before {
        transform: rotate(45deg);
        box-shadow: 0 0 #Fff;
    }
    header.active .menuToggle::after {
        transform: rotate(315deg);
    }
    section.active {
        position: relative;
    }
    section.active:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #474747;
        z-index: 1;
        opacity: .91;
    }
}

/* second section  */

.AboutMeInDetail {
    padding: 2.5rem 5%;
    display: flex;
    gap: 2rem;
}

.AboutMeInDetail .img {
    max-width: 400px;
}

.AboutMeInDetail .img img {
    width: 100%;
    border-radius: 10px;
}

.AboutMeInDetail .infoAboutMe {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.AboutMeInDetail .infoAboutMe h1 {
    color: var(--global-color-1);
    font-family: var(--font-02);
}

.AboutMeInDetail .infoAboutMe .p-text {
    font-family: var(--font-02);
}

/* .AboutMeInDetail .infoAboutMe .para {} */

.AboutMeInDetail .infoAboutMe h2 {
    font-family: var(--font-02);
    color: var(--global-color-1);

}

.AboutMeInDetail .infoAboutMe .iconLink {
    display: flex;
    gap: 2rem;
}

.AboutMeInDetail .infoAboutMe .iconLink i {
    color: var(--global-color-1);
    overflow-y: hidden;
}

.AboutMeInDetail .infoAboutMe .iconLink i a {
    padding-left: 10px;
    text-decoration: none;
    color: black;
    font-family: var(--font-01);
    transition: all .4s ease;
}

.AboutMeInDetail .infoAboutMe .iconLink i a:hover {
    color: var(--global-color-1);
}

.box {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center aligns content */
    text-align: center;
}

/* Quick Links List */
.box ul {
    list-style: none;
    padding: 0;
    margin-bottom: 10px; /* Space between Quick Links and Icons */
}

.box ul li {
    margin: 5px 0;
}

.box ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

/* Quick Links Hover Effect */
.box ul li a:hover {
    color: #B76E79; /* Rose Gold */
}

.icons {
    display: flex;
    justify-content: center; /* Center icons */
    align-items: center;
    gap: 15px; /* Space between icons */
    margin-top: 10px;
}

.social-icon {
    font-size: 15px; /* Adjusted icon size */
    color: #555; /* Neutral dark gray */
    background-color: white; /* Background for contrast */
    border-radius: 50%; /* Makes it circular */
    padding: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15); /* Subtle shadow */
}

.title:hover, .title:hover .subtitle {
    color: #B76E79; /* Rose gold color */
}

.social-icon:hover {
    background-color: #B76E79; /* Rose Gold Background */
    color: white; /* Icon turns white */
    transform: scale(1.1); /* Slight pop effect */
}











/* before footer  */

.beforefooter {
    padding: 2rem 2%;
    display: grid;
    grid-template-columns: 50% 25% 25%;
    gap: 2rem;
    background-color: #1a1a1a;
    color: #fff;
}

.beforefooter .box {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.beforefooter .box .logo {
    color: var(--global-color-1);
    text-decoration: none;
    font-weight: 600;
    font-size: xx-large;
    font-family: var(--font-02);
    text-shadow: .5px .5px 3px var(--global-color-1);
    transition: .4s;
    width: fit-content;
}

.beforefooter .box .logo:hover {
    transform: scale(1.1);
}

.beforefooter .box .bf-text {
    text-decoration: none;
    /* font-weight: 600; */
    font-size: xx-large;
    font-family: var(--font-02);
}

.beforefooter .box a {
    text-decoration: none;
    color: white;
}

.beforefooter .box .icons a {
    border: 1px solid var(--global-color-1);
    padding: .5rem;
    background-color: var(--global-color-1);
    transition: all .5s ease;
}

.beforefooter .box .icons a:hover {
    background-color: var(--global-color-0);
}

.beforefooter .box .address {
    padding-right: 1rem;
}

.box {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center aligns content */
    text-align: center;
}


/* Quick Links List */

.box ul {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
    /* Space between Quick Links and Icons */
}

.box ul li {
    margin: 5px 0;
}

.box ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}


/* Quick Links Hover Effect */

.box ul li a:hover {
    color: #B76E79;
    /* Rose Gold */
}

.icons {
    display: flex;
    justify-content: center;
    /* Center icons */
    align-items: center;
    gap: 15px;
    /* Space between icons */
    margin-top: 10px;
}

.social-icon {
    font-size: 15px;
    /* Adjusted icon size */
    color: #555;
    /* Neutral dark gray */
    background-color: white;
    /* Background for contrast */
    border-radius: 50%;
    /* Makes it circular */
    padding: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
    /* Subtle shadow */
}


/* Main heading "Perfection" */

.title {
    font-size: 50px;
    /* Large size for "Perfection" */
    font-weight: bold;
    color: #333;
    text-align: center;
    transition: color 0.3s ease-in-out;
}


/* Subtitle "Your Skin Our Passion" */

.subtitle {
    font-size: 30px;
    /* Slightly smaller than "Perfection" */
    font-weight: normal;
    color: #555;
    display: block;
    /* Places it below "Perfection" */
    transition: color 0.3s ease-in-out;
}


/* Rose gold hover effect */

.title:hover,
.title:hover .subtitle {
    color: #B76E79;
    /* Rose gold color */
}

.social-icon:hover {
    background-color: #B76E79;
    /* Rose Gold Background */
    color: white;
    /* Icon turns white */
    transform: scale(1.1);
    /* Slight pop effect */
}


/* Dimming the paragraph text */

.para {
    color: rgba(255, 255, 255, 0.7);
    /* Soft white for light backgrounds */
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    max-width: 80%;
    margin: 0 auto;
}


/* footer */

footer {
    display: flex;
    justify-content: space-between;
    align-content: center;
    padding: 2rem 2%;
    background-color: #A9A9A9;
    color: #fff
}
