:root {
    --gold-primary: #D4AF37;
    --gold-secondary: #FFD700;
    --gold-dark: #B8860B;
    --gold-light: #FFF8DC;
    --dark-bg: #1a1a1a;
    --dark-text: #f5f5f5;
    --light-bg: #ffffff;
    --light-text: #333333;
    --accent: #C9A961;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--light-text);
    background: var(--light-bg);
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2d2d2d 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--gold-primary);
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(30deg);
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--light-bg);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover {
    color: var(--gold-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: width 0.3s;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2d2d2d 100%);
    padding: 3rem 2rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23D4AF37" opacity="0.1"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Hero Title */
.hero-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 0.25rem;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

/* Hero Tagline */
.hero-tagline {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.8rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    letter-spacing: 0.4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    position: relative;
}

.hero-tagline::after {
    content: '';
    display: block;
    width: 120px;
    height: 3px;
    margin: 0.9rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

@media (max-width: 768px) {
    .hero {
        padding: 2.2rem 1.5rem 1.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 0.18rem;
        margin-bottom: 0.5rem;
    }

    .hero-tagline {
        font-size: 1rem;
        margin-bottom: 1.4rem;
        padding: 0 1.5rem;
    }
}


/* Gold Price Display - Professional Design */
.gold-price-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    max-width: 900px;
    position: relative;
}

.gold-price-container {
    position: relative;
    width: 100%;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(250, 250, 250, 0.98) 50%,
        rgba(255, 255, 255, 0.95) 100%);
    padding: 2rem 2.5rem 3.5rem;
    border-radius: 24px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(212, 175, 55, 0.1);
    color: var(--dark-bg);
    overflow: visible;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.gold-price-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    border-radius: 20px;
    pointer-events: none;
}

.gold-price-inner {
    position: relative;
    z-index: 2;
}

.gold-price-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.gold-icon {
    font-size: 2rem;
    animation: goldRotate 3s ease-in-out infinite;
}

@keyframes goldRotate {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(5deg) scale(1.1); }
}

.gold-price-title {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.95;
}

/* Price Rows */
.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    gap: 1rem;
    flex-wrap: nowrap;
}

.price-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
    gap: 0.3rem;
}

.price-item .price-label {
    font-size: 0.8rem;
    margin-bottom: 0;
}

.price-item .gold-price-value,
.price-item .price-value {
    width: 100%;
    text-align: left;
    line-height: 1.2;
}

.price-separator {
    color: rgba(0, 0, 0, 0.3);
    font-weight: bold;
    padding: 0 0.8rem;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.price-row:hover {
    background: rgba(0, 0, 0, 0.15);
    transform: translateX(5px);
}

.clickable-price {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable-price:hover {
    opacity: 0.9;
}

.clickable-price .price-item {
    width: 100%;
}

.price-label {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    flex-shrink: 0;
}

.price-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.9);
    white-space: nowrap;
    text-align: right;
}

.gold-price-value {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
    white-space: nowrap;
    text-align: right;
}

.usd-price {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.usd-price .gold-price-value {
    font-size: 1.6rem;
}

/* AED Prices Container */
.aed-prices {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0.8rem 0;
}

.buy-price {
    background: linear-gradient(135deg, rgba(0, 200, 0, 0.2), rgba(0, 150, 0, 0.15));
    border-left: 4px solid #00cc00;
}

.buy-price:hover {
    border-left-width: 6px;
    box-shadow: 0 5px 15px rgba(0, 200, 0, 0.3);
}

.sell-price {
    background: linear-gradient(135deg, rgba(200, 0, 0, 0.2), rgba(150, 0, 0, 0.15));
    border-left: 4px solid #cc0000;
}

.sell-price:hover {
    border-left-width: 6px;
    box-shadow: 0 5px 15px rgba(200, 0, 0, 0.3);
}

.buy-price .price-value {
    color: #00cc00;
    text-shadow: 0 2px 4px rgba(0, 200, 0, 0.3);
}

.sell-price .price-value {
    color: #cc0000;
    text-shadow: 0 2px 4px rgba(200, 0, 0, 0.3);
}

.gold-price-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 0.5rem;
}

.gold-price-update {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    opacity: 0.85;
}

.update-icon {
    animation: rotateIcon 2s linear infinite;
}

@keyframes rotateIcon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.price-status {
    margin-top: 0.6rem;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    animation: pulseDot 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
}

@keyframes pulseDot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

/* Partner Logos - Positioned below price box */
.partner-logos {
    position: absolute;
    bottom: -104px; /* 80% outside, 20% inside for 130px logo height */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    justify-content: center;
    z-index: 10;
    width: 100%;
    padding: 0 1.5rem;
}

.partner-logo-item {
    width: 130px;
    height: 130px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 0 0 2px rgba(212, 175, 55, 0.4),
        inset 0 2px 10px rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(212, 175, 55, 0.5);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    transform: translateY(50px) scale(0.6) rotate(-10deg);
    animation: logoSlideUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    position: relative;
    visibility: hidden;
}

.partner-logo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-logo-item:hover::before {
    opacity: 1;
}

.partner-logo-item:hover {
    transform: translateY(-15px) scale(1.08) rotate(2deg);
    box-shadow: 
        0 15px 40px rgba(212, 175, 55, 0.5),
        0 0 0 3px rgba(212, 175, 55, 0.7),
        inset 0 2px 15px rgba(255, 255, 255, 0.8);
    border-color: var(--gold-primary);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
}

.partner-logo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1) contrast(1.1);
    transition: filter 0.3s ease;
}

.partner-logo-item:hover img {
    filter: brightness(1.1) contrast(1.2);
}

/* Staggered Animation for Logos - One by one appearance */
.logo-1 {
    animation-delay: 0.3s;
    visibility: visible;
}

.logo-2 {
    animation-delay: 0.6s;
    visibility: visible;
}

.logo-3 {
    animation-delay: 0.9s;
    visibility: visible;
}

@keyframes logoSlideUp {
    0% {
        opacity: 0;
        visibility: visible;
        transform: translateY(50px) scale(0.6) rotate(-10deg);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-5px) scale(1.1) rotate(3deg);
    }
    100% {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

/* Pulse Animation for Gold Price Container */
@keyframes goldPulse {
    0%, 100% {
        box-shadow: 
            0 15px 50px rgba(212, 175, 55, 0.35),
            0 0 0 1px rgba(255, 255, 255, 0.1) inset,
            0 0 30px rgba(212, 175, 55, 0.25);
    }
    50% {
        box-shadow: 
            0 18px 55px rgba(212, 175, 55, 0.5),
            0 0 0 1px rgba(255, 255, 255, 0.15) inset,
            0 0 40px rgba(212, 175, 55, 0.35);
    }
}

.gold-price-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.gold-price-value {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.gold-price-unit {
    font-size: 1rem;
    opacity: 0.9;
}

.gold-price-update {
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0.8;
}

.price-change {
    display: inline-block;
    margin-left: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.price-up {
    background: rgba(0, 255, 0, 0.2);
    color: #00aa00;
}

.price-down {
    background: rgba(255, 0, 0, 0.2);
    color: #aa0000;
}

/* Sections */
.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-bg);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
    border-radius: 2px;
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--light-bg);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--gold-primary);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    border-radius: 8px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.card p {
    color: var(--light-text);
    line-height: 1.8;
}

/* Services Section */
.services {
    background: var(--gold-light);
    padding: 4rem 2rem;
}

.service-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: center;
}

.service-item:nth-child(even) {
    flex-direction: row-reverse;
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.service-content p {
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.service-image {
    flex: 1;
    height: 300px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--dark-bg);
    opacity: 0.8;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.service-image:hover img {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--light-bg);
    padding: 3rem 2rem 1rem;
}

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

.footer-section h4 {
    color: var(--gold-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--light-bg);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--gold-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
}

.btn-outline:hover {
    background: var(--gold-primary);
    color: var(--dark-bg);
}

/* Page Content */
.page-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--dark-bg);
    text-align: center;
}

.page-content h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
    border-left: 4px solid var(--gold-primary);
    padding-left: 1rem;
}

.page-content h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--dark-bg);
}

.page-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--light-text);
}

.page-content ul, .page-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.page-content li {
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-page h1 {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.contact-subtitle {
    font-size: 1rem;
    color: var(--light-text);
    opacity: 0.9;
    line-height: 1.7;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
    gap: 2rem;
    align-items: flex-start;
}

.card-elevated {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.contact-form-title {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
    color: var(--dark-bg);
}

.contact-form-subtitle {
    font-size: 0.95rem;
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--dark-bg);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: inherit;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.primary-btn.full-width {
    width: 100%;
    text-align: center;
}

.contact-side {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(250,250,250,0.98));
    border-radius: 14px;
    padding: 1.4rem 1.6rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}

.contact-card-icon {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
    color: var(--gold-primary);
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--dark-bg);
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--light-text);
    line-height: 1.6;
}

.business-hours {
    list-style: none;
    padding: 0;
    margin: 0.3rem 0 0;
}

.business-hours li {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 0.25rem;
}

.business-hours strong {
    color: var(--dark-bg);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

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

    .mobile-menu-toggle {
        display: block;
    }

    .logo-img {
        height: 40px;
    }

    .logo span {
        font-size: 1.2rem;
    }

    .hero-partner-logos {
        gap: 0.6rem;
        padding: 0 0.5rem;
        flex-wrap: nowrap;
        justify-content: center;
        bottom: -15px; /* 80% outside, 20% inside for ~75px logo height */
    }

    .gold-price-wrapper {
        max-width: 95%;
    }

    .gold-price-container {
        padding: 1rem 1.2rem 2.2rem;
        border-radius: 18px;
    }
    
    .gold-price-wrapper {
        max-width: 95%;
    }

    .gold-price-value {
        font-size: 2rem;
    }

    .usd-price .gold-price-value {
        font-size: 1.8rem;
    }

    .price-row {
        padding: 0.6rem 0.8rem;
        margin-bottom: 0.8rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .price-row > div:not(.price-separator) {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .price-separator {
        display: none;
    }

    .price-value {
        font-size: 1rem;
    }

    .aed-prices {
        gap: 0.6rem;
        margin: 1rem 0;
    }

    .partner-logos {
        bottom: -45px;
        gap: 0.6rem;
        padding: 0 0.5rem;
        flex-wrap: nowrap;
        justify-content: center;
        width: calc(100% - 1rem);
    }

    .partner-logo-item {
        width: 75px;
        height: 75px;
        padding: 0.6rem;
        flex-shrink: 0;
    }

    .gold-price-value {
        font-size: 2rem;
    }

    .service-item {
        flex-direction: column !important;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-logo {
        height: 50px;
    }

    /* Purchase Page Mobile Responsive */
    .purchase-container {
        padding: 0 1rem;
        margin: 1rem auto;
    }

    .purchase-header {
        margin-bottom: 1.5rem;
    }

    .purchase-header h1 {
        font-size: 1.8rem;
    }

    .purchase-subtitle {
        font-size: 0.9rem;
    }

    .purchase-wrapper {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .order-summary {
        position: static !important;
        margin-bottom: 1.5rem;
        padding: 1.3rem;
    }

    .order-summary h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .summary-item {
        margin-bottom: 0.7rem;
        padding-bottom: 0.7rem;
    }

    .summary-label,
    .summary-value {
        font-size: 0.85rem;
    }

    .total-amount {
        font-size: 1.2rem;
    }

    .purchase-form-container {
        padding: 1.5rem;
    }

    .purchase-form .form-row {
        grid-template-columns: 1fr !important;
        gap: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .form-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1.2rem;
    }

    .section-title {
        font-size: 1rem;
        margin-bottom: 0.9rem;
        padding-bottom: 0.5rem;
    }

    .section-icon {
        font-size: 1.1rem;
    }

    .purchase-form .form-group {
        margin-bottom: 0.9rem;
        width: 100%;
        box-sizing: border-box;
    }

    .purchase-form .form-group:last-child {
        margin-bottom: 0;
    }

    .purchase-form .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.35rem;
    }

    .purchase-form .form-group input[type="number"],
    .purchase-form .form-group input[type="tel"],
    .purchase-form .form-group input[type="email"],
    .purchase-form .form-group input[type="text"],
    .purchase-form .form-group select,
    .purchase-form .form-group textarea {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0.65rem 0.85rem;
        font-size: 0.9rem;
        box-sizing: border-box;
        margin: 0;
    }

    .card-input-wrapper {
        width: 100%;
        box-sizing: border-box;
    }

    .card-input-wrapper input {
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 2.5rem;
        box-sizing: border-box;
    }

    .checkbox-group {
        margin-bottom: 0.7rem;
    }

    .checkbox-group label {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .form-actions {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }

    .btn-submit,
    .btn-cancel {
        width: 100% !important;
        font-size: 0.95rem;
        padding: 0.85rem 1rem;
    }
}

@media (max-width: 480px) {
    .purchase-container {
        padding: 0 0.9rem;
        margin: 0.8rem auto;
    }

    .purchase-header {
        margin-bottom: 1.2rem;
    }

    .purchase-header h1 {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }

    .purchase-subtitle {
        font-size: 0.85rem;
    }

    .purchase-wrapper {
        gap: 1.2rem;
    }

    .order-summary {
        padding: 1.1rem;
        margin-bottom: 1.2rem;
    }

    .order-summary h2 {
        font-size: 1.1rem;
        margin-bottom: 0.9rem;
    }

    .summary-item {
        margin-bottom: 0.6rem;
        padding-bottom: 0.6rem;
    }

    .summary-label,
    .summary-value {
        font-size: 0.8rem;
    }

    .summary-total {
        margin-top: 0.6rem;
        padding-top: 0.6rem;
    }

    .total-amount {
        font-size: 1.1rem;
    }

    .purchase-form-container {
        padding: 1.2rem;
    }

    .purchase-form .form-row {
        gap: 0.7rem;
        margin-bottom: 0.7rem;
    }

    .form-section {
        margin-bottom: 1.3rem;
        padding-bottom: 1rem;
    }

    .section-title {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
        padding-bottom: 0.45rem;
    }

    .section-icon {
        font-size: 1rem;
    }

    .purchase-form .form-group {
        margin-bottom: 0.8rem;
    }

    .purchase-form .form-group label {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .purchase-form .form-group input[type="number"],
    .purchase-form .form-group input[type="tel"],
    .purchase-form .form-group input[type="email"],
    .purchase-form .form-group input[type="text"],
    .purchase-form .form-group select,
    .purchase-form .form-group textarea {
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
    }

    .card-input-wrapper input {
        padding-right: 2.3rem;
    }

    .card-input-wrapper .card-icon {
        right: 0.75rem;
        font-size: 1.1rem;
    }

    .checkbox-group {
        margin-bottom: 0.6rem;
        gap: 0.5rem;
    }

    .checkbox-group input[type="checkbox"] {
        width: 16px;
        height: 16px;
        margin-top: 0.15rem;
    }

    .checkbox-group label {
        font-size: 0.8rem;
    }

    .form-actions {
        margin-top: 1.2rem;
        gap: 0.7rem;
    }

    .btn-submit,
    .btn-cancel {
        font-size: 0.9rem;
        padding: 0.75rem 0.9rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top-color: var(--gold-primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Purchase Page Styles */
.purchase-container {
    max-width: 1100px;
    margin: 1.5rem auto;
    padding: 0 2rem;
    box-sizing: border-box;
    width: 100%;
}

.purchase-header {
    text-align: center;
    margin-bottom: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.purchase-header h1 {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.4rem;
}

.purchase-subtitle {
    font-size: 0.95rem;
    color: var(--light-text);
    opacity: 0.8;
}

.purchase-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1.5rem;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

.order-summary {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    color: var(--dark-bg);
    position: sticky;
    top: 100px;
    width: 100%;
    box-sizing: border-box;
}

.order-summary h2 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: var(--dark-bg);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.summary-label {
    font-weight: 600;
    opacity: 0.9;
    font-size: 0.9rem;
}

.summary-value {
    font-weight: 700;
    text-align: right;
    font-size: 0.9rem;
}

.summary-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.2);
    margin: 0.8rem 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 2px solid rgba(0, 0, 0, 0.3);
}

.total-amount {
    font-size: 1.3rem;
    font-weight: 800;
}

.purchase-form-container {
    background: var(--light-bg);
    padding: 1.8rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
    box-sizing: border-box;
}

.purchase-form {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.form-section {
    margin-bottom: 1.8rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gold-light);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.1rem;
    color: var(--dark-bg);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--gold-primary);
}

.section-icon {
    font-size: 1.2rem;
}

.purchase-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.purchase-form .form-group {
    margin-bottom: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.purchase-form .form-group:last-child {
    margin-bottom: 0;
}

.purchase-form .form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--dark-bg);
    font-weight: 600;
    font-size: 0.85rem;
    width: 100%;
    box-sizing: border-box;
}

.purchase-form .form-group input[type="number"],
.purchase-form .form-group input[type="tel"],
.purchase-form .form-group input[type="email"],
.purchase-form .form-group input[type="text"],
.purchase-form .form-group select,
.purchase-form .form-group textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.7rem 0.9rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: var(--light-bg);
    box-sizing: border-box;
    margin: 0;
}

.purchase-form .form-group input:focus,
.purchase-form .form-group select:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.purchase-form .form-group input::placeholder {
    color: #999;
}

.card-input-wrapper {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.card-input-wrapper input {
    width: 100%;
    max-width: 100%;
    padding-right: 3rem;
    box-sizing: border-box;
}

.card-input-wrapper .card-icon {
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    pointer-events: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--gold-primary);
    flex-shrink: 0;
}

.checkbox-group label {
    color: var(--light-text);
    line-height: 1.5;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-group a {
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--gold-light);
}

.btn-submit {
    flex: 1;
    padding: 0.9rem 1.8rem;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: var(--dark-bg);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-icon {
    font-size: 1.1rem;
}

.btn-cancel {
    padding: 0.9rem 1.8rem;
    background: transparent;
    color: var(--light-text);
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.btn-cancel:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

