/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #ffffff;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.7;
    z-index: -2;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.9) 0%, 
        rgba(22, 33, 62, 0.85) 50%, 
        rgba(15, 52, 96, 0.9) 100%);
    z-index: -1;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Header Styles */
.header {
    padding-top: 20px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.logo-img {
    max-height: 120px;
    width: auto;
    filter: drop-shadow(0 2px 10px rgba(255, 215, 0, 0.3));
    transition: transform 0.3s ease;
}

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

/* Navigation Styles */
.navigation {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin: 20px auto;
    max-width: 600px;
    padding: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-link:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.nav-link.active {
    background: rgba(255, 215, 0, 0.3);
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.nav-link i {
    font-size: 18px;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .navigation {
        margin: 15px 10px;
        padding: 8px;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-link {
        width: 100%;
        justify-content: center;
        padding: 10px 15px;
        font-size: 14px;
    }

    .nav-item{
        width: 60%;
    }
}

@media (max-width: 480px) {
    .navigation {
        margin: 10px 5px;
        padding: 5px;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .nav-link i {
        font-size: 16px;
    }
}

/* Content Section Styles */
.content-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    margin: 20px auto;
    max-width: 800px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.content-section h1 {
    color: #ffd700;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.content-section h2 {
    color: #ffd700;
    margin: 25px 0 15px 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.content-section p {
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.content-section ul {
    color: #ffffff;
    margin: 15px 0;
    padding-right: 20px;
}

.content-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .content-section {
        margin: 15px 10px;
        padding: 20px;
    }
    
    .content-section h1 {
        font-size: 2rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .content-section p {
        font-size: 1rem;
    }
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0px 40px 20px;
}

.content-wrapper {
    max-width: 600px;
    width: 100%;
    text-align: center;
}

/* Title Section */
.title-section {
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.main-title {
    font-size: 4rem;
    font-weight: 900;
    color: #FFD700;
    text-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.description {
    font-size: 1.2rem;
    color: #e0e0e0;
    font-weight: 400;
    /* margin-bottom: 20px; */
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Form Container */
.form-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group.half {
    flex: 1;
}

label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFD700;
    margin-bottom: 8px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

input, select, textarea {
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Tajawal', sans-serif;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: right;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

select {
    cursor: pointer;
}

select option {
    background: #1a1a2e;
    color: #ffffff;
    padding: 10px;
}

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

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a2e;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Tajawal', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.btn-icon {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .form-container {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .submit-btn {
        font-size: 1.1rem;
        padding: 15px 30px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.3rem;
    }
    
    .form-container {
        padding: 25px 15px;
    }
    
    input, select, textarea {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        font-size: 1rem;
        padding: 12px 25px;
    }
}

/* Loading Animation for Form Submission */
.submit-btn.loading {
    background: linear-gradient(135deg, #cccccc 0%, #999999 100%);
    cursor: not-allowed;
    pointer-events: none;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid #1a1a2e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    animation: fadeInUp 0.5s ease-out;
}

/* Error Message */
.error-message {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.3);
    animation: fadeInUp 0.5s ease-out;
}

/* Form Sections */
.form-section {
    margin-bottom: 35px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
}

/* Enhanced Submit Button */
.submit-btn .btn-icon {
    font-size: 1.2rem;
    animation: rocket 2s infinite;
}

@keyframes rocket {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-2px) rotate(5deg);
    }
    50% {
        transform: translateY(-1px) rotate(-5deg);
    }
    75% {
        transform: translateY(-3px) rotate(3deg);
    }
}

.jeddah-image {
    text-align: center;
    margin-bottom: 20px;
}

.jeddah-image img {
    max-width: 200px;
    height: auto;
}
