/* =========================
   GLOBAL STYLES & UTILITIES
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: #334155;
    line-height: 1.6;
    background: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-gold {
    color: #c5a059;
}

.text-primary {
    color: #153e4d;
}

/* =========================
   BUTTON STYLES
   ========================= */

.btn {
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    border: none;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #153e4d;
    color: white;
}

.btn-primary:hover {
    background: #0d2833;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21, 62, 77, 0.3);
}

.btn-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline:hover {
    background: white;
    color: #153e4d;
}

.btn-gold {
    background: linear-gradient(135deg, #c5a059 0%, #b89215 100%);
    color: white;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(197, 160, 33, 0.3);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #b89215 0%, #c5a059 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 33, 0.4);
}

/* =========================
   TOP BAR
   ========================= */

.top-bar {
    background: linear-gradient(135deg, #0d2833 0%, #00284d 100%);
    color: white;
    padding: 12px 0;
    font-size: 0.9rem;
    border-bottom: 2px solid rgba(197, 160, 33, 0.3);
}

.top-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-contact span {
    margin-right: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.top-contact span:hover {
    opacity: 1;
}

.top-contact i {
    color: #c5a059;
}

.top-socials a {
    margin-left: 15px;
    color: rgba(255, 255, 255, 0.8);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.top-socials a:hover {
    color: white;
    background: #c5a059;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 160, 33, 0.3);
}

/* =========================
   NAVBAR
   ========================= */

.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(197, 160, 33, 0.1);
    transition: all 0.3s ease;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #153e4d;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 55px;
    filter: drop-shadow(0 2px 8px rgba(0, 86, 179, 0.1));
    transition: all 0.3s ease;
}

.logo img:hover {
    filter: drop-shadow(0 4px 12px rgba(0, 86, 179, 0.2));
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-item {
    font-weight: 600;
    color: #334155;
    position: relative;
    padding: 8px 0;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    color: #153e4d;
}

.nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #153e4d, #c5a059);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-item:hover::after {
    width: 100%;
}

.nav-btn {
    background: linear-gradient(135deg, #c5a059 0%, #b89215 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(197, 160, 33, 0.3);
    transition: all 0.3s ease;
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: none;
    padding: 10px 0;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-menu li a {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    transition: 0.3s;
}

.dropdown-menu li a:hover {
    background: #f8fafc;
    color: var(--primary);
    padding-left: 25px;
}

.dropdown-menu li a i {
    color: var(--gold);
    width: 20px;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeInDown 0.3s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-btn:hover {
    background: linear-gradient(135deg, #b89215 0%, #c5a059 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 33, 0.4);
    color: white;
}

/* =========================
   MOBILE MENU
   ========================= */

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 2px solid #153e4d;
    color: #153e4d;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: #153e4d;
    color: white;
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: flex-start;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-item,
    .nav-btn {
        display: block;
        width: 100%;
        padding: 15px 30px !important;
        border-radius: 0 !important;
        font-size: 1rem;
        border-bottom: 1px solid #f1f5f9;
        text-align: left;
    }

    .nav-dropdown>a::after {
        content: '\f107';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        float: right;
        transition: 0.3s;
    }

    .nav-dropdown.active>a::after {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        background: #f8fafc;
        border: none;
        border-radius: 0;
        padding: 0;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 15px 45px;
        border-bottom: 1px solid white;
    }

    .nav-item::after {
        display: none;
    }

    .nav-btn {
        margin: 20px 30px;
        width: calc(100% - 60px);
        border-radius: 50px !important;
        text-align: center;
        border: none;
    }

    /* Top Bar Mobile */
    .top-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-contact {
        flex-direction: column;
        gap: 8px;
    }

    .top-contact span {
        margin-right: 0;
    }

    @media (max-width: 576px) {
        .top-bar {
            display: none;
            /* Hide top bar on very small devices to save space */
        }
    }
}


/* =========================
   SMOOTH SCROLLING
   ========================= */

html {
    scroll-behavior: smooth;
}

/* =========================
   IMAGE OPTIMIZATION
   ========================= */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================
   ANIMATED BACKGROUND UTILITIES
   ========================= */

/* Mesh Gradient - Smooth, organic color movement */
.bg-mesh-animated {
    position: relative;
    background-color: #0d2833;
    background-image:
        radial-gradient(at 0% 0%, hsla(187, 85%, 25%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(197, 75%, 35%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(43, 67%, 59%, 0.4) 0, transparent 50%),
        radial-gradient(at 50% 50%, hsla(187, 85%, 20%, 1) 0, transparent 50%),
        radial-gradient(at 0% 100%, hsla(197, 75%, 30%, 1) 0, transparent 50%),
        radial-gradient(at 100% 100%, hsla(43, 67%, 50%, 0.3) 0, transparent 50%);
    background-size: 200% 200%;
    animation: meshShift 12s ease-in-out infinite alternate;
    overflow: hidden;
}

@keyframes meshShift {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    100% {
        background-position: 0% 100%;
    }
}

/* Floating Cinematic Particles */
.bg-mesh-animated::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
        radial-gradient(circle, rgba(197, 160, 33, 0.3) 1.5px, transparent 1.5px);
    background-size: 80px 80px, 120px 120px;
    background-position: 0 0, 40px 60px;
    opacity: 0.15;
    animation: particlesFloat 40s linear infinite;
}

@keyframes particlesFloat {
    from {
        transform: translateY(0) rotate(0deg);
    }

    to {
        transform: translateY(-500px) rotate(10deg);
    }
}

/* Glassmorphism Card Overlay */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Glowing Trail Effect */
.glow-trail {
    position: absolute;
    width: 200%;
    height: 100px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(-45deg) translate(-50%, -50%);
    top: 50%;
    left: -50%;
    filter: blur(40px);
    animation: flowLight 8s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes flowLight {
    0% {
        transform: rotate(-45deg) translate(-100%, -100%);
    }

    100% {
        transform: rotate(-45deg) translate(100%, 100%);
    }
}

/* Vibrant Ethereal - Inspired by the spiritual cyan/white aesthetic */
.bg-vibrant-ethereal {
    position: relative;
    background: linear-gradient(135deg, #0ea5e9 0%, #ffffff 100%);
    overflow: hidden;
}

.bg-vibrant-ethereal::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.8) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(197, 160, 33, 0.1) 0%, transparent 60%);
    animation: etherealRotate 20s linear infinite;
    z-index: 0;
}

.bg-vibrant-ethereal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: 1;
}

@keyframes etherealRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

.bg-vibrant-ethereal>* {
    position: relative;
    z-index: 2;
}

/* Miras Royal - Deep, premium corporate aesthetic */
.bg-miras-royal {
    position: relative;
    background: linear-gradient(135deg, #0d2833 0%, #00284d 100%);
    overflow: hidden;
}

.bg-miras-royal::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at 30% 30%, rgba(197, 160, 33, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 20%, rgba(21, 62, 77, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
    animation: royalShift 25s linear infinite alternate;
}

@keyframes royalShift {
    0% {
        transform: rotate(0deg) translate(0, 0);
    }

    100% {
        transform: rotate(10deg) translate(-5%, 5%);
    }
}

/* =========================
   FOOTER STYLES
   ========================= */

.footer {
    background: #0f172a;
    color: white;
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.footer h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #94a3b8;
    transition: 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    color: #94a3b8;
    line-height: 1.5;
}

.contact-info i {
    color: var(--gold);
    margin-top: 5px;
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    margin-top: 20px;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
}

.footer-logo {
    display: block;
    margin-bottom: 25px;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

.footer-socials a:hover {
    background: var(--gold) !important;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(197, 160, 33, 0.4);
}