/* CSS Variables for Light Mode */
:root {
    --trace-color: #00629B; /* Blue for light mode */
    --trace-glow: 0 0 15px 3px var(--trace-color);
    --trace-duration: 4s; /* Total animation duration */
    --primary-color: #00629B;
    --secondary-color: #FF6900;
    --accent-color: #5C87A2;
    --light-color: #F8F9FA;
    --dark-color: #212529;
    --text-color: #333333;
    --text-light: #6C757D;
    --bg-color: #FFFFFF;
    --card-bg: #FFFFFF;
    --border-color: #E9ECEF;
    --footer-bg: #212529;
    --footer-text: #FFFFFF;
    --section-padding: 80px 0;
    --shadow-3d: 0 10px 20px rgba(0, 0, 0, 0.1);
    --transform-3d: perspective(1000px);
    --particle-color: rgba(0, 98, 155, 0.5);
    --particle-size: 3;
    --particle-speed: 1;
    --connection-distance: 100;
    --connection-color: rgba(0, 98, 155, 0.2);
}

/* Orange 3D Theme */
body.orange-3d-theme {
    --trace-color: #FF6900; /* Orange for orange mode */
    --trace-glow: 0 0 20px 5px var(--trace-color);
    --primary-color: #FF6B35;
    --secondary-color: #F7931E;
    --accent-color: #FFAB00;
    --light-color: #FFF8F0;
    --dark-color: #1A1A1A;
    --text-color: #FFFFFF;
    --text-light: #FFD8A8;
    --bg-color: #0D0D0D;
    --card-bg: rgba(255, 107, 53, 0.1);
    --border-color: rgba(255, 107, 53, 0.3);
    --footer-bg: #000000;
    --footer-text: #FFFFFF;
    --shadow-3d: 0 15px 30px rgba(255, 107, 53, 0.3);
    --transform-3d: perspective(1000px) rotateX(5deg);
    --particle-color: rgba(255, 107, 53, 0.8);
    --particle-size: 4;
    --particle-speed: 1.5;
    --connection-distance: 120;
    --connection-color: rgba(255, 107, 53, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: all 0.5s ease;
    padding-top: 0;
}

/* Add this to your CSS */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 9999;
    transition: opacity 0.5s ease;
}

body.loaded::before {
    opacity: 0;
    pointer-events: none;
}

/* Three.js 3D Background Container */
#threejs-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Theme Toggle in Header */
.theme-toggle-container {
    display: flex !important;
    align-items: center;
    position: relative;
    z-index: 1001;
}

/* Navbar Toggler Wrapper for Mobile */
.navbar-toggler-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Desktop theme toggle container */
.theme-toggle-container-desktop {
    display: none;
    align-items: center;
    margin-left: 15px;
}

/* Hide wrapper on desktop, show theme toggle in collapse */
@media (min-width: 992px) {
    .navbar-toggler-wrapper {
        display: none;
    }
    
    .theme-toggle-container-desktop {
        display: flex !important;
    }
}

/* Hide desktop toggle on mobile */
@media (max-width: 991px) {
    .theme-toggle-container-desktop {
        display: none !important;
    }
}

.theme-toggle {
    background: var(--primary-color);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-3d);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1002;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.6);
}

body.orange-3d-theme .theme-toggle {
    background: var(--secondary-color);
}

/* Ensure theme toggle is always visible on all screen sizes */
@media (max-width: 768px) {
    .navbar-toggler-wrapper {
        display: flex !important;
        align-items: center;
        gap: 10px;
    }
    
    .theme-toggle-container {
        display: flex !important;
    }
    
    .theme-toggle {
        display: flex !important;
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* 3D Effects for Orange Theme */
body.orange-3d-theme .card-3d {
    transform: var(--transform-3d);
    box-shadow: var(--shadow-3d);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

body.orange-3d-theme .card-3d:hover {
    transform: perspective(1000px) rotateX(10deg) translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.5);
}

body.orange-3d-theme .btn-3d {
    background:  var(--primary-color);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

body.orange-3d-theme .btn-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

body.orange-3d-theme .btn-3d:hover::before {
    left: 100%;
}

body.orange-3d-theme .btn-3d:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.6);
}

/* Navbar */
.navbar {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transform: translateY(0);
}

/* Auto-hide navbar on mobile when scrolling down */
.navbar.scrolled-down {
    transform: translateY(-100%);
}

body.orange-3d-theme .navbar {
    background-color: rgba(13, 13, 13, 0.9);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    max-width: 180px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    margin: 0 5px;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 12px !important;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

body.orange-3d-theme .nav-link {
    color: var(--text-color) !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(0, 98, 155, 0.1);
    transform: translateY(-2px);
}

body.orange-3d-theme .nav-link:hover {
    background-color: rgba(255, 107, 53, 0.1);
}

body.orange-3d-theme .nav-link:hover {
    background-color: rgba(255, 107, 53, 0.1);
}

.nav-link::before {
    content: '→';
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-5px);
}

.nav-link:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.nav-link.active::before {
    opacity: 1;
    transform: translateX(0);
}

/* Remove arrow from dropdown-toggle (More menu) */
.nav-link.dropdown-toggle::before {
    display: none;
}

.nav-link.dropdown-toggle::after {
    display: none;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    margin-top: 10px;
    min-width: 200px;
    animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.orange-3d-theme .dropdown-menu {
    background: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.2);
}

.dropdown-item {
    color: var(--dark-color);
    padding: 10px 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background-color: rgba(0, 98, 155, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

body.orange-3d-theme .dropdown-item:hover {
    background-color: rgba(255, 107, 53, 0.1);
    color: var(--accent-color);
}

body.orange-3d-theme .dropdown-item {
    color: var(--text-color);
}

body.orange-3d-theme .dropdown-item:hover {
    background-color: rgba(255, 107, 53, 0.1);
    color: var(--accent-color);
}

.dropdown-item i {
    width: 16px;
    text-align: center;
    font-size: 0.8rem;
}

.dropdown-divider {
    margin: 8px 0;
    border-color: var(--border-color);
}

body.orange-3d-theme .dropdown-divider {
    border-color: var(--border-color);
}

.navbar-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-social a {
    color: var(--dark-color);
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

body.orange-3d-theme .navbar-social a {
    color: var(--text-color);
}

.navbar-social a:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

body.orange-3d-theme .navbar-social a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.faq-hero {
    background: linear-gradient(135deg, rgba(0, 98, 155, 0.8), rgba(0, 123, 191, 0.8)), url('../assets/images/background/website bg 4-01.png');
    background-size: 120% 120%;
    background-position: 0% -30%; /* Shifted up on y-axis */
    background-repeat: no-repeat;
    color: white;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: backgroundMoveHorizontal 20s ease-in-out infinite;
}

.faq-hero .container {
    padding-top: 80px; /* Padding for navbar, only on content */
    z-index: 1;
    position: relative;
}

body.orange-3d-theme .faq-hero {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.8), rgba(247, 147, 30, 0.8)), url('../assets/images/background/website bg 4-01.png');
    background-size: 120% 120%;
    background-position: 0% -30%; /* Shifted up on y-axis */
    background-repeat: no-repeat;
    animation: backgroundMoveHorizontal 20s ease-in-out infinite; /* Same animation as dark mode */
}

/* X axis movement with minimal Y axis movement */
@keyframes backgroundMoveHorizontal {
    0% { 
background-position: 0% -30%; 
    }
    25% { 
background-position: 50% -29%; 
    }
    50% { 
background-position: 100% -28%; 
    }
    75% { 
background-position: 50% -31%; 
    }
    100% { 
background-position: 0% -30%; 
    }
}

/* Remove the previous animations that are no longer needed */
/* @keyframes gradientShift { ... } */
/* @keyframes backgroundMove { ... } */

.faq-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    /* Added for letter animation */
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid white;
    animation: typing 3.5s steps(30, end), blink-caret 0.75s step-end infinite;
}

/* Typewriter effect for FAQ title */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: white; }
}

/* Letter-by-letter animation */
.faq-hero h1 span {
    opacity: 0;
    display: inline-block;
    animation: fadeInLetter 0.1s ease forwards;
}

@keyframes fadeInLetter {
    to {
opacity: 1;
    }
}

body.orange-3d-theme .faq-hero h1 {
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.faq-hero p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
opacity: 0;
transform: translateY(30px);
    }
    to {
opacity: 1;
transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
opacity: 0;
transform: translateX(-50px);
    }
    to {
opacity: 1;
transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
opacity: 0;
transform: translateX(50px);
    }
    to {
opacity: 1;
transform: translateX(0);
    }
}

@keyframes flipIn {
    from {
opacity: 0;
transform: perspective(400px) rotateY(90deg);
    }
    to {
opacity: 1;
transform: perspective(400px) rotateY(0deg);
    }
}

@keyframes pulse {
    0% {
transform: scale(1);
    }
    50% {
transform: scale(1.05);
    }
    100% {
transform: scale(1);
    }
}

/* Mobile Version */
@media (max-width: 768px) {
    .faq-hero {
background: linear-gradient(135deg, rgba(0, 98, 155, 0.8), rgba(0, 123, 191, 0.8)), url('../assets/images/background/WEBSITEBK.jpg');
background-size: 140% 140%; /* Larger size to allow movement */
background-position: 0% -40%; /* Start at left, shifted up */
background-repeat: no-repeat;
min-height: 80vh;
padding: 0;
animation: backgroundMoveHorizontalMobile 25s ease-in-out infinite; /* Slower animation for mobile */
    }
    
    .faq-hero .container {
padding-top: 80px; /* Padding for navbar */
padding-left: 20px;
padding-right: 20px;
padding-bottom: 20px;
    }

    body.orange-3d-theme .faq-hero {
background: linear-gradient(135deg, rgba(255, 107, 53, 0.8), rgba(247, 147, 30, 0.8)), url('../assets/images/background/WEBSITEBK.jpg');
background-size: 140% 140%;
background-position: 0% -40%;
background-repeat: no-repeat;
animation: backgroundMoveHorizontalMobile 25s ease-in-out infinite;
    }

    .faq-hero h1 {
font-size: 2.2rem;
line-height: 1.3;
margin-bottom: 15px;
    }

    .faq-hero p {
font-size: 1.1rem;
max-width: 90%;
    }
}

/* Mobile Animation - X axis only with minimal Y movement */
@keyframes backgroundMoveHorizontalMobile {
    0% { 
background-position: 0% -40%; 
    }
    25% { 
background-position: 50% -39.5%; 
    }
    50% { 
background-position: 100% -39%; 
    }
    75% { 
background-position: 50% -40.5%; 
    }
    100% { 
background-position: 0% -40%; 
    }
}
/* Section Styles */
section {
    padding: var(--section-padding);
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

body.orange-3d-theme .section-title h2 {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

body.orange-3d-theme .section-title h2::after {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 120px;
}

.section-title p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* FAQ Section */
.faq-section {
    padding: var(--section-padding);
}

body.orange-3d-theme .faq-section {
    background-color: rgba(255, 107, 53, 0.05);
}

/* Modern FAQ Categories */
.faq-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.faq-category {
    padding: 12px 24px;
    background-color: var(--card-bg);
    color: var(--text-color);
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.faq-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--secondary-color);
    transition: width 0.3s ease;
    z-index: -1;
}

.faq-category:hover::before {
    width: 100%;
}

.faq-category:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.faq-category.active {
    background:  var(--primary-color);
    color: white;
    border-color: transparent;
}

body.orange-3d-theme .faq-category {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--border-color);
}

body.orange-3d-theme .faq-category:hover {
    transform: translateY(-5px) rotateX(5deg);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.6);
}

/* Modern Search Box */
.search-container {
    max-width: 600px;
    margin: 0 auto 50px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 18px 25px;
    padding-left: 55px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--card-bg);
    color: var(--text-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

body.orange-3d-theme .search-input {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--border-color);
    color: var(--text-color);
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    outline: none;
    transform: translateY(-2px);
}

body.orange-3d-theme .search-input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3);
}

.search-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-size: 1.2rem;
}

body.orange-3d-theme .search-icon {
    color: var(--accent-color);
}

/* Modern FAQ Accordion */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 25px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    background: var(--card-bg);
    position: relative;
}

body.orange-3d-theme .faq-item {
    background-color: rgba(255, 107, 53, 0.1);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-3d);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

body.orange-3d-theme .faq-item:hover {
    transform: translateY(-8px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.4);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-color);
    background: var(--card-bg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

body.orange-3d-theme .faq-question {
    background-color: rgba(255, 107, 53, 0.05);
    color: var(--text-color);
}

.faq-question::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background:  var(--primary-color);
    transition: width 0.3s ease;
}

.faq-item.active .faq-question::before {
    width: 100%;
    opacity: 0.1;
}

.faq-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background:  var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    padding: 0 30px;
    background: var(--card-bg);
    color: var(--text-color);
}

body.orange-3d-theme .faq-answer {
    background-color: rgba(255, 107, 53, 0.05);
    color: var(--text-color);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-answer p {
    padding: 20px 0;
    margin: 0;
    line-height: 1.7;
}

/* Category tags */
.faq-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.faq-tag {
    padding: 4px 12px;
    background-color: var(--light-color);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

body.orange-3d-theme .faq-tag {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

/* Still Have Questions */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

body.orange-3d-theme .glass {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    box-shadow: var(--shadow-3d);
}

.btn-glow {
    background:  var(--primary-color);
    border: none;
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

body.orange-3d-theme .btn-glow {
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.btn-glow:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

body.orange-3d-theme .btn-glow:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.6);
}


/* Footer */
footer {
    background: linear-gradient(135deg, #212529 0%, #00629B 50%, #f8f9fa 100%);
    color: var(--footer-text);
    padding: 50px 0 20px;
    transition: all 0.5s ease;
}

body.orange-3d-theme footer {
    background: linear-gradient(135deg, #0D0D0D 0%, #FF6B35 50%, #F7931E 100%);
    position: relative;
    z-index: 1;
}

body.orange-3d-theme footer {
    background: linear-gradient(135deg, #000000 0%, #FF6B35 50%, #0A0A0A 100%);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
    justify-content: center;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    max-width: 180px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease;
}

body.orange-3d-theme .footer-social a {
    background-color: rgba(255, 107, 53, 0.2);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

body.orange-3d-theme .footer-links h4 {
    color: var(--secondary-color);
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

body.orange-3d-theme .footer-links h4::after {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
    display: inline-block;
}

body.orange-3d-theme .footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-contact h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

body.orange-3d-theme .footer-contact h4 {
    color: var(--secondary-color);
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

body.orange-3d-theme .footer-contact h4::after {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-info-item i {
    color: var(--secondary-color);
    margin-top: 5px;
}

body.orange-3d-theme .contact-info-item i {
    color: var(--accent-color);
}

.contact-info-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 0.9rem;
}

.footer-credits {
    font-size: 0.85rem !important;
    opacity: 0.8;
    margin-top: 10px !important;
}

.footer-credits strong {
    color: var(--primary-color);
    font-weight: 600;
}

body.orange-3d-theme .footer-credits strong {
    color: var(--secondary-color);
}

/* Hide any unwanted text that might appear after footer */
footer ~ *:not(script):not(style):not(.back-to-top) {
    display: none !important;
    visibility: hidden !important;
}

/* Hide any text content that might appear after footer */
body::after {
    display: none !important;
    content: '' !important;
    visibility: hidden !important;
}

/* Ensure footer is the last visible element */
footer {
    margin-bottom: 0;
    padding-bottom: 20px;
}

/* Hide any text nodes after footer */
footer + * {
    font-size: 0 !important;
    line-height: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* 3D Floating Elements for Orange Theme */
body.orange-3d-theme .floating-element {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.8), rgba(255, 107, 53, 0.2));
    filter: blur(5px);
    animation: float 6s ease-in-out infinite;
    z-index: -1;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.floating-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

/* Responsive Design */
@media (max-width: 992px) {
    .faq-hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .faq-category {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

/* Mobile Social Media Sidebar */
.mobile-social-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--bg-color);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: right 0.3s ease;
    display: none;
}

.mobile-social-sidebar.active {
    right: 0;
}

body.orange-3d-theme .mobile-social-sidebar {
    background: var(--card-bg);
    box-shadow: -5px 0 15px rgba(255, 107, 53, 0.2);
}

.sidebar-content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-header h4 {
    color: var(--dark-color);
    margin: 0;
    font-size: 1.2rem;
}

body.orange-3d-theme .sidebar-header h4 {
    color: var(--text-color);
}

.sidebar-close {
    background: none;
    border: none;
    color: var(--dark-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.sidebar-close:hover {
    background: var(--primary-color);
    color: white;
}

body.orange-3d-theme .sidebar-close {
    color: var(--text-color);
}

body.orange-3d-theme .sidebar-close:hover {
    background: var(--accent-color);
}

.sidebar-social {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-social a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    color: var(--dark-color);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(0, 98, 155, 0.05);
}

.sidebar-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

body.orange-3d-theme .sidebar-social a {
    color: var(--text-color);
    background: rgba(255, 107, 53, 0.05);
}

body.orange-3d-theme .sidebar-social a:hover {
    background: var(--accent-color);
}

.sidebar-social a i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.sidebar-social a span {
    font-weight: 500;
}

/* Mobile Social Media Button */
.mobile-social-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 98, 155, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    display: none;
}

body.orange-3d-theme .mobile-social-btn {
    background: var(--accent-color);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.mobile-social-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 98, 155, 0.4);
}

body.orange-3d-theme .mobile-social-btn:hover {
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

body.orange-3d-theme .mobile-social-btn {
    background: var(--accent-color);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

body.orange-3d-theme .mobile-social-btn:hover {
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 0;
    }
    
    .navbar-brand img {
        max-width: 140px;
    }
    
    .navbar-social {
        display: none;
    }
    
    .mobile-social-sidebar {
        display: block;
    }
    
    .mobile-social-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .navbar-nav {
        padding: 15px 0;
        background: var(--bg-color);
        border-radius: 10px;
        margin-top: 10px;
    }
    
    body.orange-3d-theme .navbar-nav {
        background: var(--card-bg);
    }
    
    .navbar-nav .nav-item {
        margin: 8px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 12px 20px !important;
        margin: 0;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .nav-link i {
        width: 20px;
        text-align: center;
    }
    
    .dropdown-menu {
        min-width: 100%;
        margin-top: 0;
        margin-left: 20px;
        border: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.05);
    }
    
    body.orange-3d-theme .dropdown-menu {
        background: rgba(255, 107, 53, 0.1);
    }
    
    .dropdown-item {
        padding: 10px 20px;
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .dropdown-item i {
        width: 20px;
        text-align: center;
        font-size: 0.9rem;
    }
    
    .navbar-toggler {
        border: 2px solid var(--primary-color);
        padding: 5px 10px;
    }
    
    body.orange-3d-theme .navbar-toggler {
        border-color: var(--secondary-color);
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 98, 155, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    body.orange-3d-theme .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 107, 53, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    /* Improve touch targets */
    .btn, .nav-link, .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Center all button text on mobile */
    .btn-primary, .btn, .btn-3d {
        text-align: center;
    }
    
    /* Better spacing for mobile */
    section {
        padding: 40px 0;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .faq-hero {
        min-height: 100vh;
        padding: 20px 0;
    }
    
    .faq-hero h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .faq-hero p {
        font-size: 1.1rem;
        max-width: 90%;
        line-height: 1.5;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .faq-question {
        padding: 20px 25px;
        font-size: 1rem;
    }
    
    .faq-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .theme-toggle {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .faq-hero h1 {
        font-size: 0;
        line-height: 1.1;
    }
    
    .faq-hero h1::before {
        content: "FAQs";
        font-size: 2rem;
    }
    
    .faq-hero p {
        font-size: 1rem;
        max-width: 95%;
        line-height: 1.4;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .faq-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-category {
        width: 80%;
    }
    
    .faq-question {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
}

/* Mobile Social Media Container */
.mobile-social-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 999;
    display: none;
}

.mobile-social-btn {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

body.orange-3d-theme .mobile-social-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.mobile-social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

body.orange-3d-theme .mobile-social-btn:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.6);
}

.mobile-social-btn.active {
    transform: rotate(45deg);
}

.mobile-social-btn.active:hover {
    transform: rotate(45deg) translateY(-5px);
}

body.orange-3d-theme .mobile-social-btn.active:hover {
    transform: rotate(45deg) translateY(-10px) rotateX(5deg);
}

.mobile-social-btn.active #socialIcon {
    transform: rotate(-45deg);
}

/* Social Menu */
.social-menu {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 50px;
}

.social-item {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0);
    z-index: 1;
}

body.orange-3d-theme .social-item {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.social-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

body.orange-3d-theme .social-item:hover {
    transform: translateY(-10px) rotateX(5deg) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.6);
}

/* Animation for expanded state - Circular arrangement with spacing */
.mobile-social-container.active .social-item {
    opacity: 1;
    transform: scale(1);
}

.mobile-social-container.active .social-item.instagram {
    transform: translate(-110px, -25px) scale(1);
}

.mobile-social-container.active .social-item.facebook {
    transform: translate(-80px, -80px) scale(1);
}

.mobile-social-container.active .social-item.linkedin {
    transform: translate(-25px, -110px) scale(1);
}

/* Hover states for expanded items */
.mobile-social-container.active .social-item.instagram:hover {
    transform: translate(-110px, -25px) translateY(-5px) scale(1.05);
}

.mobile-social-container.active .social-item.facebook:hover {
    transform: translate(-80px, -80px) translateY(-5px) scale(1.05);
}

.mobile-social-container.active .social-item.linkedin:hover {
    transform: translate(-25px, -110px) translateY(-5px) scale(1.05);
}

body.orange-3d-theme .mobile-social-container.active .social-item.instagram:hover {
    transform: translate(-110px, -25px) translateY(-10px) rotateX(5deg) scale(1.05);
}

body.orange-3d-theme .mobile-social-container.active .social-item.facebook:hover {
    transform: translate(-80px, -80px) translateY(-10px) rotateX(5deg) scale(1.05);
}

body.orange-3d-theme .mobile-social-container.active .social-item.linkedin:hover {
    transform: translate(-25px, -110px) translateY(-10px) rotateX(5deg) scale(1.05);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1001;
    text-decoration: none;
}

body.orange-3d-theme .back-to-top {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

body.orange-3d-theme .back-to-top:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.6);
}

@media (max-width: 768px) {
    .mobile-social-container {
        display: block;
    }
    
    /* Hide social media button in hero section */
    .hero-section .mobile-social-container,
    .faq-hero .mobile-social-container {
        display: none !important;
    }
}

@media (max-width: 576px) {
    /* Adjust social button spacing on very small screens */
    .mobile-social-container {
        bottom: 75px;
        right: 15px;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
    }
    
    .mobile-social-container.active .social-item.instagram {
        transform: translate(-95px, -20px) scale(1);
    }
    
    .mobile-social-container.active .social-item.facebook {
        transform: translate(-70px, -70px) scale(1);
    }
    
    .mobile-social-container.active .social-item.linkedin {
        transform: translate(-20px, -95px) scale(1);
    }
    
    .mobile-social-container.active .social-item.instagram:hover {
        transform: translate(-95px, -20px) translateY(-5px) scale(1.05);
    }
    
    .mobile-social-container.active .social-item.facebook:hover {
        transform: translate(-70px, -70px) translateY(-5px) scale(1.05);
    }
    
    .mobile-social-container.active .social-item.linkedin:hover {
        transform: translate(-20px, -95px) translateY(-5px) scale(1.05);
    }
    
    body.orange-3d-theme .mobile-social-container.active .social-item.instagram:hover {
        transform: translate(-95px, -20px) translateY(-10px) rotateX(5deg) scale(1.05);
    }
    
    body.orange-3d-theme .mobile-social-container.active .social-item.facebook:hover {
        transform: translate(-70px, -70px) translateY(-10px) rotateX(5deg) scale(1.05);
    }
    
    body.orange-3d-theme .mobile-social-container.active .social-item.linkedin:hover {
        transform: translate(-20px, -95px) translateY(-10px) rotateX(5deg) scale(1.05);
    }
}
