@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import 'animate.css';
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&display=swap');

:root {
    --bg: #ffffff;
    --text: #222;
    --primary: #6c63ff;
    --symbol: rgb(239, 189, 128);
    --inverse: rgb(92, 63, 36);
    --card: #f5f5f5;
    --formcolor: rgb(240, 49, 196);
    --check-bg: #0b698b;
    --hero: linear-gradient(90deg, rgb(86, 186, 249) 0%, rgb(84, 230, 240) 15%, white 35%);
}

[data-theme="dark"] {
    --bg: #121212;
    --text: #f5f5f5;
    --card: #1e1e1e;
    --symbol: rgb(92, 63, 36);
    --inverse: rgb(239, 189, 128);
    --formcolor: pink;
    --hero: #121212;
    --check-bg: #38bdf8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    transition: 0.3s;
}



/* --- NAVIGATION BAR --- */
.navbar {
    background-color: var(--bg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    max-width: 100%;
    transition: background 0.4s;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 40px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-box {
    width: 22px;
    height: 22px;
    background-color: #ff9f00;
    border-radius: 4px;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-text2 {
    display: none;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    margin-left: auto;
    /* Pushes standard nav items to the right side on Desktop */
    margin-right: 30px;
}

.nav-item {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    padding-bottom: 4px;
    transition: color 0.2s;
}

.nav-item.active {
    border-bottom: 2px solid var(--text-brand);
    font-weight: 600;
}

/* Dark mode toggle circle icon button */
.theme-toggle-btn {
    width: 38px;
    height: 38px;
    background-color: #4c30c4;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mode-icon {
    font-size: 1.1rem;
    color: #fff;
}

.menu-toggle {
    display: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Hero */
.hero {
    background: var(--hero);
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
}

.hero-head {
    max-width: 500px;
    animation: slideRight 1s ease;

}

.hero-body {
    max-width: 500px;
    margin-bottom: 5px;
    animation: slideLeft 1s ease;
}

.hero img {
    width: 400px;
    border-radius: 10px;
    animation: fadeIn 1.5s ease;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--primary);
    border-radius: 3px;
    background-color: transparent;
    font-size: 20px;
    text-decoration: none;
    color: var(--primary);
    margin: 25px 15px 30px 0px;
    transition: 0.5s ease;

    /*end*/
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(0.2s * var(--i));
}

.social-media a:hover {
    background-color: var(--primary);
    color: white;
}

.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 25px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    animation: slideTop 1s ease;
    transition: 0.5s ease;
    font-weight: bold;
}

.btn:hover {
    transform: scale(1.05);
    background-color: orange;
    color: var(--text);
}

/* Sections */
section {
    padding: 80px 8%;
}

h2 {
    margin-bottom: 20px;
}

.home-img img {

    width: 30vw;
    min-width: 250px;
}

/*PRO SECTION*/
.pro-container {
    display: flex;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    height: 768px;
    width: 768px;
    overflow: hidden;

    /*response change*/
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.pro-box {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;



    /*end*/
    opacity: 0;
    animation: slideLeft 1s ease forwards, proRotate 13s ease-out infinite;
    animation-delay: 2.5s, 3.5s;

}

.pro {
    position: absolute;
    left: 0;
    transform: rotate(calc(360deg / 4 * var(--i)));
    transform-origin: 384px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary);
    background: var(--primary);
    padding: 13px 0;
    cursor: pointer;
    transition: 0.5s;
    background-color: var(--bg);
}

.pro:hover {
    color: orange;
}

.pro-box .pro:nth-child() {
    margin-right: 15px;
}

.pro-box .pro:nth-child() {
    margin-right: 20px;
}

.pro-box .pro:nth-child() {
    margin-right: 20px;
}

.pro i {
    font-size: 30px;
}

.pro h3 {
    font-size: 30px;
    line-height: 1;
    font-weight: 600;
}

.circle {
    width: 72%;
    height: 72%;
    border: 3px solid var(--text);
    border-radius: 50%;
    /*response change*/
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: max-content;
    height: max-content;
    border-top: 384px solid var(--primary);
    border-radius: 384px solid var(--primary);
    border-bottom: 384px solid var(--primary);
    border-left: 384px solid transparent;
    padding-right: 40%;
    /*200px*/

    /*end*/
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1.5s
}

.home-img img {
    position: absolute;
    bottom: 8%;
    right: 8%;
    width: 22%;
    height: 80%;
    pointer-events: none;
    display: flex;
    /*response change*/
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;

    /*end*/
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 2.8s
}

/*slide Animations*/

@keyframes slideRight {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0px);
    }

}

@keyframes slideLeft {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0px);
    }

}

@keyframes slideTop {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }

}

@keyframes proRotate {

    0%,
    20% {
        transform: rotate(0deg);
    }

    25%,
    40% {
        transform: rotate(-90deg);
    }

    50%,
    70% {
        transform: rotate(-180deg);
    }

    75%,
    95% {
        transform: rotate(-270deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}



/* About */
.about {
    display: flex;
    gap: 30px;
    align-items: center;
    text-autospace: 2px;
    line-height: 30px;
}

.about img {
    width: 300px;
    border-radius: 10px;
}

/* Services */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;

}

.card {
    background: var(--card);
    padding: 20px;
    border-radius: 10px;
    transition: 0.3s;
    text-decoration: none;
    color: var(--text);
}

.card:hover {
    transform: translateY(-10px);
    background-color: orange;
    color: var(--text);
}

/* caution text */
.lookout {
    text-align: center;
    margin-bottom: 20px;
}

/*contact*/

.contact-container {
    height: 80vh;
    width: 180vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    background: transparent;
    /*background: linear-gradient(270deg, #FFECB3 0%, #FFE0B2 20%, #FFCDD2 40%, #F8BBD9 60%, #E1BEE7 80%, #D1C4E9 100%);*/
}

.contact-left {
    display: flex;
    flex-direction: column;
    padding: 10px;
    align-items: start;
    gap: 20px;
    margin-right: 20%;
}

.contact-left-title h2 {
    font-weight: 600;
    color: var(--primary);
    font-size: 40px;
    margin-bottom: 5px;
    transition: 0.5s;
    animation: slideRight 1s ease forwards;
}

.contact-left-title hr {
    border: none;
    width: 120px;
    height: 5px;
    background-color: var(--formcolor);
    border-radius: 10px;
    margin-bottom: 20px;
    animation: slideLeft 1s ease forwards;
}

.contact-inputs {
    width: 400px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    color: var(--text);
    border-radius: 50px;
    background-color: var(--text);
}

.contact-inputs:hover {
    border: 2px solid rgba(255, 255, 255, 0.5);

}

.contact-inputs:focus {
    border: 2px solid #00ffff;

}

.contact-left textarea {
    height: 140px;
    padding-top: 15px;
    border-radius: 20px;
    background-color: var(--text);

}

.contact-inputs::placeholder {
    color: lightgrey;
}

.contact-left button {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    font-size: 16px;
    color: black;
    gap: 10px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(270deg, rgb(238, 180, 71), rgb(240, 130, 205));
    transition: 0.5s ease;
    cursor: pointer;

}

.contact-left button:hover {
    transform: scale(1.05);
    animation-delay: 1s ease;
}

.contact-left button img {
    height: 15px;

}

.contact-right img {
    transition: 0.5s;
    animation: fadeIn 1.5s ease forwards;
    width: 500px;
}


/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: black;

}

.footerContainer {
    width: 100%;
    padding: 70px 30px 20px;
}

.socialIcons {
    display: flex;
    padding: 10px;
    justify-content: center;
}

.socialIcons a {
    text-decoration: none;
    padding: 10px;
    background-color: white;
    margin: 10px;
    border-radius: 50%;

}

.socialIcons a i {
    font-size: 2em;
    color: black;
    opacity: 0, 9;
}

.socialIcons a:hover i {
    color: var(--primary);
}

.footerNav {
    margin: 30px 0;
}

.footerNav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
}

.footerNav ul li a {
    color: white;
    margin: 20px;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
    transition: 0.5s ease;

}

.footerNav ul li a:hover {
    opacity: 1;
    color: orange;
}

.footerBottom {
    background-color: var(--text);
    padding: 20px;
    text-align: center;
}

.footerBottom p {
    color: var(--bg);
}

.designer {
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0px 5px;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive  Mobile*/
@media(max-width: 768px) {
    .hero {

        color: black;
        margin-top: 20%;
        max-height: 550px;
        padding-top: 10%;
        flex-direction: column;
        text-align: center;

    }

    .hero-head {
        padding-top: 25px;
        color: var(--check-bg);
    }

    .nav-container {
        padding: 15px 20px;
    }

    /* Requirement: dropdown button for nav item place that in left end of nav bar */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        order: 1;
        /* Forces it to the left end */
        padding: 0;
        z-index: 1001;
    }

    /* Gives the hamburger lines a dark color in light mode and white in dark mode */
    .menu-toggle .bar {
        width: 100%;
        height: 3px;
        background-color: var(--text);
        border-radius: 2px;
        transition: 0.3s;
    }

    /* Requirement: place company name in middle */
    .nav-logo {
        order: 2;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .logo-text {
        display: none;
    }

    .logo-text2 {
        display: flex;
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--primary);
    }

    /* Requirement: dark mode toggle button on the right end of nav bar */
    .theme-toggle-btn {
        order: 3;
        /* Right End */
    }

    /* Dropdown drawer overlay setup for links */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background-color: var(--bg);
        box-shadow: 0 10px 15px grey;
        padding: 20px;
        gap: 15px;
        margin: 0;
        order: unset;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links.show {
        display: flex;
        color: var(--text);

    }

    .nav-links.show li {
        align-items: left;
        margin-right: 85%;
    }

    .about {
        flex-direction: column;

        font-size: 16px;
    }

    .circle {
        display: none;
    }

    .overlay {
        flex-direction: column;
        display: none;
    }

    .pro-container {
        flex-direction: column;
        display: none;
    }

    .home-img {
        flex-direction: column;
        display: none;
    }


    .container {
        margin: 0;
        padding: 10px 0;
        width: 100%;
    }

    .column {
        width: 100%;
        display: block;
        box-sizing: border-box;
    }

    .lookout {
        display: none;
    }

    .menu-section {
        background: url(../gallary_card_img/images/bg.png) center / cover no-repeat;
    }

    .contact-container {
        display: flex;
        max-height: 85vh;
        max-width: 42vh;
        border-radius: 20px;
        background: url(../gallary_card_img/images/bg.png) center / cover no-repeat;
    }

    .contact-left {
        display: flex;
        margin: 10px;
    }

    .contact-inputs {
        width: 80vw;
    }

    .contact-right {
        display: none;
    }

    .footerNav ul {
        flex-direction: column;
    }

    .footerNav ul li {
        width: 100%;
        text-align: center;
        margin: 10px;
    }

    .socialIcons a {
        padding: 8px;
        margin: 4px;
    }

    .grid-menu {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

}

@media screen and (min-width:769px) and(max-width: 968px) {


    nav ul {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-evenly;
    }

    .contact-container {

        background: url(../gallary_card_img/images/bg.png) center / cover no-repeat;
    }

    .lookout {
        display: none;
    }
}

/*Responsive Tab*/

@media(max-width: 1280px) {


    .hero {
        margin-top: 8%;
        color: var(--text);
        padding-top: 30px;
        flex-direction: column;
        text-align: center;
        max-height: 500px;
        background: url(../gallary_card_img/images/bg2.png) center / cover no-repeat;


    }

    .hero-head {
        color: var(--check-bg);
    }

    nav {
        display: flex;
        max-width: 100%;
        justify-content: space-between;
    }

    .solid-box {
        font-size: 16px;
    }

    .logo-name {
        font-size: 12px;
        padding: 0.3rem 0.5rem;
    }

    .about {
        flex-direction: column;
        font-size: 16px;
    }

    .circle {
        display: none;
    }

    .overlay {
        flex-direction: column;
        display: none;
    }

    .pro-container {
        flex-direction: column;
        display: none;
    }

    .home-img {
        flex-direction: column;
        display: none;
    }

    .logo-name {
        font-size: 16px;
    }

    nav ul li {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        font-size: 12px;
        padding-right: 5px;
        padding-left: -10px;
        flex-wrap: wrap;

    }

    .contact-container {
        display: flex;
        max-width: 100%;
    }

    .contact-right img {
        display: none;
    }

    .contact-container {
        display: flex;
        max-width: 100%;
        background: url(../gallary_card_img/images/bg.png) center / cover no-repeat;
    }
}


a {
    text-decoration: none;
    color: var(--text);
}

/*
@media(min-width: 1281px) {
    .hero {
        display: flex;
        max-width: 100%;
        margin-bottom: 5%;
    }

    .menu-section {
        display: block;
        max-width: 100%;
        border-radius: 50px;
        background: url(../gallary_card_img/images/bg.png) center / cover no-repeat;
    }

    .contact-container {
        display: flex;
        max-width: 100%;
        background: url(../gallary_card_img/images/bg.png) center / cover no-repeat;
    }
}*/

@media(min-width: 769px) {


    .hero {
        display: flex;
        max-width: 100%;
    }

    .menu-section {
        display: block;
        max-width: 100%;
        border-radius: 50px;
        background: url(../gallary_card_img/images/bg.png) center / cover no-repeat;
    }

    .contact-container {
        display: flex;
        max-width: 100%;
        background: url(../gallary_card_img/images/bg.png) center / cover no-repeat;
    }
}

/* --- MENU SECTION (3D INTERACTIVE CARDS) --- */
.menu-section {
    padding: 80px 4%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background: url(../gallary_card_img/images/bg.png) center / cover no-repeat;

}

.menu-section h2 {
    font-size: 2.5rem;
    color: rgb(239, 127, 127);
    margin-bottom: 15px;
    animation: slideRight 1s ease forwards;
}

.menu-section p.subtitle {
    color: var(--text);
    font-weight: bold;
    margin-bottom: 50px;
}

.grid-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 20px;
    perspective: 1000px;
}

.card-3d-wrap {
    height: 380px;
    transform-style: preserve-3d;
    cursor: pointer;
    transition: transform 0.1s ease;
}

.card-3d {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--symbol);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transform-style: preserve-3d;
    border: 1px solid rgba(74, 44, 17, 0.05);
}

.card-img-container {
    width: 130px;
    height: 130px;
    background: var(--bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateZ(50px);
    font-size: 60px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.5s;
}

.card-3d h3 {
    font-size: 1.4rem;
    color: var(--inverse);
    transform: translateZ(40px);
}

.card-3d p {
    color: var(--text);
    font-size: 0.95rem;
    transform: translateZ(30px);
}

.card-price-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateZ(40px);
    margin-top: 15px;
}

.price {
    font-weight: bold;
    font-size: 1.3rem;
    color: var(--symbol);
}

.add-btn {
    background: #f3a953;
    color: var(--dark);
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.add-btn:hover {
    background: #e2953c;
    transform: scale(1.05);
}