
.product-image-frame {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    padding: 8px;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.8), rgba(180, 148, 31, 0.8));
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    transform: rotate(-4deg);
    transition: transform 0.3s ease;
}

.product-image-frame:hover {
    transform: rotate(0deg) scale(1.02);
}

.product-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.frame-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 8px;
    pointer-events: none;
}

.product-image-frame::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.4), rgba(180, 148, 31, 0.4));
    border-radius: 9px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(3px);
}

/* Update product-info styles to accommodate the image */
.product-info {
    flex: 1;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    text-align: center;
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

/* Reset and Base Styles */
:root {
    --gold: #D4AF37;
    --dark-gold: #B4941F;
    --black: #000000;
    --white: #ffffff;
    --gray: #1a1a1a;
    --gradient: linear-gradient(135deg, var(--black) 0%, var(--gray) 100%);
    --font-arabic: 'Noto Kufi Arabic', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    padding: 0;
    background: var(--gradient);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    padding: 1rem;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

/* Logo Container and Animation */
.logo-container {
    flex: 0 0 120px;
    position: relative;
    overflow: hidden;
    padding: 5px;
}

.logo {
    max-width: 100%;
    height: auto;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: logoEntrance 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0));
}

.logo-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: -1;
}

.logo-container:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.logo-container:hover .logo {
    transform: scale(1.08);
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
    70% {
        transform: scale(0.95) rotate(-2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

/* Logo shine effect */
.logo-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(212, 175, 55, 0.2),
        transparent
    );
    transform: skewX(-25deg);
    animation: logoShine 3s infinite;
}

@keyframes logoShine {
    0% {
        left: -100%;
    }
    20%, 100% {
        left: 200%;
    }
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

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

.nav-link:hover {
    color: var(--gold);
}

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

/* Language Button */
.lang-btn {
    background: var(--gold);
    color: var(--black);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
}

/* Hero Section Styles */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: #000;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}





.hero-image {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-img.parallax {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(1.1);
    animation: heroZoom 20s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    will-change: transform;
    filter: brightness(0.8);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
}

/* Hero Content Styles */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    z-index: 2;
    padding: 2rem;
    text-align: center;
}

.hero-text-container {
    padding: 2rem;
    transform: translateY(30px);
    animation: slideUpFade 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-content h1 {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    letter-spacing: 6px;
    text-transform: uppercase;
    opacity: 0;
    background: linear-gradient(45deg, #ffffff 20%, #D4AF37 50%, #ffffff 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.5));
    animation: 
        textReveal 1s ease-out 0.5s forwards,
        gradientMove 8s linear infinite,
        letterSpacing 1s ease-out 0.5s forwards;
    transform: perspective(1000px) rotateX(30deg);
    transform-origin: center;
}

.hero-content p {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--white);
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.5);
    margin-top: 0.8rem;
    opacity: 0;
    animation: textReveal 1s ease-out 1.2s forwards;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.hero-separator {
    width: 100px;
    height: 2px;
    margin: 1.2rem auto;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    animation: separatorReveal 1s ease-out 1.1s forwards;
}

.hero-separator::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes separatorReveal {
    from {
        opacity: 0;
        width: 0;
    }
    to {
        opacity: 1;
        width: 100px;
    }
}

/* Mobile adjustments for separator */
@media (max-width: 768px) {
    .hero-separator {
        width: 70px;
        height: 1.5px;
        margin: 0.8rem auto;
    }

    @keyframes separatorReveal {
        to {
            width: 70px;
        }
    }
}

@media (max-width: 480px) {
    .hero-separator {
        width: 50px;
        height: 1px;
        margin: 0.6rem auto;
    }

    @keyframes separatorReveal {
        to {
            width: 50px;
        }
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-text-container {
        padding: 1rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        letter-spacing: 3px;
        margin-bottom: 0.6rem;
    }

    .hero-content p {
        font-size: 0.75rem;
        letter-spacing: 2px;
        margin-top: 0.6rem;
    }
}

@media (max-width: 480px) {
    .hero-text-container {
        padding: 0.8rem;
    }

    .hero-content h1 {
        font-size: 1.4rem;
        letter-spacing: 2px;
        margin-bottom: 0.5rem;
    }

    .hero-content p {
        font-size: 0.7rem;
        letter-spacing: 1.5px;
        margin-top: 0.5rem;
    }
}

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

@keyframes gradientMove {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes letterSpacing {
    0% {
        letter-spacing: 1px;
        transform: perspective(1000px) rotateX(30deg);
    }
    100% {
        letter-spacing: 3px;
        transform: perspective(1000px) rotateX(0deg);
    }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Section */
.product-section {
    padding: 6rem 2rem;
    margin-top: 2rem;
}

.product-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    align-items: center;
}

#3d-container {
    flex: 1;
    height: 600px;
    position: relative;
    background: radial-gradient(circle at center, rgba(212,175,55,0.1) 0%, transparent 70%);
    border-radius: 20px;
}

.product-info h2 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.product-description {
    margin-bottom: 2rem;
}

.price {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 2rem;
    font-weight: bold;
}

/* Quantity Control */
.quantity-control {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.quantity-btn {
    background: var(--gold);
    color: var(--black);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--dark-gold);
    transform: scale(1.1);
}

.quantity-display {
    font-size: 1.5rem;
    font-weight: bold;
    min-width: 40px;
    text-align: center;
}

/* Form Styles */
.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

input, textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    pointer-events: none;
    background: var(--gray);
    padding: 0 0.5rem;
}

input:focus + label,
input:not(:placeholder-shown) + label,
textarea:focus + label,
textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    font-size: 0.8rem;
    color: var(--gold);
}

.order-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.order-btn:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.95);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
    scroll-margin-top: 80px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-section h3 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.social-links a:hover {
    color: var(--gold);
    transform: translateY(-2px);
    background: rgba(212, 175, 55, 0.1);
    text-decoration: none;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

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

.footer-section ul li a {
    display: block;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    color: var(--white);
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    transform: translateX(5px);
}

.payment-methods {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
    border-radius: 10px;
}

.payment-methods img {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.payment-methods .knet-logo {
    height: 35px;
    filter: none;
    object-fit: contain;
    margin: 0 5px;
}

.payment-methods .apple-pay-icon {
    font-size: 2.8rem;
    color: #fff;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.payment-methods img:hover,
.payment-methods .apple-pay-icon:hover {
    opacity: 1;
    transform: translateY(-2px);
}

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

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.close-menu {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .product-container {
        flex-direction: column;
    }

    #3d-container {
        height: 400px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
        margin-top: 2rem;
    }

    .desktop-only {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: center;
        padding: 4rem 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn,
    .close-menu {
        display: block;
    }

    .nav-links .lang-btn {
        margin-top: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-section ul {
        align-items: center;
    }

    .footer-section ul li {
        width: 100%;
        max-width: 250px;
    }

    .footer-section ul li a {
        padding: 0.8rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        border: 1px solid rgba(212, 175, 55, 0.1);
        color: var(--white);
    }

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

    .hero-section {
        height: 100vh;
        padding-top: 80px;
    }

    .hero-image {
        height: calc(100% - 80px);
        width: 100%;
    }

    .hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .social-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .social-links a {
        font-size: 1.8rem;
        width: 45px;
        height: 45px;
    }

    html {
        scroll-padding-top: 60px;
    }
    
    footer {
        scroll-margin-top: 60px;
    }

    .payment-methods {
        padding: 0.8rem 1.5rem;
        gap: 1.5rem;
    }
    
    .payment-methods img {
        height: 25px;
    }
    
    .payment-methods .knet-logo {
        height: 28px;
    }
    
    .payment-methods .apple-pay-icon {
        font-size: 2.3rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .footer-section ul li {
        max-width: 200px;
    }

    .footer-section ul li a {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    .hero-section {
        height: 100vh;
        padding-top: 80px;
    }

    .hero-image {
        height: calc(100% - 80px);
        width: 100%;
    }

    .hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .payment-methods {
        padding: 0.6rem 1rem;
        gap: 1.2rem;
    }
    
    .payment-methods img {
        height: 20px;
    }
    
    .payment-methods .knet-logo {
        height: 25px;
    }
    
    .payment-methods .apple-pay-icon {
        font-size: 2rem;
    }
}

/* Background Canvas */
canvas {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

/* Add these new styles */
.error-message {
    display: none;
    color: #ff4444;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    position: absolute;
    bottom: -20px;
    left: 0;
}

input:invalid:not(:placeholder-shown) {
    border-color: #ff4444;
}

input:invalid:not(:placeholder-shown) + label {
    color: #ff4444;
}

input:invalid:not(:placeholder-shown) ~ .error-message {
    display: block;
}

/* Make the input accept only numbers */
input[type="tel"]::-webkit-outer-spin-button,
input[type="tel"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="tel"] {
    -moz-appearance: textfield;
}

/* Add Arabic font to all Arabic elements */
.ar {
    font-family: var(--font-arabic);
}

/* Specific adjustments for Arabic text */
.hero-content h1.ar {
    letter-spacing: 0; /* Remove letter spacing for Arabic */
}

.nav-link.ar {
    letter-spacing: 0;
}

/* Adjust Arabic text in buttons */
.lang-btn,
.order-btn .ar {
    font-family: var(--font-arabic);
}

/* Form labels in Arabic */
label.ar {
    font-family: var(--font-arabic);
}

/* Error messages in Arabic */
.error-message.ar {
    font-family: var(--font-arabic);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    width: 80%;
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: modalFade 0.3s ease-in-out;
}

@keyframes modalFade {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 24px;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: #D4AF37;
}

.modal-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.modal-image {
    text-align: center;
}

.modal-logo {
    max-width: 200px;
    height: auto;
}

.modal-text {
    color: #444;
    line-height: 1.6;
}

.modal-text p {
    margin-bottom: 15px;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-logo {
        max-width: 150px;
    }
}

[dir="rtl"] .close-modal {
    right: auto;
    left: 20px;
}

[dir="rtl"] .modal-text {
    text-align: right;
}

/* Email Link Styles */
.email-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 1rem;
}

.email-link {
    color: var(--gold);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.email-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.email-link:hover {
    color: var(--dark-gold);
}

.email-link:hover::after {
    width: 100%;
}

/* Add a transition effect when the contact section is scrolled to */
#contact-section {
    scroll-margin-top: 100px;
    transition: all 0.3s ease;
}

/* Payment Success Page Styles */
.success-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--gradient);
}

.success-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.success-icon {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease-out;
}

.success-title {
    color: var(--gold);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.5s ease-out 0.2s both;
}

.success-message {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.5s ease-out 0.4s both;
}

.order-details-container {
    margin: 2rem 0;
    animation: fadeInUp 0.5s ease-out 0.6s both;
}

.order-details {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.order-detail-item:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(5px);
}

.order-detail-item i {
    color: var(--gold);
    font-size: 1.5rem;
    width: 30px;
}

.detail-content {
    flex: 1;
    text-align: left;
}

.detail-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.detail-value {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
}

.test-payment {
    border: 1px dashed rgba(212, 175, 55, 0.3);
}

.return-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold);
    color: var(--black);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease-out 0.8s both;
}

.return-btn:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .success-content {
        padding: 2rem;
    }

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

    .success-message {
        font-size: 1rem;
    }
}

/* Policy Modal Specific Styles */
.policy-modal .modal-content {
    max-width: 700px;
    max-height: 90vh; /* Limit height to 90% of viewport height */
    background: rgba(0, 0, 0, 0.95);
    color: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    flex-direction: column; /* Enable content scrolling */
    margin: 2rem auto; /* Reduced top margin */
}

.policy-modal .modal-header {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 1.5rem 2rem;
    flex-shrink: 0; /* Prevent header from shrinking */
}

.policy-modal .modal-header h2 {
    color: var(--gold);
    font-size: 1.8rem;
}

.policy-content {
    padding: 2rem;
    overflow-y: auto; /* Enable scrolling */
    flex-grow: 1; /* Allow content to grow */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.policy-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.policy-section:hover {
    background: rgba(212, 175, 55, 0.05);
    transform: translateX(5px);
}

.policy-section h3 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.policy-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.policy-link {
    position: relative;
    padding-left: 0;
    display: inline-block;
    transition: all 0.3s ease;
}

.policy-link::before {
    display: none;
}

.policy-link:hover {
    color: var(--gold);
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .policy-link {
        padding-left: 1.8rem;
    }

    .policy-link::before {
        display: block;
        content: '\f05a';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        left: 0.3rem;
        color: var(--gold);
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.3s ease;
    }

    .policy-link:hover::before {
        opacity: 1;
        transform: translateX(0);
    }
}

/* About Modal Specific Styles */
.about-modal .modal-content {
    max-width: 900px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.95));
    color: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.about-content {
    padding: 0;
    max-height: 85vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) rgba(0, 0, 0, 0.2);
}

.about-content::-webkit-scrollbar {
    width: 8px;
}

.about-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.about-content::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

.about-hero {
    background: rgba(0, 0, 0, 0.8);
    padding: 3rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    display: none;
}

.about-hero .modal-logo {
    max-width: 160px;
    margin-bottom: 2rem;
    filter: none;
    transition: transform 0.3s ease;
}

.about-hero .modal-logo:hover {
    transform: scale(1.05);
}

.about-tagline {
    color: var(--gold);
}

.about-tagline h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--gold), var(--dark-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.about-tagline p {
    font-size: 1.1rem;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(212, 175, 55, 0.8);
}

.about-sections {
    padding: 2.5rem;
    display: grid;
    gap: 2rem;
}

.about-section {
    display: flex;
    gap: 1.8rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    transition: all 0.4s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.about-section:hover {
    background: rgba(212, 175, 55, 0.05);
    transform: translateX(10px);
    border-color: rgba(212, 175, 55, 0.2);
}

.section-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--gold), var(--dark-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--black);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.about-section:hover .section-icon {
    transform: scale(1.1) rotate(5deg);
}

.section-content {
    flex: 1;
}

.section-content h3 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.section-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Responsive Styles for About Modal */
@media (max-width: 768px) {
    .about-modal .modal-content {
        width: 95%;
        margin: 1rem auto;
    }

    .about-hero {
        padding: 2rem 1rem;
    }

    .about-hero .modal-logo {
        max-width: 120px;
        margin-bottom: 1.5rem;
    }

    .about-tagline h2 {
        font-size: 1.8rem;
    }

    .about-tagline p {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .about-sections {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .about-section {
        padding: 1.5rem;
        gap: 1.2rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .section-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .section-content h3 {
        font-size: 1.3rem;
    }

    .section-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 1.5rem 1rem;
    }

    .about-tagline h2 {
        font-size: 1.5rem;
    }

    .about-tagline p {
        font-size: 0.8rem;
    }

    .about-sections {
        padding: 1rem;
    }

    .about-section {
        padding: 1.2rem;
    }

    .section-content h3 {
        font-size: 1.2rem;
    }

    .section-content p {
        font-size: 0.95rem;
    }
}

@keyframes heroZoom {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
    }
}