/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #f3f4f6;
    color: #111827;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* =========================
   Header & Navbar
========================= */
header {
    background: #0A1A2F;
    color: white;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo container FIX */
header .logo,
header .brand,
header h1 {
    background: transparent !important;
    padding: 0;
    margin: 0;
    box-shadow: none !important;
}

/* Logo image emboss effect */
header img {
    display: block;
    background: transparent;
    filter:
        drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.65))
        drop-shadow(-1px -1px 1px rgba(255, 255, 255, 0.15));
}

/* Optional: pressed look on hover */
header img:hover {
    filter:
        drop-shadow(0.5px 0.5px 1px rgba(0, 0, 0, 0.7))
        drop-shadow(-0.5px -0.5px 0.5px rgba(255, 255, 255, 0.12));
}

/* Navigation */
nav a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -3px;
    left: 0;
    background: #007BFF;
    transition: 0.3s;
}

nav a:hover {
    color: #007BFF;
}

nav a:hover::after {
    width: 100%;
}

/* =========================
   Footer
========================= */
footer {
    background: #0A1A2F;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* =========================
   Buttons
========================= */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

.btn-blue {
    background: #007BFF;
}

.btn-blue:hover {
    background: #0056b3;
    transform: scale(1.05);
}

.btn-green {
    background: #16C2A3;
}

.btn-green:hover {
    background: #0ea68b;
    transform: scale(1.05);
}

/* =========================
   Sections
========================= */
section {
    padding: 60px 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
}

/* =========================
   Cards
========================= */
.card {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin: 10px;
    transition: 0.4s;
    display: inline-block;
    width: 300px;
    vertical-align: top;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* =========================
   Form
========================= */
input,
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: 0.3s;
}

input:focus,
textarea:focus {
    border-color: #007BFF;
    outline: none;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    background: #007BFF;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #0056b3;
    transform: scale(1.05);
}

/* =========================
   Responsive Layout
========================= */

/* Tablets & below */
@media (max-width: 992px) {

    header {
        padding: 15px 20px;
    }

    nav a {
        margin-left: 12px;
        font-size: 15px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 20px;
    }
}

/* Mobile phones */
@media (max-width: 768px) {

    /* HEADER STACK */
    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    /* NAV STACK */
    nav {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    nav a {
        margin: 0;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
    }

    /* HERO TEXT */
    section {
        padding: 40px 15px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 18px;
    }

    /* BUTTONS */
    .btn {
        display: block;
        width: 100%;
        max-width: 320px;
        margin: 10px auto;
    }

    /* CARDS STACK */
    .card {
        width: 100%;
        max-width: 360px;
        margin: 15px auto;
    }
}

/* Extra small phones */
@media (max-width: 480px) {

    header img {
        height: 60px;
    }

    h1 {
        font-size: 26px;
    }

    p {
        font-size: 14px;
    }
}
