@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

:root {
    --primary-color: #0b2545;
    /* Deep Ocean Blue */
    --primary-light: #133c70;
    --secondary-color: #d4a373;
    /* Sophisticated Gold/Tan */
    --bg-color: #f8fbff;
    /* Very slight blue tint white */
    --text-main: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);

    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(11, 37, 69, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'DM Sans', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Utilities */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    /* starts fully transparent until animation kicks in */
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'DM Sans', sans-serif;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding-bottom: 4px;
}

.nav-links li a:hover {
    color: var(--secondary-color);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background: var(--secondary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: 'DM Sans', sans-serif;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(11, 37, 69, 0.2);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 37, 69, 0.3);
    color: var(--white);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #c69460;
    transform: translateY(-2px);
}

/* Mobile Menu Toogle */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 138px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 2rem;
        box-shadow: var(--shadow-soft);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

/* Main Layout Space */
main {
    margin-top: 138px;
    min-height: calc(100vh - 138px - 300px);
    /* rough footer */
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

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

.footer-col h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-col p,
.footer-col ul li a {
    color: #cbd5e1;
    margin-bottom: 0.8rem;
    display: block;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Popup Form */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-modal {
    background: var(--primary-color);
    padding: 3rem 2.5rem 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 30px 60px rgba(11, 37, 69, 0.15), 0 0 0 1px rgba(11, 37, 69, 0.05);
    position: relative;
    transform: scale(0.9);
    transition: var(--transition);
    overflow: hidden;
}

.popup-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.popup-overlay.active .popup-modal {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--secondary-color);
}

.popup-red {
    background: linear-gradient(135deg, #2b0000 0%, #5c0b0b 50%, #2b0000 100%);
    box-shadow: 0 30px 60px rgba(92, 11, 11, 0.25), 0 0 0 1px rgba(92, 11, 11, 0.1);
}

.popup-red::before {
    background: linear-gradient(90deg, #ff4d4d, var(--secondary-color));
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    letter-spacing: 0.3px;
}

.popup-modal .form-group label {
    color: var(--white);
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background-color: #f8fbff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-control:focus {
    outline: none;
    background-color: var(--white);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(212, 163, 115, 0.15);
}

/* Section Margins */
.py-5 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.my-5 {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

/* Scrolling Marquee Styles */
.marquee-bar {
    background-color: var(--primary-color);
    color: var(--white);
    overflow: hidden;
    height: 38px;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    font-weight: 500;
}

.marquee-track {
    display: flex;
    width: max-content;
    white-space: nowrap;
    animation: marquee-scroll-animation 35s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused; /* Pause scrolling on hover for better user interaction */
}

.marquee-item {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: max-content;
    white-space: nowrap;
}

.marquee-text {
    padding: 0 1.2rem;
    letter-spacing: 0.3px;
}

.marquee-sep {
    color: var(--secondary-color);
    font-weight: bold;
}

.marquee-cta {
    color: #ffd700; /* Yellow */
    font-weight: 800;
    font-family: 'DM Sans', sans-serif;
    padding: 0 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.marquee-cta:hover {
    color: #ffffff;
    text-decoration: underline;
}

@keyframes marquee-scroll-animation {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Social Banner below Home Page Header */
.social-banner {
    background-color: var(--primary-color);
    color: var(--white);
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 10;
}

.social-banner-text {
    letter-spacing: 0.3px;
    text-transform: capitalize;
}

.social-banner-sep {
    color: var(--secondary-color);
    font-weight: bold;
}

.social-banner-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-banner-link {
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.social-banner-link:hover {
    color: var(--secondary-color);
    transform: scale(1.15);
}

.social-banner-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Contact Page "Get in Touch" Social Buttons */
.contact-social-buttons {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
}

.contact-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.contact-social-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 163, 115, 0.3);
}

.contact-social-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}