/* ----------------------------------
   ROOT + GLOBAL
---------------------------------- */
:root {
    --bg: #f7fafc;
    --card: #ffffff;
    --accent: #2b2e35;
    --muted: #6b7280;
    --glass: rgba(255, 255, 255, 0.6);
    --shadow: 0 8px 30px rgba(8, 15, 25, 0.08);
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
    background: linear-gradient(180deg, #eef7f9 0%, var(--bg) 100%);
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    padding-top: 90px !important;
    overflow-x: hidden;
}

/* ----------------------------------
   HEADER + NAVIGATION
---------------------------------- */
header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    backdrop-filter: blur(6px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.6));
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
    padding: 12px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: linear-gradient(135deg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    box-shadow: var(--shadow);
    font-size: 18px;
}

/* Banner Image */
.banner img {
    height: auto;
    max-width: 100%;
    width: 100%;
    display: block;
    border: none;
    border-radius: 0;
    -webkit-border-radius: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
    object-fit: cover;
}

/* Navigation */
nav {
    display: flex;
    gap: 14px;
    align-items: center;
}

nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 10px;
}

nav a:hover {
    background: rgba(11, 124, 138, 0.08);
    color: #027bce !important;
}

nav a.active {
    background: rgba(11, 124, 138, 0.12);
    color: #027bce !important;
    font-weight: 700;
}

nav .menu {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav .menu li {
    position: relative;
}

/* Dropdown */
nav .dropdown-menu {
    position: absolute;
    top: 40px;
    left: 0;
    background: #fff;
    padding: 12px 0;
    border-radius: 8px;
    min-width: 240px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    z-index: 999;
}

nav .dropdown:hover .dropdown-menu {
    display: flex;
}

nav .dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 15px;
    color: #333;
}

nav .dropdown-menu li a:hover {
    background: rgba(2, 123, 206, 0.08);
}

/* CTA */
.cta {
    background: var(--accent);
    color: #fff;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(11, 124, 138, 0.12);
}

/* ----------------------------------
   HERO SECTION
---------------------------------- */
.hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 32px;
    align-items: center;
    padding: 64px 28px;
    max-width: 1200px;
    margin: 28px auto;
}

.hero-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), var(--card));
    border-radius: 18px;
    padding: 36px;
    box-shadow: var(--shadow);
    transition: transform 450ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.hero-card:hover {
    transform: translateY(-6px);
}

h1 {
    margin: 0 0 12px;
    font-size: 34px;
    color: #062433;
}

p.lead {
    color: var(--muted);
    font-size: 16px;
}

/* Features (Hero Right) */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(180deg, rgba(11, 124, 138, 0.03), rgba(11, 124, 138, 0.01));
    border-radius: 12px;
}

.feat-icon {
    width: 56px;
    height: 56px;
    background: var(--glass);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

/* ----------------------------------
   SECTIONS / CARDS
---------------------------------- */
main {
    max-width: 1200px;
    margin: 18px auto;
    padding: 12px;
}

section {
    margin: 28px 0;
    padding: 28px;
    border-radius: 14px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.4));
}

.section-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.section-title h2 {
    font-size: 20px;
    color: #062433;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.card {
    background: var(--card);
    padding: 16px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    min-height: 120px;
    transition: 0.32s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(8, 15, 25, 0.09);
}

.card p {
    color: var(--muted);
    font-size: 14px;
}

/* ----------------------------------
   CONTACT FORM
---------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 18px;
}

.form {
    background: var(--card);
    padding: 18px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

input, textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    font-size: 14px;
}

button.primary {
    background: var(--accent);
    color: white;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 700;
    border: 0;
}

/* ----------------------------------
   FOOTER
---------------------------------- */
footer {
    background: #0f172a;
    color: #d1d5db;
    padding: 40px 28px;
    margin-top: 40px;
}

footer .container {
    max-width: 1200px;
    margin: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-column h3 {
    font-size: 18px;
    color: #f0f4f8;
    margin-bottom: 12px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s ease;
}

.footer-column ul li a:hover {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

.social-icons a svg {
    transition: 0.3s ease;
}

.social-icons a:hover svg {
    fill: #ffffff;
    transform: scale(1.15);
}

footer p {
    font-size: 14px;
    color: #94a3b8;
}

footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    text-align: center;
}

/* ----------------------------------
   PROFILE PAGE STYLES
---------------------------------- */
.profile-hero {
    background: linear-gradient(135deg, #027bce, #0b7c8a);
    color: white;
    padding: 15px 10px;
    text-align: center;
}

.profile-hero h1 {
    font-size: 36px;
}

.profile-section {
    max-width: 1100px;
    margin: auto;
    padding: 40px 20px;
}

.profile-block {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.profile-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
    object-fit: cover;
}

.profile-text h2 {
    font-size: 28px;
    margin-bottom: 12px;
    color: #063045;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.profile-card {
    background: white;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.profile-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* ----------------------------------
   ANIMATIONS
---------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@keyframes floaty {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

.floaty {
    animation: floaty 5s ease-in-out infinite;
}

.tilt {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tilt:hover {
    transform: perspective(600px) rotateX(2deg) rotateY(-4deg);
}

/* Ensure toggle shows only on mobile */
.mobile-toggle {
    display: none !important;
}

.more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 16px;
    font-weight: 600;
    background: #0d6efd;
    color: #fff !important;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.22);
}

.more-btn:hover {
    background: #0b5ed7;
    box-shadow: 0 6px 18px rgba(0, 123, 255, 0.35);
    transform: translateY(-2px);
}

.more-btn svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
}



/* ----------------------------------
   RESPONSIVE
---------------------------------- */
@media (max-width: 920px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    nav { display: none; }

    .mobile-toggle { display: block; }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .profile-block {
        grid-template-columns: 1fr;
    }

    .profile-img img {
        max-height: 350px;
    }

        .mobile-toggle { display: block; }

}
/* Desktop: Hide toggle, show normal nav */
@media (min-width: 1025px) {
    nav { display: flex; }
    .mobile-toggle { display: none !important; }
}

/* Tablet & Mobile: Hide full nav, show toggle */
@media (max-width: 1024px) {
    nav { display: none !important; }
    .mobile-toggle { display: block !important; }
}
