/* Custom CSS Variables for Light / Dark Mode matching reference */
:root {
    --bg-gradient:
        radial-gradient(circle at 100% 0%, #f8daa3 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, #a5fcce 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, #f3f4f6 0%, transparent 80%);

    --bg-color: #fbf7fc;
    --text-main: #333333;
    --text-brand: #6236ff;
    --nav-bg: #ffffff;
    --card-bg: #f4f6f9;
    --card-gradient: linear-gradient(180deg, #5b30d3 0%, #009eb3 100%);
    --card-text: #ffffff;
    --shadow: rgba(0, 0, 0, 0.05);
    --check-bg: #0b698b;
    --accent-gold: #c5a043;
    --sidebar-bg: #07162c;

    --transition-speed: 0.3s;
}

[data-theme="dark"] {
    --bg-gradient: linear-gradient(180deg, #120e23 0%, #0c0a14 100%);
    --bg-color: #0c0a14;
    --text-main: #e2dff0;
    --text-brand: #9b7eff;
    --nav-bg: #18142c;
    --card-bg: #1e293b;
    --card-gradient: linear-gradient(180deg, #3f1fa3 0%, #006f80 100%);
    --card-text: #e2e2e2;
    --shadow: rgba(84, 82, 82, 0.4);
    --check-bg: #38bdf8;
    --accent-gold: #fbbf24;
    --sidebar-bg: #030712;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-gradient);
    color: var(--text-main);
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    transition: background 0.4s, color 0.4s;
}

/* --- NAVIGATION BAR --- */
.navbar {
    background-color: var(--nav-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(--text-brand);
}

.logo-text2 {
    display: none;
}

.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: 600;
    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 SECTION --- */
.hero-section {
    text-align: center;
    padding: 60px 20px 20px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    color: var(--check-bg);
    font-size: 2.2rem;
    margin-bottom: 25px;
    animation: slideRight 1s ease forwards;
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 400;
    opacity: 0.85;
    animation: slideLeft 1s ease;
}

/* --- RESPONSIVE CARD SLIDER --- */
.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 40px auto 80px auto;
    padding: 0 60px;
    animation: fadeUp 1s ease;
}

.slider-track-container {
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    gap: 25px;
    transition: transform 0.4s ease-in-out;
}

/* Layout logic to map to the 3-cards design from Screenshot 2026-07-04 154028_2.jpg */
.card {
    min-width: calc((100% - 50px) / 3);
    background: var(--card-gradient);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 24px var(--shadow);
    display: flex;
    flex-direction: column;
    position: relative;
    user-select: none;
}

.card :hover {
    transition: transform 0.5s ease;
    transform: scale(1.1);
}

.card-img-placeholder {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    background-size: cover;
    overflow: hidden;
    background-position: center;
    margin-bottom: 20px;
    transition: transform 0.5s ease;
}

/* Visual color fallback placeholders mapping image segments */
.img-1 {
    background-color: #eee;
    background-image: url(../gallary_card_img/images/designer.jpg);
}

.img-2 {
    background-color: #ddd;
    background-image: url(../gallary_card_img/images/developer.jpg);
}

.img-3 {
    background-color: #eee;
    background-image: url(../gallary_card_img/images/editor.jpg);
}

.img-4 {
    background-color: #eee;
    background-image: url(../gallary_card_img/images/gamer.jpg);
}

.img-5 {
    background-color: #eee;
    background-image: url(../gallary_card_img/images/marketer.jpg);
}

.img-6 {
    background-color: #eee;
    background-image: url(../gallary_card_img/images/benchhire.jpg);
}

.card-img-placeholder:hover {
    transform: scale(1.1);
}

.card-badge {
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.badge-purple {
    background-color: rgba(237, 172, 222, 0.99);
    color: #bf27a6;
}

.badge-blue {
    background-color: #a4b3ff;
    color: #1c2d80;
}

.badge-gold {
    background-color: #ffe6aa;
    color: #664d03;
}

.card-title {
    color: var(--card-text);
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 30px;
    font-style: italic;
}

.card-arrow {
    width: 32px;
    height: 32px;
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    margin-top: auto;
    font-size: 0.9rem;
}

/* Slider Nav Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 3rem;
    color: var(--check-bg);
    cursor: pointer;
    z-index: 10;
    user-select: none;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background-color: #007bff;
    width: 12px;
    border-radius: 4px;
}

/* About */


.about {
    display: flex;
    margin-left: 10%;
    gap: 30px;
    text-autospace: 2px;
    line-height: 30px;
    font-weight: 500;
    animation: slideLeft 1s ease;

}

.OS-text {
    display: flex;
    color: var(--check-bg);
    padding: 10px;
    align-items: left;
    justify-content: left;
    margin-bottom: 15px;
    border-bottom: solid 1px;
    gap: 30px;
    margin-left: 7%;
    animation: slideRight 1s ease;
}


/* Contact */

form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin-left: 7%;
    margin-bottom: 20px;
    padding-right: 20px;
    animation: fadeIn 1s ease;
}

.CM-text {
    color: var(--check-bg);
    margin-top: 100px;
    margin-bottom: 20px;
    display: flex;
    gap: 30px;
    margin-left: 7%;
    animation: slideRight 1s ease;
}

input,
textarea {
    margin: 10px 0;
    padding: 12px;
    border-radius: 5px;
    border: none;
    background: var(--card-text);
    color: black;
}

button {
    padding: 12px;
    border: none;
    background: var(--text-brand);
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: 1s;
}

button:hover {
    font-weight: bold;
    transform: scale(1.1);
    z-index: 2;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: black;

}

.footerContainer {
    width: 100%;
    padding: 70px 30px 20px;
}

.icons {
    display: flex;
    justify-content: center;
    margin-left: 0%;
    padding-bottom: 10px;


}

.icons a {
    display: flex;
    align-items: center;
    border-radius: 50%;
    padding-left: 20px;
    justify-content: space-between;
    cursor: pointer;
}

.footerNav {
    margin: 30px 0;
}

.footerNav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
}

.footerNav ul li a {
    color: white;
    margin: 10px;
    text-decoration: none;
    font-size: 1.5em;
    opacity: 0.7;
    transition: 0.5s ease;

}

.footerNav ul li a:hover {
    opacity: 1;
    color: orange;
}



.footerBottom {
    background-color: var(--text-main);
    max-height: 90px;
    padding: 10px;
    text-align: center;
}

.footerBottom p {
    color: var(--bg-color);
    margin: 0%;
}

.designer {
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0px 5px;
}

/* --- MOBILE & TABLET MEDIA QUERIES --- */

/* Tablet Optimization */
@media screen and (max-width: 992px) {
    .card {
        min-width: calc((100% - 25px) / 2);
        /* 2 cards visible */
    }

    .slider-container {
        padding: 0 40px;
    }
}

/* Mobile View Adjustments (Matches requirements perfectly) */
@media screen and (max-width: 768px) {
    .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-main);
        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(--text-brand);
    }

    /* 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(--nav-bg);
        box-shadow: 0 10px 15px var(--shadow);
        padding: 20px;
        gap: 15px;
        margin: 0;
        order: unset;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links.show {
        display: flex;
    }

    /* Finger swipe styling target logic */
    .slider-container {
        padding: 0 15px;
    }

    .slider-track-container {
        /* Requirement: add finger scroll option for slider in mobile and tablet view */
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        /* Hide standard ugly scroll bars */
    }

    .slider-track-container::-webkit-scrollbar {
        display: none;
    }

    .slider-track {
        gap: 15px;
    }

    .card {
        min-width: 85%;
        /* Let upcoming card peak onto the screen edge hint-style */
        scroll-snap-align: center;
    }

    .slider-btn {
        display: none;
        /* Arrows hidden on native swipe touch views */
    }

    .footerNav ul {
        flex-direction: column;
    }

    .footerNav ul li {
        width: 100%;
        text-align: center;
        margin: 10px;
    }

    .socialIcons a {
        padding: 8px;
        margin: 4px;
    }
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@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);
    }

}


/* --- Layout Container --- */
.banner {
    display: flex;
    width: 100%;
    margin-top: 3%;
    max-width: 100%;
    min-height: 100vh;
    border: solid 1px;
    border-bottom-style: dashed;
}

/* --- Sidebar Section --- */
.sidebar {
    background-color: var(--sidebar-bg);
    width: 38%;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    transition: background-color var(--transition-speed);
}

.huge-number {
    font-size: 11rem;
    font-weight: 800;
    color: #1a2e4c;
    line-height: 1;
    cursor: pointer;

}

.sidebar-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 1rem;
    line-height: 1.4;
}

.underline {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 4px;
    background-color: var(--accent-gold);
}

.sidebar-traits {
    color: #a3b3c5;
    font-style: italic;
    font-size: 1.1rem;
    margin: 2.5rem 0;
    line-height: 2;
}

.handshake-icon svg {
    width: 65px;
    height: 65px;
    fill: var(--accent-gold);
}

/* --- Content Section --- */
.content {
    width: 62%;
    padding: 4rem 3.5rem;
}

.subtitle {
    color: var(--check-bg);
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.8rem;
}

.main-heading {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.divider {
    border: none;
    height: 1px;
    background-color: #e2e8f0;
    margin-bottom: 2rem;
}


/* --- 3D Feature Grid & Cards --- */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    perspective: 1000px;
    /* Essential for 3D card tilt depth */
}

.cards {
    background-color: var(--card-bg);
    border-radius: 4px;
    margin-bottom: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.15s ease-out, box-shadow var(--transition-speed), background-color var(--transition-speed);
    transform-style: preserve-3d;
    cursor: pointer;
}

.cards:hover {
    box-shadow: 0 12px 25px var(--card-shadow);
}

.card-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateZ(20px);
    /* Pushes inner elements out in 3D Space */
}

.check-icon {
    background-color: var(--check-bg);
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
    flex-shrink: 0;
}

.card-text {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-main);
}


/* --- Responsive Adjustments (Tablets & Mobile) --- */

@media (max-width: 1024px) {
    .banner {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        padding: 3rem 2rem;
    }

    .content {
        width: 100%;
        padding: 3rem 2rem;
    }

    .huge-number {
        font-size: 8rem;
    }
}

@media (max-width: 680px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .main-heading {
        font-size: 1.8rem;
    }

    .sidebar-title {
        font-size: 1.6rem;
    }
}