/* all areas don't have any padding or margins */
*{
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif;
}

/* Header class is the background image at the top of each page, including the home page */
.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.6),rgba(4,9,30,0.6)),url(assets/shadow-operators.jpg);
    background-position: center 10%;
    background-size: cover;
    position: relative; 
}

/* Nav class is the navigation bar - this section controls the style of the links */
nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

/* This is the logo across from the navigation bar */
nav img {
    width: 115px; /* This controls the size of the logo, it also moves the nav links down (larger logo) and up (smaller logo) */
    margin-left: -58px; /* Positive number shifts the right left, Negitive number moves it left */
}

/* Position of the navigation bar links */
.nav-links{
    flex: 1; /* Gives the instruction to occupy all of the space */
    text-align: right;
}

/* Position & style of the navigation bar links */
.nav-links ul li{
    list-style: none; /* no bullet point */ 
    display: inline-block; /* horizontally placed */
    padding: 8px 12px;
    position: relative;
 }

/* Effect of the underline under the nav link text */
.nav-links ul li::after{
    content: ' ' ; 
    width: 0%; /* The size is reduced to nothing so it does not show */
    height: 2px;
    background: #006400;
    display: block;
    margin: auto;
    transition: 0.5s;
}

/* Effect of the underline under the nav link text */
.nav-links ul li:hover::after{
    width: 100%; /* The size is normal to show the underline after the mouse hover */
}

/* Style of the navigation bar links */
.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 18px; /* The size of the navigation link text */
}

/* Adds an underline while on the current page */
.nav-links a.current {
    text-decoration: underline;
}

/* Homepage */

/* Homepage "welcome text" style for the divider box */
.text-box{
    width: 90%;
    color: white;
    position: absolute;
    top: 67%; /* 50% is the center of the text-box div, higher number goes down the page */
    left: 50%; /* Center of the text-box div */
    transform: translate(-50%,-50%); /* Center of the text-box div */
    text-align: center; /* Center of the text-box div */
}

/* Homepage main "welcome text" style for header 1 (large) text */
.text-box h1{
    font-size: 65px;
}

/* Homepage text for the sub-title */
.text-box h5{
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 20px; /* Space Between the sub-header and the motto text */
    margin-top: 10px;
}

/* Homepage main "welcome text" style for motto text */
.text-box p{
    margin: 5px 0 40px; /* 1st # (on the left) = space down from top, 2nd = space from left and right  & 3rd = space from the bottom */
    font-size: 22px; /* size of the motto text */
    color: #fff; /* white with no alpha channel - the 4th letter of the hex code */
}

/* Learn More - call to action button */
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 15px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

/* To have the button box background change on hover */
.hero-btn:hover{
    border: 1px solid gold;
    background: #006400;
    transition: 1s;
}
    
nav .fa{
    display: none;
}
    
/* Responsive mobile menu for a device with a width of <= 700 pixels */
@media (max-width: 700px){
        /* This is the logo across from the navigation bar */
        nav img {
            width: 61px; /* This controls the size of the logo */
            margin-left: -18px; /* Positive number shifts the right left, Negitive number moves it left */
        }

        /* Homepage "welcome text" style for the divider box */
        .text-box{
        top: 63%; /* 50% is the center of the text-box div, higher number goes down the page */
        }

        .text-box h1{
            font-size: 25px;
            margin-bottom: 10px; /* This is the space between the title text "Sartan Operator Group" and the subtitle */
        }

        /* Homepage text for the sub-title */
        .text-box h5{
        font-size: 16px;
        font-weight: 500;
        margin-bottom: 218px; /* Controls the space between the sub-header and the motto text (large space on mobile) */
        }

        /* Motto text style on the homepage */
        .text-box p{
        margin: 10px 0 10px; /* 1st # (on the left) = space down from top, 2nd = space from left and right  & 3rd = space from the bottom */
        font-size: 13px; /* size of the motto text */
        color: #fff; /* white with no alpha channel which is the 4th letter of the hex code (so there is no alpha channel with 3 letters) */
        }

    /* Learn More - call to action button */
    .hero-btn{
    padding: 12px 34px;
    font-size: 10px;
    }
    
    /* Position & style of the navigation bar links */
    .nav-links ul li{
        display: block;
    }

    .nav-links{
        position: absolute;
        background: #006400;
        height: 100vh; /* complete height */
        width: 200px; 
        top: 0;
        right: -215px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    
    .nav-links ul{
        padding: 30px;
    }
    
}/* End of @media styles*/


/*----- About Our Group ----- */
.about{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
    
h1{
    font-size: 36px;
    font-weight: 600;
}
    
p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.about img{
    width: 75%;
}

/*----- Group Sections ------*/
.programs{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
    
h1{
    font-size: 36px;
    font-weight: 600;
}
    
p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}
    
.row{
    margin-top: 2%; /*The space between the text and the three images*/
    display: flex;
    justify-content: space-between;
}
    
.programs-col{
    flex-basis: 31%;
    background: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
    
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
    
.programs-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}
    
@media(max-width: 700px){
    .row{
        flex-direction: column;
    }
}
    
/*----- Projects Section ----- */
.projects{
    width: 80%; /* To add some space to the left and right side (adding margins) */
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.projects-col{
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.projects-col img {
    width: 100%;
    height: 250px; /* controls the height of the image*/
    object-fit: cover; /* crops to fit without distortion */
    display: block;
    border-radius: 10px;
}

.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}
    
.layer:hover{
    background: rgba(226,0,0,0.7);
}
    
.layer h3{
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}
    
.layer:hover h3{
    bottom: 49%;
    opacity: 1;
}

/*----- Requirements to Join -----*/
.sasp{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.sasp-col{
    flex-basis: 32.6%;
    margin: 0 0.25%; /* adds a subtle gutter */
    border-radius: 10px;
    margin-bottom: 2%;
    text-align: left;
}

.sasp-col img{
    width: 100%;
    height: 300px; /* controls the height of the image*/
    object-fit: cover; /* crops to fit without distortion */
    display: block;
    border-radius: 10px;
}

.sasp-col p{
    padding: 0; /* white space on the sides of the paragraph text */
}

.sasp-col h3{
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
}

/*----- Call To Action Section -----*/
.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(assets/navy-seals.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}

.cta h1{
    color: #fff;
    margin-top: 150px;
    margin-bottom: 35px;
    padding: 0;
}

@media(max-width: 700px){
    .cta h1{
        font-size: 22px;
    }
}

/*----- Footer -----*/
.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
 }

 .footer p{
    width: 85%;
    text-align: left;
    margin: 0 auto; /* Center the paragraph within the footer */
 }

 p.copyright{
    text-align: center;
 }
 
 .footer h1{
    margin-bottom: 15px;
    margin-top: 11px;
    font-weight: 600;
 }

 /*----- Bullets Banner Divider -----*/
.divider{
    width: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url(assets/bullet-banner.png);
    background-position: center;
    background-size: cover;
    text-align: center;
}

.divider h3{
    color: #fff;
    padding: 3%;
    font-size: 22px;
}

@media(max-width: 700px){
    .divider h1{
        font-size: 22px;
    }
}

 /*-- Navigation links for the bottom of the page --*/
.bottom-nav {
    text-align: center;
    padding-top: 50px; /* Add padding above the navigation links */
    padding-bottom: 50px; /* Add padding below the navigation links */
}

.bottom-nav ul {
    list-style: none;
    padding: 0;
    margin: 0 auto; /* Center the list horizontally */
}

.bottom-nav ul li {
    display: inline;
    margin-right: 20px;
}

.bottom-nav ul li:last-child {
    margin-right: 0; /* Remove margin from the last item */
}

.bottom-nav ul li a {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

.bottom-nav ul li a:hover {
    text-decoration: underline;
}

/* Adds an underline while on the current page */
.bottom-nav a.current {
    text-decoration: underline;
  }

/*----- Phoenix Program Page -----*/
.sub-header{
    height:50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.5),rgba(4,9,30,0.5)),url(assets/blackhawk.jpg);
    background-position: center 25%; /* centers the image horizontally (between the margins), percent of the image is shown vertically */
    background-size: cover;
    text-align: center;
    color: #fff;
}

.sub-header h1 { /* To move the position of the h1 text */
    position: absolute;
    top: 21%; /* Adjust this value to move the text down */
    left: 50%;
    transform: translateX(-50%);
}

/* Controls the style of the section container (image and text columns sections) */
.phoenix-program{
    width: 80%;
    margin: auto;
    padding-top: 20px;
    padding-bottom: 10px; /*Space between the end of the section and the footer text*/
}

.phoenix-program-col{
    flex-basis: 48%; /*48% for two columns*/
    padding: 30px 2px;
}

.phoenix-program-col img{
    width: 90%;
}

.phoenix-program-col h1{
    padding-top: 0;
}

.phoenix-program-col p{
    padding-top: 15px 0;
    Padding-bottom: 20px; /* Space between the text and the sign-up now button*/
}

.red-btn{
    border: 1px solid #006400;
    background: transparent;
    color: #006400;
}

.red-btn:hover{
    color: #fff;
}

/* ----- Recruiting Page Styles ----- */
.recruiting {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

h1{
    font-size: 36px;
    font-weight: 600;
}
    
p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

/*----- Style for the phoenix icon title header of the recruiting page -----*/
.recruiting-title-container {
    position: relative;
    text-align: center; /* Center-align the heading text */
    background-color: white;
    display: flex;
    align-items: center; /* Vertically center the content */
    justify-content: center; /* Horizontally center the content */
}
.icon-left,
.icon-right {
    position: absolute;
    top: 50%; /* Vertically center the icons */
    transform: translateY(-50%); /* Adjust vertical alignment */
    width: 50px; /* Adjust the size of the phoeonix icons */
    height: auto; /* Maintain aspect ratio */
}

.recruiting-page-heading {
    background-color: white;
    color: #013220;
    padding: 20px;
    font-size: 44px;
    font-family: 'Times New Roman', sans-serif;
    font-weight: bold;
    position: relative;
}
/* Adds the line after the heading 1 title */
.recruiting-page-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 5px;
    background-color: #013220;
}

/*-----styles for the program members section-----*/
.phoenix-program-members {
    padding-top: 25px;
    padding-bottom: 100px;
    background-color: #f7f7f7; /* Light grey background for contrast */
    color: #333; /* Dark grey text for readability */
    font-family: 'Arial', sans-serif; /* Modern, clean font choice */
}
.phoenix-program-members h1 {
    text-align: center;
    margin-bottom: 20px; /* Adds space below the heading */
    color: black
}
.phoenix-program-members p {
    text-align: center;
    margin-bottom: 15px; /* Consistent spacing below paragraphs */
}
/* Flex container for member rows */
.pp-row {
    display: flex;
    justify-content: center; /* Centers children horizontally */
    align-items: center; /* Aligns children vertically */
    gap: 20px; /* Space between columns */
    margin-bottom: 25px; /* Space below each row */
}
/* Styling for member columns */
.phoenix-program-members-col {
    flex: 1;
    text-align: center;
    display: inline-block; /* This will make the box wrap the content */
    width: auto; /* This allows the box to fit the content width */
    margin-left: 50px; /* This aligns the box to the left edge of its container */
    padding: 15px; /* Padding inside the columns */
    background-color: #fff; /* White background for the content */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow for depth */
    border-radius: 5px; /* Rounded corners */
}

.phoenix-program-members-col h3 {
    text-align: left;
    color: black;
}

.phoenix-program-members-col h4 {
    text-align: left;
    color: black;
    padding-left: 20px;
}

.phoenix-program-members-col h5 {
    text-align: left;
    color: black;
    padding-left: 40px;
}

/* Styling for image column */
.phoenix-program-img-col {
    flex: 1;
    order: 1;
    padding: 15px;
}
/* Responsive adjustments for mobile devices */
@media (max-width: 768px) {
    .pp-row {
        flex-direction: column; /* Stack children vertically */
        align-items: center; /* Centers children horizontally */
        width: 100%; /* Ensures the container fits within the viewport width */
    }

    .phoenix-program-members-col,
    .phoenix-program-img-col {
        flex: 0 0 auto; /* Prevents the column from growing or shrinking */
        width: calc(100% - 30px); /* Adjusts width to account for padding */
        margin: 0 auto 15px; /* Centers the column and adds space below */
        padding: 15px; /* Padding inside the columns */
        text-align: center; /* Centers text horizontally */
        box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow for depth */
        border-radius: 5px; /* Rounded corners */
        order: 0; /* Reset order for stacking */
    }

    .phoenix-program-img-col img {
        max-width: 100%; /* Ensures the image does not exceed the container's width */
        height: auto; /* Maintains the aspect ratio of the image */
        display: block; /* Prevents default inline behavior */
        margin: 0 auto; /* Centers the image horizontally */
    }

    .phoenix-program-members-col h3 {
        text-align: center; /* Centers heading text */
    }
}

/* ----- Projects Page Styles ----- */
.about-asap {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size: 36px;
    font-weight: 600;
}
    
p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

/* ----- SOG Team Page Styles ----- */
.about-sog {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 100px;
}
h1{
    font-size: 36px;
    font-weight: 600;
}
    
p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.credentials {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 55px;
}

.credentials-col {
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 1%;
    text-align: left;
}

.credentials-col img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    max-height: 200px; /* Set a maximum height */
    border-radius: 10px;
}

.credentials-col p {
    padding: 0;
}

.credentials-col h3 {
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: center;
}

.credentials h3 {
    text-align: center;
}