/* Reset default margins and set box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.bbh-sans-hegarty-regular {
  font-family: "BBH Sans Hegarty", sans-serif;
  font-weight: 400;
  font-style: normal;
}

body {
    background-color: rgb(165, 128, 81); /* Fallback background */
    
    font-family: poppins,Arial, Helvetica, sans-serif;
    font-size: 16px; /* Base font size for mobile */
    position: relative; /* Ensure body is relative for video positioning */
    overflow-x: hidden; /* Prevent horizontal scroll */
}
.header{
    height: 50px;
    background-color: #000000;
}
#BBH{
    font-family: BBH Sans Hegarty;size: 18px; 
    color: #022F40;
    text-align: center;
}
/* Background video styling */
.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover; /* Ensure video covers the entire viewport */
    z-index: -1; /* Place video behind all content */
}

/* Main content container */
.content {
    display: flex;
    flex-direction: column; /* Stack vertically on mobile */
    gap: 1rem;
    padding: 1rem;
    max-width: 100%;
    background: rgba(254, 255, 221, 0.9); /* Semi-transparent antiquewhite for contrast */
    min-height: 100vh; /* Ensure content spans full height */
}

/* Image column styling */
.img-col1 img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    border-color: black;
    display: block;
    margin: 0 auto; /* Center image on mobile */
    
}
.img-col1 img:hover{
    background-color: aliceblue;
    cursor: pointer;
}


/* Links column styling */
.links-col2 {
    text-align: center;
    padding: 1rem;
    
}

.links-col2 h1 {
    font-size: 2rem; /* Scales with root font size */
    margin-bottom: 0.5rem;
    
    color: #333; /* Darker text for better contrast */
}

.links-col2 p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #333;
}

/* Navbar styling */
.navbar {
    display: flex;
    flex-direction: column; /* Stack links vertically on all screens */
    gap: 0.5rem;
}

.navbar h2 {
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
    color: #F9C846;
    background-color:#0B4F6C;
    text-align: center;
    padding: 10px;
    
    
}
.navbar a{
    text-decoration: none;
    color:#F9C846
}

 .navbar h2:hover {
    color: #0f0e03;
    background-color: rgba(255, 162, 22, 0.979);
   transition: ease-in-out;
  
} 
#socials{
    display: flex;
    width: 50px;
    height: 50px;
    cursor: pointer;
    
}

.about-course-services{
    background-color: rgb(254, 255, 221,0.9);
    color: rgb(26, 69, 88);
    margin: 10px 50px;
    padding: 10px 20px;
}
.about-course-services h1,h2{
    padding: 20px;
    color: #031c44;
}
.about-course-services p,li{
    margin: 10px 10px;
}
#enroll-img{
    width: 250px;
    margin-top: 50px;
    margin-left: 50px;
    
}
.services{
    background-color: rgb(236, 238, 205,0.9);
    margin-top: 20px;
}
.services p{
    margin: 10px;
    line-height: 2rem;
}
.services h1{
    padding: 25px;
}
.services h2{
    text-align: center;
}
/* Tablet and larger screens */
@media screen and (min-width: 600px) {
    .content {
        flex-direction: row; /* Side-by-side layout */
        align-items: center;
        max-width: 900px;
        margin: 0 auto;
    }
/* .services{
    flex-direction: row;
    
} */
    .img-col1 {
        flex: 1;
        padding: 1rem;
    }

    .img-col1 img {
        max-width: 80%; /* Slightly smaller image on tablets */
    }

    .links-col2 {
        flex: 1;
        text-align: left;
        padding: 2rem;
    }

    .navbar {
        flex-direction: column; /* Keep vertical layout */
        gap: 1rem; /* Slightly larger gap for readability */
    }

    .links-col2 h1 {
        font-size: 2.5rem;
    }

    .links-col2 p {
        font-size: 1.2rem;
    }
}

/* Desktop screens */
@media screen and (min-width: 900px) {
    body {
        font-size: 18px; /* Slightly larger base font */
    }

    .content {
        max-width: 1200px;
    }
    
    .img-col1 img {
        max-width: 70%; /* Larger image on desktop */
    }

    .links-col2 {
        padding: 3rem;
    }

    .navbar {
        flex-direction: column; /* Keep vertical layout */
        gap: 1.2rem; /* Increased gap for desktop */
    }

    .navbar h2 {
        font-size: 1.5rem;
    }
}
.footer{
    display: flex;
    flex-direction: row;
    background-color: black;
    color: #F9C846;
   
    padding: 30px;
}
.navbar-footer{
    cursor: pointer;
    text-align: right;
   
  margin: 0 auto;  /* Centers horizontally */
  width: 80%;             /* Relative width */
  max-width: 600px;       /* Cap width for large screens */
  min-width: 200px;       /* Minimum width for small screens */
  padding: 1rem;
}
.navbar-footer a{
    text-decoration: none;
    color: #F9C846;
}