        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #e3f2fd 0%, #f0f8ff 100%);
            color: #2c3e50;
            line-height: 1.6;
            position: relative;
            overflow-x: hidden;
        }

        /* Landing Page Style */
        /* Hero Section */
        .hero-section {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: linear-gradient(135deg, #b2ebf2 0%, #e0f2f1 50%, #f1f8e9 100%);
            padding: 4rem 2rem;
            flex-wrap: wrap;
            position: relative;
            overflow: hidden;
            min-height: 80vh;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            animation: rotate 30s linear infinite;
        }

        @keyframes rotate {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .hero-text {
            flex: 1 1 50%;
            min-width: 300px;
            z-index: 2;
            position: relative;
        }

        .hero-text h1 {
            font-size: 2rem;
            background: linear-gradient(135deg, #263238, #37474f, #4a90a4);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 2rem;
            line-height: 1.4;
            animation: slideInLeft 1s ease-out;
        }

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .hero-image {
            flex: 1 1 40%;
            min-width: 250px;
            text-align: center;
            z-index: 2;
            position: relative;
            animation: slideInRight 1s ease-out;
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .hero-image img {
            width: 100%;
            max-width: 400px;
            filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
            transition: all 0.3s ease;
        }

        .hero-image img:hover {
            transform: scale(1.05) rotate(2deg);
        }

        /* Content Grid */
        .content-grid {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            padding: 3rem 2rem;
            background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 50%, #f8f9fa 100%);
            gap: 3rem;
            position: relative;
        }

        .content-grid::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, #4a90a4, transparent);
        }

        .topics, .articles {
            flex: 1 1 48%;
            min-width: 300px;
            animation: fadeInUp 1s ease-out;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .topics h2, .articles h2 {
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            background: linear-gradient(135deg, #37474f, #4a90a4);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-align: center;
            position: relative;
        }

        .topics h2::after, .articles h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 3px;
            background: linear-gradient(90deg, #4a90a4, #4CAF50);
            border-radius: 2px;
        }

        /* Topik Grid */
        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 1rem;
        }

        /* Kartu Topik */
        .card {
            background: linear-gradient(135deg, rgba(225, 245, 254, 0.8), rgba(255, 255, 255, 0.9));
            padding: 1.5rem;
            border-radius: 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.4s ease;
            border: 1px solid rgba(74, 144, 164, 0.1);
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #4a90a4, #4CAF50);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .card:hover::before {
            transform: scaleX(1);
        }

        .card:hover {
            transform: translateY(-10px) scale(1.05);
            box-shadow: 0 20px 40px rgba(74, 144, 164, 0.2);
            background: linear-gradient(135deg, rgba(225, 245, 254, 1), rgba(255, 255, 255, 1));
        }

        .card img {
            width: 90px;
            height: 90px;
            margin-bottom: 1rem;
            object-fit: contain;
            transition: all 0.3s ease;
            filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
        }

        .card:hover img {
            transform: scale(1.1) rotate(5deg);
        }

        .card p {
            font-weight: bold;
            color: #00796b;
            margin: 0;
            font-size: 1.1rem;
        }

        /* Artikel */
        .article-card {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
            border-radius: 20px;
            padding: 1.5rem;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(74, 144, 164, 0.1);
            transition: all 0.3s ease;
        }

        .article-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(74, 144, 164, 0.15);
        }

        .article-card img {
            width: 100%;
            max-width: 350px;
            border-radius: 15px;
            display: block;
            margin: 0 auto;
            transition: all 0.3s ease;
            filter: drop-shadow(0 8px 20px rgba(0,0,0,0.1));
        }

        .article-card img:hover {
            transform: scale(1.02);
        }

        
        /* Animated Background */
        .animated-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
        }
        
        .floating-shapes {
            position: absolute;
            width: 100%;
            height: 100%;
        }
        
        .shape {
            position: absolute;
            border-radius: 50%;
            animation: float 20s infinite linear;
        }
        
        .shape:nth-child(1) {
            width: 80px;
            height: 80px;
            left: 10%;
            animation-delay: 0s;
            background: linear-gradient(45deg, rgba(255, 182, 193, 0.4), rgba(255, 218, 185, 0.4));
        }
        
        .shape:nth-child(2) {
            width: 120px;
            height: 120px;
            left: 80%;
            animation-delay: 7s;
            background: linear-gradient(45deg, rgba(173, 216, 230, 0.4), rgba(240, 248, 255, 0.4));
        }
        
        .shape:nth-child(3) {
            width: 60px;
            height: 60px;
            left: 50%;
            animation-delay: 14s;
            background: linear-gradient(45deg, rgba(255, 192, 203, 0.4), rgba(255, 240, 245, 0.4));
        }
        
        .shape:nth-child(4) {
            width: 100px;
            height: 100px;
            left: 25%;
            animation-delay: 3s;
            background: linear-gradient(45deg, rgba(176, 224, 230, 0.4), rgba(230, 250, 250, 0.4));
        }
        
        .shape:nth-child(5) {
            width: 70px;
            height: 70px;
            left: 70%;
            animation-delay: 10s;
            background: linear-gradient(45deg, rgba(255, 228, 225, 0.4), rgba(255, 245, 238, 0.4));
        }
        
        @keyframes float {
            0% {
                transform: translateY(100vh) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                transform: translateY(-100px) rotate(360deg);
                opacity: 0;
            }
        }
        
        .wave-animation {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100px;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E") repeat-x;
            animation: wave 15s ease-in-out infinite;
        }
        
        @keyframes wave {
            0%, 100% {
                transform: translateX(0);
            }
            50% {
                transform: translateX(-50px);
            }
        }
        
        .navbar {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
            backdrop-filter: blur(15px);
            padding: 1rem 2rem;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            top: 0;
            z-index: 1000;
            transition: all 0.3s ease;
            overflow: visible !important;
        }


        .navbar:hover {
            box-shadow: 0 6px 30px rgba(0,0,0,0.15);
        }
        
        .logo {
            font-size: 2rem;
            font-weight: bold;
            background: linear-gradient(135deg, #2c5f2d, #4a90a4);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .logo:hover {
            transform: scale(1.05);
        }
        
        
        .nav-links {
            display: flex;
            gap: 0.5rem;
            list-style: none;
            position: relative;
            overflow: visible !important;
        }

        .nav-item {
            position: relative;
        }

        /* Button Beranda dan Materi */
        .nav-links a {
            text-decoration: none;
            color: #2c3e50;
            font-weight: 500;
            padding: 0.8rem 1.5rem;
            border-radius: 25px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            margin-left: -6px;
            display: inline-block;
        }

        .nav-links a::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;
        }

        .nav-links a:hover::before {
            left: 100%;
        }

        .nav-links a:hover {
            color: #4a90a4;
            background: linear-gradient(135deg, rgba(74, 144, 164, 0.1), rgba(76, 175, 80, 0.1));
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(74, 144, 164, 0.2);
        }

        .nav-links a.active {
            color: white;
            background: linear-gradient(135deg, #4a90a4, #4CAF50);
            box-shadow: 0 5px 15px rgba(74, 144, 164, 0.3);
        }

        /* Dropdown Menu */
        .dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            left: auto;
            min-width: 220px;
            max-width: max-content;
            white-space: nowrap;
            overflow: visible;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
            backdrop-filter: blur(15px);
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transform-origin: top right;
            transition: all 0.3s ease;
            border: 1px solid rgba(74, 144, 164, 0.2);
            z-index: 9999;
        }

        /* Ini yang diperbaiki bro */
        .has-dropdown:hover .dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-item {
            padding: 0.8rem 1.5rem;
            color: #2c3e50;
            text-decoration: none;
            display: block;
            transition: all 0.3s ease;
            border-radius: 10px;
            margin: 0.3rem;
        }

        .dropdown-item:hover {
            background: linear-gradient(135deg, #e3f2fd, #f0f8ff);
            color: #4a90a4;
            transform: translateX(5px);
        }

        @media (max-width: 768px) {
        .has-dropdown .dropdown {
            display: none;
        }

        .has-dropdown.open .dropdown {
            display: block;
            opacity: 1;
            visibility: visible;
            transform: none;
        }
        }

        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }
        
        .page-header {
            text-align: center;
            margin-bottom: 3rem;
            padding: 3rem 2rem;
            background: linear-gradient(135deg, #4a90a4, #5ba3b7);
            border-radius: 20px;
            color: white;
            box-shadow: 0 10px 30px rgba(74, 144, 164, 0.3);
            position: relative;
            overflow: hidden;
        }
        
        .page-header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            animation: rotate 20s linear infinite;
        }
        
        .page-header-content {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: 1000px;
            margin: 0 auto;
        }
        
        .header-text {
            flex: 1;
            text-align: left;
        }
        
        .header-image {
            flex: 0 0 300px;
            height: 250px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            margin-left: 2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px dashed rgba(255, 255, 255, 0.3);
            transition: all 0.3s ease;
        }
        
        .header-image:hover {
            border-color: rgba(255, 255, 255, 0.6);
            background: rgba(255, 255, 255, 0.15);
        }
        
        .header-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 13px;
        }
        
        .header-image-placeholder {
            color: rgba(255, 255, 255, 0.7);
            text-align: center;
            font-size: 0.9rem;
        }
        
        .header-image-placeholder::before {
            content: '👩‍⚕️';
            font-size: 3rem;
            display: block;
            margin-bottom: 1rem;
        }
        
        @keyframes rotate {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }
        
        .page-header h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }
        
        .page-header p {
            font-size: 1.2rem;
            opacity: 0.9;
        }
        
        .pregnancy-timeline {
            margin-bottom: 3rem;
        }
        
        .timeline-header {
            text-align: center;
            margin-bottom: 2rem;
        }
        
        .timeline-header h2 {
            color: #2c5f2d;
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }
        
        .timeline-container {
            position: relative;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: white;
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            overflow-x: auto;
        }
        
        .timeline-line {
            position: absolute;
            top: 50%;
            left: 10%;
            right: 10%;
            height: 4px;
            background: linear-gradient(to right, #ff9a9e, #fecfef, #fecfef);
            border-radius: 2px;
            z-index: 1;
        }
        
        .trimester {
            position: relative;
            z-index: 2;
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s ease;
            min-width: 150px;
            background: white;
            padding: 1.5rem;
            border-radius: 15px;
            box-shadow: 0 3px 15px rgba(0,0,0,0.1);
        }
        
        .trimester:hover {
            transform: translateY(-5px);
        }
        
        .trimester-image {
            width: 100%;
            height: 120px;
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            border-radius: 10px;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            border: 2px dashed #dee2e6;
            transition: all 0.3s ease;
        }
        
        .trimester-image:hover {
            border-color: #4a90a4;
        }
        
        .trimester-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
        }
        
        .trimester-placeholder {
            color: #6c757d;
            text-align: center;
            font-size: 0.8rem;
        }
        
        .trimester-circle {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            margin: 0 auto 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: white;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
        }
        
        .trimester-1 .trimester-circle {
            background: linear-gradient(135deg, #ff9a9e, #fecfef);
        }
        
        .trimester-2 .trimester-circle {
            background: linear-gradient(135deg, #a8edea, #fed6e3);
        }
        
        .trimester-3 .trimester-circle {
            background: linear-gradient(135deg, #ffecd2, #fcb69f);
        }
        
        .trimester h3 {
            font-size: 1.1rem;
            color: #2c3e50;
            margin-bottom: 0.5rem;
        }
        
        .trimester p {
            font-size: 0.9rem;
            color: #666;
        }
        
        .topics-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }
        
        .topic-card {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .topic-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #4a90a4, #5ba3b7);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }
        
        .topic-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }
        
        .topic-card:hover::before {
            transform: scaleX(1);
        }
        
        /* Image slot for topic cards */
        .topic-image {
            width: 100%;
            height: 200px;
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            border-radius: 10px;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
            border: 2px dashed #dee2e6;
            transition: all 0.3s ease;
        }
        
        .topic-image:hover {
            border-color: #4a90a4;
            background: linear-gradient(135deg, #e3f2fd, #f0f8ff);
        }
        
        .topic-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
        }
        
        .image-placeholder {
            color: #6c757d;
            text-align: center;
            font-size: 0.9rem;
        }
        
        .image-placeholder::before {
            content: '🖼️';
            font-size: 2rem;
            display: block;
            margin-bottom: 0.5rem;
        }
        
        .topic-icon {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            margin: 0 auto 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            color: white;
            background: linear-gradient(135deg, #4a90a4, #5ba3b7);
        }
        
        .topic-card h3 {
            color: #2c5f2d;
            font-size: 1.3rem;
            margin-bottom: 1rem;
            text-align: center;
        }
        
        .topic-card p {
            color: #666;
            text-align: center;
            margin-bottom: 1.5rem;
        }
        
        .progress-bar {
            width: 100%;
            height: 8px;
            background: #e0e0e0;
            border-radius: 4px;
            overflow: hidden;
            margin-bottom: 1rem;
        }
        
        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #4a90a4, #5ba3b7);
            border-radius: 4px;
            transition: width 0.3s ease;
        }
        
        .btn {
            background: linear-gradient(135deg, #4a90a4, #4CAF50, #66BB6A);
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 50px;
            cursor: pointer;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            text-align: center;
            position: relative;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(74, 144, 164, 0.3);
        }

        .btn::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;
        }
        
        .btn:hover::before {
            left: 100%;
        }
        
        .btn:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 10px 30px rgba(74, 144, 164, 0.4);
        }
        
        .interactive-quiz {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            position: relative;
            overflow: hidden;
        }
        
        .quiz-bg-decoration {
            position: absolute;
            top: -20px;
            right: -20px;
            width: 100px;
            height: 100px;
            background: linear-gradient(45deg, #4a90a4, #5ba3b7);
            border-radius: 50%;
            opacity: 0.1;
            animation: bounce 3s ease-in-out infinite;
        }
        
        .quiz-image {
            width: 200px;
            height: 150px;
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            border-radius: 10px;
            margin: 0 auto 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px dashed #dee2e6;
            transition: all 0.3s ease;
        }
        
        .quiz-image:hover {
            border-color: #4a90a4;
        }
        
        .quiz-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
        }
        
        .quiz-image-placeholder {
            color: #6c757d;
            text-align: center;
            font-size: 0.8rem;
        }
        
        .quiz-image-placeholder::before {
            content: '🧠';
            font-size: 2.5rem;
            display: block;
            margin-bottom: 0.5rem;
        }
        
        @keyframes bounce {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }
        
        .quiz-header {
            text-align: center;
            margin-bottom: 2rem;
        }
        
        .quiz-question {
            display: none;
            text-align: center;
            display: block !important;
            color: black !important;
            font-weight: bold;
        }
        
        .quiz-question.active {
            display: block;
        }
        
        .quiz-options {
            display: grid;
            gap: 1rem;
            margin: 2rem 0;
        }
        
        .quiz-option {
            background: #f8f9fa;
            border: 2px solid transparent;
            border-radius: 10px;
            padding: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .quiz-option:hover {
            border-color: #4a90a4;
            background: #e3f2fd;
        }
        
        .quiz-option.selected {
            border-color: #4a90a4;
            background: #e3f2fd;
        }
        
        .floating-tips {
            position: fixed;
            right: 2rem;
            top: 50%;
            transform: translateY(-50%);
            width: 250px;
            background: white;
            border-radius: 15px;
            padding: 1.5rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            z-index: 1000;
        }
        
        .tip-header {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .tip-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, #ffd54f, #ffb74d);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            font-size: 1.2rem;
        }
        
        .tip-content {
            font-size: 0.9rem;
            color: #666;
        }
        
        @media (max-width: 768px) {
            .navbar {
                padding: 1rem;
                flex-direction: column;
                gap: 1rem;
            }
            
            .nav-links {
                gap: 1rem;
            }
            
            .hero-section {
                flex-direction: column;
                padding: 2rem 1rem;
                text-align: center;
            }

            .hero-text {
                text-align: center;
            }

            .hero-text h1 {
                font-size: 2rem;
                line-height: 1.3;
            }

            .hero-image {
                flex: none;
                width: 100%;
                max-width: 300px;
                margin: 2rem auto 0;
            }

            .hero-image img {
                max-width: 100%;
                height: auto;
            }

            .container {
                padding: 1rem;
            }
            
            .page-header h1 {
                font-size: 2rem;
            }
            
            .page-header-content {
                flex-direction: column;
                text-align: center;
            }
            
            .header-text {
                text-align: center;
            }
            
            .header-image {
                flex: none;
                width: 100%;
                max-width: 300px;
                margin: 2rem auto 0;
            }
            
            .timeline-container {
                flex-direction: column;
                gap: 2rem;
            }
            
            .timeline-line {
                display: none;
            }
            
            .trimester {
                min-width: auto;
                width: 100%;
                max-width: 300px;
                margin: 0 auto;
            }
            
            .floating-tips {
                position: static;
                width: 100%;
                margin-bottom: 2rem;
                transform: none;
            }
        }
        
        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.6s ease forwards;
        }
        
        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .pulse {
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.02);
            }
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .navbar {
                padding: 1rem;
                flex-direction: column;
                gap: 1rem;
            }
            
            .nav-links {
                flex-direction: row;
                flex-wrap: wrap;
                justify-content: center;
            }

            .dropdown {
                position: relative;
                opacity: 1;
                visibility: visible;
                transform: none;
                margin-top: 0.5rem;
                box-shadow: none;
                background: rgba(255, 255, 255, 0.1);
            }
            
            .hero-text h1 {
                font-size: 2rem;
                text-align: center;
            }
            
            .hero-section {
                flex-direction: column;
                text-align: center;
                padding: 2rem 1rem;
            }
            
            .content-grid {
                flex-direction: column;
                padding: 2rem 1rem;
            }
            
            .grid {
                grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            }
        }

        @media (max-width: 768px) {
        /* Pastikan tombol tetap kelihatan */
        .nav-links {
            flex-direction: column;
            align-items: center;
        }

        /* Dropdown disembunyikan default */
        .has-dropdown .dropdown {
            display: none;
        }

        /* Saat class open ditambahkan */
        .has-dropdown.open .dropdown {
            display: block;
            opacity: 1 !important;
            visibility: visible !important;
            transform: none !important;
            position: static;
            background: transparent;
            box-shadow: none;
            margin-top: 0.5rem;
        }

        .dropdown-item {
            text-align: center;
            background: white;
            border-radius: 10px;
            margin: 0.3rem 0;
            padding: 0.8rem;
        }
        }

        /* Loading Animation */
        .loading {
            opacity: 0;
            animation: fadeIn 0.8s ease-out forwards;
        }

        @keyframes fadeIn {
            to {
                opacity: 1;
            }
        }

        /* === MODAL TRIMESTER ANIMASI & WARNA === */
.modal-content {
    animation: zoomFade 0.5s ease;
}

@keyframes zoomFade {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-trimester-1 .modal-content {
    background: linear-gradient(135deg, #fbfdfd, #e2d1c3);
}
.modal-trimester-2 .modal-content {
    background: linear-gradient(135deg, #fbc2eb, #a6c1ee);
}
.modal-trimester-3 .modal-content {
    background: linear-gradient(135deg, #fddb92, #d1fdff);
}

/* Efek bagian muncul satu per satu */
.trimester-section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.trimester-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Efek aktif di timeline */
.trimester.active {
    border: 2px solid #4a90a4;
    background: #e3f2fd;
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.topic-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  animation: fadeIn 0.3s ease;
}
.topic-modal-content {
  background: linear-gradient(135deg, #8cc0d1, #3a89a3);
  margin: 3% auto;
  padding: 2rem;
  border-radius: 25px;
  max-width: 900px;
  position: relative;
  overflow-y: auto;
  max-height: 90vh;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  animation: slideIn 0.4s ease-out;
}
.topic-modal-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  background: linear-gradient(45deg, #ffffff, #d7ecee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.topic-section {
  background: rgba(255,255,255,0.4);
  padding: 1.5rem;
  border-radius: 15px;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.topic-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.topic-section ul {
  padding-left: 1.2rem;
}
.topic-section li {
  margin: 0.5rem 0;
}
.topic-close {
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s;
}
.topic-close:hover {
  transform: scale(1.2);
}

.desktop-only {
  display: flex;
}

/* Sembunyikan di mobile */
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
}

/* Tombol back hanya tampil di mobile */
@media (max-width: 768px) {
  .back-button-mobile {
    position: fixed;
    top: 1rem;
    left: 1rem;
    width: 40px;
    height: 40px;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    border-radius: 50%;
    text-decoration: none;
    z-index: 10000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease;
  }

  .back-button-mobile:hover {
    background-color: #45a049;
  }
}


/* SEMBUNYIKAN SEMUA ELEMEN DENGAN KELAS .mobile-only DI DESKTOP */
.mobile-only {
  display: none;
}

/* TAMPILKAN SAAT MOBILE */
@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }

  .back-button-mobile {
    position: fixed;
    top: 1rem;
    left: 1rem;
    width: 40px;
    height: 40px;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    border-radius: 50%;
    text-decoration: none;
    z-index: 10000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease;
  }

  .back-button-mobile:hover {
    background-color: #45a049;
  }
}

.back-button-mobile:hover {
  background-color: #45a049;
  transform: scale(0.9);
}

/* Sembunyikan di desktop */
.back-button-mobile {
  display: none;
}

/* Tampilkan dan center di mobile */
@media (max-width: 768px) {
  .back-button-mobile {
    display: block;
    position: fixed;
    top: 1rem;
    left: 1rem;
    width: 44px;
    height: 44px;
    background-color: #4CAF50;
    color: white;
    font-weight: bold;
    font-size: 28px;
    text-align: center;
    line-height: 40px; /* ini yang bikin panah betul-betul di tengah */
    border-radius: 50%;
    text-decoration: none;
    z-index: 10000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
    padding: 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .back-button-mobile:hover {
    background-color: #45a049;
    transform: scale(0.9); /* mengecil 90% pas hover */
  }
}

/* SEMBUNYIKAN DI DESKTOP */
.mobile-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0; /* tambahkan ini agar menu penuh */
    align-items: center; /* ini yang bikin center */
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    width: 100%;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 999;
    animation: slideDown 0.3s ease;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav li {
  list-style: none;
  width: 90%;
}

.mobile-nav li a {
  display: block;
  background: linear-gradient(135deg, #4a90a4, #4CAF50);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  color: white; /* Hijau khas BUNAVI */
  transition: transform 0.2s ease, background 0.2s ease;
  border: 1px solid #c8e6c9;
}

.mobile-nav li a:hover {
  background-color: #f1f8e9;
  transform: scale(1.03);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  /* TAMPIL DI MOBILE */
  .mobile-nav {
    display: flex;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    padding: 1rem;
    
  }

  .desktop-only {
    display: none;
  }
}

.nav-menu {
  display: none;
}

.nav-menu.show {
  display: flex;
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: black;
  position: absolute;
  right: 1rem;
  top: 0.7rem;
  z-index: 101;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .desktop-only {
    display: none;
  }

    .mobile-nav {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    padding: 1rem;
    z-index: 100;
    }

    .mobile-nav.active {
    display: flex;
    }

  .mobile-nav li a {
    color: #ffffff;
    padding: 10px;
    display: block;
    text-decoration: none;
  }
}

.nav-menu.mobile-nav {
  padding: 10px 15px;
}

.nav-menu.mobile-nav li {
  list-style: none;
  margin-bottom: 10px;
}

/* === DROPDOWN MOBILE STYLING YANG LEMBUT === */
.has-dropdown-mobile > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: background 0.3s ease;
}

.has-dropdown-mobile > a:hover {
  background-color: #f0f0f0;
}

/* Dropdown animasi lembut */
.dropdown-mobile {
  max-height: 0;
  overflow: hidden;
  flex-direction: column;
  padding-left: 10px;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  margin-left: 16px;
}

.has-dropdown-mobile.active .dropdown-mobile {
  max-height: 1000px; /* cukup besar untuk semua item */
  opacity: 1;
}

.dropdown-mobile li a {
  margin-top: 8px;
  background-color: #f9f9f9;
  padding: 10px 14px;
  border-radius: 6px;
  color: #ffffff;
  font-size: 15px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.dropdown-mobile li a:hover {
  background-color: #eaeaea;
  transform: translateX(4px);
}
