/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0F1A2B;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: rgba(15, 26, 43, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    color: #D4AF37;
    font-size: 1.8rem;
    font-weight: 700;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

nav ul li a:hover,
nav ul li a.active {
    color: #D4AF37;
    background-color: rgba(212, 175, 55, 0.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(15, 26, 43, 0.7), rgba(15, 26, 43, 0.9)), url('img/photo-1714233504123-0e78e072cf72.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 0;
}

.hero-sub {
    height: 50vh;
    background: linear-gradient(rgba(15, 26, 43, 0.7), rgba(15, 26, 43, 0.9)), url('img/photo-1641973506533-da6bde28f373.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 80px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #D4AF37;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: #D4AF37;
    color: #0F1A2B;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid #D4AF37;
}

.btn:hover {
    background-color: transparent;
    color: #D4AF37;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    background: rgba(212, 175, 55, 0.1);
}

.feature img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #D4AF37;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.2);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #D4AF37;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.step {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #D4AF37;
    color: #0F1A2B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #D4AF37;
}

/* Technology Section */
.technology {
    padding: 80px 0;
}

.technology .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.tech-info h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #D4AF37;
}

.tech-info h3 {
    font-size: 1.8rem;
    margin: 25px 0 15px;
    color: #D4AF37;
}

.tech-info ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.tech-info li {
    margin-bottom: 10px;
}

.tech-image img {
    width: 100%;
    border-radius: 10px;
}

/* Registration Process */
.registration {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.2);
}

.registration h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #D4AF37;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: #D4AF37;
    color: #0F1A2B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #D4AF37;
}

/* Map Section */
.map-section {
    padding: 80px 0;
}

.map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #D4AF37;
}

.map-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gate {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #D4AF37;
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
}

.gate:hover {
    transform: translate(-50%, -50%) scale(1.5);
    box-shadow: 0 0 0 10px rgba(212, 175, 55, 0.3);
}

.gate-name {
    position: absolute;
    background-color: #0F1A2B;
    color: #D4AF37;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gate:hover .gate-name {
    opacity: 1;
}

/* Gate positions (approximate) */
.gate-1 { top: 30%; left: 25%; } /* Al Garhoud Bridge */
.gate-2 { top: 40%; left: 45%; } /* Al Maktoum Bridge */
.gate-3 { top: 20%; left: 60%; } /* Al Mamzar */
.gate-4 { top: 60%; left: 35%; } /* Al Barsha */
.gate-5 { top: 50%; left: 70%; } /* Airport Tunnel */
.gate-6 { top: 70%; left: 50%; } /* Financial Center */

/* Gates List */
.gates-list {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.2);
}

.gates-list h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #D4AF37;
}

.gates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gate-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gate-card:hover {
    transform: translateY(-10px);
    background: rgba(212, 175, 55, 0.1);
}

.gate-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gate-card h3 {
    font-size: 1.5rem;
    padding: 20px 20px 10px;
    color: #D4AF37;
}

.gate-card p {
    padding: 0 20px 20px;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #D4AF37;
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    background: rgba(212, 175, 55, 0.1);
}

.pricing-card.featured {
    border: 2px solid #D4AF37;
    position: relative;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #D4AF37;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.pricing-card ul {
    list-style: none;
    margin: 30px 0;
}

.pricing-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

/* Payment Methods */
.payment-methods {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.2);
}

.payment-methods h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #D4AF37;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.payment-option {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.payment-option img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.payment-option h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #D4AF37;
}

/* Account Management */
.account-management {
    padding: 80px 0;
}

.account-management h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #D4AF37;
}

.account-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.account-feature {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
}

.account-feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #D4AF37;
}

/* Contact Info */
.contact-info {
    padding: 80px 0;
}

.contact-info h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #D4AF37;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
}

.contact-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #D4AF37;
}

/* Contact Form */
.contact-form-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.2);
}

.contact-form-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #D4AF37;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D4AF37;
}

/* Location Map */
.location-map {
    padding: 80px 0;
}

.location-map h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #D4AF37;
}

.map-placeholder {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.map-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

.map-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(15, 26, 43, 0.9);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #D4AF37;
}

.map-overlay-text h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #D4AF37;
}

/* Emergency Contacts */
.emergency-contacts {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.2);
}

.emergency-contacts h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #D4AF37;
}

.emergency-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.emergency-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
}

.emergency-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #D4AF37;
}

.emergency-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: #D4AF37;
    margin-top: 10px;
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

footer p {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 15px 0;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 12px 25px;
    }
    
    .features .container,
    .steps,
    .process-steps,
    .gates-grid,
    .pricing-table,
    .payment-options,
    .account-info,
    .contact-details,
    .emergency-info {
        grid-template-columns: 1fr;
    }
    
    .hero {
        height: 80vh;
    }
    
    .hero-sub {
        height: 40vh;
    }
    
    .technology .container {
        grid-template-columns: 1fr;
    }
    
    .map-overlay-text {
        width: 80%;
        padding: 20px;
    }
    
    .map-overlay-text h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
}