/* 
 * Emily Schaumann Piano Studio 
 * Main Stylesheet
 */

@import 'modal.css';

/* ==================== 
   Base Styles 
   ==================== */
:root {
    /* Color Palette */
    --primary: #4A7AAB;        /* Medium Blue - welcoming, professional */
    --primary-light: #6B92BE;  /* Lighter shade of primary blue */
    --primary-dark: #2C4C6B;   /* Darker shade for text/emphasis */
    --bg-light: #EBF2FA;       /* Light blue/gray for backgrounds */
    --bg-white: #F9F9F9;       /* Off-white for main background */
    --text: #333333;           /* Charcoal for body text */
    --text-light: #666666;     /* Lighter text for secondary content */
    --border: #DDDDDD;         /* Light gray for borders */
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Container Width */
    --container-width: 1200px;
    
    /* Border Radius */
    --border-radius: 4px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
    color: var(--primary-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

section {
    padding: var(--spacing-lg) 0;
}

/* ==================== 
   Buttons 
   ==================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

/* ==================== 
   Header & Navigation 
   ==================== */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    position: relative;
}

.logo img {
    height: 60px;
    width: auto;
}

nav ul {
    display: flex;
    align-items: center;
    height: 100%;
}

nav ul li {
    position: relative;
    margin-left: var(--spacing-md);
}

nav ul li a {
    color: var(--text);
    font-weight: 600;
    padding: 8px 15px;
    display: inline-block;
    line-height: 1.5;
}

nav ul li a:hover, 
nav ul li a.active {
    color: var(--primary);
}

/* Avatar icon in navigation */
.nav-avatar {
    vertical-align: middle;
    margin-right: 8px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Specific styling for text navigation links */
.nav-text-link {
    padding: 8px 15px;
    display: inline-flex;
    align-items: center;
    height: 37px; /* Match the height of the login button */
    position: relative;
    top: 3px; /* Fine-tuned adjustment to perfectly align with the button */
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    min-width: 200px;
    z-index: 1;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text);
}

.dropdown-menu li a:hover {
    background-color: var(--bg-light);
}

/* Mobile menu toggle styles moved to mobile-nav.css */

/* Mobile menu toggle is managed in mobile-nav.css */

/* Responsive Styles */
@media (max-width: 767px) {
    /* Mobile menu toggle styles moved to mobile-nav.css */
    
    /* Mobile navigation styles moved to mobile-nav.css */
    
    /* Styles for the active (visible) mobile menu dropdown */
    /* Remove menu heading for cleaner look */
    
    /* Mobile navigation styles moved to mobile-nav.css */

    /* Mobile navigation styles moved to mobile-nav.css */
    
    /* Mobile navigation styles moved to mobile-nav.css */
}

/* ==================== 
   Hero Slider 
   ==================== */
.hero-slider {
    padding: 0;
}

.swiper {
    width: 100%;
    height: 600px;
}

.slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    max-width: 800px;
    width: 90%;
    z-index: 1;
}

.slide-content h1 {
    color: white;
    margin-bottom: var(--spacing-sm);
    font-size: 3rem;
}

.slide-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.swiper-button-prev, 
.swiper-button-next {
    color: white;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: white;
}

/* ==================== 
   Welcome Section
   ==================== */
.welcome {
    text-align: center;
    background-color: var(--bg-white);
}

.welcome .container {
    max-width: 800px;
}

.quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary);
    margin: var(--spacing-md) 0;
}

.cta-buttons {
    margin-top: var(--spacing-md);
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

/* ==================== 
   Why Choose Section
   ==================== */
.why-choose {
    background-color: var(--bg-light);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.feature {
    background-color: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    margin-bottom: var(--spacing-sm);
}

.feature-icon img {
    width: 60px;
    height: 60px;
}

/* ==================== 
   Contact Section
   ==================== */
.contact {
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.contact-form .form-group {
    margin-bottom: var(--spacing-sm);
}

.contact-form label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-info {
    padding: var(--spacing-md);
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
}

.info-item {
    margin-bottom: var(--spacing-sm);
}

.info-item .label {
    font-weight: 600;
    margin-right: 0.5rem;
}

/* ==================== 
   Footer
   ==================== */
footer {
    background-color: var(--primary-dark);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: var(--spacing-md);
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.footer-map {
    flex: 1;
    min-width: 300px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.footer-contact {
    flex: 1.2;
    min-width: 300px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.footer-links {
    flex: 0.8;
    min-width: 200px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

/* Map section */
.footer-map {
    display: flex;
    justify-content: center;
    max-width: 350px;
}

.footer-map iframe,
.footer-map-iframe {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Headings */
.footer-contact h3,
.footer-links h3 {
    color: white;
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
    text-align: left;
}

/* Quick Links */
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-lg);
    }
    
    .footer-map, .footer-contact, .footer-links {
        width: 100%;
        max-width: 400px;
    }
    
    .footer-contact, .footer-links {
        text-align: center;
    }
    
    .footer-contact h3, .footer-links h3 {
        text-align: center;
    }
    
    .footer-links ul {
        text-align: center;
    }
}

.footer-contact .info-item {
    margin-bottom: var(--spacing-xs);
    text-align: left;
}

.footer-contact .info-item span {
    display: block;
    text-align: left;
}

.footer-contact .label {
    font-weight: 600;
    display: block;
    text-align: center;
    margin-bottom: 5px;
}

.footer-logo {
    text-align: center;
    margin-bottom: 10px;
}

.footer-logo img {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    font-size: 13px;
    margin: 0;
    color: white;
    line-height: 1.2;
}

.footer-contact a {
    color: white;
    text-decoration: underline;
}

/* Contact Form Feedback and Loading Indicator */
.form-feedback {
    padding: 15px;
    border-radius: var(--border-radius);
    margin-top: 15px;
    font-weight: 500;
}

.form-feedback.success {
    background-color: rgba(46, 204, 113, 0.2);
    color: #27ae60;
    border: 1px solid #2ecc71;
}

.form-feedback.error {
    background-color: rgba(231, 76, 60, 0.2);
    color: #c0392b;
    border: 1px solid #e74c3c;
}

.form-feedback ul {
    margin-top: 10px;
    padding-left: 20px;
}

.form-feedback ul li {
    list-style-type: disc;
    margin-bottom: 5px;
}

.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    color: white;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.footer-contact a:hover {
    color: var(--bg-light);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: white;
}

.footer-links a:hover {
    color: var(--bg-light);
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright {
    opacity: 0.8;
    font-size: 0.9rem;
    text-align: center;
}

/* Responsive Footer */
@media (max-width: 960px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-map {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-map {
        grid-column: span 1;
    }
    
    .footer-contact, .footer-links {
        width: 100%;
        max-width: 400px;
    }
    
    /* Ensure footer section headers remain left-aligned in mobile view */
    .footer-contact h3,
    .footer-links h3 {
        text-align: left !important;
    }
}

/* Student Application Button */
.student-application-btn {
    background-color: var(--primary);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.student-application-btn:hover {
    background-color: var(--primary-dark);
    color: white !important;
}

/* Student Login Button */
.student-login-btn {
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.student-login-btn:hover {
    background-color: var(--primary-light);
    color: white !important;
}

/* ==================== 
   Modal
   ====================/* Z-index hierarchy */
:root {
    --z-base: 1;
    --z-header: 100;
    --z-mobile-menu: 200;
    --z-modal-backdrop: 300;
    --z-modal-content: 301;
    --z-modal-close: 302;
}

/* Navigation Styles */
.nav-button {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login {
    background-color: transparent;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
    box-shadow: none;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: var(--primary);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Slider Navigation */
.swiper-button-next,
.swiper-button-prev {
    width: 40px !important;
    height: 40px !important;
    margin-top: -20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: #333 !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: bold;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 35px !important;
        height: 35px !important;
        margin-top: -17.5px;
        background: none;
        box-shadow: none;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 24px !important;
        color: #fff !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }
}

/* Modal System */
.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: var(--z-modal-backdrop);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #ffffff;
    margin: 15px;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    z-index: var(--z-modal-content);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: none; /* Frameless design */
    animation: fadeIn 0.3s ease-in-out;
    z-index: 1001;
}

.modal-content h2 {
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    z-index: 2600;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #333;
}



.modal-body {
    margin-top: var(--spacing-md);
}



/* Animation for modal */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== 
   Page Banner
   ==================== */
.page-banner {
    background-color: var(--primary);
    color: white;
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.page-banner h1 {
    color: white;
    margin: 0;
}

/* ==================== 
   About Page
   ==================== */
.about-content {
    padding: var(--spacing-lg) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    text-align: left;
    margin-top: 0;
}

.about-text h3 {
    margin-top: var(--spacing-md);
    color: var(--primary);
}

/* ==================== 
   Piano Lessons Page
   ==================== */
.lesson-overview {
    padding: var(--spacing-lg) 0;
}

.lead-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
}

.lesson-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.lesson-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.feature-list {
    margin: var(--spacing-md) 0;
    padding-left: 1.5rem;
}

.feature-list li {
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--primary);
    border-radius: 50%;
}

.feature-list li strong {
    display: block;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.who-can-learn {
    background-color: var(--bg-light);
    padding: var(--spacing-lg) 0;
}

.student-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.student-type {
    background-color: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.student-type h3 {
    color: var(--primary);
    margin-top: 0;
}

.note-box {
    background-color: rgba(74, 122, 171, 0.1);
    border-left: 4px solid var(--primary);
    padding: var(--spacing-sm) var(--spacing-md);
    margin-top: var(--spacing-lg);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.note-box h4 {
    margin-top: 0;
    color: var(--primary);
}

.note-box p {
    margin-bottom: 0;
}

.lesson-cta {
    text-align: center;
    padding: var(--spacing-lg) 0;
}

/* ==================== 
   Contact Page
   ==================== */
.contact-page {
    padding: var(--spacing-lg) 0;
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--spacing-lg);
}

.contact-form-container h3,
.contact-details h3 {
    margin-top: 0;
    color: var(--primary);
}

.contact-details {
    background-color: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
}

.contact-info-block {
    margin-bottom: var(--spacing-md);
}

.response-policy,
.additional-links {
    margin-top: var(--spacing-md);
}

.response-policy h4,
.additional-links h4 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-xs);
}

.additional-links ul {
    padding-left: 1rem;
}

.additional-links li {
    margin-bottom: 0.5rem;
    position: relative;
}

.additional-links li::before {
    content: '→';
    position: absolute;
    left: -1rem;
    color: var(--primary);
}

.contact-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    background-color: white;
}

.contact-form select:focus {
    outline: none;
    border-color: var(--primary);
}

/* ==================== 
   Location Page
   ==================== */
.location-content {
    padding: var(--spacing-lg) 0;
}

.location-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.location-details h3,
.location-map h3 {
    color: var(--primary);
    margin-top: var(--spacing-md);
}

.location-details h3:first-child {
    margin-top: 0;
}

.address {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.area-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: var(--spacing-sm);
    padding-left: 1.5rem;
}

.area-list li {
    position: relative;
}

.area-list li::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--primary);
    border-radius: 50%;
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    margin: 0;
    font-size: 0.9rem;
}

.studio-features {
    margin-top: var(--spacing-md);
}

.cta-buttons {
    margin-top: var(--spacing-md);
}

/* ==================== 
   Home CTA Section
   ==================== */
.home-cta {
    text-align: center;
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-light);
}

.home-cta h2 {
    margin-bottom: var(--spacing-sm);
}

.home-cta p {
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
    font-size: 1.1rem;
}

/* ==================== 
   Registration Page
   ==================== */
.registration-page {
    padding: var(--spacing-lg) 0;
}

.registration-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.welcome-text {
    font-size: 1.1rem;
}

.registration-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.registration-form h2 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    color: var(--primary);
    text-align: left;
    font-size: 1.5rem;
}

.registration-form h2:first-child {
    margin-top: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.5rem;
    width: auto;
}

.policy-agreement {
    margin: var(--spacing-md) 0;
}

.form-actions {
    margin-top: var(--spacing-md);
    text-align: center;
}

.success-message {
    text-align: center;
    padding: var(--spacing-md);
}

.success-message h2 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

input.error,
select.error,
textarea.error {
    border-color: #e74c3c;
}

/* ==================== 
   Responsive Styles 
   ==================== */
@media (max-width: 1023px) {
    .swiper {
        height: 500px;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .swiper {
        height: 400px;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: -1;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-body iframe {
        height: 400px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .swiper {
        height: 350px;
    }
    
    .slide-content h1 {
        font-size: 1.75rem;
    }
}
