/* General reset */
@import url('https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@500..1000&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: 'Afacad Flux';
    src: url('Asset/static/AfacadFlux-Bold.ttf') format('truetype');
    font-weight: 100 900; /* Supports a range of font weights */
    font-style: normal;
}


body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    background-image: url('Asset/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    overflow-y: scroll;
}


/* Scroll snapping for the entire body */
html, body {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

/* Each section will snap to the start of the viewport */
.scroll-section {
    scroll-snap-align: start;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo styling */
.logo-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    margin-left: 30%;
}
/* Video container and animation */
#VideoContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Makes the container take the full height of the viewport */
    overflow: hidden;
}

/* Use padding-bottom technique to maintain a square aspect ratio */
.video-wrapper {
    width: 500px; /* Set a fixed width */
    height: 500px; /* Set a fixed height to maintain square ratio */
    position: relative; /* Needed for absolutely positioned video */
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Video styles */
video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the square area without distortion */
    border-radius: 10px;
    border: solid #989898 7px;
}

#headlineInfo{
    font-family: 'Afacad Flux', sans-serif;
    font-size: 25px;
    margin-top: 30px;
    word-spacing: 12px;
}
/* Flip Animation */
.flip-word {
    display: inline-block;
    transform-style: preserve-3d;
    animation: flip 2s forwards;
}

@keyframes flip {
    0% {
        transform: rotateX(0);
    }
    100% {
        transform: rotateX(360deg);
    }
}

/* Enhanced company section styling */
.company-section {
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.company-title {
    font-size: 58px;
    color: #0e0e10;
    font-weight: bold;
    text-align: center;
}

.company-info {
    font-size: 28px;
    color: #555;
    line-height: 1.7;
}

.company-info i {
    margin-right: 8px;
    color: #007bff;
}

.company-contact {
    font-size: 24px;
    color: #333;
    margin-top: 20px;
}

.contact-details .btn {
    background-color: #007bff;
    color: #fff;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.contact-details .btn:hover {
    background-color: #0056b3;
}

/* Map Wrapper Styling */
.map-wrapper {
    border: solid 4px #989898;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    height: 500px;
    width: 500px;
}

@media (max-width: 768px) {
    .video-wrapper {
        padding-bottom: 75%;
    }

    .map-wrapper iframe {
        height: 250px;
    }

    .company-section {
        padding: 20px;
    }
}

/* Flip animation for words */
.flip-word {
    display: inline-block;
    font-weight: bold;
    color: blue;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    animation: flip 3s infinite;
}

/* Keyframes for the flip animation */
@keyframes flip {
    0% {
        transform: rotateX(0);
        opacity: 1;
    }
    40% {
        opacity: 1;
    }
    50% {
        transform: rotateX(180deg);
        opacity: 0;
    }
    60% {
        transform: rotateX(360deg);
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}
/* Rotating Text Container Styles */
.rotating-text-container {
    font-family: 'Poppins', sans-serif; /* Modern font */
    font-size: 1.5rem; /* Increase text size */
    color: #333; /* Primary text color */
    line-height: 1.6; /* Adjust line height for readability */
    text-align: left; /* Align text to the left */
    max-width: 600px; /* Limit container width */
    margin: 0 auto; /* Center the container */
}

/* Rotating Words Styles */
.flip-word {
    font-weight: bold;
    color: #007bff; /* Highlighted words with a primary color */
    display: inline-block;
    transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth transitions */
}

/* Animation Effect */
@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
        transform: translateY(-10px); /* Fade out and move slightly upwards */
    }
    50% {
        opacity: 1;
        transform: translateY(0); /* Fade in and return to original position */
    }
}

.flip-word {
    animation: fadeInOut 3s infinite; /* Infinite animation with a 3-second cycle */
}

/* Responsive Font Size */
@media (max-width: 768px) {
    .rotating-text-container {
        font-size: 1.2rem; /* Adjust font size for smaller screens */
        text-align: center; /* Center text on smaller screens */
    }
}
.afacad-flux {
    font-family: "Afacad Flux", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings:
      "slnt" 0;
  }
