/*
 <!-- 
 Name            : Udorm Phearun
 Course          : INF250
 Final Project   : SOC The Basic
 Purpose         : Provide Information of Cybersecurity and SOC 
 -->
 */

html {
    scroll-behavior: smooth;
}

*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(images/soccover.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img {
    width: 200px;
    filter: invert(100%) brightness(200%);
}

.nav-links{
    flex: 1;
    text-align: right;

}

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a{
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.nav-links ul li::after{
    content: '';
    width: 0;
    height: 2px;
    background: rgb(0, 134, 189);
    display: block;
    margin: auto;
    transition: 0.25s;
}

.nav-links ul li:hover::after{
    width: 100%;
}

.text-box{
    width: 90%;
    color: #FFFFFF;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1{
    font-size: 40px;

}

.text-box p{
    margin: 10px 0 40px;
    font-size: 20px;
    color: #FFFFFF;
    text-align: center;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    padding: 12px 34px;
    font-size: 18px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.hero-btn:hover{
    border: 1px solid rgb(0, 134, 189);
    background: rgb(0, 134, 189);
    transition: 0.25s;
}

nav .fa{
    display: none;
}

@media(max-width: 700px) {
    .text-box h1{
        font-size: 20px;
    }
    .nav-links ul li{
        display: block;
    }

    .nav-links{
        position: fixed;
        background: rgb(0, 134, 189);
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 0.5s;
    }
    nav .fa{
        display: block;
        color: #FFFFFF;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }
}

/*--- Get Started (course)---*/

.getstarted{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

h1{
    font-size: 36px;
    font-weight: 600;
    text-align: center;
}

p{
    color: #535353;
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
    text-align: justify;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}
.getstarted-col{
    flex-basis: 31%;
    border-radius: 10px;
    background-image: linear-gradient(rgba(0, 119, 166, 0.05), rgba(0, 119, 166, 0.05)), url(images/basic-info.jpg);
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
    object-fit: cover;
}

h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
    color: black;
}
a {
    text-decoration: none;
    color: inherit;
    border: none;
    box-shadow: none;
}

a h3 {
    text-decoration: none;
    color: whitesmoke;
    border: none;
    box-shadow: none;
}


.getstarted-col:hover{
    box-shadow: 0 0 35px 0 rgb(0, 98, 142);
}

@media(max-width: 700px){
    .row{
        flex-direction: column;
    }
}

/*Campus*/
/*cybersecurity*/

.cybersecurity{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.cybersecurity p{
    text-align: justify;
    padding-top: 50px;
    font-size: 16px;
}
.cybersecurity h1{
    background: rgba(0, 134, 189);
    color: white;
    text-align: center;
    padding: 5px;
}

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

.cybersecurity-col img{
    width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;

}

.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}

.layer:hover{
    background: rgba(0,134, 189, 0.5);
}

.layer h3{
    width: 100%;
    font-weight: 500;
    color: white;
    font-size: 30px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}

.layer:hover h3{
    bottom: 49%;
    opacity: 1;
}

/*facilities*/
/*SOC*/

.soc{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

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

.soc-col img{
    width: 100%;
    border-radius: 10px;
}

.soc-col p{
    padding: 0;
}

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

/*testimonials*/
/*might remove it later*/

.testimonials{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}

.testimonial-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    padding: 25px;
    cursor: pointer;
    background: #FFFFFF;
    display: flex;
}

.testimonial-col img{
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}

.testimonial-col h3{
    margin-top: 15px;
    text-align: left;
}

.testimonial-col p{
    padding: 0;
}

.testimonial-col .fa{
    color: goldenrod;
}

@media(max-width: 700px){
    .testimonials-col img{
        margin-left: 0;
        margin-right: 15px;
    }
}

/*call to action*/
/*support*/
.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(2, 102, 143, 0.5), rgba(2,102,143,0.5)), url(images/contactus.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}

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

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

/*footer*/
.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
    background: rgb(2, 102, 143);
}
.footer-col {
    width: 80%;
}
.footer h4{
    font-weight: 600;
    padding-bottom: 15px;
    text-align: left;
    padding-left: 45px;
    color: #FFFFFF;
}

.footer-col h1{
    color: #fff;
    margin-top: 40px;

}

.footer-col p{
    padding-left:45px;
    padding-bottom: 2px;
    text-align: left;
    font-size: 14px;
    color: #9c9999;
}

.icons .fa{
    color: dodgerblue;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}

.fa-copyright{
    color: #051c50;
    font-size: 25px;
}
.c-footer{
    width: 100%;
    text-align: center;
}

.c-footer p{
    text-align: center;
    color: white;
    font-size: 12px;
}

/*about us page*/

.sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(images/soccover.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: white;
}

.sub-header h1{
    margin-top: -10px;
}

.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}

.about-col {
    flex-basis: 48%;
    padding: 30px 2px;
}

.about-col img{
    width: 100%;
}

.about-col h1{
    padding-top: 0;
}

.about-col p{
    padding: 15px 0 25px;
}

.new-btn{
    border: 1px solid rgba(0,134, 189);
    background: transparent;
    color: rgba(0,134, 189, 0.5);
    font-size: 16px;
}

.new-btn:hover{
    color: white;
}

/*news-contact*/

.news-content{
    width: 80%;
    margin: auto;
    padding: 60px 0;
}

.news-left{
    flex-basis: 65%;
}

.news-left img{
    width: 100%;
}

.news-left h2{
    color: #222;
    font-weight: 600;
    margin: 30px 0;
}

.news-left p{
    color: #999;
    padding: 0;
}

.news-right{
    flex-basis: 32%;
}

.news-right h3{
    background: #f44336;
    color: #FFFFFF;
    padding: 7px 0;
    font-size: 16px;
    margin-bottom: 20px;
}

.news-right div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #555;
    padding: 8px;
    box-sizing: border-box;
}

.comment-box{
    border: 1px solid #CCCCCC;
    margin: 50px 0;
    padding: 10px 20px;
}

.comment-box h3{
    text-align: left;
}

.comment-form input, .comment-form textarea{
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: #CCCCCC;
}

.comment-form button{
    margin: 10px 0;
}

@media(max-width: 700px){
    .sub-header h1{
        font-size: 24px;
    }
}

/*contact us*/
.location{
    width: 80%;
    margin: auto;
    padding:80px 0;

}

.location iframe{
    width: 100%;
}

.contact-us{
    width: 80%;
    margin: auto;
}

.contact-col{
    flex-basis: 48%;
    margin-bottom: 30px;
}

.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.contact-col div .fa{
    font-size: 28px;
    color: royalblue;
    margin: 10px 30px 10px 10px;
}

.contact-col div p{
    padding: 0;
}

.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: darkred;
    font-weight: 400;
}

.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #CCCCCC;
    box-sizing: border-box;
}

/*side bar*/
/* SECTION BACKGROUND (outside the white box) */
.content-section {
    background: #f5f5f5;   /* or whatever background you like outside the box */
    padding: 50px 0;       /* space above/below the white box */
}

/* WHITE WRAPPER AROUND SIDEBAR & CONTENT */
.section-wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;        /* white background */
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;        /* ensures the sidebar won't spill out */
}

/* FLEX CONTAINER */
.container {
    display: flex;
    position: relative;      /* so absolutely positioned sidebar is contained */
    align-items: stretch;    /* sidebar and content will stretch to same height */
}

/* SIDEBAR */
.sidebar {
    width: 250px;
    background: #0072a0;
    color: #fff;
    padding: 20px;
    transition: transform 0.3s ease;
    position: absolute;         /* <--- IMPORTANT */
    top: 0;
    left: 0;
    bottom: 0;
    transform: translateX(-100%);
    z-index: 99;
}
.sidebar.show {
    transform: translateX(0);
}

.sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar ul li {
    padding: 15px 10px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar ul li:hover {
    background: #005f87;
}

/* 'X' BUTTON INSIDE SIDEBAR (MOBILE ONLY) */
.sidebar .close-btn {
    font-size: 20px;
    cursor: pointer;
    float: right;
    color: #fff;
    margin-bottom: 20px;
}

/* MAIN CONTENT */
.main-content {
    padding-left: 30px;
    position: relative;
    width: 100%;
}
.main-content ul li{
    color: #0b3288;
    font: bold 15px/1.5 "Helvetica Neue",Helvetica,Arial,sans-serif;
    padding: 0 20px;
    position: relative;
    margin-bottom: 10px;
}
.main-content ul li:hover{
    background: #005f87;
    color: #fff;
    cursor: pointer;
    text-decoration: none;

}
.main-content ol li{
    color: #4e4d4d;
    list-style: none;
    padding-left: 30px;
    font-size: 15px;
    padding-top: 15px;
}

.main-content ol ul li{
    color: #0b3288;
    font: bold 13px/1.5 "Helvetica Neue",Helvetica,Arial,sans-serif;
    position: relative;
    margin-bottom: 0;
}
.main-content ol ul li:hover{
    background: #005f87;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}
/* CONTENT BOX STYLE */
.content-box {
    width: 89%;
    background: #ebebeb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.content-box h2{
    text-align: center;
}
.content-box h3{
    text-align: center;
    padding-top: 20px;
}
.content-box h5{
    text-align: left;
    font-size: 16px;
    padding-left: 10px;
    padding-top: 20px;
}
.content-box h6{
    margin-top: 10px;
    text-align: left;
    font-size: 16px;
    color: #454141;
    padding-left: 10px;
}
.content-box p{
    font-size: 15px;
    padding-bottom: 15px;
}
/* The hamburger icon: hidden on desktop by default */
.open-btn {
    font-size: 22px;
    cursor: pointer;
    color: #0072a0;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 100;
}

/* SUB-CONTENT LIST */
.sub-content {
    list-style-type: none;
    margin: 10px 0 0 20px;
}

/* MEDIA QUERIES FOR MOBILE */
@media (max-width: 768px) {
    /* Stack sidebar & content vertically */
    .container {
        flex-direction: column;
    }

    .sidebar {
        position: absolute;       /* so we can slide it out of view */
        top: 0;
        left: 0;
        bottom: 0;               /* fill the container vertically */
        transform: translateX(-100%);
        z-index: 99;
    }

    /* Show sidebar when .show class is toggled */
    .sidebar.show {
        transform: translateX(0);
    }

    /* Reveal the close button (X) on mobile */
    .sidebar .close-btn {
        display: block;
        margin-bottom: 20px;
    }

    /* The main content gets pushed down below the header */
    .main-content {
        margin-top: 50px;
    }

    /* Display the hamburger icon on mobile */
    .open-btn {
        display: block;
        position: absolute;
        top: 10px;
        left: 10px;
    }
}


/*Video Frame*/
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (height/width * 100) */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000; /* Optional background */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*Gif*/
.center-container {
    justify-content: center;
    align-items: center;
}

.cyber-threat-img {
    width: 300px;
    height: auto;
}

/* Thank You Message Styles */
.thank-you-message {
    text-align: center;
    padding: 50px 20px;
    margin: 0 auto;
    max-width: 800px;
}

.thank-you-message .fa-check-circle {
    font-size: 72px;
    color: #4CAF50;
    margin-bottom: 25px;
    animation: bounce 1s ease-in-out;
}

.thank-you-message h3 {
    color: #0072a0;
    font-size: 32px;
    margin-bottom: 15px;
}

.thank-you-message p {
    color: #535353;
    font-size: 18px;
    margin-bottom: 30px;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    color: rgba(14, 47, 117, 0.63);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-30px); }
    60% { transform: translateY(-15px); }
}