/* Header & Navigation - Fixed Version */
:root {
    --primary: #2C3E50;
    --secondary: #f58220;
    --accent: #3498DB;
    --light: #ECF0F1;
    --dark: #2C3E50;
    --text: #333333;
    --text-light: #777777;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Custom Scrollbar Styling */
::-webkit-scrollbar {
    width: 20px;
    /* Scrollbar width */
    height: 10px;
    /* Horizontal scrollbar height */
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    /* Your secondary color */
    border-radius: 10px;
    border: 2px solid var(--light);
    /* Gap effect */
}

::-webkit-scrollbar-thumb:hover {
    background: #c0392b;
    /* Hover color (slightly darker red/orange tone) */
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) var(--light);
}


body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: #ffffff;
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Top Bar with Contact Info */
.top-bar {
    background: var(--primary);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-item i {
    color: var(--secondary);
    font-size: 14px;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 0px;

}

.social-icons a {
    color: white;
    font-size: 16px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: white;
}

/* Header & Navigation */
.header-fixed {
    position: fixed;
    top: 50px;
    /* Adjusted for top bar */
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: 0.5s;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-fixed.sticky {
    top: 0;
    padding: 10px 0;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-container-fixed {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-fixed {
    font-weight: 700;
    font-size: 24px;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-fixed span {
    color: var(--secondary);
}

.nav-links-fixed {
    display: flex;
    list-style: none;
    margin-bottom: 0px;
}

.nav-links-fixed li {
    margin: 0 15px;
    position: relative;
}

.nav-links-fixed a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    padding: 5px 0;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-links-fixed a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s;
}

/* Active link */
.nav-links-fixed a.active {
    color: var(--secondary);
    font-weight: 700;
}

/* Active underline */
.nav-links-fixed a.active:after {
    width: 100%;
    background-color: var(--secondary);
}


.nav-links-fixed a:hover:after {
    width: 100%;
}

.header-buttons-fixed {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-register-btn-fixed {
    display: none;
}

.cta-button-fixed {
    background: var(--secondary);
    color: white;
    padding: 8px 20px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    display: inline-block;
    font-size: 14px;
}

.cta-button-fixed:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

.menu-toggle-fixed {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
    z-index: 1001;
    position: relative;
    width: 30px;
    height: 30px;
    left: 90px;
}

.menu-toggle-fixed i {
    position: absolute;
    transition: opacity 0.3s, transform 0.3s;
}

.menu-toggle-fixed .fa-times {
    opacity: 0;
    transform: rotate(90deg);
}

.menu-toggle-fixed.active .fa-bars {
    opacity: 0;
    transform: rotate(90deg);
}

.menu-toggle-fixed.active .fa-times {
    opacity: 1;
    transform: rotate(0deg);
}

/* Dropdown Styling - Fixed */
.nav-links-fixed .dropdown-fixed {
    position: relative;
}

.dropdown-fixed ul {
    list-style: none;
}

.nav-links-fixed .dropdown-toggle-fixed {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    cursor: pointer;
}

.nav-links-fixed .dropdown-menu-fixed {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    flex-direction: column;
    width: max-content;
    min-width: 220px;
    max-width: 320px;
    white-space: nowrap;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    z-index: 1001;
    /* margin-top: 10px; */
}

.nav-links-fixed .dropdown-fixed {
    position: relative;
}

.nav-links-fixed .dropdown-fixed:hover .dropdown-menu-fixed {
    display: flex;
}

.nav-links-fixed .dropdown-menu-fixed:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
}

.nav-links-fixed .dropdown-menu-fixed li {
    margin: 0;
    width: 100%;
}

.nav-links-fixed .dropdown-menu-fixed a {
    padding: 10px 20px;
    font-size: 0.95rem;
    display: block;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-links-fixed .dropdown-menu-fixed a:hover {
    background: rgba(231, 76, 60, 0.05);
    color: var(--secondary);
    border-left: 3px solid var(--secondary);
    padding-left: 25px;
}

/* Desktop Hover Dropdown */
@media (min-width: 992px) {
    .nav-links-fixed .dropdown-fixed:hover .dropdown-menu-fixed {
        display: flex;
    }

    .nav-links-fixed .dropdown-menu-fixed {
        animation: fadeInDown 0.3s ease;
    }

    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.mobile-register-btn-fixed {
    display: block;
    position: fixed;
    top: 30%;
    right: 20px;
    transform: translateY(-50%) rotate(270deg);
    transform-origin: right center;
    z-index: 1002;
    background: var(--secondary);
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.mobile-register-btn-fixed:hover {
    background: #c0392b;
    transform: translateY(-50%) rotate(270deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.5);
}

/* Mobile Menu Styles */
@media (max-width: 991px) {
    .top-bar {
        display: none;
        /* Hide top bar on mobile */
    }

    .header-fixed {
        top: 0;
    }

    .menu-toggle-fixed {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links-fixed {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        /* max-width: 300px; */
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 80px 25px 30px;
        transition: 0.4s ease;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-links-fixed.active {
        left: 0;
    }

    .nav-links-fixed li {
        margin: 10px 0;
        width: 100%;
    }

    .nav-links-fixed a {
        font-size: 1.1rem;
        padding: 12px 0;
        display: block;
        width: 100%;
    }

    /* Mobile Dropdown Styles */
    .nav-links-fixed .dropdown-menu-fixed {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        background: #f9f9f9;
        margin-top: 5px;
        padding: 5px 0;
        border-radius: 5px;
        animation: none;
    }

    .nav-links-fixed .dropdown-menu-fixed:before {
        display: none;
    }

    .nav-links-fixed .dropdown-menu-fixed li {
        margin: 0;
    }

    .nav-links-fixed .dropdown-menu-fixed a {
        padding: 10px 15px;
        font-size: 1rem;
        border-left: none;
    }

    .nav-links-fixed .dropdown-fixed.active .dropdown-menu-fixed {
        display: flex;
    }

    .nav-links-fixed .dropdown-toggle-fixed .fa-chevron-down {
        transition: transform 0.3s ease;
    }

    .nav-links-fixed .dropdown-fixed.active .dropdown-toggle-fixed .fa-chevron-down {
        transform: rotate(180deg);
    }

    .header-buttons-fixed .cta-button-fixed {
        display: none;
    }

    .mobile-register-btn-fixed {
        display: block;
        position: fixed;
        top: 50%;
        right: 20px;
        transform: translateY(-50%) rotate(270deg);
        transform-origin: right center;
        z-index: 1002;
        background: var(--secondary);
        color: white;
        padding: 12px 20px;
        text-decoration: none;
        font-weight: 500;
        font-size: 14px;
        box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .mobile-register-btn-fixed:hover {
        background: #c0392b;
        transform: translateY(-50%) rotate(270deg) scale(1.05);
        box-shadow: 0 6px 20px rgba(231, 76, 60, 0.5);
    }

    /* Mobile contact info in menu */
    .mobile-contact-info {
        display: block;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }

    .mobile-contact-info .contact-item {
        margin-bottom: 10px;
        color: var(--dark);
    }

    .mobile-contact-info .contact-item i {
        color: var(--secondary);
        margin-right: 10px;
    }

    .mobile-contact-info .social-icons {
        margin-top: 15px;
        justify-content: flex-start;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .mobile-register-btn-fixed {
        padding: 10px 18px;
        font-size: 13px;
        right: 20px;
    }

    .nav-links-fixed {
        width: 90%;
    }
}

@media (max-width: 380px) {
    .mobile-register-btn-fixed {
        padding: 8px 16px;
        font-size: 12px;
        right: 15px;
    }
}

/* Loader Styles - Fixed */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Higher than header */
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo-img {
    margin-bottom: 30px !important;
    margin: 0px auto;
    animation: fadeIn 1.5s ease-in-out infinite alternate;
}

.loader-logo-img img {
    height: auto;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid #ff7b00;
    border-right: 6px solid #0077ff;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

.loader-progress {
    width: 250px;
    height: 6px;
    background: #ddd;
    border-radius: 4px;
    margin: 15px auto;
    overflow: hidden;
}

.loader-progress-bar {
    width: 0%;
    height: 100%;
    background: #0077ff;
    transition: width 0.3s ease;
}

.loader-text {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #ff7b00;
    margin-top: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.page-content {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.page-content.visible {
    opacity: 1;
}

/* Demo Content */
.demo-content {
    padding: 100px 0 40px;
    text-align: center;
}

.demo-content h2 {
    margin-bottom: 20px;
    color: var(--primary);
}

.demo-content p {
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--text-light);
}

.space {
    height: 1000px;
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
}

/* Responsive adjustments for top bar */
@media (max-width: 768px) {

    .menu-toggle-fixed {
        left: 230px;
    }

    .top-bar {
        font-size: 12px;
    }

    .contact-info {
        gap: 10px;
    }

    .social-icons {
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .menu-toggle-fixed {
        left: 75px;
    }

    .top-bar-container {
        flex-direction: column;
        gap: 5px;
    }
}


/* Test Button Styles */
.test-button-fixed {
    background: var(--accent);
    color: white;
    padding: 8px 20px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    display: inline-block;
    font-size: 14px;
    margin-right: 10px;
    /* border-radius: 4px; */
}

.test-button-fixed:hover {
    background: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.mobile-test-btn-fixed {
    /* display: none; */
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%) rotate(270deg);
    transform-origin: right center;
    z-index: 1002;
    background: var(--accent);
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
    transition: all 0.3s ease;
    white-space: nowrap;
    border-radius: 4px;
}

.mobile-test-btn-fixed:hover {
    background: #2980b9;
    transform: translateY(-50%) rotate(270deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.5);
}

/* Download Brochure Button Styles */
.download-brochure-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: linear-gradient(135deg, var(--secondary), #e74c3c);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.download-brochure-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(231, 76, 60, 0.6);
    color: white;
    background: linear-gradient(135deg, #e74c3c, var(--secondary));
}

.download-brochure-btn i {
    font-size: 1.2rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    }

    50% {
        box-shadow: 0 8px 25px rgba(231, 76, 60, 0.8);
    }

    100% {
        box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    }
}

/* Mobile Styles for Download Brochure Button */
@media (max-width: 991px) {
    .header-buttons-fixed .test-button-fixed {
        display: none;
    }

    .mobile-test-btn-fixed {
        display: block;
    }

    .download-brochure-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .mobile-test-btn-fixed {
        padding: 10px 18px;
        font-size: 13px;
        right: 20px;
    }

    .download-brochure-btn {
        bottom: 15px;
        right: 15px;
        padding: 10px 18px;
        font-size: 13px;
    }

    .download-brochure-btn span {
        display: none;
    }

    .download-brochure-btn i {
        font-size: 1.4rem;
        margin-right: 0;
    }
}

@media (max-width: 380px) {
    .mobile-test-btn-fixed {
        padding: 8px 16px;
        font-size: 12px;
        right: 15px;
    }

    .download-brochure-btn {
        bottom: 10px;
        right: 10px;
        padding: 8px 16px;
    }
}

/* Top Bar Button Styles */
.top-bar-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-bar-register-btn {
    background: var(--secondary);
    color: white;
    padding: 6px 15px;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.top-bar-register-btn:hover {
    background: #c0392b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
}

.top-bar-brochure-btn {
    background: var(--accent);
    color: white;
    padding: 6px 15px;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.top-bar-brochure-btn:hover {
    background: #2980b9;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.top-bar-website-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    padding: 6px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.top-bar-website-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive adjustments for top bar buttons */
@media (max-width: 768px) {
    .top-bar-buttons {
        gap: 8px;
    }

    .top-bar-register-btn,
    .top-bar-brochure-btn,
    .top-bar-website-link {
        padding: 5px 12px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .top-bar-buttons {
        margin-top: 5px;
        gap: 5px;
    }

    .top-bar-register-btn,
    .top-bar-brochure-btn,
    .top-bar-website-link {
        padding: 4px 10px;
        font-size: 11px;
    }
}