/* ==========================
   Cybersecurity Life
   style.css
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:Arial, Helvetica, sans-serif;
    color:#ffffff;

    background:
        linear-gradient(
        rgba(8,8,10,.82),
        rgba(8,8,10,.92)),
        url("Cyberbackground.png");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;

    line-height:1.7;
}


/*==========================
HEADER
==========================*/

.site-header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:20px 60px;

    background:rgba(0,0,0,.55);

    backdrop-filter:blur(10px);

    z-index:1000;

    border-bottom:2px solid #8b0000;

}


.site-logo{

    text-decoration:none;

    color:white;

    font-size:32px;

    font-weight:bold;

}

.logo-icon{

    color:#ff2a2a;

    margin-right:10px;

}


.main-navigation ul{

    display:flex;

    list-style:none;

    gap:35px;

}


.main-navigation a{

    color:white;

    text-decoration:none;

    font-size:17px;

    transition:.35s;

}

.main-navigation a:hover{

    color:#ff5c33;

}


/*==========================
HERO
==========================*/

.hero-section{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:120px 40px;

}


.hero-content{

    max-width:900px;

    background:rgba(0,0,0,.55);

    padding:60px;

    border-radius:20px;

    border:2px solid rgba(255,70,70,.25);

    box-shadow:0 0 40px rgba(255,40,40,.20);

}


.hero-label{

    color:#ff7b00;

    font-size:18px;

    letter-spacing:4px;

    text-transform:uppercase;

    margin-bottom:20px;

}


.hero-content h1{

    font-size:68px;

    margin-bottom:25px;

    text-shadow:0 0 25px rgba(255,40,40,.5);

}


.hero-description{

    font-size:22px;

    color:#d7d7d7;

    margin-bottom:40px;

}


/*==========================
BUTTONS
==========================*/

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:25px;

    flex-wrap:wrap;

}

.button{

    padding:16px 38px;

    text-decoration:none;

    border-radius:50px;

    transition:.35s;

    font-weight:bold;

}

.primary-button{

    background:#a40000;

    color:white;

}

.primary-button:hover{

    background:#ff4d00;

    transform:translateY(-4px);

}


.secondary-button{

    border:2px solid #ff4d00;

    color:white;

}

.secondary-button:hover{

    background:#ff4d00;

}


/*==========================
SECTIONS
==========================*/

.content-section{

    padding:100px 60px;

}


.section-container{

    max-width:1300px;

    margin:auto;

}


.section-heading{

    text-align:center;

    margin-bottom:70px;

}


.section-label{

    color:#ff6600;

    text-transform:uppercase;

    letter-spacing:3px;

    margin-bottom:12px;

}


.section-heading h2{

    font-size:48px;

    margin-bottom:20px;

}


.section-heading p{

    font-size:20px;

    color:#d4d4d4;

}


/*==========================
CARDS
==========================*/

.card-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

}


.information-card,
.topic-card,
.statistics-panel,
.learning-box,
.security-message{

    background:rgba(15,15,15,.80);

    padding:35px;

    border-radius:18px;

    border:1px solid rgba(255,80,80,.20);

    transition:.35s;

}


.information-card:hover,
.topic-card:hover{

    transform:translateY(-10px);

    border-color:#ff4d00;

    box-shadow:0 0 30px rgba(255,70,70,.25);

}


.card-icon{

    font-size:45px;

    display:block;

    margin-bottom:20px;

}


.information-card h3,
.topic-card h3{

    color:#ff5c33;

    margin-bottom:18px;

}


.topic-card a{

    color:#ff7a00;

    text-decoration:none;

    font-weight:bold;

}


/*==========================
FOOTER
==========================*/

.site-footer{

    background:#050505;

    padding:70px 50px;

    border-top:2px solid #8b0000;

}


.footer-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:50px;

}


.footer-links ul{

    list-style:none;

}


.footer-links li{

    margin:12px 0;

}


.footer-links a{

    color:white;

    text-decoration:none;

}


.footer-links a:hover{

    color:#ff5c33;

}


.footer-bottom{

    text-align:center;

    margin-top:50px;

    border-top:1px solid rgba(255,255,255,.15);

    padding-top:25px;

}


/*==========================
RESPONSIVE
==========================*/

@media(max-width:900px){

.site-header{

    flex-direction:column;

    gap:20px;

    padding:20px;

}

.main-navigation ul{

    flex-wrap:wrap;

    justify-content:center;

}

.hero-content h1{

    font-size:46px;

}

.hero-description{

    font-size:19px;

}

.content-section{

    padding:70px 25px;

}
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 60px;

    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-bottom: 2px solid #b32020;
    z-index: 1000;
}

section {
    scroll-margin-top: 110px;
}

.scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;

    color: #ff7a00;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.scroll-arrow {
    font-size: 24px;
}

/* ==========================
   CALL TO ACTION SECTION
========================== */

.learning-section {
    padding: 80px 25px;
}

.learning-box {
    width: min(1100px, 100%);
    margin: 0 auto;

    background: rgba(15, 15, 15, 0.85);
    padding: 45px;

    border: 1px solid rgba(255, 80, 80, 0.35);
    border-radius: 18px;

    overflow: hidden;
}

.learning-box .section-label {
    font-size: clamp(14px, 2vw, 18px);
    line-height: 1.4;
    letter-spacing: 3px;
    overflow-wrap: anywhere;
}

.learning-box h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.2;
    margin: 15px 0;
}

.learning-box p {
    max-width: 800px;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 25px;
    overflow-wrap: anywhere;
}

.learning-box .button {
    display: inline-block;
    max-width: 100%;
    text-align: center;
}

@media (max-width: 700px) {

    .learning-section {
        padding: 60px 15px;
    }

    .learning-box {
        padding: 30px 20px;
    }

    .learning-box .section-label {
        letter-spacing: 2px;
    }

    .learning-box .button {
        width: 100%;
        padding: 14px 18px;
    }

}

