:root {
    --primary-color: #64FFDA;
    /* Vibrant Cyan */
    --secondary-color: #0A192F;
    /* Midnight Navy */
    --bg-dark: #020c1b;
    --text-slate: #8892b0;
    --text-white: #e6f1ff;
    --hoynoza-orange: #f2a61d;
    --font-outfit: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-outfit);
    color: var(--text-slate);
    background-color: var(--bg-dark);
    overflow-x: hidden;
}

/* Navbar Modern V2.1 */
#mainNav {
    padding: 1.5rem 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    z-index: 1030;
}

#mainNav.scrolled {
    padding: 0.6rem 0;
    top: 15px;
    width: 90%;
    border-radius: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 25, 47, 0.85);
    /* Midnight Navy with translucency */
    backdrop-filter: blur(15px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand .brand-text {
    font-weight: 700;
    font-size: 1.4rem;
    color: #fff;
    transition: all 0.3s;
    letter-spacing: -0.5px;
}

#mainNav.scrolled .brand-text {
    color: var(--primary-color);
}

.navbar-brand img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 40px;
    }

    .navbar-brand .brand-text {
        font-size: 1.1rem;
    }
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

#mainNav.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
}

#mainNav.scrolled .nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--hoynoza-orange);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 70%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroSlideShow 18s linear infinite;
}

.hero-slider .slide:nth-child(2) {
    animation-delay: 6s;
}

.hero-slider .slide:nth-child(3) {
    animation-delay: 12s;
}

@keyframes heroSlideShow {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }

    5% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    38% {
        opacity: 0;
        transform: scale(1);
    }

    100% {
        opacity: 0;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.4) 100%);
    z-index: 0;
}

.text-slate {
    color: var(--text-slate) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 12, 27, 0.8) 0%, rgba(10, 25, 47, 0.4) 100%);
}

/* Technological Pillars Section */
.bg-darker {
    background-color: #020c1b;
}

.pillar-card {
    background: rgba(10, 25, 47, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 20px;
    padding: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.pillar-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: rgba(10, 25, 47, 0.8);
}

.pillar-icon {
    font-size: 3rem;
    color: var(--primary-color);
    background: rgba(100, 255, 218, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.pillar-features li {
    margin-bottom: 15px;
    color: var(--text-slate);
    font-weight: 500;
}

.text-muted {
    color: var(--text-slate) !important;
}

.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--hoynoza-orange);
    color: #fff;
    padding: 30px;
    border-radius: 50%;
    text-align: center;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(242, 166, 29, 0.4);
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.icon-box {
    width: 45px;
    height: 45px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.research-card {
    background: rgba(10, 25, 47, 0.4);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(100, 255, 218, 0.05);
    transition: all 0.4s ease;
}

.research-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.research-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.research-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.research-card:hover .research-img-wrapper img {
    transform: scale(1.1);
}

.research-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.research-card:hover .research-overlay {
    opacity: 1;
}

.research-overlay .btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transform: scale(0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.research-card:hover .research-overlay .btn {
    transform: scale(1);
}

/* Products Section */
#products {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.platform-header {
    background: #FF5A5F;
    border-radius: 50px;
    padding: 10px 30px;
    display: inline-flex !important;
    color: #fff;
    box-shadow: 0 10px 25px rgba(255, 90, 95, 0.3);
}

.platform-icon-box {
    background: #333;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
    position: relative;
    border: 3px solid #fff;
}

.platform-title {
    font-weight: 700;
    font-size: 1.8rem;
}

.products-list {
    position: relative;
    padding-left: 20px;
}

.product-item {
    position: relative;
    transition: all 0.3s ease;
}

.product-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    width: 60px;
    text-align: center;
    border-bottom: 3px solid #66BB6A;
    /* Light green underline */
    padding-bottom: 5px;
    margin-right: 30px;
}

.product-details {
    padding-bottom: 5px;
}

.product-text {
    font-weight: 600;
    font-size: 1.1rem;
    color: #444;
}

.product-icon {
    width: 50px;
    height: 50px;
    background: #001F3F;
    /* Deep navy */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.product-item:hover .product-icon {
    transform: rotate(360deg) scale(1.1);
    background: #FF5A5F;
}

/* Products Section Redesign */
#products {
    background: linear-gradient(135deg, #0A192F 0%, #0d213f 100%);
}

.product-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(100, 255, 218, 0.03), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.product-card:hover::before {
    transform: translateX(100%);
}

.product-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.product-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.product-card:hover .product-icon-wrapper {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: rotateY(180deg);
}

.product-card h4 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.product-card p {
    font-size: 0.95rem;
    color: var(--slate-color);
    line-height: 1.6;
    margin-bottom: 0;
}

.product-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(100, 255, 218, 0.5);
    letter-spacing: 1px;
}


/* Team Cards */
.col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
}

@media (max-width: 991.98px) {
    .col-lg-2-4 {
        width: 33.33%;
    }
}

@media (max-width: 767.98px) {
    .col-lg-2-4 {
        width: 100%;
    }
}

.team-card {
    background: #fff;
    border-radius: 100px 100px 20px 20px;
    padding: 20px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.team-img-box {
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 1/1;
}

.team-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .team-img-box img {
    transform: scale(1.1);
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, #ffffff 0%, #f6f9fc 100%);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.bg-orange {
    background-color: var(--hoynoza-orange);
}

.contact-item {
    transition: transform 0.3s;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-images-grid {
    position: relative;
    z-index: 2;
}

.accent-box-dark {
    position: absolute;
    top: -40px;
    right: -100px;
    width: 400px;
    height: 100%;
    background: var(--dark-bg);
    z-index: 1;
}

@media (max-width: 991px) {
    .accent-box-dark {
        display: none;
    }
}

/* Custom Buttons */
.btn-primary {
    background-color: var(--hoynoza-orange);
    border-color: var(--hoynoza-orange);
    transition: all 0.3s;
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    background-color: rgba(100, 255, 218, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Utilities */
@media (max-width: 768px) {
    #mainNav {
        background: transparent !important;
        padding: 1rem 0 !important;
    }

    #mainNav.scrolled {
        width: 95%;
        top: 10px;
        background: rgba(2, 12, 27, 0.95) !important;
    }

    /* Fix Mobile Menu Icon */
    .navbar-toggler {
        border-color: var(--primary-color) !important;
        background-color: rgba(100, 255, 218, 0.1);
        padding: 5px 8px;
        border-radius: 8px;
    }

    .navbar-toggler-icon {
        filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(120deg);
        /* Adjust to cyan */
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    /* Products Mobile Fixes */
    .platform-header {
        padding: 6px 12px;
        border-radius: 20px;
        width: 100%;
        margin-bottom: 20px;
    }

    .platform-title {
        font-size: 1rem;
    }

    .platform-icon-box {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 10px;
    }

    .product-number {
        font-size: 1.2rem;
        width: 40px;
        margin-right: 15px;
    }

    .product-text {
        font-size: 0.9rem;
    }

    .product-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .circle-product-img {
        width: 100%;
        max-width: 300px;
        height: auto;
        aspect-ratio: 1/1;
        margin-top: 30px;
    }

    .product-details {
        padding-left: 10px;
    }

    .product-text {
        line-height: 1.2;
    }

    /* Team & Contact Spacing */
    .team-card {
        margin-bottom: 20px;
    }

    .accent-box-dark {
        display: none;
    }

    .contact-item:hover {
        transform: none;
    }
}

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(100, 255, 218, 0.2);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-dot {
    position: absolute;
    left: -40px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--bg-dark);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-date {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.timeline-content {
    background: rgba(10, 25, 47, 0.4);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(100, 255, 218, 0.05);
}

/* Off-canvas Customization */
.offcanvas.bg-dark {
    background-color: #020c1b !important;
}

.offcanvas-header .btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.offcanvas-body .nav-link {
    font-size: 1.2rem;
    padding: 15px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-modern {
    background-color: #0d1117 !important;
    color: #e6edf3 !important;
    position: relative;
    overflow: hidden;
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(78, 205, 196, 0.2));
}

.footer-brand {
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

.footer-col .col-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
}

.footer-col .col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--hoynoza-orange);
}

.footer-links li {
    margin-bottom: 12px;
    list-style: none;
}

.footer-links a {
    color: #8b949e;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--hoynoza-orange);
    transform: translateX(5px);
}

.social-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    margin-right: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--hoynoza-orange);
    color: #fff !important;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(242, 166, 29, 0.4);
}

.contact-compact p {
    line-height: 1.6;
    color: #8b949e !important;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom hr {
    border-color: rgba(255, 255, 255, 0.1) !important;
}