/* ===========================
   GLOBAL STYLES
=========================== */

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

body {

    font-family: 'Poppins', sans-serif;
    background: #020617;
    color: #e2e8f0;
    line-height: 1.6;

}

/* ===========================
   NAVBAR
=========================== */

.navbar {

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;

}

.logo {

    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 600;
    color: #38bdf8;

}

.logo img {

    width: 90px;

}

/* NAV LINKS */

nav ul {

    display: flex;
    list-style: none;
    gap: 30px;

}

nav ul li a {

    text-decoration: none;
    color: #e2e8f0;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: 0.3s;

}

nav ul li a:hover {

    background: #0ea5e9;
    color: white;
    box-shadow: 0 0 12px #0ea5e9;

}

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

.hero {

    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;

    background: linear-gradient(rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.9)),
        url("../images/cyber-bg.jpg");

    background-size: cover;
    background-position: center;

}

.hero h1 {

    font-size: 60px;
    color: #38bdf8;
    margin-bottom: 20px;

}

.hero p {

    font-size: 20px;
    max-width: 650px;
    color: #cbd5f5;

}

.hero button {

    margin-top: 30px;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    background: #0ea5e9;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;

}

.hero button:hover {

    background: #0284c7;
    box-shadow: 0 0 20px #0ea5e9;

}

/* ===========================
   SERVICES SECTION
=========================== */

.services {

    padding: 100px 8%;
    text-align: center;

}

.services h2 {

    font-size: 36px;
    margin-bottom: 50px;
    color: #38bdf8;

}

.service-grid {

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

}

.service-card {

    background: #020617;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    transition: 0.3s;

}

.service-card:hover {

    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);

}

.service-card h3 {

    color: #38bdf8;
    margin-bottom: 15px;

}

/* ===========================
   INTERNSHIP SECTION
=========================== */

.internships {

    padding: 100px 8%;
    background: #020617;

}

.internships h2 {

    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #38bdf8;

}

.internship-grid {

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

}

.internship-card {

    background: #020617;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    text-align: center;
    transition: 0.3s;

}

.internship-card:hover {

    box-shadow: 0 0 20px rgba(56, 189, 248, 0.7);
    transform: scale(1.05);

}

/* ===========================
   CONTACT FORM
=========================== */

.contact {

    padding: 100px 8%;
    text-align: center;

}

.contact h2 {

    font-size: 36px;
    margin-bottom: 40px;
    color: #38bdf8;

}

.contact-form {

    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;

}

.contact-form input,
.contact-form textarea {

    padding: 12px;
    border-radius: 6px;
    border: 1px solid rgba(56, 189, 248, 0.4);
    background: #020617;
    color: white;

}

.contact-form button {

    padding: 12px;
    border: none;
    background: #0ea5e9;
    color: white;
    border-radius: 6px;
    cursor: pointer;

}

.contact-form button:hover {

    box-shadow: 0 0 20px #0ea5e9;

}

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

footer {

    padding: 25px;
    text-align: center;
    background: black;
    border-top: 1px solid rgba(56, 189, 248, 0.3);
    margin-top: 80px;

}

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

@media(max-width:768px) {

    nav ul {

        flex-direction: column;
        background: black;
        position: absolute;
        top: 70px;
        right: 0;
        width: 200px;
        display: none;

    }

    .hero h1 {

        font-size: 40px;

    }

}

.about-hero {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.about-container {
    display: flex;
    gap: 40px;
    padding: 60px 10%;
    flex-wrap: wrap;
}

.about-content {
    flex: 1;
}

.about-services {
    flex: 1;
}

.about-services ul {
    list-style: square;
    padding-left: 20px;
}

.internship-section {
    padding: 60px 10%;
    text-align: center;
}

.internship-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.intern-card {
    background: #f4f4f4;
    padding: 25px;
    border-radius: 8px;
    transition: 0.3s;
}

.intern-card:hover {
    transform: translateY(-5px);
}

.mission {
    background: #111827;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.logo img {
    height: 45px;
    width: auto;
}

/* CONTACT SECTION */

.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #050b17, #0d1b2a);
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
}

/* CONTACT BOX */

.contact-container {
    width: 420px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 180, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 150, 255, 0.2);
}

/* HEADER */

.contact-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-logo {
    width: 120px;
    margin-bottom: 10px;
}

.contact-header h2 {
    color: #00b7ff;
    margin-bottom: 5px;
}

.contact-header p {
    color: #ccc;
    font-size: 14px;
}

/* INPUT GROUP */

.input-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.input-group label {
    color: #00b7ff;
    margin-bottom: 5px;
    font-size: 14px;
}

.input-group input,
.input-group textarea {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #1f3c5a;
    background: #081424;
    color: white;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

.input-group textarea {
    resize: none;
    height: 120px;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: #00b7ff;
    box-shadow: 0 0 10px rgba(0, 183, 255, 0.5);
}

/* BUTTON */

.contact-btn {
    width: 50%;
    padding: 14px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(90deg, #00b7ff, #0077ff);
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.contact-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 183, 255, 0.7);
}

.contact-logo {
    width: 70px;
    height: auto;
    margin-bottom: 8px;
}

#cyber3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* 3D SHIELD BACKGROUND */

#shield3d {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

/* glowing cyber effect */

.hero,
.services,
footer,
.navbar {
    position: relative;
    z-index: 2;
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Animation */

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}