/* Base Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Font Face */
@font-face {
    font-family: 'Cinzel';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Cinzel Bold'), local('Cinzel-Bold'), 
         url('https://fonts.gstatic.com/s/cinzel/v19/8vIU7ww63mVu7gtR-kwKxNvkNOjw-uTnTYrvDE5ZdqU.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Playfair Display Regular'), local('PlayfairDisplay-Regular'), 
         url('https://fonts.gstatic.com/s/playfairdisplay/v30/nuFiD-vYSZviVYUb_rj3ij__anPXDTzYhQ.woff2') format('woff2');
}

/* Variables */
:root {
    --gold: #D4AF37;
    --dark-gold: #996515;
    --royal-bg: #0F0E0E;
    --ivory: #FFFFF0;
    --header-height: 80px;
}

/* Base Styles */
body {
    font-family: 'Playfair Display', serif;
    color: var(--ivory);
    background: var(--royal-bg);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Video Background */
/* Replace the .video-background styles with this: */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 1;
    background: #000;
}

/* Add this to position the hero section properly */
.golden-hero {
    position: relative;
    overflow: hidden;
}
/* Header */
.royal-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 14, 14, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 1000;
    padding: 15px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper .logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.logo-wrapper .logo:hover {
    transform: scale(1.05);
}

.royal-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.royal-nav a {
    color: var(--ivory);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.royal-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.royal-nav a:hover:after {
    width: 100%;
}

.royal-nav a:hover {
    color: var(--gold);
}

.cta-button {
    padding: 10px 25px;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: #000;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    text-decoration: none;
    border-radius: 30px;
    border: 1px solid var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
}

/* Hero Section */
.golden-hero {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--header-height) 20px 40px;
    position: relative;
}

.royal-title {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    font-size: clamp(3rem, 10vw, 6rem);
}

.typing-container {
    min-height: 80px;
    margin: 1rem 0;
}

#typing-text {
    font-size: 1.8rem;
    color: var(--gold);
    font-weight: 700;
}

.typing-cursor {
    color: var(--gold);
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.royal-cta {
    display: inline-block;
    margin-top: 2rem;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: #000;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 30px;
    border: 1px solid var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s ease;
}

.royal-cta:hover {
    transform: translateY(-3px);
}

.royal-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)) no-repeat;
    background-size: 200% 100%;
    background-position: -150% 0;
    animation: shine 2.5s infinite;
    pointer-events: none;
    z-index: -1;
}

.royal-cta::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: inherit;
    background: linear-gradient(45deg, #d4af37, #f9e090, #ebb810);
    z-index: -2;
    opacity: 0.7;
    filter: blur(3px);
}

@keyframes shine {
    to { background-position: 150% 0; }
}

/* Section Headings */
.section-heading {
    width: 100%;
    text-align: center;
    margin: 40px 0;
}

.section-heading h1 {
    text-align: center;
    margin: 20px 0;
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--gold);
    position: relative;
    display: inline-block;
    letter-spacing: 2px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1.5s ease, glow 2s infinite alternate;
}

.section-heading h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--gold), #f9e090, var(--gold));
    margin: 10px auto;
    border-radius: 2px;
    animation: underlineShine 3s infinite;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glow {
    from { text-shadow: 0 0 5px rgba(212, 175, 55, 0.5); }
    to { text-shadow: 0 0 15px rgba(212, 175, 55, 0.8); }
}

@keyframes underlineShine {
    0% { opacity: 0.5; width: 50px; }
    50% { opacity: 1; width: 120px; }
    100% { opacity: 0.5; width: 50px; }
}

/* Swiper Cards */
.swiper-outer-wrapper {
    width: 100%;
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

.swiper {
    width: 100%;
    max-width: 320px;
    height: 420px;
    margin: 0 auto;
}

.swiper-slide {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 1.2rem;
    text-align: center;
}

/* Clients Section */
.clients-section {
    padding: 60px 0;
    position: relative;
    padding-bottom: 100px;
    overflow: hidden;
    contain: strict;
}

.clients-track {
    display: flex;
    animation: scroll 30s linear infinite;
    will-change: transform;
    width: max-content;
}

.client-logo {
    height: 80px;
    width: auto;
    margin: 0 40px;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
    object-fit: contain;
    flex-shrink: 0;
}

.client-logo:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.9)) drop-shadow(0 0 30px rgba(212, 175, 55, 0.5));
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.clients-section::before,
.clients-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.clients-section::before {
    left: 0;
    background: linear-gradient(to right, var(--royal-bg) 0%, transparent 100%);
}

.clients-section::after {
    right: 0;
    background: linear-gradient(to left, var(--royal-bg) 0%, transparent 100%);
}

/* Testimonials */
.testimonial-container {
    margin: 40px 0;
}

.testimonial-section {
    padding: 1rem 0;
    overflow: hidden;
}

.testimonial-row {
    overflow: hidden;
    position: relative;
    height: 180px;
    margin-bottom: 2rem;
    will-change: transform;
}

.testimonial-track {
    display: flex;
    gap: 1.5rem;
    height: 100%;
    width: max-content;
}

.left-to-right .testimonial-track {
    animation: scrollRight 40s linear infinite;
}

.right-to-left .testimonial-track {
    animation: scrollLeft 40s linear infinite;
}

.testimonial-card {
    width: 280px;
    height: 180px;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.08), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 1em;
    padding: 1.2rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 215, 0, 0.15), transparent 60%);
    transform: rotate(25deg);
    z-index: 0;
}

.card__logo {
    font-size: 1rem;
    font-weight: bold;
    font-style: italic;
    color: gold;
}

.card__type {
    text-align: right;
    font-size: 1rem;
    color: gold;
}

.card__testimonial {
    font-size: 0.9rem;
    font-style: italic;
    margin: 0.8rem 0;
    line-height: 1.4;
}

.card__name {
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); }
}

@keyframes scrollRight {
    0% { transform: translateX(calc(-50% - 0.75rem)); }
    100% { transform: translateX(0); }
}

/* Tally Button */
.tally-floating-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.tally-popup-button {
    position: relative;
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 204, 0, 0.1));
    backdrop-filter: blur(5px);
    color: #222;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3), inset 0 0 10px rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    z-index: 1;
}

.tally-popup-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9), rgba(255, 204, 0, 0.9));
}

.emoji {
    display: inline-block;
    font-size: 1.8rem;
    margin-right: 12px;
    animation: wave 2s infinite;
    transform-origin: 70% 70%;
}

.button-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    transition: all 0.7s ease;
    z-index: -1;
}

.tally-popup-button:hover .button-shine {
    left: 100%;
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(-10deg); }
    20% { transform: rotate(12deg); }
    30% { transform: rotate(-10deg); }
    40% { transform: rotate(9deg); }
    50%, 100% { transform: rotate(0deg); }
}

/* Footer */
.royal-footer {
    background: #0f0e0e;
    color: var(--ivory);
    padding: 60px 0 0;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    font-family: 'Arial', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    margin-bottom: 30px;
}

/* Replace the existing .footer-logo styles with this: */
.footer-logo {
    height: auto;
    width: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
    object-fit: contain;
}
.footer-description {
    color: #c0c0c0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-title {
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gold);
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
}

.contact-info i {
    color: var(--gold);
    margin-right: 10px;
    margin-top: 3px;
}

.footer-col {
    width: 100%;
    max-width: 400px; /* Adjust as needed */
    margin: auto;
    padding: 1rem;
    box-sizing: border-box;
  }
  
  
  .map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border: 1px solid gold; /* Optional, matches your design */
    border-radius: 10px;     /* Optional for rounded corners */
  }
  
  .map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
  }
  
  
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #c0c0c0;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--gold);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 240, 0.1);
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #c0c0c0;
    font-size: 0.9rem;
    margin: 5px 0;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #c0c0c0;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.legal-links a:hover {
    color: var(--gold);
}

/* Mobile Styles */
@media (max-width: 992px) {
    .royal-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 14, 14, 0.95);
        padding: 15px 20px;
        box-sizing: border-box;
    }

    .royal-nav.active {
        display: block;
    }

    .royal-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .royal-nav a {
        font-size: 0.9rem;
        display: block;
        padding: 8px 0;
    }

    .header-cta {
        display: none;
    }

/* Royal Header Styles */
@media (min-width: 993px) {
    .mobile-menu-btn {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
        background: transparent;
        border: none;
        color: var(--gold);
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    /* Remove the duplicate royal-header styles that appear in your media query */
}


.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-wrapper .logo {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.logo-wrapper .logo:hover {
    transform: scale(1.05);
}

.royal-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.royal-nav a {
    color: #FFFFF0;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.royal-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #D4AF37;
    transition: width 0.3s ease;
}

.royal-nav a:hover:after {
    width: 100%;
}

.royal-nav a:hover {
    color: #D4AF37;
}

.cta-button {
    padding: 10px 25px;
    background: linear-gradient(135deg, #D4AF37, #996515);
    color: #000;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    text-decoration: none;
    border-radius: 30px;
    border: 1px solid #D4AF37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: #D4AF37;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 992px) {
    .royal-nav {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-container {
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    .royal-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 14, 14, 0.95);
        padding: 15px 20px;
        box-sizing: border-box;
    }

    .royal-nav.active {
        display: block;
    }

    .royal-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .royal-nav a {
        font-size: 0.9rem;
        /* Smaller font size for mobile */
        display: block;
        padding: 8px 0;
    }

    .header-container {
        position: relative;
        /* Needed for absolute positioning of nav */
    }
}

    .header-container {
        position: relative;
    }

    .swiper {
        max-width: 280px;
        height: 380px;
    }

    .client-logo {
        height: 60px;
        margin: 0 25px;
    }

    .tally-floating-button {
        bottom: 20px;
        right: 20px;
    }

    .tally-popup-button {
        padding: 18px 18px;
        font-size: 0;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        justify-content: center;
    }

    .button-text {
        display: none;
    }

    .emoji {
        margin-right: 0;
        font-size: 2.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .legal-links {
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .royal-title {
        font-size: 2.5rem;
    }

    #typing-text {
        font-size: 1.2rem;
    }

    .slide-title {
        font-size: 1rem;
    }
}

/* Tally Form Fix */
.tally-embed-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 99999 !important;
    pointer-events: none !important;
    contain: strict !important;
}

.tally-embed-container iframe {
    pointer-events: auto !important;
}

/* Add this to your CSS */
html.tally-showing {
    overflow-x: hidden;
}

.clients-track {
    display: flex;
    gap: 40px;
    animation: scroll-left 40s linear infinite;
    will-change: transform;
  }
  
  @keyframes scroll-left {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  .clients-section {
    overflow: hidden;
    white-space: nowrap;
  }

  
  