/* 
   Rafiq Majali Portfolio
   Cybersecurity Researcher Theme
*/


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


html {
    scroll-behavior: smooth;
}


body {

    font-family: Arial, Helvetica, sans-serif;

    background: #08111f;

    color: #e6edf3;

    line-height: 1.6;

}



/* Navigation */


.header {

    position: fixed;

    top: 0;

    width: 100%;

    background: rgba(13,17,23,0.9);

    backdrop-filter: blur(10px);

    border-bottom: 1px solid #30363d;

    z-index: 1000;

}



.navbar {

    max-width: 1100px;

    margin: auto;

    padding: 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;

}



.logo {

    font-size: 1.4rem;

    font-weight: bold;

    color: #58a6ff;

}



.nav-links {

    display: flex;

    list-style: none;

    gap: 25px;

}



.nav-links a {

    color: #e6edf3;

    text-decoration: none;

    transition: 0.3s;

}



.nav-links a:hover {

    color: #58a6ff;

}




/* Hero Section */


.hero {

    min-height: 75vh;


    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 150px 20px 60px;


background:
linear-gradient(
135deg,
rgba(56,189,248,0.12),
transparent
);
}




.hero h1 {

    font-size: 3.5rem;

    color: #38bdf8;

    letter-spacing: 1px;

}



.hero h2 {

    margin: 15px 0;

    color: #8b949e;

}



.hero p {

    font-size: 1.2rem;

    max-width: 700px;

}



.hero-buttons {

    margin-top: 30px;

}



.btn {

    display: inline-block;

    padding: 13px 28px;

    margin: 8px;

    background: #38bdf8;

    color: #08111f;

    text-decoration: none;

    border-radius: 10px;

    font-weight: bold;

    transition: 0.3s;

}


.btn:hover {

    transform: translateY(-4px);

    box-shadow: 0 10px 25px rgba(56,189,248,0.25);

}



.btn.secondary {

    background: transparent;

    color: #38bdf8;

    border: 1px solid #38bdf8;

}

/* Sections */


.section {

    max-width: 1100px;

    margin: auto;

    padding: 70px 20px;

}



.section h2 {

    text-align: center;

    color: #58a6ff;

    font-size: 2rem;

    margin-bottom: 35px;

}



.section p {

    color: #c9d1d9;

    margin-bottom: 15px;

}




/* Cards */


.cards {

    display: grid;

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

    gap: 20px;

}



.card {

    background: #0f1b2d;

    padding: 25px;

    border-radius: 12px;

    border: 1px solid #30363d;

    transition: 0.3s;

box-shadow: 0 10px 30px rgba(0,0,0,0.25);

}



.card:hover {

    transform: translateY(-8px);

    border-color: #38bdf8;

    box-shadow: 0 15px 35px rgba(56,189,248,0.15);

}



.card h3 {

    color: #38bdf8;

    margin-bottom: 10px;

}




/* Project */


.project-card {

    background: #161b22;

    padding: 30px;

    border-radius: 12px;

    border: 1px solid #30363d;

}



.project-card h3 {

    color: #58a6ff;

    margin-bottom: 15px;

}



.tech {

    color: #8b949e;

    margin-top: 20px;

}




/* Lists */


.research-list {

    max-width: 600px;

    margin: auto;

    list-style: none;

}



.research-list li {

    background: #161b22;

    margin: 12px 0;

    padding: 15px;

    border-radius: 8px;

    border: 1px solid #30363d;

}




.learning {

    display: grid;

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

    gap: 15px;

}



.learning p {

    background: #161b22;

    padding: 20px;

    border-radius: 10px;

    border: 1px solid #30363d;

}




/* Contact */


#contact a {

    color: #58a6ff;

}




/* Footer */


.footer {

    text-align: center;

    padding: 40px 20px;

    border-top: 1px solid #30363d;

    color: #8b949e;

}




/* Mobile Design */


@media (max-width: 768px) {


    .navbar {

        flex-direction: column;

        gap: 15px;

    }


    .nav-links {

        gap: 12px;

        flex-wrap: nowrap;

        justify-content: center;

    }


    .hero h1 {

        font-size: 2.5rem;

    }


    .hero p {

        font-size: 1rem;

    }

}


.profile-logo {
    width: 150px;
    height: 150px;
    border-radius: 25px;
    margin: 25px auto;
    display: block;
    box-shadow: 0 10px 30px rgba(56,189,248,0.25);
}

@media (max-width: 768px) {

    .profile-logo {
        width: 100px;
        height: 100px;
    }

}
