@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ocean-blue: #0077be;
    --deep-blue: #003d5c;
    --light-blue: #4da6d9;
    --aqua: #00bcd4;
    --gold: #ffd700;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --wave-color: rgba(0, 119, 190, 0.1);
    --bubble-color: rgba(77, 166, 217, 0.3);
    --shadow: rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #0077be 0%, #00bcd4 100%);
    --gradient-secondary: linear-gradient(135deg, #4da6d9 0%, #0077be 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
    min-height: 100vh;
}

/* Ocean Background with Floating Bubbles */
.ocean-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--gradient-primary);
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: var(--bubble-color);
    animation: float 6s ease-in-out infinite;
    opacity: 0.6;
}

.bubble-1 {
    width: 40px;
    height: 40px;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.bubble-2 {
    width: 20px;
    height: 20px;
    left: 20%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.bubble-3 {
    width: 60px;
    height: 60px;
    left: 35%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.bubble-4 {
    width: 30px;
    height: 30px;
    left: 70%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.bubble-5 {
    width: 25px;
    height: 25px;
    left: 85%;
    animation-delay: 3s;
    animation-duration: 6s;
}

.bubble-6 {
    width: 45px;
    height: 45px;
    left: 60%;
    animation-delay: 5s;
    animation-duration: 8s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
        transform: scale(1);
    }
    90% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
}

/* Sticky Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--ocean-blue);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--ocean-blue);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Main Content */
.main-content {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    display: none;
    padding: 4rem 0;
    min-height: calc(100vh - 70px);
}

.section.active {
    display: block;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    margin: 2rem 0;
    box-shadow: 0 10px 40px var(--shadow);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 300;
    font-style: italic;
}

/* Wave Divider */
.wave-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin: 3rem 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider .shape-fill {
    fill: var(--wave-color);
    animation: wave 3s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-25px);
    }
}

/* Article Content */
.article-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 50px var(--shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.article-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--ocean-blue);
    margin: 2rem 0 1rem 0;
    position: relative;
    padding-left: 1rem;
}

.article-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.article-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: justify;
}

.ocean-link {
    color: var(--ocean-blue);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.ocean-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.ocean-link:hover::after {
    width: 100%;
}

.ocean-link:hover {
    color: var(--deep-blue);
    transform: translateY(-1px);
}

/* Section Titles */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px var(--shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.about-card:hover::before {
    left: 100%;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 119, 190, 0.2);
}

.icon-circle {
    width: 80px;
    height: 80px;
    border: 3px solid var(--ocean-blue);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-secondary);
    box-shadow: 0 5px 20px rgba(0, 119, 190, 0.3);
    position: relative;
}

/* CSS Icons */
.icon-prayer {
    width: 30px;
    height: 30px;
    border: 3px solid var(--white);
    border-radius: 50%;
    position: relative;
}

.icon-prayer::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid var(--white);
}

.icon-prayer::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--white);
    border-radius: 50%;
}

.icon-precision {
    width: 30px;
    height: 30px;
    border: 3px solid var(--white);
    border-radius: 50%;
    position: relative;
}

.icon-precision::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 10px;
    background: var(--white);
    border-radius: 1px;
}

.icon-precision::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 2px;
    height: 8px;
    background: var(--white);
    border-radius: 1px;
}

.icon-spiritual {
    width: 30px;
    height: 20px;
    border: 3px solid var(--white);
    border-radius: 15px 15px 0 0;
    position: relative;
}

.icon-spiritual::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: transparent;
}

.icon-spiritual::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--white);
}

.icon-support {
    width: 30px;
    height: 20px;
    border: 3px solid var(--white);
    border-radius: 8px;
    position: relative;
}

.icon-support::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-top: 12px solid var(--white);
}

.icon-technical {
    width: 30px;
    height: 30px;
    border: 3px solid var(--white);
    border-radius: 6px;
    position: relative;
}

.icon-technical::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
}

.icon-technical::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 3px;
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 1px;
    box-shadow: 10px 0 0 var(--white), 0 -8px 0 var(--white), 10px -8px 0 var(--white);
}

.icon-community {
    width: 30px;
    height: 30px;
    border: 3px solid var(--white);
    border-radius: 50%;
    position: relative;
}

.icon-community::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    width: 12px;
    height: 8px;
    border: 2px solid var(--white);
    border-radius: 50% 50% 0 0;
}

.icon-community::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 4px;
    right: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 0 0 50% 50%;
}

.about-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--ocean-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

/* Privacy and Contact Sections */
.privacy-content, .contact-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 50px var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.privacy-content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--ocean-blue);
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
    position: relative;
    padding-left: 1rem;
}

.privacy-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 25px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.privacy-content h3:first-child {
    margin-top: 0;
}

.privacy-content p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: rgba(77, 166, 217, 0.1);
    border: 2px solid rgba(0, 119, 190, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 119, 190, 0.2);
    border-color: var(--ocean-blue);
}

.contact-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--ocean-blue);
    font-size: 1.3rem;
    margin: 1rem 0;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.4s; }
.fade-in:nth-child(4) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        width: 200px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .article-content {
        padding: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .privacy-content, .contact-content {
        padding: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .article-content {
        padding: 1.5rem;
    }
    
    .article-content p {
        font-size: 1rem;
    }
    
    .privacy-content, .contact-content {
        padding: 1.5rem;
    }
    
    .about-card, .contact-card {
        padding: 2rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}