/* Global Styles */
@font-face {
    font-family: AWfont;
    src: url('AWfont.otf');
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #121212;
    color: white;
}

html {
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    height: 30px;
    width: 30px;
    color:white;
    margin-right: 20px;
}

.hamburger span {
    width: 25px;
    height: 4px;
    border-radius: 5px;
    background: white;
}

nav .nav-links {
    display: flex;
    list-style: none;
}

nav .nav-links li {
    margin: 0 30px;
}

nav .nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: color 0.3s;
}

nav .nav-links li a:hover {
    color: lime; /* Tomato color */
}

  /* Navigation Bar */
  nav {
    background-color: black;
    position: sticky;
    top: 0;
    width: 100%;
    padding: 0px 0;
    box-shadow: 0 4px 2px -2px green;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10; /* Ensures the nav stays on top */
}

nav .nav-links {
    display: flex;
    list-style: none;
    z-index: 20; /* Makes sure the nav menu stays on top when active */
    /*position: absolute;  Position it absolutely when the hamburger menu is open */
    top: 0;
    left: 0;
}

nav .logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-left: 20px;
}

.extraspace {
    margin-top: 0px
}

.extralong {
    min-height: 300px
}

/* Mobile Menu */
@media (max-width: 768px) {

    .extraspace {
        margin-top:50px;
        width:100%
    }
    .extralong {
        min-height:600px
    }

    nav .nav-links {
        position: absolute;
        top: 0px;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #111;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 20; /* Keeps the nav menu on top when it's open */
    }

    nav .nav-links.active {
        transform: translateX(0);
    }

    .hamburger {
        display: block;
    }

    nav .nav-links li {
        margin: 20px 0;
    }

    nav .nav-links li a {
        font-size: 1.5rem;
    }

}


/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 50px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

/* Link Section */
.link-section {
    display: flex;
    justify-content: space-between;
    padding: 50px 20px;
    gap: 20px;
}

.link-box {
    background-color: blue;
    padding: 0px;
    text-align: center;
    flex: 1;
}

.link-box h2 {
    font-size: 24px;
}

.link-box p {
    font-size: 18px;
}

/* Collapsible Section */
.collapsible-section {
    padding: 50px 0px;
}

.collapsible-btn {
    background-color: green;
    color:white;
    padding: 10px;
    width: 100%;
    text-align: center;
    border: none;
    font-size: 18px;
}

.content {
    padding: 10px;
    background-color: white;
    color:darkblue;
    display: none;
}

.collapsible-btn:after {
    content: '+';
    float: right;
}

.collapsible-item.active .content {
    display: block;
}

/* Contact Section */
.contact-section {
    padding: 50px 20px;
    background-color: blue;
    text-align: center;
    z-index:200;
    margin:0px;
}

.contact-section form {
    margin: auto;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-section input, .contact-section textarea {
    
    padding: 10px;
    border: 1px solid green;
    background-color: white;
    color: darkblue;
}


/* About Us Section */
.about-us-section {
    padding: 50px 20px;
    background-color: gray;
    
}

/* Owl Carousel */
.owl-carousel .owl-item {
    height: 400px; /* Fixed height for each carousel item */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.owl-carousel .owl-item img {
    display:block;
    max-width: 100%; 
    max-height: 100%;
    height: 100%;
    width: auto;
    object-fit:cover;
    object-position: center center;
}

/* Owl Carousel */
.owl-carousel2 .item img {
    width: 100%;
    height: auto;
    max-height:500px;
    object-fit:cover;
}

/* Instructor Section */
.instructors-section {
    display: flex;
    gap: 20px;
    padding: 50px 20px;
    background-color:white;
    color:darkblue;
}

.instructor {
    text-align: center;
    flex: 1;
}

.instructor img {
    width: 100%;
    height: auto;
}

/* Find Us Section */
.find-us-section {
    display: flex;
    gap: 20px;
    padding: 50px 20px;
    background-color: blue;
}

.find-box {
    background-color: blue;
    padding: 3px;
    flex: 1;
    text-align: center;
}

/* Blog Section */
.blog-section {
    padding: 50px 20px;
    background-color: green;
}

.blog-post {
    background-color: white;
    color:darkblue;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 15px; /* Rounded corners */
}

.blog-post h3 {
    font-size: 24px;
}

/* Footer */
.footer {
    background-color: #000;
    color: white;
    text-align: center;
    padding: 20px;
}

.getstartednow {
    background:darkblue;
    color:white;
    padding:20px;
  }

.joinnow {
    margin:20px;background-color:black;border-radius: 10px;height:500px;box-shadow: 5px 5px silver
}


    .joinnowtop {
        height:18%;
        background:lime;
        color:white;
        font-weight:bolder;
        font-size:40px;
        border-radius:10px 10px 0px 0px;
        padding:20px;
        text-shadow: 2px 2px #000;
    }

    .joinnowbutton {
        background:lime;
        color:white;
        font-size:30px;
        width:270px;
        border-radius:15px;
        text-shadow: 2px 2px #000;
        padding:15px;
    }

/* Media Queries */
@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
    }

    .navbar .hamburger {
        display: block;
    }

    .navbar .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 10px;
        right: 0;
        background-color: #000;
        width: 100%;
        padding: 0px;
    }

    .link-section {
        flex-direction: column;
    }

    .instructors-section {
        flex-direction: column;
    }

    .find-us-section {
        flex-direction: column;
    }

    .getstartednow {
        margin:50px;
        
    }

    .joinnow {
    margin:0px;
    background-color:black;
    border-radius: 10px;
    height:500px;
    box-shadow: 5px 5px silver
    }

    .joinnowtop {
        height:13%;
        background:lime;
        color:white;
        font-weight:bolder;
        font-size:28px;
        border-radius:10px 10px 0px 0px;
        padding:20px;
        text-shadow: 2px 2px #000;
    }

    .joinnowbutton {
        background:lime;
        color:white;
        font-size:24px;
        width:200px;
        border-radius:15px;
        text-shadow: 2px 2px #000;
    }
}

@keyframes borderAnimation {
    25% {
      border-color: white;
      border-width: 3px;
    }
    50% {
      border-color: lime;
      border-width: 3px;
    }
    75% {
      border-color: #0000ff;
      border-width: 3px;
    }
    100% {
        border-color: lime;
        border-width: 3px;
      }
  }
  
  .div-with-border {
    
    border: 3px solid white; /* Initial border style */
    animation: borderAnimation 3s infinite; /* Apply animation */
  }

  .rounded-shadow-div {
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Shadow effect */
    margin-bottom: 20px;
    z-index:50;
  }

  

  
