/* style.css (Updated with New Logo Colors) */

/* ROOT VARIABLES - NEW COLOR PALETTE */
:root {
    --dark-bg: #101010; /* Softer black background */
    --accent-primary: #63c456; /* Logo Green */
    --accent-secondary: #2596be; /* Logo Blue */
    --accent-highlight: #9b59b6; /* Logo Purple (for potential future use) */
    --light-text: #F0F0F0;
    --subtitle-color: #898989;
    --dark-text: #101010;
    --card-bg: #1A1A1A;
}

/* GLOBAL STYLES */
body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark-bg);
    color: var(--light-text);
    margin: 0;
    padding: 0;
}

h2 {
    font-weight: 700;
    color: var(--accent-secondary); /* Changed to Logo Blue */
}

h2 span {
    color: var(--light-text); /* Use light text for spans in headings */
}

a {
    text-decoration: none;
    color: var(--accent-primary); /* Changed to Logo Green */
    transition: color 0.3s ease;
}

a:hover {
    color: var(--light-text);
}



/* NAVBAR - UPDATED FOR 50% TRANSPARENCY ON SCROLL */
.custom-navbar {
    width: 95%; /* Not full width */
    margin: 10px auto 0; /* Gap from top + center horizontally */
    padding: 5px 30px;


    background: rgba(0, 0, 0, 0.6); /* Black transparent base */
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.6), /* Black base */
        rgba(37, 150, 190, 0.25),   /* Logo Blue */
        rgba(99, 196, 86, 0.25),    /* Logo Green */
        rgba(155, 89, 182, 0.25)    /* Logo Purple */
    );

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 16px; /* Curved edges */
    border: 1px solid rgba(255, 255, 255, 0.1);

    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.custom-navbar {
    background: transparent; /* Transparent by default */
    transition: background-color 0.3s ease-in-out, backdrop-filter 0.3s ease-in-out; /* Smooth transition */
}

.custom-navbar.scrolled {
    background: rgba(16, 16, 16, 0.5); /* 50% transparent dark background */
    backdrop-filter: blur(10px); /* Adds a blur effect for readability */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


/* NAVBAR */
.custom-navbar .navbar-brand {
    padding-bottom: 0;
}

/* LOGO STYLES - Made Bigger */
.custom-navbar .navbar-brand img {
    height: 65px; /* Increased size */
    width: auto;
}

.custom-navbar .nav-link {
    color: var(--light-text);
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.custom-navbar .nav-link:hover {
    color: var(--accent-primary); /* Logo Green on hover */
    transform: scale(1.05);
}

.custom-navbar .navbar-toggler {
    border-color: var(--accent-primary);
}

.custom-navbar .navbar-toggler-icon {
    /* Updated with new green color */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%2363c456' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(99,196,86,1)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* GET STARTED BUTTON */
.btn-get-started {
    background-color: var(--accent-primary); /* Use Logo Green */
    color: var(--dark-text);
    font-weight: 600;
    border: none;
    padding: 6px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-get-started .fas {
    margin-left: 8px;
    transform: rotate(-50deg);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-get-started:hover {
    background-color: var(--light-text);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(99, 196, 86, 0.6);
}

.btn-get-started:hover .fas {
    transform: rotate(3deg);
}

.custom-navbar .navbar-nav .nav-item {
    margin-right: 25px;
}

/* HERO SECTION */
.hero {
    position: relative;
    color: white;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 150px 0;
    box-shadow: inset 0 -30px 50px rgba(0, 0, 0, 0.8);
    font-family: 'Poppins', sans-serif;
}

.hero::before,
.hero .overlay {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 12, 0.9);
    z-index: 0;
}

.hero .text-center {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hero-subtitle {
    font-size: 1.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 1rem;
}

.hero-title .highlight {
    color: var(--accent-primary); /* Logo Green */
    text-shadow: 0 0 10px var(--accent-primary);
}

.scroll-arrow {
    position: absolute;
    bottom: 30px;
    color: var(--light-text);
    font-size: 2rem;
    animation: bounce 2s infinite;
    transition: all 0.3s ease;
    z-index: 2;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.scroll-arrow:hover {
    transform: scale(1.1);
    color: var(--accent-primary); /* Logo Green */
}

.scroll-arrow svg {
    display: block;
}

.scroll-arrow.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.25rem;
    }
    .scroll-arrow {
        font-size: 1.5rem;
        bottom: 20px;
    }
}

/* BUTTONS */
.btn-primary {
    background: var(--light-text);
    color: var(--dark-bg);
    border: 2px solid var(--light-text);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--dark-text);
}

/* SERVICES SECTION */
#services {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 80px 0;
    text-align: center;
}

#services .section-heading {
    font-weight: 700;
    color: var(--accent-secondary); /* Logo Blue */
    font-size: 3.5rem;
    margin-bottom: 20px;
}

#services .section-subheading {
    color: var(--subtitle-color);
    font-size: 1.2rem;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(5px);
    z-index: -1;
    transition: background-color 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-primary); /* Logo Green on hover */
}

.service-card:hover::before {
    background-color: rgba(26, 26, 26, 0.95);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-primary); /* Logo Green */
    margin-bottom: 25px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.service-card:hover .service-icon {
    color: var(--light-text);
    transform: scale(1.1) rotate(10deg);
}

.service-card h3 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--light-text);
}

.service-card p {
    color: var(--subtitle-color);
    font-size: 1rem;
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
    padding-left: 0;
    text-align: left;
    margin-top: auto;
    width: 100%;
}

.service-card ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--light-text);
    transition: color 0.3s ease;
}

.service-card ul li::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--accent-primary); /* Logo Green */
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 8px;
    transition: background-color 0.3s ease;
}

.service-card:hover ul li {
    color: white;
}

.service-card:hover ul li::before {
    background-color: white;
}

/* WORK SECTION */
#work {
    background: var(--dark-bg);
    padding: 60px 0;
    overflow: hidden;
}

#work h2 {
    color: var(--accent-secondary); /* Logo Blue */
}

#work h2 span {
    color: var(--light-text);
}

/* DRAG-TO-SCROLL STYLES */
.video-scroll-container {
    width: 100%;
    overflow-x: auto; /* Allows horizontal scrolling */
    cursor: grab;
    user-select: none; /* Prevents text selection while dragging */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.video-scroll-container::-webkit-scrollbar {
    display: none; /* Hides scrollbar for Chrome, Safari, and Opera */
}

.video-scroll-container.active {
    cursor: grabbing;
}

.video-scroll-track {
    display: flex;
    width: max-content;
    /* REMOVED aNIMATION */
    padding: 20px 0;
}

.video-scroll-track.scrolling-paused {
    animation-play-state: paused;
}

.video-item {
    width: 300px;
    height: 533px;
    flex-shrink: 0;
    margin: 0 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, filter 0.5s ease-in-out;
    cursor: pointer;
    filter: grayscale(100%);
}

.video-item:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 10;
    filter: grayscale(0%);
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none; /* Prevents video from interfering with drag events */
}

/* LANGUAGE BANNER */
.language-banner {
    /* New gradient background using logo colors */
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-primary));
    color: var(--dark-text);
    overflow: hidden;
    white-space: nowrap;
    padding: 15px 0;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    animation: slideDown 1s ease-out forwards;
    opacity: 0;
}

.language-banner p {
    display: inline-block;
    padding-left: 100%;
    animation: scrollBanner 12s linear infinite;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.language-banner .highlight {
    color: var(--dark-text);
    font-weight: 800;
    font-size: 1.4rem;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scrollBanner {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-100%);
    }
}

/* STATS SECTION */
#stats-section {
    background-color: #111;
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

#stats-section h2 {
    font-weight: 700;
    color: var(--accent-secondary); /* Logo Blue */
    font-size: 3rem;
    margin-bottom: 30px;
}

.stats-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.stats-card .number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-primary); /* Logo Green */
}

.stats-card .label {
    font-size: 1.2rem;
    color: var(--subtitle-color);
    margin-top: 10px;
}

/* WHY US SECTION */
#why-us {
    background-color: var(--dark-bg);
    color: var(--subtitle-color);
    padding: 80px 0;
    text-align: center;
}

#why-us .section-heading {
    font-weight: 700;
    color: var(--accent-secondary); /* Logo Blue */
    font-size: 3rem;
    margin-bottom: 20px;
}

#why-us .section-subheading {
    color: var(--subtitle-color);
    font-size: 1.2rem;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.reason-card {
    background-color: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease-in-out;
    margin-bottom: 30px;
}

.reason-card:hover {
    background-color: rgba(26, 26, 26, 0.8);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.reason-icon {
    font-size: 3.5rem;
    color: var(--accent-primary); /* Logo Green */
    margin-bottom: 25px;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55), color 0.3s ease;
}

.reason-card:hover .reason-icon {
    transform: scale(1.1) rotate(10deg);
    color: #fff; /* White icon on hover */
}

.reason-card h3 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--light-text);
}

.reason-card p {
    color: #898989;
    font-size: 1rem;
}

/* CONTACT SECTION */
#contact {
    background: var(--dark-bg);
    color: var(--light-text);
    text-align: center;
    padding: 60px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#contact .heading-container h2 {
    font-weight: 700;
    color: var(--accent-secondary); /* Logo Blue */
    font-size: 3rem;
}

#contact .heading-container p {
    color: var(--subtitle-color);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 20px;
}

.contact-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    height: 100%;
}

.form-control,
.form-control:focus,
.form-select {
    background-color: #252525;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    padding: 12px;
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-primary); /* Logo Green */
    box-shadow: 0 0 0 0.25rem rgba(99, 196, 86, 0.25);
}

.btn-submit {
    background-color: var(--accent-primary); /* Logo Green */
    color: var(--dark-text);
    font-weight: 600;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #82d977; /* Lighter green on hover */
    color: var(--dark-text);
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info-item i {
    color: var(--accent-primary); /* Logo Green */
    font-size: 1.5rem;
}

.contact-info-item a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: var(--accent-primary); /* Logo Green */
}

hr {
    border-color: rgba(255, 255, 255, 0.1);
}

.social-icons {
    display: flex;
    justify-content: center;
}

.social-icons a {
    color: var(--light-text);
    margin: 0 10px;
    transition: color 0.3s ease;
    font-size: 1.8rem;
}

.social-icons a:hover {
    color: var(--accent-primary); /* Logo Green */
}

.success-message {
    display: none;
    color: var(--accent-primary);
    font-weight: 600;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.form-control::placeholder,
.form-select::placeholder,
textarea::placeholder {
    color: #aaa;
    opacity: 1;
}

.form-control:-ms-input-placeholder {
    color: #aaa;
}

.form-control::-ms-input-placeholder {
    color: #aaa;
}


/* FOOTER */
.footer {
    background: var(--dark-bg);
    color: var(--light-text);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-brand {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--accent-secondary); /* Logo Blue */
}

.footer .footer-tagline {
    font-size: 0.95rem;
    color: var(--subtitle-color);
    margin-top: 5px;
    margin-bottom: 20px;
}

.footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer .footer-links a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer .footer-links a:hover {
    color: var(--accent-primary); /* Logo Green on hover */
}

.footer .copyright-text {
    font-size: 0.9rem;
    color: var(--subtitle-color);
    margin-top: 20px;
}

/* FULL-SCREEN VIDEO OVERLAY */
#fullscreen-video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#fullscreen-video-overlay.active {
    visibility: visible;
    opacity: 1;
}

.overlay-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(20px);
    background-color: rgba(26, 26, 26, 0.8);
}

.overlay-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: auto;
    z-index: 10;
}

#fullscreenVideo {
    width: 100%;
    height: auto;
    max-height: 90vh;
    background: black;
    border-radius: 10px;
}

#close-video-btn {
    position: absolute;
    top: -40px;
    right: -40px;
    background: var(--accent-primary); /* Logo Green */
    border: none;
    color: var(--dark-text);
    font-size: 40px;
    cursor: pointer;
    z-index: 11;
    line-height: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    transition: transform 0.3s ease, background 0.3s ease;
}

#close-video-btn:hover {
    transform: rotate(90deg);
    background: #82d977; /* Lighter green */
}

@media (max-width: 768px) {
    #close-video-btn {
        top: 10px;
        right: 10px;
        font-size: 30px;
    }
}

