.logo{
    width: 300px;
    height: auto;
}

/* General Reset */
body, h1, h2, p, header, main, footer, section, nav, ul, li, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #1b252f; /* Dark background */
    color: #fcdd58; /* Bright text */
    line-height: 1.6;
    margin: 0;
    padding: 0;
    padding-top: 80px;
}

/* Navigation Bar Styling */
nav {
    position: fixed; /* Makes the nav bar fixed to the top */
    top: 0; /* Aligns it to the top of the viewport */
    left: 0;
    width: 100%; /* Ensures the nav bar spans the full width */
    z-index: 1000; /* Keeps it above other elements */
    background-color: #1b252f; /* Dark background */
    padding: 10px 20px;
    transition: background-color 0.3s ease; /* Smooth transition for background color */
}

.nav-Container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; /* Optional: Center content within a max width */
    margin: 0 auto; /* Centers the nav content horizontally */
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fcdd58; /* Bright yellow logo */
}

nav .nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

nav .nav-links li {
    display: inline;
}

nav .nav-links a {
    text-decoration: none;
    color: #fcdd58; /* Bright yellow links */
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav .nav-links a:hover {
    color: #ffffff; /* White on hover */
}

/* Main Section Styling */

.img-Main {
    height: 90%; /* Ensures the image takes up the full height of the div */
    width: auto; /* Maintains the aspect ratio of the image */
    position: absolute; /* Positions the image relative to the div */
    bottom: 0; /* Aligns the bottom of the image with the bottom of the div */
    right: 0%; /* Centers the image horizontally */
    transform: translateX(-50%); /* Adjusts for centering */
}

main {
    margin-top: 130px;
    height: 700px;
    display: flex;
    
}

.main-First {
    text-align: center; 
    flex: 1;
    max-width: 45%; 
    margin: 0 auto; 
    word-wrap: break-word;
}

.main-First h2{
    font-size: 5rem;
}

.main-First p{
    font-size: 2rem;
    color: #ffffff; 
}

.main-Second{
    text-align: center; 
    flex: 1;
    max-width: 45%; 
    margin: 0 auto; 
    word-wrap: break-word;
}

.main-Second p{
    color: #ffffff; 
}

.first-Section{
    display: flex; /* Enables Flexbox */
    flex-direction: column; /* Stacks the title and features vertically */
    justify-content: center; /* Centers the content vertically */
    align-items: center; /* Centers the content horizontally */
    min-height: 100vh; /* Optional: Makes the section take up the full viewport height */
    padding: 20px; /* Adds some padding around the content */
    gap: 30px;
    background-color: #2a3949;
    border-bottom: 2px solid #fcdd58;
}

.title {
    text-align: center; /* Centers the text inside the title div */
    margin-bottom: 20px; /* Adds spacing between the title and the features */
}

.features {
    display: grid; /* Enables CSS Grid */
    grid-template-columns: repeat(3, 1fr); /* Creates 3 equal columns */
    gap: 20px; /* Adds spacing between grid items */
    justify-content: center; /* Centers the grid horizontally */
    align-items: center; /* Centers the grid items vertically */
    margin: 0 auto; /* Centers the entire grid container */
    max-width: 800px; /* Restricts the grid's maximum width */
    perspective: 1000px; /* Adds perspective for 3D effect */
}

.feature {
    position: relative;
    width: 140px;
    height: 140px;
    text-align: center;
    padding: 10px;
    background-color: rgb(42, 57, 73); /* Optional: Add a background color */
    border: 1px solid #fcdd58; /* Optional: Add a border */
    border-radius: 8px; /* Optional: Add rounded corners */
    color: #fcdd58; /* Text color */
    transform-style: preserve-3d; /* Enables 3D transformations */
    transition: transform 0.6s ease; /* Smooth rotation effect */
}

.feature:hover {
    transform: rotateY(180deg); /* Rotates the feature 180 degrees on hover */
}

.feature .front,
.feature .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Hides the back side when not visible */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px; /* Matches the parent border radius */
}

.feature .front {
    background-color: rgb(42, 57, 73); /* Front background color */
    color: #fcdd58; /* Front text color */
}

.feature .back {
    background-color: #fcdd58; /* Back background color */
    color: #1b252f; /* Back text color */
    transform: rotateY(180deg); /* Rotates the back side to face inward */
}

.title h2{
    font-size: 3.2rem;
}

/* Section Styling */
.second-Section {
    display: flex; /* Enables Flexbox */
    flex-direction: row; /* Stacks the content vertically */
    justify-content: center; /* Centers the content vertically */
    align-items: center; /* Centers the content horizontally */
    padding: 20px; /* Adds padding around the content */
    height: 600px;
    gap: 150px; /* Adds spacing between elements */
    background-color: #2a3949; /* Background color */
    text-align: center; /* Centers the text inside the section */
}



.gif{
    width: 900px;
    height: auto;
}

.second-Section p {
    max-width: 600px; /* Restricts the width of the text for wrapping */
    word-wrap: break-word; /* Ensures long words break to fit within the width */
    line-height: 1.6; /* Improves readability with proper line spacing */
    color: #ffffff; /* Text color */
    font-size: 1.4rem;
}
.second-Text h2{
    font-size: 3rem;
}

/* Footer Styling */
.footer {
    background-color: #1b252f; /* Dark background */
    color: #fcdd58; /* Bright yellow text */
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap; /* Ensures responsiveness */
    justify-content: space-between; /* Distributes sections evenly */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto; /* Centers the footer content */
}

.footer-contacts,
.footer-social,
.footer-links {
    flex: 1; /* Ensures equal width for all sections */
    min-width: 200px; /* Ensures sections don't shrink too much */
}

.footer h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff; /* White for headings */
}

.footer p,
.footer a {
    font-size: 1rem;
    color: #fcdd58; /* Bright yellow text */
    text-decoration: none;
    margin-bottom: 5px;
    display: block; /* Ensures links stack vertically */
}

.footer a:hover {
    color: #ffffff; /* White on hover */
}

.footer-bottom {
    margin-top: 20px;
    border-top: 1px solid #fcdd58; /* Separator line */
    padding-top: 10px;
    font-size: 0.9rem;
    color: #fcdd58;
}