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

body {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #1e3a5f, #0f172a);
    color: white;
    text-align: center;
}

/* NAVBAR */
nav {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
}

nav a:hover {
    color: #38bdf8;
}

/* SECTIONS */
section {
    padding: 90px 20px;
    animation: fadeUp 1s ease;
}

/* HEADINGS */
h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

/* TEXT */
p {
    max-width: 700px;
    margin: auto;
    line-height: 1.8;
    color: #cbd5e1;
}

/* GRID */
.grid {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

/* CARDS */
.card {
    background: rgba(255,255,255,0.08);
    padding: 25px 35px;
    border-radius: 14px;
    backdrop-filter: blur(8px);
    transition: 0.4s;
    min-width: 220px;
}

/* CARD HOVER ANIMATION */
.card:hover {
    transform: translateY(-10px) scale(1.03);
    background: rgba(255,255,255,0.15);
}

/* BUTTON */
.btn {
    margin-top: 20px;
    padding: 12px 28px;
    border-radius: 6px;
    background: #0b2a45;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: #123a5c;
}
.button-group {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.card h1 {
    margin-bottom: 20px;
}

.role-text {
    display: block;
    margin-top: 10px;
    margin-bottom: 25px;   /* THIS pushes buttons down */
}

.button-group {
    margin-top: 10px;
}
.social-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-icons a {
    font-size: 24px;
    color: #cbd5e1;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #0b2a45;   /* Navy hover */
    transform: translateY(-3px);
}
.social-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.view-project-btn {
    margin-top: 25px;
    margin-bottom: 15px;
}
.project-link {
    display: inline-block;
    margin-top: 12px;
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
}

.project-link:hover {
    text-decoration: underline;
}
.contact-card {
    max-width: 500px;
    margin: auto;
    background: rgba(255,255,255,0.08);
    padding: 30px;
    border-radius: 14px;
}

/* FORM */
.contact-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    background: rgba(255,255,255,0.08);
    color: white;
}


/* BUTTON */
.contact-form button {
    margin-top: 10px;
}
#skills .grid {
    max-width: 700px;
    margin: 40px auto;
    justify-content: center;
}
.contact-split {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;

    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

/* LEFT SIDE */
.contact-left {
    flex: 1;
    text-align: left;
}

.contact-left h3 {
    margin-bottom: 20px;
}

.contact-left p {
    margin: 15px 0;
    color: #cbd5e1;
}

.contact-left i {
    margin-right: 10px;
    color: #60a5fa;
}

/* RIGHT SIDE */
.contact-right {
    flex: 1;
}

/* FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* INPUT THEME */
.contact-form input,
.contact-form textarea {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    padding: 14px;
    border-radius: 8px;
    outline: none;
}

/* PLACEHOLDER */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #94a3b8;
}

/* FOCUS */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #60a5fa;
    background: rgba(255,255,255,0.1);
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .contact-split {
        flex-direction: column;
        text-align: center;
    }

    .contact-left {
        text-align: center;
    }
}
#about p {
    margin-bottom: 15px;
}
