/* ------------------- */
/* --- CSS RESET & DEFAULTS --- */
/* ------------------- */
/*:root {
    --primary-color: #4a00e0;
    --secondary-color: #8e2de2;
    --text-color: #f0f0f0;
    --bg-color-dark: #121212;
    --card-bg-color: rgba(255, 255, 255, 0.05);
    --card-border-color: rgba(255, 255, 255, 0.2);
    --font-size-base: 16px;
}*/

/* --- CSS RESET & DEFAULTS --- */
/* ------------------- */
:root {
    --primary-color: #4a00e0;
    --secondary-color: #8e2de2;
    
    /* Light Mode Defaults */
    --bg-color-light: #f4f4f9;
    --bg-color-alt-light: #ffffff;
    --text-color-light: #121212;
    --text-color-alt-light: #555555;
    --card-border-color-light: rgba(0, 0, 0, 0.1);
    --header-bg-light: rgba(244, 244, 249, 0.8);
    --shadow-color-light: rgba(0, 0, 0, 0.1);

    /* Dark Mode Defaults */
    --bg-color-dark: #121212;
    --bg-color-alt-dark: #1a1a1a;
    --text-color-dark: #f0f0f0;
    --text-color-alt-dark: #bbbbbb;
    --card-bg-color-dark: rgba(255, 255, 255, 0.05);
    --card-border-color-dark: rgba(255, 255, 255, 0.2);
    --header-bg-dark: rgba(18, 18, 18, 0.8);
    --shadow-color-dark: rgba(0, 0, 0, 0.4);

    /* Default to Dark Mode */
    --bg-color: var(--bg-color-dark);
    --bg-color-alt: var(--bg-color-alt-dark);
    --text-color: var(--text-color-dark);
    --text-color-alt: var(--text-color-alt-dark);
    --card-bg-color: var(--card-bg-color-dark);
    --card-border-color: var(--card-border-color-dark);
    --header-bg: var(--header-bg-dark);
    --shadow-color: var(--shadow-color-dark);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color-dark);
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: 600;
}

section {
    padding: 100px 5%;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ------------------- */
/* --- UTILITIES --- */
/* ------------------- */
.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}
.main-nav ul li a span { color: var(--secondary-color); font-weight: 600; }
.main-nav ul li a:hover { background-color: var(--primary-color); color: #fff; }
.nav-utils { display: flex; align-items: center; gap: 0.75rem; }
.login-nav-container .main-nav { right: 0; left: auto; }
#theme-toggle, #translate-btn { background: none; border: 1px solid var(--card-border-color); color: var(--text-color); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1rem; transition: all 0.3s ease; }
#theme-toggle:hover, #translate-btn:hover { background-color: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.nav{
        height: 100px;
}


/* ------------------- */
/* --- HEADER & NAV --- */
/* ------------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

header.scrolled {
    background-color: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(10px);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.nav-container {
    position: relative;
}

.nav-toggle-btn {
    background: none;
    border: 1px solid var(--card-border-color);
    color: var(--text-color);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-toggle-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    margin-top: 1rem;
    padding: 1rem;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 1100;
}

.nav-container:hover .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav ul {
    list-style: none;
}

.main-nav ul li a {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.main-nav ul li a span {
    color: var(--secondary-color);
    margin-right: 0.5rem;
    font-weight: 600;
}

.main-nav ul li a:hover {
    background-color: var(--primary-color);
}


.nav-utils {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.font-controls {
    display: flex;
    gap: 0.5rem;
}

.font-controls button, #translate-btn {
    background: none;
    border: 1px solid var(--card-border-color);
    color: var(--text-color);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.font-controls button:hover, #translate-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

#google_translate_element {
    display: none !important;
}

/* ------------------- */
/* --- PARALLAX VIDEO BG --- */
/* ------------------- */
.parallax-wrapper {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.parallax-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* ------------------- */
/* --- PRODUCTS SECTION --- */
/* ------------------- */
#products {
    background-color: var(--bg-color-dark);
    transition: background-image 0.5s ease-in-out;
}

.product-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.video-overlay-products {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.section-title p {
    font-size: 1.1rem;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--card-bg-color);
    border: 1px solid var(--card-border-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(142, 45, 226, 0.2), transparent, transparent);
    transform: rotate(0deg);
    transition: transform 1s ease-in-out, opacity 0.5s;
    opacity: 0;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.product-card:hover::before {
    opacity: 1;
    transform: rotate(360deg);
}

.card-content {
    position: relative;
    z-index: 2;
}

.product-card .icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-card .product-name {
    font-size: 25px;
    color: #ccc;
    margin-bottom: 1rem;
    font-weight: 300;
}

.product-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #bbb;
    margin-bottom: 1.5rem;
}

.card-btn {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(142, 45, 226, 0.4);
}


/* ------------------- */
/* --- ABOUT & TEAM SECTIONS --- */
/* ------------------- */
#about {
    background-color: #161616;
}

#team {
    background-color: var(--bg-color-dark);
}

.about-content, .team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3, .team-text h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.about-text p, .team-text p {
    line-height: 1.8;
    color: #bbb;
    margin-bottom: 1.5rem;
}

.about-image img, .team-video video {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: block;
}



/* ------------------- */
/* --- SUCCESS STORIES --- */
/* ------------------- */
.stories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.story-card {
    background: var(--card-bg-color);
    border: 1px solid var(--card-border-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.story-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px var(--shadow-color); }
.story-card img { border-radius: 50%; width: 80px; height: 80px; margin-bottom: 1.5rem; box-shadow: 0 5px 15px var(--shadow-color); }
.story-card .testimonial { font-style: italic; color: var(--text-color-alt); margin-bottom: 1rem; }
.story-card .story-author { font-weight: 600; color: var(--text-color); }

/* ------------------- */
/* --- FLOATING ACTION BUTTON --- */
/* ------------------- */
.floating-action-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(142, 45, 226, 0.5);
    z-index: 999;
    animation: pulse 2s infinite;
    transition: transform 0.3s ease;
}
.floating-action-btn:hover { animation: none; transform: scale(1.1); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(142, 45, 226, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(142, 45, 226, 0); } 100% { box-shadow: 0 0 0 0 rgba(142, 45, 226, 0); } }


/* ------------------- */
/* --- FOOTER --- */
/* ------------------- */
footer {
    background: linear-gradient(135deg, #1a1a1a, #101010);
    padding: 4rem 5% 2rem;
    border-top: 1px solid var(--card-border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    color: #fff;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-col p, .footer-col a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #fff;
}
.follow-us {
    text-align: center;
    display: flex;
    gap: 58px;
    align-items: center;
    margin-bottom: 30px;
}

.contact-link {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.map-container {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--card-border-color);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border-color);
    font-size: 0.9rem;
    color: #888;
}

/* ------------------- */
/* --- JOIN US & ERROR PAGE STYLES --- */
/* ------------------- */
#application-form {
    background-color: #161616;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .input-group {
    display: flex;
    gap: 1.5rem;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    background: var(--card-bg-color);
    border: 1px solid var(--card-border-color);
    color: var(--text-color);
    padding: 1rem;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.file-upload {
    align-items: center;
}

.file-upload label {
    margin-right: 1rem;
    white-space: nowrap;
}

.error-page-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 2rem;
}

.error-content .error-code {
    font-size: clamp(6rem, 25vw, 12rem);
    font-weight: 700;
    line-height: 1;
}

.error-content h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    margin-bottom: 1rem;
}

.error-content p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #bbb;
}

.error-content .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ------------------- */
/* --- RESPONSIVENESS --- */
/* ------------------- */
@media (max-width: 992px) {
    .about-content, .team-content {
        grid-template-columns: 1fr;
    }
    .about-image, .team-video {
        order: -1;
    }
}


@media (max-width: 768px) {
    .nav-utils {
        gap: 0.5rem;
    }
    .main-nav {
        right: auto;
        left: 0;
    }
    .logo {
        font-size: 1.5rem;
    }
    .font-controls button, #translate-btn, .nav-toggle-btn {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    .section-title h2 {
        font-size: 2.2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-col h4::after {
        left: 0;
        transform: translateX(0);
    }
    .contact-form .input-group {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Fix for Google Translate toolbar issue */
body {
    top: 0 !important;
}
.skiptranslate {
    display: none !important;
}
iframe.goog-te-menu-frame {
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border-radius: 10px !important;
    border: 1px solid var(--card-border-color) !important;
}


/* client list */

#client-list {
        padding: 60px 0;
        background-color: #0a0a0a; /* Optional: adjust if needed */
    }

    .scrollable-client-box {
        max-height: 250px;
        overflow-y: auto;
        /* border: 1px solid #ccc; */
        padding: 20px;
        border-radius: 8px;
        background-color: #1e1e1e;;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .scrollable-client-box::-webkit-scrollbar {
        width: 6px;
    }

    .scrollable-client-box::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 10px;
    }

    .scrollable-client-box::-webkit-scrollbar-track {
        background: transparent;
    }

    .client-names {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .client-names li {
        padding: 10px 0;
        border-bottom: 1px solid #e0e0e0;
        font-family: 'Poppins', sans-serif;
        font-size: 16px;
        color: #f8f6f6;
    }

    .client-names li:last-child {
        border-bottom: none;
    }



    /* owl carousel */


/* client details */
.custom-slider .custom-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    padding-bottom: 15px;
    max-width: 320px;
    height: 390px;
    margin: auto;
  }
.custom-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    padding-bottom: 15px;
    max-width: 320px;
    
    height: 180px;
    margin: auto;
  }
  
  .custom-slider .custom-card:hover {
    transform: translateY(-5px);
  }
  
  .custom-slider img {
    width: 100%;
    height: 180px;
    object-fit: contain;
  }
  
  .custom-card-body {
    padding: 20px;
    text-align: center;
  }
  
  .custom-card-body h5 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #333;
  }
  
  .custom-card-body p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
  }
  
  .custom-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: #007bff;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    transition: background .2s;
  }
  
  .custom-btn:hover {
    background-color: #0056b3;
  }