/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    overflow-x: hidden;
}

/* Profile page sections */
.profile-page {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.profile-image {
    max-width: 90%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Video slider page */
.video-slider-page {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.video-slider-container {
    width: 100%;
    max-width: 1200px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    position: relative;
}

.video-slider-title {
    text-align: center;
    color: #2196F3;
    font-size: 2rem;
    margin-bottom: 30px;
}

.video-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px;
    scrollbar-width: thin;
    scrollbar-color: #2196F3 #e0e0e0;
}

.video-slider::-webkit-scrollbar {
    height: 8px;
}

.video-slider::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 4px;
}

.video-slider::-webkit-scrollbar-thumb {
    background-color: #2196F3;
    border-radius: 4px;
}

.video-slide {
    flex: 0 0 auto;
    width: 300px;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-slide:hover {
    transform: translateY(-5px);
}

.video-slide video {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.video-description {
    padding: 15px;
}

.video-description h3 {
    color: #333;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.video-description p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.slider-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.nav-btn {
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover:not(:disabled) {
    background-color: #0b7dda;
    transform: scale(1.1);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Contact page styles */
#contact-page {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 800px;
    width: 90%;
    margin: 20px auto;
}

.contact-container {
    width: 100%;
}

.contact-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-header h1 {
    color: #2196F3;
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-header p {
    color: #666;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-container {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-group {
    margin-bottom: 20px;
    flex: 1;
    min-width: 200px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 5px rgba(33, 150, 243, 0.3);
}

button {
    background-color: #2196F3;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0b7dda;
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.form-message {
    margin-top: 20px;
    text-align: center;
}

.success-message {
    color: #4CAF50;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    background-color: #e8f5e9;
}

.error-message {
    color: #f44336;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    background-color: #ffebee;
}

/* Navigation dots */
.navigation-dots {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #2196F3;
}

.dot.active {
    background-color: #2196F3;
    transform: scale(1.2);
}

.dot:hover {
    background-color: #2196F3;
    transform: scale(1.1);
}

/* Responsive design */
@media (max-width: 768px) {
    .profile-page {
        min-height: auto;
        padding: 15px;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    
    .profile-image {
        max-width: 95%;
        max-height: 85vh;
        border-radius: 8px;
    }
    
    .video-slider-container {
        padding: 20px;
    }
    
    .video-slider-title {
        font-size: 1.8rem;
    }
    
    .video-slide {
        width: 250px;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    #contact-page {
        padding: 20px;
        width: 100%;
    }
    
    .contact-header h1 {
        font-size: 1.8rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .navigation-dots {
        right: 10px;
        gap: 8px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .profile-page {
        min-height: auto;
        padding: 10px;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .profile-image {
        max-width: 100%;
        max-height: 80vh;
        border-radius: 6px;
    }
    
    .video-slider-container {
        padding: 15px;
    }
    
    .video-slider-title {
        font-size: 1.6rem;
    }
    
    .video-slide {
        width: 200px;
    }
    
    .video-slide video {
        height: 150px;
    }
    
    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    #contact-page {
        padding: 15px;
    }
    
    .contact-header h1 {
        font-size: 1.6rem;
    }
    
    .navigation-dots {
        right: 5px;
        gap: 6px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 14px;
    }
    
    button {
        padding: 10px 20px;
        font-size: 14px;
    }
}