body {
    width: 100%;
    /* height: 100vh; */
    overflow-x: hidden;
}

body .loader {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--color-bg-primary);
}

body .loader img {
    width: 150px;
}

.hidden {
    opacity: 0;
    display: none;
    visibility: hidden;
    height: 0;
    width: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: all ease-out .5s;
}

/* Global Styles */
:root {
    --primary-bg: #0A1A2F;
    --accent: #F2C94C;
    --accent-alt: #F2994A;
    --bg-light: #F5F6F7;
    --bg-dark: #1F2A36;
    --text: #333333;
    --muted: #4A6572;
    --success: #27AE60;
    --warning: #E2B93B;
    --error: #C0392B;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Lora", Georgia, serif;
    color: var(--text);
    background: var(--bg-light);
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: "Montserrat", "Segoe UI", Tahoma, sans-serif;
    color: var(--primary-bg);
    margin-top: 0;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 600;
}

p {
    font-size: 1rem;
    max-width: 900px;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(100%, var(--max-width));
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--primary-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav .nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
}

.logo {
    display: flex;
    gap: .5rem;
    justify-content: space-between;
    align-items: center;
}

.logo .logo-img {
    height: 1rem;
}

.logo h1 {
    font-size: 1.1rem;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nav-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: space-evenly;
    align-items: center;
}

.nav-links a {
    color: #fff;
    font-weight: 700;
    padding: 0.35rem 0.5rem;
    transition: color 0.2s ease, box-shadow 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--accent);
    text-decoration: underline;
}

/* Section spacing */
section {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.hero {
    min-height: 95vh;
    background: linear-gradient(135deg, #0A1A2F 0%, #1F2A36 40%, #F2C94C 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 26, 47, 0.55);
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
    padding: 0 1rem;
}

.hero-content h1 {
    color: var(--accent);
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0.85rem 1.75rem;
    font-family: "Montserrat", "Segoe UI", Tahoma, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary-bg);
    border-color: var(--accent);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #d9ac40;
    box-shadow: 0 8px 20px rgba(242, 201, 76, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--accent);
    color: var(--primary-bg);
}

/* Founder Section */
.founder {
    background: #FAFBFC;
}

.founder .container {
    display: grid;
    gap: 2rem;
}

.founder-content {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.founder-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.founder blockquote {
    margin: 1rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--accent);
    background: #F7F7F8;
    color: var(--primary-bg);
    font-style: italic;
}

.founder-image {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: #e6e9ec; */
    border-radius: 12px;
    color: var(--muted);
    font-weight: 700;
}

.image-placeholder img {
    height: 300px;
    border-radius: 8px;
}

/* Mission */
.mission {
    background: #FFF8E3;
}

.mission .pillars {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    margin-top: 2rem;
}

.pillar {
    background: var(--accent);
    border-radius: 12px;
    padding: 1.5rem 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.pillar h3 {
    margin: 0;
    color: var(--primary-bg);
}

/* Resilient U */
.resilient-u {
    background: #FFF3E9;
}

.resilient-u .container h2 span {
    color: var(--accent-alt);
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 600;
    margin-top: 0;
    padding-top: 0;
}

.services-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    margin-top: 2rem;
}

.service-card {
    background: var(--accent);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
}

.service-card h3 {
    margin-top: 0;
    text-align: center;
}

.service-card p {
    text-align: center;
}

.promise {
    margin: 2rem 0 1.5rem;
    font-weight: 700;
    color: var(--muted);
    text-align: center;
}

/* Creative Spotlight */
.creative-spotlight {
    background: #EEF2F4;
}

.creative-spotlight ul {
    margin-top: 1.25rem;
    padding-left: 1.25rem;
    color: var(--muted);
}

.creative-spotlight ul li {
    margin-bottom: 0.7rem;
}

.spotlight-buttons {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Partner */
.partner {
    background: #FFF8E3;
}

.partnership-grid {
    margin-top: 1.75rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.partnership-card {
    background: var(--accent);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
}

.partnership-card h3,
.partnership-card p {
    text-align: center;
}

/* Contact */
.contact {
    background: #F1F3F6;
}

.contact form {
    max-width: 780px;
    margin-top: 1rem;
    display: grid;
    gap: 1rem;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid #dbe1e8;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

#form-message {
    display: none;
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    font-weight: 600;
}

#form-message.success {
    background: rgba(39, 174, 96, 0.15);
    color: var(--success);
    border: 1px solid rgba(39, 174, 96, 0.5);
}

#form-message.error {
    background: rgba(192, 57, 43, 0.15);
    color: var(--error);
    border: 1px solid rgba(192, 57, 43, 0.5);
}

/* Footer */
footer {
    background: var(--primary-bg);
    color: #fff;
}

.footer-content {
    display: grid;
    gap: 1rem;
    justify-items: center;
    text-align: center;
    padding: 1.5rem 1.25rem;
}

.footer-links,
.social-icons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

/* Scroll-to-top */
.scroll-to-top {
    position: fixed;
    right: 1.1rem;
    bottom: 1.2rem;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--primary-bg);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 20;
}

.scroll-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Layout */
@media (min-width: 768px) {
    .hero-content {
        max-width: 720px;
    }

    .founder-content {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    section {
        padding: 5.5rem 0;
    }

    .footer-content {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: start;
        text-align: left;
    }

    .footer-links,
    .social-icons {
        justify-content: flex-start;
    }
}

@media (min-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }

    section {
        padding: 6rem 0;
    }

    .hero {
        min-height: 88vh;
    }

    .container {
        padding: 0;
    }
}