/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: #000000;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 1.6;
}

header {
    position: fixed;
    display: flex;
    top: 0;
    width: 100%;
    height: 59px;
    background-color: black;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

header img {
    width: 330px;
}

img, video {
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/*--------------------------------------------------------------
  Section Base Styles
--------------------------------------------------------------*/
section {
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/*--------------------------------------------------------------
  Message Box
--------------------------------------------------------------*/
.message-box {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
    text-align: center;
    position: absolute;
    width: 50%;
    padding: 10px;
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-radius: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.message-box:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

#msg1 {
    left: 5%;
    bottom: 10%;
}

#msg2 {
    left: 25%;
    top: 10%;
}

/*--------------------------------------------------------------
  Detail Boxes
--------------------------------------------------------------*/
.detail-container {
    position: absolute;
    bottom: 10%;
    display: flex;
    justify-content: space-between;
    width: 1000px;
}

.detail-box {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 15px 20px;
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);  
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-box:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

.detail-box img {
    width: 40px;
}

/* Animation for when the detail-box comes into view
@keyframes moveInRight {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

section .detail-box.in-view {
    animation: moveInRight 1s ease-out forwards;
}

Animation for when the detail-box goes out of view 
@keyframes moveOutRight {
    0% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

section .detail-box.out-of-view {
    animation: moveOutRight 1s ease-in forwards;
}

.detail-box:nth-child(1) {
    animation-delay: 0.3s;
}

.detail-box:nth-child(2) {
    animation-delay: 0.5s;
}

.detail-box:nth-child(3) {
    animation-delay: 0.7s;
}*/

/*--------------------------------------------------------------
  Company Details Section
--------------------------------------------------------------*/
.company-details {
    background-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    max-width: 70%;
    padding: 20px 20px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-details:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

.company-details h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: white;
}

.company-details p {
    font-size: 20px;
    line-height: 1.8;
    font-weight: bold;
    color: white;
}

/*--------------------------------------------------------------
  Video Section & Overlay
--------------------------------------------------------------*/
video {
    max-width: 100%;
    height: auto;
    display: block;
}

.video-section {
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-height: 100vh;
    min-width: 100vw;
    position: relative;
}

.video-section video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

.video-overlay {
    position: absolute;
    top: 10%;
    left: 5%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.video-overlay .time-box {
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    padding: 10px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-overlay .time-box:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

.video-overlay .time-box img {
    width: 30px;
}

.video-overlay .time-box .hover-text {
    font-size: 16px;
    color: rgb(255, 255, 255);
    transition: opacity 0.3s ease;
}

#eagle_eye_view {
    background-color: #7d7d7d;
    background-size: cover;
}

/*--------------------------------------------------------------
  Slideshow Section
--------------------------------------------------------------*/
.slideshow {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slides {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
    text-align: center;
    position: absolute;
    width: 50%;
    padding: 10px;
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-radius: 25px;
    margin-left: 20px;
}

#slide1, 
#slide2, 
#slide3 {
    border-radius: 10px;
    width: auto;
    top: 85%;
}

#slide1,
#slide2 {
    left: 60%;
}

#slide3 {
    left: 5%;
}

/* Navigation dots */
.nav-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: rgba(255, 255, 255, 0.9);
}

/*--------------------------------------------------------------
  CEO Section – Circular Image & Floating Message
--------------------------------------------------------------*/
section.ceo-section {
    flex-direction: column;
}

.ceo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.ceo-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    margin-right: 600px;
    margin-bottom: 200px;
}

.ceo-message {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    padding: 20px;
    max-width: 800px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ceo-message:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

.ceo-message #ceo-name {
    position: relative;
    left: 60%;
}

/*--------------------------------------------------------------
  Footer
--------------------------------------------------------------*/
footer {
    background-color: #222;
    color: #eee;
    padding-top: 40px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.footer-box {
    flex: 1;
    min-width: 275px;
    margin: 20px;
    background-color: #333;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.footer-box:hover {
    transform: scale(1.05);
}

.footer-box h3 {
    margin-bottom: 15px;
    text-align: center;
}

.social-icons {
    text-align: center;
}

.social-icons a {
    font-size: 1.5rem;
    color: #eee;
}

#colorblue1, #colorblue2, #colorwhite, #colorpink, #colorred {
    transition: color 0.3s ease-in-out;
    margin: 10px;
}

#colorblue1:hover {
    color: #0866ff;
}

#colorblue2:hover {
    color: #0a66c2;
}

#colorblue1 {
    margin-left: 0;
}

#colorred {
    margin-right: 0;
}

#colorwhite:hover {
    color: black
}

#colorpink:hover {
    color: rgb(187, 0, 115);
}

#colorred:hover {
    color: red;
}

.contact-details p {
    margin: 5px 0;
}

.newsletter form {
    display: flex;
    flex-direction: column;
    color: black;
}

.newsletter input,
.newsletter textarea,
.newsletter button {
    margin: 5px 0;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

.newsletter button {
    background-color: #1e90ff;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter button:hover {
    background-color: #0066cc;
}

#copyrights {
    text-align: center;
    padding: 10px 0;
    background-color: #222;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

/*--------------------------------------------------------------
  Scrollbar Styles
--------------------------------------------------------------*/
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background-color: black;
}

::-webkit-scrollbar-thumb {
    background-color: white;
}

/*--------------------------------------------------------------
  Responsive Styles
--------------------------------------------------------------*/
@media (max-width: 1300px) {
    .detail-container {
        justify-content: space-between;
        width: 900px;
        font-size: 11px;
        gap: 25px;
    }

    #msg2 {
        width: 80%;
        left: 10%;
        top: 30%;
    }

    .ceo-image {
        margin-right: 0px;
        margin-bottom: 0;
    }

    .ceo-message {
        margin-top: 150px;
    }
}

@media (max-width: 1040px) {
    .detail-container {
        width: auto;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .detail-box {
        font-size: 10px;
        width: 70%;
        background-color: rgba(0, 0, 0, 0.3);
    }

    .detail-box::after {
        background-color: rgba(0, 0, 0, 0.3);
    }

    #slide1, #slide2 {
        font-size: 20px;
        left: 50%;
        top: 85%;
    }
}

@media (max-width: 900px) {
    #slide1, #slide2, #slide3 {
        font-size: 20px;
        left: 20%;
        top: 80%;
    }
}

@media (max-width: 768px) {
    .company-details {
        max-width: 90%;
    }

    .company-details h2 {
        font-size: 28px;
    }

    .company-details p {
        font-size: 18px;
    }

    .video-section video {
        height: 50vh;
    }

    .ceo-image {
        width: 200px;
        height: 200px;
    }

    .ceo-message #ceo-name {
        left: 40%;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-box {
        width: 80%;
        left: 10%;
    }
}

@media (max-width: 640px) {
    .message-box {
        left: 0%;
        margin: 0;
    }

    #msg1, #msg2 {
        width: 90%;
        left: 5%;
    }

    #msg1 {
        bottom: 10%;
    }

    .company-details p {
        font-size: 15px;
    }

    #slide1, #slide2, #slide3 {
        width: 90%;
        left: 5%;
    }
}

@media (max-width: 350px)
{
    header img {
        width: auto;
    }

    header {
        height: auto;
    }

    .footer-box {
        min-width: auto;
    }

    footer p {
        font-size: x-small;
    }
}

@media (max-height: 768px) {
    .ceo-container {
        display: flex;
    }

    .ceo-message {
        margin-top: 0;
    }
}