/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
   font-family: 'Poppins', sans-serif;
}

body {
   background: black;
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
}


/* Slide Animations */
@keyframes slide-down {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slide-in-left {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-right {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Home content animation styling */
.home-content h3 {
    animation: slide-down 1s ease-in-out;
}

.home-content h1 {
    animation: slide-in-left 1.2s ease-in-out;
}

.home-content p {
    animation: slide-in-right 1.4s ease-in-out;
}

.home-image img {
    animation: slide-down 1.2s ease-in-out;
}

.home {
height: 90vh;
display: flex;
justify-content: center;
align-items: center;
padding: 0 10%;
/* background: url('../images/night-sky.jpg') no-repeat center center/cover; */
background: rgb(2,0,19);
background: linear-gradient(90deg, rgba(2,0,19,1) 0%, rgba(8,8,92,1) 98%, rgba(8,8,92,1) 99%, rgba(8,8,92,1) 100%);
gap: 50px; /* Adds space between content and image */
}

.home-content {
text-align: left;
width: 50%; /* Adjust width to fit side-by-side */
}
.home-content h3{
font-size: 2.5em;
}
.home-content h1{
font-size: 1.8em;
}


.home-image {
width: 50%; /* Adjust to fit side-by-side */
display: flex;
justify-content: center;
margin-right: -100px;
}

.home-image img {
width: 80%; /* Adjust image size */
height: auto;
}


.accordion-container {
    padding: 20px 10%;
    /* background: url('../images/night-sky.jpg') no-repeat center center/cover; */
    background: rgb(2,0,19);
    background: linear-gradient(90deg, rgba(2,0,19,1) 0%, rgba(8,8,92,1) 98%, rgba(8,8,92,1) 99%, rgba(8,8,92,1) 100%);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative; /* For positioning arrows */
}

.accordion-container h1 {
    margin: 10px 0;
    font-size: 2.5em;
    text-align: center; /* Center the title */
    width: 100%; /* Full width for the title */
}

.social-buttons {
    display: flex;
    flex-direction: column; /* Arrange buttons vertically */
    align-items: flex-start; /* Align buttons to the left */
    gap: 20px; /* Space between buttons */
    margin-top: 40px; /* Space from the top */
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Space between text and icon */
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    width: 200px; /* Adjust width */
    transition: background-color 0.3s ease;
}

.social-button img {
    width: 30px;
    height: 30px;
    
}

/* Button Colors */
.instagram {
    background-color: #E1306C;
}
.instagram:hover {
    background-color: #C32AA3;
}
.linkedin {
    background-color: #0077B5;
}
.linkedin:hover {
    background-color: #005582;
}
.telegram {
    background-color: #0088CC;
}
.telegram:hover {
    background-color: #006699;
}

/* Style for text lines after buttons */
.social-button-text {
    margin-top: 1px;
    margin-left: 17px;
    color: white;
    font-size: 14px;
}

.content {
    display: flex; /* Use flexbox for layout */
    width: 100%; /* Full width */
}

.grid-container {
    display: flex;
    align-items: center; /* Center vertically */
    margin-top: -300px;
    margin-left: 330px;
    margin-bottom: 40px;
    flex-direction: row; /* Arrange arrows and grid horizontally */
}

/* Arrow Styles */
.arrow {
    cursor: pointer;
    padding: 10px; /* Adjust padding if necessary */
    display: flex; /* Center arrows vertically */
    align-items: center; /* Center arrows vertically */
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    opacity: 1; /* Show grid initially */
    transition: opacity 0.5s;
}

/* Card Styles */
.card {
    border: 1px solid #ddd; /* Border for better visibility */
    background-color: rgba(9, 127, 244, 0.362);
    padding: 15px;
    border-radius: 15px; /* Curved borders for the cards */
    height: 260px;
    width: 260px;
}

h2 {
    font-size: 1.0rem;
    margin-bottom: 10px;
}


/* Carousel Section Styles */
.hero {
    width: 100%;
    height: 100vh;
    /* background: url('../images/background-2.jpeg') no-repeat center center/cover; */
    background: rgb(2,0,19);
background: linear-gradient(90deg, rgba(2,0,19,1) 0%, rgba(8,8,92,1) 98%, rgba(8,8,92,1) 99%, rgba(8,8,92,1) 100%);
    overflow: hidden;
}

.hero .carousel {
    width: 300px;
    margin: 100px auto 0;
    overflow: visible;
}

.carousel img {
    -webkit-box-reflect: below 20px linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3));
}



/* Tablet Styles */
@media (min-width: 768px) and (max-width: 1024px) {
body {
    font-size: 15px; /* Adjust font size */
}

.home {
    padding: 0 10%; /* Increase padding */
    flex-direction: column; /* Stack content vertically */
    text-align: center; /* Center-align text */
}

.accordion-container {
    padding: 20px 10%; /* Padding adjustment */
    display: block; /* Ensure it stacks vertically */
    margin-bottom: 20px; /* Add space between accordion sections */
}

.social-buttons {
    margin-left: 300px; /* Adjusted for tablet view */
}

.accordion-container h1 {
    font-size: 2rem; /* Adjust heading size */
    margin-left: 0; /* Center-align */
}

.grid-container {
    display: flex; 
    justify-content: space-between; /* Align arrows and grid */
    align-items: center; /* Align arrows and grid vertically */
    margin-left: -100px; /* Remove left margin */
    margin-top: 50px; /* Add margin top */
}

.arrow {
    cursor: pointer;
    padding: 5px; /* Adjust padding if necessary */
    display: flex;
    align-items: center;
}

.arrow:first-child {
    order: -1; /* Move first arrow to start */
}

.arrow:last-child {
    order: 1; /* Move second arrow to end */
}

.grid {
    flex-grow: 1; /* Let the grid take the remaining space */
    margin: 0 5px; /* Add margin between arrows and grid */
    grid-template-columns: repeat(3, 1fr); /* Three columns */
    gap: 20px; /* Space between cards */
}

.card {
    height: auto; /* Allow card height to adjust */
    padding: 15px; /* Adjust padding */
}

.hero {
    height: 70vh; /* Adjust height */
    margin-bottom: 30px; /* Add space */
}

.carousel img {
    width: 100%; /* Full width images */
    height: auto; /* Maintain aspect ratio */
}
}


.mobile-faq{
    background: url('../images/night-sky.jpg') no-repeat center center/cover;
    margin-bottom: 0px;

}

/* FAQ Styles */
.faq-navigation {
display: flex;
justify-content: center; /* Center the navigation buttons */
margin-top: 20px; /* Space above the arrows */
}

.faq-card {
padding: 10px; /* Reduce padding for mobile */
border: 1px solid #ddd; /* Border for better visibility */
border-radius: 8px; /* Rounded corners */
margin: 5px 0; /* Margin for spacing */
background-color: rgba(9, 127, 244, 0.362); /* Apply the same background as desktop cards */
width: 90%; /* Full width on mobile */
}

/* Hide inactive FAQ cards */
.hidden {
display: none; /* Class to hide elements */
}

/* Desktop and Mobile Visibility */
.desktop-only {
display: block; /* Show in desktop view */
}

.mobile-only {
display: none; /* Hide in desktop view */
}

/* Mobile Styles */
@media (max-width: 768px) {
    .home-content h3{
        font-size: 2.3em;
        margin-top: -100px;
        margin-left: -80px;
        }
        .home-content h1{
        font-size: 1.6em;
        margin-left: -80px;
        }
        .home-content p{
            font-size: 0.0em;
          
            }
        
        
        .home-image {
        width: 100%; /* Adjust to fit side-by-side */
        display: flex;
        justify-content: center;
        margin-top: 260px;
        margin-left: -320px;
        }
        
        .home-image img {
        width: 100%; /* Adjust image size */
        height: auto;
        }
        
        .hero {
            width: 100%;
            height: 80vh;
            margin-top: 0px;
        }
        .hero .carousel {
            width: 280px;
            margin: 100px auto 0;
            overflow: visible;
           
            transform-origin: center;
        }
        

.accordion-container {
    padding: 10px; /* Add padding for mobile */
    
}

.accordion-container h1 {
    margin: 10px 0;
    font-size: 2em; /* Smaller heading size */
}

.social-buttons-1 {
display: flex;
flex-direction: column; /* Arrange buttons vertically */
align-items: flex-start; /* Align buttons to the left */
gap: 20px; /* Space between buttons */
margin-top: 40px; /* Space from the top */
}


.social-buttons-1 {
display: flex;
align-items: center;
justify-content: space-between; /* Space between text and icon */
padding: 10px 20px;
border: none;
border-radius: 25px;
text-decoration: none;
color: white;
font-size: 16px;
font-weight: bold;
width: 300px; /* Adjust width */
margin-left: 40px;
margin-top: -10px;
transition: background-color 0.3s ease;
}

.social-button img {
width: 30px;
height: 30px;
}

/* Button Colors */
.instagram {
background-color: #E1306C;
}
.instagram:hover {
background-color: #C32AA3;
}
.linkedin {
background-color: #0077B5;
}
.linkedin:hover {
background-color: #005582;
}
.telegram {
background-color: #0088CC;
}
.telegram:hover {
background-color: #006699;
}

/* Style for text lines after buttons */
.social-button-text-1 {
margin-top: 1px;
margin-left: 17px;
color: white;
font-size: 14px;
}
.content {
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center align content */
}

.grid-container {
    flex-direction: column; /* Stack cards vertically */
    align-items: center; /* Center align cards */
    margin-left: 0; /* Reset left margin */
}

.card {
    width: 90%; /* Full width on mobile */
    margin: 10px 0; /* Margin for spacing */
}

.faq-navigation {
    flex-direction: row; /* Align arrows horizontally */
    justify-content: space-around; /* Space around arrows */
}

.faq-card {
    width: 100%; /* Full width for mobile FAQ cards */
}

.mobile-faq h1 {
    font-size: 2rem; /* Smaller heading size */
    color: white;
    margin-left: 10px;
}

/* Hide desktop view in mobile view */
.desktop-only {
    display: none; /* Hide in mobile view */
}

/* Show mobile view */
.mobile-only {
    display: block; /* Show in mobile view */
}
}

.chatbox {
    position: fixed;
    bottom: 30px;
    right: 30px;
}

.chatbox__support {
    display: none;
    flex-direction: column;
    width: 300px;
    height: 400px;
    background-color: #581B98;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.chatbox--active {
    display: flex;
}

.chatbox__header {
    background: var(--primaryGradient);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: var(--primaryBoxShadow);
}

.chatbox__image--header {
    margin-right: 10px;
}

.chatbox__heading--header {
    font-size: 1.2rem;
    color: black;
}

.chatbox__description--header {
    font-size: .9rem;
    color: black;
}

.chatbox__messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background-color: #f9f9f9;
}

.chatbox__footer {
    display: flex;
    padding: 10px;
    background-color: #eee;
}

.chatbox__footer input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 5px;
}

.chatbox__footer button {
    padding: 8px 12px;
    background-color: #581B98;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}



.message {
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 5px;
}

.message.user {
    
    background-color: #9C1DE7;
    color: white;
    align-self: flex-end;
}

.message.bot {
    background-color: #0077B5;
    align-self: flex-start;
}


