@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,500&family=Ubuntu:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu', 'Roboto', sans-serif;
}

:root {
    --primary-color: #fb0259;
    --dark-color: #000000;
    --darkLight-color: #fffafa;
    --text-color: #707070;
    --light-color: #fff;
    --body-color: #fadbea;
    --sideBar-color: #fff;
    --dark-text-color: #474747;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--body-color);
    transition: 0.5s ease-in-out;
}

body.dark {
    /* --primary-color: #e7e3e3;
    --darkLight-color: #e7e3e3; */
    --body-color: #000000;
    --dark-color: #0000;
    --light-color: #fff;
    --text-color: #505050;
    --sideBar-color: #202020;
}

hr {
    background: var(--primary-color);
    width: calc(100% - 250px);
    height: 2px;
    float: right;
    overflow: hidden;
    border: none;
    transition: 0.5s ease-in-out;
}

.sidebar.close ~ hr{
    width: calc(100% - 80px);
}

section .heading-text {
    position: relative;
    text-align: center;
    font-size: 38px;
    font-weight: 500;
    justify-content: center;
    margin: 60px 0;
    /* color: #0000; */
    margin-bottom: 80px;
    transition: 0.5s;
}

body.dark section .heading-text {
    color: var(--light-color);
}

section .heading-text::before {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 3px;
    background-color: var(--dark-color);
    transition: 0.5s;
}

body.dark section .heading-text::before {
    background-color: var(--light-color);
}

section .heading-text::after {
    position: absolute;
    font-size: 19px;
    font-weight: 100;
    padding: 0 12px;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--body-color);
    color: var(--primary-color);
    transition: 0.5s ease-in-out;
}

body.dark hr {
    background: var(--text-color);
}

.flex {
    display: flex;
    align-items: center;
}

.primary-btn {
    font-size: 18px;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 20px;
    color: var(--light-color);
    margin: 25px 0;
    background: var(--primary-color);
    border-top-right-radius: 0;
    transition: 0.5s ease-in-out;
    cursor: pointer;
}

.primary-btn:hover {
    background: none;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
}

body.dark .primary-btn:hover {
    color: var(--light-color);
}


/* sidebar styling */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    background: linear-gradient(rgba(251, 2, 89, 0.1), rgba(251, 2, 89, 0.1));
    transition: 0.5s ease-in-out;
    z-index: 999;
    border: 1px solid rgba(0, 0, 0, 0.18);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.32);
}

.sidebar.close {
    width: 80px;
}

body.dark .sidebar {
    background: var(--sideBar-color);
}

.logo img {
    width: 47px;
    margin: 15px 15px;
    border-radius: 6px;
}

.name {
    flex-direction: column;
    align-items: flex-start;
}

body.dark .name h2 {
    color: var(--light-color);
}

.name h2 {
    font-size: 23px;
    font-weight: 400;
    transition: 0.5s;
}

.name h2 span {
    color: var(--primary-color);
}

.name p {
    font-size: 13px;
    color: var(--text-color);
    transition: 0.5s;
}

body.dark .name p {
    color: var(--darkLight-color);
}

.sidebar.close .name h2,
.sidebar.close .name p {
    opacity: 0;
}

.close-icon {
    position: absolute;
    top: 29px;
    left: 95%;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    transform: rotate(180deg);
    color: var(--light-color);
    font-size: 12px;
    background: var(--primary-color);
    transition: 0.5s ease-in-out;
}

body.dark .close-icon {
    background: var(--text-color);
}

.sidebar.close .close-icon {
    left: 84%;
    transform: rotate(0deg);
}

.content {
    width: 230px;
    margin: 10px 10px;
    flex-direction: column;
    align-items: flex-start;
}

.sidebar .search-box {
    background: var(--darkLight-color);
    border-radius: 6px;
    width: 100%;
    height: 44px;
    transition: 0.5s ease-in-out;
}

.sidebar.close.sidebar .search-box {
    width: 25%;
}

body.dark .search-box .icon {
    color: var(--light-color);
}


.search-box .icon {
    font-size: 22px;
    min-width: 48px;
    padding: 5px 5px;
    color: var(--text-color);
    transition: 0.5s ease-in-out;
    z-index: 1;
}

.search-box input {
    width: 73px;
    height: 100%;
    font-size: 18px;
    font-weight: 400;
    color: var(--text-color);
    border: none;
    border-radius: 6px;
    outline: none;
    background: var(--darkLight-color);
    transition: 0.5s ease-in-out;
}

.sidebar.close .search-box input {
    opacity: 0;
}

body.dark .search-box input,
body.dark .sidebar .search-box {
    background: var(--text-color);
    color: var(--light-color);
}

ul li {
    list-style: none;
}

ul li a {
    text-decoration: none;
    color: var(--dark-text-color);

}

body.dark ul li a {
    color: var(--light-color);
}

.box {
    width: 230px;
    height: 44px;
    border-radius: 6px;
    transition: 0.4s;
    color: var(--dark-text-color);
    margin-block: 5px;
    cursor: pointer;
}

.sidebar.close .box {
    width: 58px;
}

body.dark .box {
    color: var(--light-color);
}

.box:hover {
    background: var(--primary-color);
    color: var(--light-color);
}

body.dark .box:hover {
    background: var(--text-color);
    color: var(--light-color);
}

.box .icon {
    font-size: 22px;
    min-width: 48px;
    padding: 5px 5px;
    cursor: pointer;
}

.box p {
    font-size: 18px;
    font-weight: 200;
    padding-right: 25px;
    white-space: nowrap;
}

.sidebar.close .box p {
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
}

.sidebar .extra-margin {
    margin-top: 80px;
}

.sun-moon {
    width: 56px;
    position: relative;
    justify-content: center;
}

.sun-moon .icon {
    position: absolute;
    top: -15px;
    left: 0;
    padding-right: 20px;
}

.sun {
    opacity: 0;
    transition: 0.5s;
}

body.dark .moon {
    opacity: 0;
}

body.dark .sun {
    opacity: 1;
}

.sidebar.close .sun-moon .icon {
    opacity: 0;
}

.mode-text {
    min-width: 119px;
}

.toggle-switch .switch {
    position: relative;
    height: 18px;
    width: 42px;
    border-radius: 25px;
    background: var(--darkLight-color);
    transition: 0.5s ease-in-out;
}

.sidebar.close .toggle-switch .switch,
body.dark .sidebar.close .toggle-switch .switch {
    transform: translateX(-112px);
}

.toggle-switch .switch::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-color);
    transition: 0.5s;
}

body.dark .toggle-switch .switch::before {
    left: 26px;
}

/* home section styling */

.home {
    position: relative;
    width: calc(100% - 250px);
    height: 100vh;
    justify-content: center;
    float: right;
    transition: 0.5s ease-in-out;
    overflow: hidden;
}

.sidebar.close~.home {
    width: calc(100% - 80px);
}

.home .container {
    position: absolute;
    top: 0;
    left: 8px;
    width: 1000px;
    height: 100vh;
    margin: 0 50px;
    transform: translateX(-58px);
    transition: 0.5s ease-in-out;
}

.sidebar.close~.home .container {
    left: 178px;
}

.bg-img {
    width: 100%;
    height: 100vh;
    /* background:linear-gradient(rgba(250,219,234,0.9), rgba(250,219,234,0.7)), url(./img/bg-img.webp); */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.left {
    width: 50%;
}

.left h1 {
    font-size: 43px;
    color: var(--primary-color);
    padding: 20px 0;
}

.left p {
    font-size: 18px;
    color: var(--text-color);
    padding: 2px 0;
    transition: 0.5s;
}

body.dark .left p {
    color: var(--light-color);
}

.right {
    width: 50%;
}

.right img {
    width: 600px;
}

.services .heading-text::after {
    content: 'try out';
}

.services {
    position: relative;
    width: calc(100% - 250px);
    height: 100vh;
    justify-content: center;
    float: right;
    transition: 0.5s ease-in-out;
}

.sidebar.close~.services {
    width: calc(100% - 80px);
}

.services .container {
    position: absolute;
    top: 0;
    left: 8px;
    width: 1000px;
    height: 100vh;
    margin: 0 50px;
    transform: translateX(-58px);
    transition: 0.5s ease-in-out;
    /* background: #000000; */
}

.sidebar.close~.services .container {
    left: 178px;
}

.cards {
    justify-content: center;
    gap: 30px;
}

.card {
    flex-direction: column;
    text-align: center;
    /* background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)); */
    background: linear-gradient(rgba(251, 2, 89, 0.1), rgba(251, 2, 89, 0.1));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 360px;
    height: 200px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.32);
    transition: 0.5s ease-in-out;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px);
}

body.dark .card {
    background: linear-gradient(rgba(32, 32, 32, 1), rgba(32, 32, 32, 1));
    border: 1px solid rgba(0, 0, 0, 0.18);
    box-shadow: 0 5px 5px rgba(255, 255, 255, 0.32);
}

.service-icon {
    font-size: 45px;
    font-weight: 500;
    color: var(--primary-color);
    padding: 10px 0;
    transition: 0.5s;
}

.i-1 {
    color: #ffa100;
}

.i-2 {
    color: #6f2700;
}

.i-3 {
    color: #2fb5fc;
}

.i-4 {
    color: #0000ff;
}

.i-5 {
    color: #f900ff;
}

.i-6 {
    color: #ff0000;
}

.card h2 {
    font-size: 29px;
    color: var(--primary-color);
    padding-bottom: 10px;
    transition: 0.5s;
}

.card p {
    font-size: 16px;
    color: var(--text-color);
    transition: 0.5s;
    padding: 0 20px;
}

body.dark .card p {
    color: var(--light-color);
}


/* collection section styling */

.collection {
    position: relative;
    width: calc(100% - 250px);
    height: 100vh;
    justify-content: center;
    float: right;
    transition: 0.5s ease-in-out;
}

.collection .heading-text::after {
    content: 'look out';
}

.collection .container {
    position: absolute;
    top: 0;
    left: 8px;
    width: 1000px;
    height: 100vh;
    margin: 0 50px;
    transform: translateX(-58px);
    transition: 0.5s ease-in-out;
}

.collection-cards {
    justify-content: center;
    gap: 20px;
}

.collection-card {
    text-align: center;
    width: 270px;
    height: 410px;
    background: linear-gradient(rgba(251, 2, 89, 0.1), rgba(251, 2, 89, 0.1));
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.32);
    border-radius: 6px;
    transition: 0.5s ease-in-out;
    cursor: pointer;
}

.collection-card:hover {
    transform: translateY(-10px);
}

body.dark .collection-card {
    background: linear-gradient(rgba(32, 32, 32, 1), rgba(32, 32, 32, 1));
    border: 1px solid rgba(0, 0, 0, 0.18);
    box-shadow: 0 5px 5px rgba(255, 255, 255, 0.32);
}

.web-img {
    width: 240px;
    height: 200px;
    /* background: black; */
    margin: 0 auto;
    transform: translateY(-20px);
    border-radius: 6px;
}

.web-img img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 -5px 10px rgba(255, 255, 255, 0.32);
}

.collection-card h3 {
    font-size: 21px;
    padding: 10px 0;
    color: var(--primary-color);
    transition: 0.5s;
}

.collection-card p {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 10px;
    padding: 0 10px;
}

body.dark .collection-card p {
    color: var(--light-color);
}

/* pricing section styling */

.pricing {
    position: relative;
    width: calc(100% - 250px);
    height: 100vh;
    justify-content: center;
    float: right;
    transition: 0.5s ease-in-out;
}

.pricing .heading-text::after {
    content: 'Choose best!';
}

.pricing .container {
    position: absolute;
    top: 0;
    left: 8px;
    width: 1000px;
    height: 100vh;
    margin: 0 50px;
    transform: translateX(-58px);
    transition: 0.5s ease-in-out;
}

.service-cards {
    justify-content: center;
    gap: 50px;
}

.service-card {
    position: relative;
    background: linear-gradient(rgba(251, 2, 89, 0.1), rgba(251, 2, 89, 0.1));
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.32);
    flex-direction: column;
    width: 250px;
    height: 350px;
    border-radius: 6px;
    transition: 0.5s;
}

.service-card:hover {
    transform: translateY(-10px);
}

body.dark .service-card {
    background: linear-gradient(rgba(32, 32, 32, 1), rgba(32, 32, 32, 1));
    border: 1px solid rgba(0, 0, 0, 0.18);
    box-shadow: 0 5px 5px rgba(255, 255, 255, 0.32);
}

.service-card span {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 150px;
    height: 150px;
    overflow: hidden;
}

.service-card span::before {
    background: var(--primary-color);
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    font-size: 16px;
    text-transform: uppercase;
    width: 250px;
    height: 30px;
    transform: rotate(-45deg) translateY(-70px) translateX(-32px);
    transition: 0.5s ease-in-out;
}

.service-card span::after {
    content: "";
    position: absolute;
    bottom: 27px;
    left: 0;
    width: 10px;
    height: 10px;
    z-index: -1;
    transition: 0.5s ease-in-out;
    background: #a10a3f;
    box-shadow: 113px -113px #a10a3f;
}


.card-1 span::before {
    content: "Free";

}

.card-2 span::before {
    content: "Basic";
    color: #00ff9c;
}

.card-3 span::before {
    content: "premium";
    color: #00faff;
}

.service-card h1 {
    font-size: 45px;
    padding-top: 50px;
    padding-bottom: 20px;
    color: var(--primary-color);
}

.service-card .para {
    flex-direction: column;
    text-align: center;
    font-size: 16px;
    color: var(--text-color);
    min-height: 140px;
    padding: 0 20px;
    transition: 0.5s;
}

body.dark .service-card .para {
    color: var(--light-color);
}

/* contact section styling */

.contact {
    position: relative;
    width: calc(100% - 250px);
    height: 100vh;
    justify-content: center;
    float: right;
    transition: 0.5s ease-in-out;
}

.contact .heading-text::after {
    content: 'Get in Touch';
}

.contact .container {
    position: absolute;
    top: 0;
    left: 8px;
    width: 1000px;
    height: 100vh;
    margin: 0 50px;
    transform: translateX(-58px);
    transition: 0.5s ease-in-out;
}

.contact-info {
    width: 920px;
    height: 420px;
    margin: 0 auto;
}

.left-info {
    width: 50%;
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.left-info h2 {
    font-size: 29px;
    color: var(--primary-color);
}

.left-info p {
    font-size: 17px;
    color: var(--text-color);
    padding-right: 30px;
}

body.dark .left-info p {
    color: #8b8b8b;
}

.personal-info {
    gap: 30px;
    margin-bottom: 10px;
}

.personal-info .icon {
    font-size: 27px;
    color: var(--primary-color);
}

.personal-info h4 {
    font-size: 17px;
    font-weight: 100;
    transition: 0.5s;
}

body.dark .personal-info h4 {
    color: var(--light-color);
}

.personal-info p {
    font-size: 15px;
    padding: 3px 0;
}


.right-form {
    width: 50%;
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.right-form h2 {
    font-size: 29px;
    color: var(--primary-color);
}

.right-form .info {
    width: 100%;
    gap: 5%;
}

.right-form .info input {
    width: 50%;
    height: 45px;
    border-radius: 6px;
    border: 0.5px solid var(--primary-color);
    background: none;
    color: var(--text-color);
    font-size: 16px;
    padding: 0 10px;
    transition: 0.5s;
}

body.dark .right-form .info input {
    color: var(--light-color);
}

.right-form input {
    width: 100%;
    height: 45px;
    border-radius: 6px;
    border: 0.5px solid var(--primary-color);
    background: none;
    color: var(--text-color);
    font-size: 16px;
    padding: 0 10px;
    transition: 0.5s;
}

.right-form textarea {
    width: 100%;
    height: 150px;
    border-radius: 6px;
    border: 0.5px solid var(--primary-color);
    background: none;
    color: var(--text-color);
    font-size: 16px;
    padding: 10px 10px;
    resize: none;
    transition: 0.5s;
}

body.dark .right-form input,
body.dark .right-form textarea {
    color: var(--light-color);
}


.send-btn {
    font-size: 18px;
    padding: 5px 35px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: var(--primary-color);
    color: var(--light-color);
    transition: 0.5s ease-in-out;
    cursor: pointer;
}

.send-btn:hover {
    background: #a10a3f;
}

/* footer styling */

.footer{
    position: relative;
    width: calc(100% - 250px);
    height: 50px;
    justify-content: center;
    background: linear-gradient(rgba(251, 2, 89, 0.1), rgba(251, 2, 89, 0.1));
    float: right;
    transition: 0.5s ease-in-out;
}

.sidebar.close ~ .footer{
    width: calc(100% - 80px);
}

.sidebar.close~.footer .container {
    left: 178px;
}

body.dark .footer{
    background: var(--dark-color);
}

.footer .container{
    position: absolute;
    top: 0;
    left: 8px;
    width: 1000px;
    height: 100%;
    margin: 0 50px;
    transform: translateX(-58px);
    transition: 0.5s ease-in-out;
    justify-content: center;
}

.footer .container p{
    text-align: center;
    font-size: 17px;
    color: var(--dark-color);
    transition: 0.5s;
}

.footer .container p span{
    color: var(--primary-color);
}

body.dark .footer .container p{
    color: var(--light-color);
}