@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800&display=swap');

:root {
    --primary-bg: #f8fafc;
    --accent-blue: #0056b3;
    --accent-dark-blue: #003366;
    --accent-gradient: linear-gradient(135deg, #0056b3, #003366);
    --accent-light: #e0f2fe;
    --accent-pink: #ef4444;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-promo: 'Montserrat', sans-serif;
    --radius-premium: 24px;
    --shadow-soft: 0 10px 30px -5px rgba(0, 0, 0, 0.05);

    /* Fluid Sizing */
    --h1-size: clamp(2.5rem, 8vw, 4.5rem);
    --h2-size: clamp(2rem, 5vw, 3rem);
    --container-padding: clamp(1rem, 5vw, 3rem);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-section {
    position: relative;
    padding: 120px 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('https://images.unsplash.com/photo-1560066984-138dadb4c035?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--accent-blue);
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-premium);
    box-shadow: var(--shadow-soft);
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.85);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    border: none;
    box-shadow: 0 10px 20px -5px rgba(0, 86, 179, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(0, 86, 179, 0.4);
    opacity: 0.95;
}

.btn-back-pill {
    position: absolute;
    top: 25px;
    left: 25px;
    background: var(--accent-gradient);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.8rem;
    font-family: var(--font-promo);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1002;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 20px -5px rgba(0, 86, 179, 0.3);
    text-transform: uppercase;
}

.btn-back-pill:hover {
    transform: translateX(-5px) translateY(-1px);
    box-shadow: 0 15px 30px -5px rgba(0, 86, 179, 0.5);
    color: #ffffff;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .btn-back-pill {
        top: 15px;
        left: 15px;
        padding: 8px 18px;
        font-size: 0.7rem;
    }
}

input,
select,
textarea {
    border-radius: 12px;
    padding: 14px 18px !important;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

input:focus,
select:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
    outline: none;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-promo);
    color: var(--accent-blue);
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: clamp(10px, 3vw, 25px);
    transition: 0.3s;
    font-weight: 700;
    font-family: var(--font-promo);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

/* Hamburger Menu Toggle - Premium Style */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 25px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--accent-blue);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    transform-origin: 1px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

.menu-toggle.light span {
    background: #ffffff;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1002;
    }

    .nav {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1001;
        padding: 20px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        display: flex;
        flex-direction: column !important;
        align-items: center;
        justify-content: flex-start;
        padding-top: 100px;
        transition: 0.4s;
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
        visibility: visible;
        opacity: 1;
    }

    .nav-links a {
        margin: 0 !important;
        font-size: 1.1rem !important;
        color: var(--text-main) !important;
        width: 100%;
        text-align: left;
        padding: 20px 40px;
        font-weight: 800;
        letter-spacing: 1px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        transition: 0.3s;
    }

    .nav-links a:hover {
        background: var(--accent-light);
        padding-left: 50px;
        color: var(--accent-blue) !important;
    }

    .nav-links a:last-child {
        border-bottom: none;
        color: var(--accent-pink) !important;
    }

    h1 {
        font-size: clamp(2rem, 10vw, 3rem) !important;
    }

    h2 {
        font-size: clamp(1.5rem, 5vw, 2rem) !important;
    }

    .container {
        padding: 0 20px;
    }

    .glass {
        padding: 30px 20px !important;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

.btn-whatsapp:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* Admin Sidebar Layout */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 280px;
    background: #0056b3;
    color: #ffffff;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    flex-shrink: 0;
    transition: 0.3s;
    z-index: 1000;
}

.admin-sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-sidebar-links a {
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    transition: 0.3s;
    font-weight: 700;
}

.admin-sidebar-links a.active {
    background: rgba(255, 255, 255, 0.1);
}

.admin-main {
    flex: 1;
    padding: 40px;
    background: #ffffff;
    overflow-y: auto;
    transition: 0.3s;
}

.admin-mobile-header {
    display: none;
    background: transparent;
    padding: 15px 25px;
    justify-content: flex-start;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.admin-mobile-title {
    margin-left: 15px;
    font-weight: 700;
    color: #0056b3;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.admin-mobile-header.active .admin-mobile-title {
    opacity: 1;
    transform: translateX(0);
}

.admin-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

@media (max-width: 992px) {
    .admin-sidebar {
        position: fixed;
        left: -280px;
    }

    .admin-sidebar.active {
        left: 0;
    }

    .admin-mobile-header {
        display: flex;
    }

    .admin-main {
        padding: 80px 20px 20px;
        background: var(--primary-bg);
    }

    .admin-sidebar-overlay.active {
        display: block;
    }
}