* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    color: #acabab;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #0a1a2f;
}

/* Fixed Background */
.fixed-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: url(./Images/surf.png);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: -1;
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.96);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-icon {
    height: 80px;
    width: auto;
    transition: transform 0.2s;
}

.logo-icon:hover {
    transform: scale(1.02);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    flex-wrap: wrap;
}

nav ul li a {
    text-decoration: none;
    color: #222;
    font-weight: 600;
    transition: color 0.2s;
    padding: 0.4rem 0;
    font-size: 1rem;
    position: relative;
}

nav ul li a:hover {
    color: #ff6d00;
}

nav ul li a.active-page {
    color: #ff6d00;
    border-bottom: 3px solid #ff6d00;
}

/* Page Sections */
.page-section {
    padding: 4rem 0;
    min-height: 65vh;
}

.hero-page {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-card {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    padding: 2.8rem;
    border-radius: 32px;
    max-width: 800px;
    margin: 2rem auto;
    border: 1px solid rgba(255, 109, 0, 0.3);
}

.hero-card h1 {
    font-size: 3.2rem;
    color: #ff6d00;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.hero-card p {
    font-size: 1.2rem;
    color: #f0f0f0;
    margin-bottom: 2rem;
}

/* Buttons */
.btn2, .btn1 {
    display: inline-block;
    background-color: #ff6d00;
    color: white;
    padding: 1rem 2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(255, 109, 0, 0.3);
}

.btn2:hover, .btn1:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 109, 0, 0.4);
}

.btn2:active, .btn1:active {
    transform: translateY(1px);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #1a73e8;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
    margin-bottom: 0.5rem;
}

.section-title p {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.6);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
}

/* Grid Layouts */
.boards-grid, .lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

/* Cards */
.board-card, .lesson-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.board-card:hover, .lesson-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.2);
}

.card-img {
    width: 100%;
    height: 230px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f4f7fa;
    transition: transform 0.3s;
}

.board-card:hover .card-img,
.lesson-card:hover .card-img {
    transform: scale(1.02);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    color: #1a73e8;
    margin-bottom: 0.6rem;
    font-size: 1.35rem;
}

.card-content p {
    color: #444;
    line-height: 1.5;
}

.price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #ff6d00;
    margin-top: 0.8rem;
}

/* Repair Images */
.repair-images {
    display: flex;
    gap: 12px;
    padding: 20px;
    background: #fff;
}

.repair-img {
    height: 110px;
    flex: 1;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s;
}

.repair-img:hover {
    transform: scale(1.02);
}

/* Footer */
footer {
    background-color: #0a0f1a;
    color: #aaa;
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 109, 0, 0.3);
}

.footer-content .logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: #ff6d00;
    margin-bottom: 0.5rem;
}

/* Modal Styles (Booking Popup) */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1100;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 28px;
    padding: 1.8rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ff6d00;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
}

.modal-title {
    color: #1a73e8;
    font-size: 1.6rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #ff6d00;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
    font-size: 0.85rem;
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 14px;
    font-size: 0.95rem;
    transition: all 0.2s;
    background: #fefefe;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #ff6d00;
    box-shadow: 0 0 0 3px rgba(255, 109, 0, 0.1);
}

/* Time Slots */
.time-slots {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.time-slot {
    border: 1px solid #ddd;
    padding: 0.8rem;
    border-radius: 60px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
    font-weight: 500;
}

.time-slot:hover {
    border-color: #ff6d00;
    background: #fff6ed;
}

.time-slot.selected {
    background: #ff6d00;
    color: white;
    border-color: #ff6d00;
}

/* Submit Button */
.btn-submit {
    background: #ff6d00;
    color: white;
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 60px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background: #e65c00;
    transform: scale(1.01);
}

/* EmailJS Success / Status */
.emailjs-success {
    text-align: center;
    padding: 1.5rem;
    display: none;
    background: #e8f5e9;
    border-radius: 20px;
    margin: 1rem 0;
}

.status-message {
    padding: 0.8rem;
    border-radius: 16px;
    margin-bottom: 1.2rem;
    display: none;
}

.status-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.status-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.status-loading {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    nav ul {
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-card h1 {
        font-size: 2.2rem;
    }
    
    .boards-grid, .lessons-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-icon {
        height: 60px;
    }
    
    .modal-content {
        width: 95%;
        padding: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .repair-images {
        flex-wrap: wrap;
    }
    
    .repair-img {
        min-width: 80px;
    }
}

/* Small devices */
@media (max-width: 480px) {
    .hero-card {
        padding: 1.5rem;
    }
    
    .hero-card h1 {
        font-size: 1.8rem;
    }
    
    .btn2, .btn1 {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }
    
    nav ul {
        gap: 0.7rem;
    }
    
    nav ul li a {
        font-size: 0.85rem;
    }
}

/* Animation for page transitions */
.page-section, .hero-page {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
    background: #ff6d00;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e65c00;
}