* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    line-height: 1.7;
    color: #1e3a5f;
    background: #e6f2ff;
    overflow-x: hidden;
}

body[dir="rtl"] {
    direction: rtl;
}

/* Ocean scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #b3d9ff;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #0066cc, #004d99, #003366);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #004d99, #003366, #001f3d);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #003366;
    letter-spacing: 0.02em;
}

/* Ocean wave background */
.ocean-gradient {
    background: linear-gradient(135deg, #0066cc 0%, #004d99 25%, #003366 50%, #004d99 75%, #0066cc 100%);
    background-size: 200% 200%;
    animation: wave-flow 8s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes wave-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.ocean-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Wave animation */
.wave-container {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 200%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
    animation: wave-animation 3s ease-in-out infinite;
}

.wave:nth-child(2) {
    animation-delay: 1s;
    opacity: 0.7;
}

.wave:nth-child(3) {
    animation-delay: 2s;
    opacity: 0.5;
}

@keyframes wave-animation {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-20px);
    }
}

/* Sailing card */
.sailing-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.2);
    border: 3px solid #0066cc;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sailing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.1), transparent);
    transition: left 0.5s;
}

.sailing-card:hover::before {
    left: 100%;
}

.sailing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.3);
    border-color: #004d99;
}

/* Icon container */
.sailing-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066cc, #004d99);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 16px rgba(0, 102, 204, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Sailing button */
.btn-sailing {
    background: linear-gradient(135deg, #0066cc 0%, #004d99 50%, #003366 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-sailing::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-sailing:hover::before {
    left: 100%;
}

.btn-sailing:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.5);
}

.btn-sailing:active {
    transform: translateY(0);
}

/* Section backgrounds */
.section-light {
    background: #f0f8ff;
}

.section-white {
    background: #ffffff;
}

.section-gradient {
    background: linear-gradient(180deg, #e6f2ff 0%, #b3d9ff 50%, #e6f2ff 100%);
}

/* Wind effect */
.wind-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.wind-line {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: wind-move 4s linear infinite;
}

@keyframes wind-move {
    0% {
        transform: translateX(0) translateY(0) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(200px) translateY(-200px) rotate(45deg);
        opacity: 0;
    }
}

/* Input styling */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
input[type="number"],
textarea,
select {
    width: 100%;
    border: 2px solid #b3d9ff;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #1e3a5f;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
    background: #ffffff;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Badge design */
.sailing-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #0066cc, #004d99);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 4px 6px rgba(0, 102, 204, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
    
    .sailing-card {
        padding: 1.5rem;
    }
}

/* Compass decoration */
.compass {
    position: absolute;
    width: 100px;
    height: 100px;
    opacity: 0.1;
    pointer-events: none;
}

/* Anchor decoration */
.anchor-decoration {
    position: absolute;
    font-size: 3rem;
    opacity: 0.1;
    pointer-events: none;
}

