/* Custom Scrollbar - Cross Browser */
/* WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #ff7b00;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-transition: background-color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #e67300;
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #ff7b00 transparent;
    overflow-y: scroll; /* Force scrollbar to prevent layout shift */
}

/* For older Firefox versions */
@-moz-document url-prefix() {
    * {
        scrollbar-width: thin;
        scrollbar-color: #ff7b00 transparent;
    }
}

/* For Safari and older Chrome */
::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

/* For IE and Edge */
@supports (-ms-ime-align: auto) {
    * {
        -ms-overflow-style: -ms-autohiding-scrollbar;
    }
}

/* Social Icons */
.bi-facebook,
.bi-instagram {
    color: #ff7b00; /* Orange color */
    transition: var(--transition);
}

.bi-facebook:hover,
.bi-instagram:hover {
    color: #e67300; /* Slightly darker orange on hover */
    transform: translateY(-2px);
}

/* Base Styles */
:root {
    --primary-color: #ff7b00;
    --secondary-color: #2ecc71;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333;
    --text-light: #7f8c8d;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

p {
    margin-bottom: 1.5rem;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: white !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff7b00; /* Orange */
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Center Utility Class */
.center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #603d6b 0%, #d53d03e8 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300%;
    height: 300%;
    top: -100%;
    left: -100%;
    background: url('../img/galaxy-bg-large.jpg') center/cover no-repeat;
    /* background: url('../img/fractal-bg.png') center/cover no-repeat; */
    background-size: cover;
    opacity: 0.1;
    animation: rotate 500s linear infinite;
    z-index: 0;
    transform-origin: center center;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #ff7b00; /* Orange */
    border-color: #ff7b00;
}

.btn-primary:hover {
    background-color: #e67300; /* Slightly darker orange on hover */
    border-color: #e67300;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Scroll Down Animation */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.mouse::before {
    content: '';
    width: 5px;
    height: 8px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    border-radius: 50%;
    opacity: 1;
    animation: wheel 1.5s infinite;
}

@keyframes wheel {
    to {
        opacity: 0;
        top: 30px;
    }
}

/* Features Section */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #ff7b00 !important; /* Orange color with !important to ensure it's not overridden */
}

.section-title::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}
#features{
    background: url('../img/robot-bg-landing.jpg') center/cover fixed;
    color: #ffffff;
}

/* Privacy Chat Section Headers */
#privacy-chat .section-title,
#privacy-chat .section-banner h4,
#privacy-chat .section-banner h3 {
    color: #000000 !important;
}
.feature-item {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    border-radius: 10px;
    transition: var(--transition);
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.feature-item h3 {
    color: #eb551a;
    margin-bottom: 0.8rem;
}

/* Feature item styling */
.feature-item {
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Section Banner Styles */
.section-banner {
    display: flex;
    align-items: center;
    background-color: #ff7b00;
    color: white;
    padding: 0.75rem 1.5rem;
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
    width: calc(100% + 3rem);
    border-radius: 0;
}

.section-banner i {
    margin-right: 0.5rem;
    font-size: 1.25rem;
}

/* Remove the old feature icon styling */
.feature-icon {
    display: none;
}

/* Note Section Styling */
.alert-info {
    background-color: #ff7b00e0 !important; /* Semi-transparent orange */
    color: white !important;
    border: none !important;
}

.alert-info .fa-info-circle {
    color: white !important;
}

.alert-info strong {
    color: white !important;
}

/* Feature list styles */
.feature-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 1rem;
    text-align: left;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: #495057;
}

.feature-list li:before {
    content: "•";
    color: var(--bs-orange);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.feature-item h3 {
    margin-bottom: 1rem;
    text-align: center;
}

/* Center icon alignment */
.feature-item .center-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    width: 100%;
}

.feature-item .center-icon i {
    font-size: 2.5rem;
    color: #eb551a;
    text-align: center;
}

.feature-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.4rem;
}

.feature-item p {
    color: #666;
    text-align: center;
    margin-bottom: 0;
}

/* Devices */
.devices {
    position: relative;
    height: 400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-container {
    position: absolute;
    bottom: 0;
    right: 50px;
    width: 150px;
    height: 300px;
    z-index: 2;
}

.phone {
    width: 150px;
    height: 300px;
    border-radius: 30px;
    padding: 3px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: absolute;
    right: 0;
    bottom: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #e24303, #3db0fdef);
    border: 2px solid #333;
}

.phone::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: linear-gradient(135deg, #e24303, #3db0fdef);
    border-radius: 28px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
}

.phone.slide-in {
    transform: translateX(0);
}
.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e24303, #3db0fdef);
    border-radius: 12px;
}

.phone::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #333;
    border-radius: 6px;
    z-index: 10;
}

.phone::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #333;
}

/* Laptop Mockup */
.laptop-mockup {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 300px;
    margin: 0 auto 20px;
    transform: translateX(-100vw);
    transition: transform 0.8s ease-out;
    opacity: 0;
}

.laptop {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.laptop .screen {
    position: absolute;
    width: 100%;
    height: 80%;
    background: #1a1a1a;
    border-radius: 12px 12px 0 0;
    padding: 10px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.laptop .screen .content {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #3498db, #9b59b6);
    border-radius: 5px;
}

.laptop .keyboard {
    position: absolute;
    width: 110%;
    left: -5%;
    height: 15px;
    background: #111;
    border-radius: 0 0 8px 8px;
    bottom: -10px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
}

/* Screen styles */
.screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #3498db, #9b59b6);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

/* Parallax Section */
.parallax-section {
    height: 80vh;
    /* background: url('https://images.unsplash.com/photo-1467232004584-a241de8bcf5d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover fixed; */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.parallax-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.parallax-content .lead {
    font-size: 1.5rem;
    opacity: 0.9;
}

/* Privacy Section */
#privacy {
    padding: 6rem 0;
}

.privacy-content {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.privacy-content h3 {
    color: var(--dark-color);
    margin: 2rem 0 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.privacy-content h3:first-child {
    margin-top: 0;
}

.privacy-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

/* Contact Section */
#contact {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: url('../img/fractal-bg2.png') center/cover fixed;
}

#contact::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, rgba(255, 151, 31, 0.2), rgba(236, 44, 253, 0.1));
    z-index: 1;
}

.contact-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px);
}

.form-control {
    padding: 1rem;
    /* border: 1px solid #e0e0e0; */
    border-radius: 5px;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    padding: 2rem 0;
    background-color: var(--dark-color);
    color: white;
}

footer .row > div {
    margin-bottom: 1.5rem;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.newsletter-form p {
    margin-bottom: 1rem;
}

/* Newsletter Form */
.newsletter-form .form-control,
.newsletter-form .btn {
    height: 45px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
}

.newsletter-form .input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.newsletter-form .input-group .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Back to Top Button */
.back-to-top {
    background-color: #ff7b00 !important; /* Orange with !important to ensure it overrides */
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white !important; /* Ensure text color is white */
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: none !important; /* Remove any border */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.back-to-top:hover {
    background-color: #e67300 !important; /* Slightly darker orange on hover */
    transform: translateY(-5px);
    color: white !important;
}

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

.fadeInUp {
    animation: fadeInUp 1s ease forwards;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
        color: #ff7b00;
    }
    
    .parallax-content h2 {
        font-size: 2.5rem;
    }
    
    .parallax-content .lead {
        font-size: 1.3rem;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding-top: 80px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .parallax-content h2 {
        font-size: 2rem;
    }
    
    .parallax-content .lead {
        font-size: 1.1rem;
    }
    
    .phone-mockup {
        margin-top: 3rem;
        height: 400px;
    }
    
    .phone {
        width: 200px;
        height: 400px;
    }
    
    .privacy-content,
    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .parallax-content h2 {
        font-size: 1.8rem;
    }
    
    .privacy-content,
    .contact-form {
        padding: 1.5rem;
    }
}
