/* Main Page Styles */
body {
    min-height: 100vh;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #e9e9e9;
    line-height: 1.5;
}

.banner-title{
    color: #fff;
    font-size: 60px;
}

.main-container {
    margin: 20px auto;
    max-width: 1200px;
}

.display-4 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Header Navbar Styles */
.custom-navbar {
    background: linear-gradient(135deg, #0057b6, #0078f9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 6px 0;
}

.navbar-brand img {
    width: 199px;
    max-width: 100%;
}

.blinking-dot{
        display: inline-block;
        animation: blink 1s infinite;
}
    
.live-text {
    color:#fff;
    font-weight: bold;
}
    
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.logo-icon {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1e3c72;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.live-game-animation {
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: 600;
}

.live-dot {
    width: 12px;
    height: 12px;
    background: red;
    border-radius: 50%;
    margin-right: 10px;
    animation: live-pulse 2s infinite;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
}

@keyframes live-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
    }

    50% {
        transform: scale(1.2);
        box-shadow: 0 0 20px rgba(40, 167, 69, 0.8);
    }
}

.live-text {
    font-size: 16px;
    margin-right: 10px;
    color: #fff;
    font-weight: 700;
}


.main-container {
    margin: 40px auto;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.display-4 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.live-indicator {
    color: white;
    padding: 12px 25px;
    font-weight: 600;
    display: inline-block;
    font-size: 30px;
}

/* Footer Styles */
.custom-footer {
    background: linear-gradient(181deg, #303132, #040404);
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-logo img {
    width: 350px;
    max-width: 100%;
}

.footer-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.9;
}

.social-links {
    margin: 30px 0;
}

.social-link {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 10px;
    text-align: center;
    line-height: 50px;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: #ffd700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.copyright-section {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}

.developer-info {
    margin-top: 10px;
    font-size: 13px;
    opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 24px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
        margin-right: 10px;
    }

    .live-text {
        font-size: 14px;
    }

    .game-card {
        width: 25px;
        height: 18px;
    }

    .footer-logo {
        font-size: 28px;
    }

    .footer-logo .logo-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-right: 10px;
    }

    .social-link {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 18px;
        margin: 0 8px;
    }
}

.about-royalfatafat {
    background: linear-gradient(135deg, #ca618b, #555fbc);
    color: white;
    font-weight: 100;
}

.current-date {
    text-align: center;
    background: linear-gradient(135deg, #007bff, #0056b3);
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
    padding: 10px;
    border-radius: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.result-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.result-table table {
    margin: 0;
}

.result-table th {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    font-weight: 700;
    text-align: center;
    padding: 15px 10px;
    border: none;
    font-size: 14px;
}

.result-table th:first-child,
.result-table th:last-child {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.number-cell {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1565c0;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    padding: 20px 10px;
    transition: all 0.3s ease;
}

.number-cell:hover {
    background: linear-gradient(135deg, #bbdefb, #90caf9);
    transform: scale(1.05);
}

.loading {
     display: none;
     position: fixed;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     z-index: 9999;
 }

 .spinner {
     width: 40px;
     height: 40px;
    border: 6px solid rgb(203 202 199 / 30%);
    border-top: 6px solid #52524f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 10px auto;
 }

 @keyframes spin {
     0% {
         transform: rotate(0deg);
     }

     100% {
         transform: rotate(360deg);
     }
 }

 .scroll-btn {
    position: fixed;
    right: 10px;
    bottom: 15px;
    padding: 15px 25px;
}

.bonus-cell {
    background: linear-gradient(135deg, #fce4ec, #f8bbd9);
    color: #ad1457;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    padding: 15px 10px;
    transition: all 0.3s ease;
}

.bonus-cell:hover {
    background: linear-gradient(135deg, #f8bbd9, #f48fb1);
    transform: scale(1.05);
}

.tips-cell {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    color: #6a1b9a;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    padding: 20px 10px;
    font-style: italic;
}

.result-updated {
    animation: result-highlight 2s ease-in-out;
}

@keyframes result-highlight {

    0%,
    100% {
        background: inherit;
    }

    50% {
        background: linear-gradient(135deg, #28a745, #20c997);
        color: white;
    }
}

.refresh-btn {
    background: linear-gradient(179deg, #0073ee, #01346a);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

.refresh-btn:hover {
    background: linear-gradient(179deg, #01346a, #0073ee);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 162, 184, 0.4);
    color: #fff;
}

.refresh-btn:disabled {
    opacity: 1;
    cursor: not-allowed;
    transform: none;
    color: #fff;
}

.previous-results {
    border-radius: 12px;
    padding: 30px 0px;
    margin-top: 40px;
}

.previous-results h3 {
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    font-size: 30px;
}

.previous-date-header {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    padding: 12px 20px;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0;
}

.previous-table {
    margin-bottom: 25px;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.previous-table td {
    text-align: center;
    font-weight: 600;
    padding: 12px 8px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
}

.previous-table tr:first-child td {
    background: linear-gradient(135deg, #e9ecef, #d6d8db);
    color: #495057;
    font-size: 16px;
}

.previous-table tr:last-child td {
    background: linear-gradient(135deg, #fff5f5, #fed7d7);
    color: #c53030;
    font-size: 14px;
}

.previous-result-item {
    margin-bottom: 25px;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
}

.previous-result-item.show {
    opacity: 1;
    transform: translateY(0);
}

#previousResults .current-date {
    background: #646464;
    color: #fff;
}

 .label-section {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 15px 20px;
            border: 2px solid #333;
            border-radius: 8px;
            max-width: 800px;
            margin: 20px auto;
        }

        .label-text {
            flex: 1;
        }

        .label-text h3 {
            font-size: 20px;
            color: #333;
            margin-bottom: 5px;
        }

        .label-text p {
            font-size: 14px;
            color: #666;
        }

        .click-btns {
            background: linear-gradient(180deg, #cf2939, #5e0009);
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
            color: white;
            border: none;
            padding: 12px 30px;
            font-size: 16px;
            font-weight: bold;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-left: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            text-decoration: none;
        }
        
        .click-btns.banner--cta {
            background: linear-gradient(135deg, #0057b6, #0078f9);
            width: 80%;
            margin: auto;
        }

        .click-btns:hover {
            background: linear-gradient(179deg, #0073ee, #01346a);
            transform: scale(1.03);
        }

        .click-btns:active {
            transform: scale(0.98);
        }

        /* Mobile Responsive */
        @media (max-width: 600px) {
            .label-section {
                flex-direction: column;
                text-align: center;
            }

            .click-btns {
                margin-left: 0;
                margin-top: 15px;
                width: 100%;
            }
        }

/*#previousResults .number-cell {*/
/*    background: linear-gradient(135deg, #ffffff, #dbd2d2);*/
/*}*/

/*#previousResults .bonus-cell {*/
/*    background: linear-gradient(135deg, #b7b4b4, #858181);*/
/*}*/

/* Time-based display styles - Yeh CSS aapki main style.css file mein add karna */
/* Enhanced CSS for Lottery System - Position Status Indicators */

/* Original styles remain the same, add these new classes */

/* Position Status Styling */
.time-locked {
    background-color: #f8f9fa !important;
    color: #000000 !important;
    cursor: help;
    font-size: 30px;
    /* animation: pulse-locked 2s infinite ease-in-out; */
}

.coming-soon {
    background: linear-gradient(135deg, #fb6472, #c82333) !important;
    color: #ffffff !important;
    font-weight: bold;
    animation: pulse-coming-soon 1.5s infinite ease-in-out;
    cursor: help;
    font-size: 16px;
}

.number-highlight {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    color: white !important;
    font-weight: bold;
    /* animation: highlight-glow 2s infinite ease-in-out; */
}

.bonus-highlight {
    background: linear-gradient(135deg, #007bff, #6610f2) !important;
    color: white !important;
    font-weight: bold;
    animation: bonus-glow 2s infinite ease-in-out;
}

.pending-result {
    background: linear-gradient(135deg, #dc3545, #fd7e14) !important;
    color: white !important;
    font-weight: bold;
    animation: pending-blink 1.5s infinite ease-in-out;
}

/* Countdown Status */
.countdown-urgent {
    color: #dc3545 !important;
    font-weight: bold;
    animation: urgent-pulse 1s infinite ease-in-out;
}

.drawing-now {
    color: #28a745 !important;
    font-weight: bold;
    animation: drawing-flash 0.5s infinite ease-in-out;
}

/* Animations */
@keyframes pulse-locked {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes pulse-coming-soon {
    0%, 100% { transform: scale(1); box-shadow: 0 0 5px rgba(255, 193, 7, 0.5); }
    50% { transform: scale(1.1); box-shadow: 0 0 15px rgba(255, 193, 7, 0.8); }
}

@keyframes highlight-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(40, 167, 69, 0.5); }
    50% { box-shadow: 0 0 20px rgba(40, 167, 69, 1); }
}

@keyframes bonus-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 123, 255, 0.5); }
    50% { box-shadow: 0 0 20px rgba(0, 123, 255, 1); }
}

@keyframes pending-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes urgent-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes drawing-flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Tooltip enhancements */
.number-cell[title]:hover,
.bonus-cell[title]:hover {
    position: relative;
    z-index: 10;
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Flash message animation */
.flash-message.flash-update {
    animation: flash-update 1s ease-in-out;
}

@keyframes flash-update {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); background-color: #fff3cd; }
    100% { transform: scale(1); }
}

/* Mobile responsiveness for status indicators */
@media (max-width: 768px) {
    .time-locked,
    .coming-soon {
        font-size: 14px;
        padding: 8px 4px;
    }
}

/* Date transition indicator */
.date-transitioning {
    animation: date-change 3s ease-in-out;
}

@keyframes date-change {
    0% { background-color: transparent; }
    50% { background-color: rgba(40, 167, 69, 0.1); }
    100% { background-color: transparent; }
}

/* Animation for newly unlocked positions */
@keyframes unlock-animation {
    0% {
        background-color: #d4edda;
        transform: scale(1.05);
    }

    50% {
        background-color: #c3e6cb;
        transform: scale(1.02);
    }

    100% {
        background-color: transparent;
        transform: scale(1);
    }
}

.newly-unlocked {
    animation: unlock-animation 2s ease-in-out;
}

/* Time indicator in table header */
.time-status {
    font-size: 0.8em;
    opacity: 0.7;
}

.time-status.active {
    color: #28a745;
    font-weight: bold;
}

.time-status.upcoming {
    color: #ffc107;
}

.time-status.passed {
    color: #6c757d;
}

/* Mobile responsiveness for time-locked cells */
@media (max-width: 768px) {
    .time-locked::before {
        font-size: 0.7em;
    }

    .time-locked[title]:hover::after {
        font-size: 10px;
        padding: 6px 8px;
    }
}

/* Loading animation for refreshing results */
.position-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 2s infinite;
}

@keyframes loading-shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Status indicator styles */
.position-status {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-left: 5px;
}

.position-status.available {
    background-color: #28a745;
}

.position-status.locked {
    background-color: #dc3545;
}

.position-status.pending {
    background-color: #ffc107;
}

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: .5;
}

.floating-card {
    position: absolute;
    width: 40px;
    height: 60px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: floatCard 15s infinite linear;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.floating-ball {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    animation: floatBall 12s infinite linear;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.floating-card.red {
    color: #e74c3c;
}

.floating-card.black {
    color: #2c3e50;
}

.floating-ball.gold {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
}

.floating-ball.silver {
    background: linear-gradient(45deg, #c0c0c0, #e8e8e8);
    color: #333;
}

.floating-ball.bronze {
    background: linear-gradient(45deg, #cd7f32, #daa520);
}

@keyframes floatCard {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatBall {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
        transform: translateY(calc(100vh - 50px)) scale(1);
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-50px) scale(0);
        opacity: 0;
    }
}

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-1px);
}

.btn-outline-primary {
    border: 2px solid #007bff;
    color: #007bff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #007bff;
    color: white;
    transform: translateY(-1px);
}

.accordion {
    max-width: 900px;
    margin: 18px auto;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, 'Noto Sans', sans-serif;
}

.accordion-title {
    font-size: 28px;
    margin: 0 0 10px;
    padding: 0 12px;
    color: #8b8b8b;
}

.accordion-item {
    border-top: 1px solid #9ca3af;
    /* gray border */
}

.accordion-button {
    width: 100%;
    text-align: left;
    padding: 14px 16px;
    background: #e9e9e9 !important;
    border: 0;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #374151;
    /* gray text */
}

.accordion-button:hover {
    background: rgba(156, 163, 175, 0.1);
}

/* light gray hover */
.chev {
    font-size: 12px;
    opacity: 0.6;
    margin-left: 12px;
    transition: transform .18s ease;
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease, padding .18s ease;
    padding: 0 16px;
    background: transparent;
    /* transparent */
    border-left: 1px solid #d1d5db;
    border-right: 1px solid #d1d5db;
    color: #4b5563;
    /* gray text */
}

.accordion-panel p {
    margin: 12px 0 20px;
    line-height: 1.5;
}

.accordion-button[aria-expanded="true"]+.accordion-panel {
    padding: 12px 16px 20px;
    max-height: 400px;
    border-bottom: 1px solid #9ca3af;
}

.accordion-button[aria-expanded="true"] .chev {
    transform: rotate(180deg);
}

.footer-logo.mb-4 {
    border-bottom: 1px solid #282828;
    padding-bottom: 25px;
}

/* Responsive design */
@media (max-width: 768px) {
    .main-container {
        margin: 10px;
        padding: 0px !important;
    }

    .display-4 {
        font-size: 2rem;
    }

    .live-indicator {
        padding: 10px 20px;
        font-size: 14px;
    }

    .current-date {
        font-size: 20px;
        padding: 12px;
    }

    .result-table th {
        font-size: 12px;
        padding: 10px 5px;
    }

    .number-cell {
        font-size: 18px;
        padding: 15px 5px;
    }

    .bonus-cell {
        font-size: 16px;
        padding: 12px 5px;
    }

    .previous-results {
        padding: 20px 0;
    }

    .previous-table td {
        padding: 8px 4px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {

    .previous-results {
        padding: 0px 0;
    }

    .footer-logo img {
        width: 185px;
    }

    .navbar-brand img {
        width: 150px;
    }

    .game-card {
        width: 10px;
        height: 10px;
    }

    .result-table th {
        font-size: 9px;
        padding: 8px 3px;
    }

    .number-cell {
        font-size: 14px;
        padding: 12px 3px;
    }

    .bonus-cell {
        font-size: 14px;
        padding: 10px 3px;
    }

    .previous-table td {
        font-size: 12px;
        padding: 6px 2px;
    }
    .banner-title{
        font-size: 27px;
    }
}

/* AdSense Container */
.adsense-container {
    max-width: 100%;
    margin: 20px auto;
    text-align: center;
    padding: 10px;
}

.content-section {
    margin-bottom: 30px;
}

.list-styled {
    list-style-type: disc;
    padding-left: 25px;
}

.list-styled li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.faq-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #cf2939;
}

.alert {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.alert-warning {
    background: #fff3cd;
    border: 2px solid #ffc107;
    color: #856404;
}

/* Feature Cards Container */
.features-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    /* padding: 0 20px; */
    margin: 30px auto;
    max-width: 600px;
}

.feature-card {
    background: var(--bg-card);
    /* Using your existing Hana variables */
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.icon-wrapper {
    min-width: 50px;
    height: 50px;
    background: rgb(0 98 206);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

ul.ulList {
    padding-left: 20px;
}

.ulList li{
    margin-bottom: 10px;
}

.feature-content h4 {
    margin: 0;
    font-size: 16px;
    color: var(--primary-color);
    font-family: 'Outfit', sans-serif;
}

.feature-content p {
    margin: 5px 0 0;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

@media (min-width: 600px) {
    .features-container {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
    }
}

.contact-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 20px;
}

.contact-intro {
    text-align: center;
    margin-bottom: 50px;
}

.contact-intro h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.contact-intro p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #0057b6, #0078f9);;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.contact-card p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.contact-card a {
    display: inline-block;
    color: #0078f9;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    word-break: break-word;
}

.contact-card a:hover {
    color: #cf2939;
    text-decoration: underline;
}


.response-time {
    background: #f8f9fa;
    padding: 20px;
    margin-top: 40px;
    border-radius: 5px;
}

.response-time h4 {
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 1.2rem;
}

.response-time p {
    color: #666;
    margin: 5px 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .contact-intro h2 {
        font-size: 1.5rem;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }
    .about-royalfatafat h1{
        font-size: 24px;
    }
    .content-section h2 {
        font-size: 20px;
    }
    .content-section h4 {
        font-size: 13px;
    }
    .mobileBtnTop {
        margin-top: 1rem!Important;
    }
}

/* Desktop Scroll Buttons - Original Style */
.scroll-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #cf2939, #5e0009);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 2px 0;
    z-index: 9998;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-bottom-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
}

.mobile-nav-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.mobile-nav-btn:active::before {
    width: 100%;
    height: 100%;
}

.mobile-nav-btn svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.mobile-nav-btn:active svg {
    transform: scale(0.9);
}

.mobile-nav-btn span {
    font-size: 11px;
    font-weight: 800;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.mobile-nav-btn:active {
    color: #fff;
}

/* Responsive Breakpoint */
@media (max-width: 768px) {
    /* Hide desktop scroll buttons on mobile */
    .scroll-btn {
        display: none !important;
    }
    
    /* Show mobile bottom navigation */
    .mobile-bottom-nav {
        display: flex;
    }
    
    /* Add padding to body to prevent content from hiding behind nav */
    body {
        padding-bottom: 60px;
    }
    
    /* Adjust mobile nav buttons layout */
    .mobile-nav-btn {
        min-width: 60px;
    }
}

@media (max-width: 480px) {
    .mobile-nav-btn span {
        font-size: 11px;
    }
    
    .mobile-nav-btn svg {
        width: 18px;
        height: 18px;
    }
    
    body {
        padding-bottom: 55px;
    }
}

/* Result Popup Overlay */
.result-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.result-popup-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Popup Container */
.result-popup-container {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
    width: 600px;
    animation: slideUp 0.4s ease;
}

/* Close Button */
.result-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgb(255 255 255);
    border: 4px solid #212529;
    border-radius: 50%;
    color: #212529;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.result-popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Popup Content */
.result-popup-content {
    padding: 20px;
    max-height: 85vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Custom Scrollbar for Popup */
.result-popup-content::-webkit-scrollbar {
    width: 8px;
}

.result-popup-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.result-popup-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.result-popup-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .result-popup-container {
        max-width: 95%;
        max-height: 90vh;
        border-radius: 15px;
    }
    
    .result-popup-content {
        padding: 15px;
        max-height: 90vh;
    }
    
    .result-popup-close {
        width: 35px;
        height: 35px;
        top: 11px;
        right: 8px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .result-popup-container {
        max-width: 98%;
        border-radius: 12px;
    }
    
    .result-popup-content {
        padding: 12px;
    }
    .previous-results h3 {
        font-size: 22px;
    }
}

/* Prevent body scroll when popup is open */
body.popup-open {
    overflow: hidden;
}


