/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --lemon-yellow: #F4E500;
    --purple-light: #B8A0FF;
    --blue-light: #6EC5FF;
    --white: #FFFFFF;
    --gray-dark: #111111;
    --transition-speed: 0.3s;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--black);
    color: var(--lemon-yellow);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(32px, 8vw, 48px);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(28px, 6vw, 40px);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(20px, 4vw, 28px);
    line-height: 1.4;
}

p {
    font-size: clamp(16px, 3vw, 18px);
    font-weight: 600;
}

/* Lightning Background - REMOVED */

/* Navbar & Hamburger Menu */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    padding: 20px;
    z-index: 1000;
}

.hamburger {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 15px;
    position: relative;
    z-index: 999;
    min-width: 50px;
    min-height: 50px;
    align-items: center;
    justify-content: center;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: var(--lemon-yellow);
    transition: all var(--transition-speed) ease;
    border-radius: 2px;
}

.hamburger:hover span {
    background-color: var(--white);
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.menu-overlay.active {
    transform: translateY(0);
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: 3px solid var(--lemon-yellow);
    color: var(--lemon-yellow);
    font-size: 40px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    font-weight: bold;
    line-height: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.close-menu:hover {
    background: var(--lemon-yellow);
    color: var(--black);
    transform: rotate(90deg);
}

.menu-items {
    list-style: none;
    text-align: center;
}

.menu-items li {
    margin: 30px 0;
    transform: skewX(-10deg);
    transition: transform var(--transition-speed) ease;
}

.menu-items li:hover {
    transform: skewX(-10deg) translateX(10px);
}

.menu-items a {
    color: var(--lemon-yellow);
    text-decoration: none;
    font-size: clamp(28px, 6vw, 48px);
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 3px;
    display: inline-block;
    transition: all var(--transition-speed) ease;
    position: relative;
}

.menu-items a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple-light), var(--blue-light));
    transition: width var(--transition-speed) ease;
}

.menu-items a:hover::after {
    width: 100%;
}

.menu-items a:hover {
    color: var(--white);
}

/* Sections */
.section {
    min-height: 100vh;
    padding: 80px 20px 60px;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Quiz Section */
.quiz-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.question-wrapper {
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-text {
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--lemon-yellow), var(--white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-text {
    margin-bottom: 2rem;
    color: rgba(244, 229, 0, 0.8);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

/* Buttons */
.btn-primary,
.answer-btn {
    background: transparent;
    border: 2px solid var(--lemon-yellow);
    color: var(--lemon-yellow);
    padding: 16px 32px;
    font-size: 18px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    text-transform: uppercase;
    width: 100%;
    max-width: 400px;
    margin: 10px auto;
    display: block;
    position: relative;
    overflow: hidden;
    min-height: 54px;
    font-weight: 700;
}

.btn-primary::before,
.answer-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--lemon-yellow);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before,
.answer-btn:hover::before {
    left: 0;
}

.btn-primary:hover,
.answer-btn:hover {
    color: var(--black);
    border-color: var(--white);
}

.btn-primary:active,
.answer-btn:active {
    transform: scale(0.98);
}

/* Answer Options */
.answer-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 2rem;
}

/* Back Button */
.btn-back {
    background: transparent;
    border: 2px solid rgba(244, 229, 0, 0.5);
    color: rgba(244, 229, 0, 0.7);
    padding: 12px 24px;
    font-size: 16px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    text-transform: uppercase;
    width: 100%;
    max-width: 400px;
    margin: 20px auto 0;
    display: block;
    font-weight: 700;
    min-height: 48px;
}

.btn-back:hover {
    border-color: var(--lemon-yellow);
    color: var(--lemon-yellow);
    transform: translateX(-5px);
}

.btn-back:active {
    transform: scale(0.98);
}

/* Checkbox/Radio Styles */
.checkbox-group,
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 2rem 0;
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: 2px solid var(--lemon-yellow);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    position: relative;
    font-size: 18px;
}

.checkbox-label:hover,
.radio-label:hover {
    background: rgba(244, 229, 0, 0.1);
    border-color: var(--white);
}

.checkbox-label input[type="checkbox"],
.radio-label input[type="radio"] {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    cursor: pointer;
    accent-color: var(--lemon-yellow);
}

/* Text Input */
.text-input-group {
    margin: 2rem 0;
}

.text-input {
    width: 100%;
    padding: 16px;
    background: var(--gray-dark);
    border: 2px solid var(--lemon-yellow);
    color: var(--lemon-yellow);
    font-size: 16px;
    font-family: 'Rajdhani', sans-serif;
    transition: all var(--transition-speed) ease;
}

.text-input:focus {
    outline: none;
    border-color: var(--white);
    box-shadow: 0 0 20px rgba(244, 229, 0, 0.3);
}

.text-input::placeholder {
    color: rgba(244, 229, 0, 0.5);
}

textarea.text-input {
    min-height: 120px;
    resize: vertical;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--gray-dark);
    margin-top: 3rem;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--purple-light), var(--blue-light), var(--lemon-yellow));
    width: 0%;
    transition: width 0.5s ease;
}

/* Section Title & Divider */
.section-title {
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--lemon-yellow), var(--white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lightning-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--purple-light), var(--blue-light));
    margin: 0 auto 2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scaleX(1); }
    50% { opacity: 0.7; transform: scaleX(1.2); }
}

.section-intro {
    text-align: justify;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: rgba(244, 229, 0, 0.8);
}

/* About Section */
.about-text {
    max-width: 900px;
    margin: 0 auto 2rem;
    text-align: justify;
    color: rgba(244, 229, 0, 0.9);
    font-size: 18px;
    line-height: 1.8;
    padding: 30px 20px;
    border: 2px solid var(--lemon-yellow);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    background: var(--gray-dark);
    border: 2px solid var(--lemon-yellow);
    color: var(--lemon-yellow);
    font-size: 16px;
    font-family: 'Rajdhani', sans-serif;
    transition: all var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--white);
    box-shadow: 0 0 20px rgba(244, 229, 0, 0.3);
}

.form-message {
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    display: block;
    border: 2px solid var(--lemon-yellow);
    background: rgba(244, 229, 0, 0.1);
}

.form-message.error {
    display: block;
    border: 2px solid #ff4444;
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 3rem;
}

.service-card {
    border: 2px solid var(--lemon-yellow);
    padding: 30px 20px;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(184, 160, 255, 0.1), rgba(110, 197, 255, 0.1));
    transition: left 0.4s ease;
    z-index: -1;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    border-color: var(--white);
    transform: translateY(-5px);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--lemon-yellow);
}

.service-card p {
    color: rgba(244, 229, 0, 0.8);
    font-size: 16px;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Service Link */
.service-link {
    display: inline-block;
    color: var(--lemon-yellow);
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    padding: 10px 20px;
    border: 2px solid var(--lemon-yellow);
    transition: all var(--transition-speed) ease;
    margin-top: auto;
}

.service-link:hover {
    background: var(--lemon-yellow);
    color: var(--black);
    transform: translateX(5px);
}

/* Footer */
.footer {
    background: var(--black);
    border-top: 2px solid var(--lemon-yellow);
    padding: 40px 20px 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.social-icons a {
    color: var(--lemon-yellow);
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid var(--lemon-yellow);
    border-radius: 50%;
}

.social-icons a:hover {
    color: var(--black);
    background: var(--lemon-yellow);
    transform: scale(1.1);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

.contact-info {
    margin-bottom: 20px;
}

.footer-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--lemon-yellow);
}

.footer-contact-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
}

.footer-link {
    color: var(--lemon-yellow);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-speed) ease;
    padding: 8px 12px;
    border: 1px solid var(--lemon-yellow);
    border-radius: 4px;
}

.footer-link:hover {
    background: var(--lemon-yellow);
    color: var(--black);
}

.footer-link svg {
    width: 16px;
    height: 16px;
}

.separator {
    color: rgba(244, 229, 0, 0.5);
    font-size: 14px;
}

.footer-copyright {
    margin-bottom: 0;
    font-size: 14px;
    color: rgba(244, 229, 0, 0.7);
}

/* Mobile adjustments for footer */
@media (max-width: 480px) {
    .footer-contact-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .separator {
        display: none;
    }
}

/* Tablet Styles */
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .section {
        padding: 100px 40px 80px;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .quiz-container {
        padding: 40px;
    }
    
    body {
        font-size: 18px;
    }
}

/* Animations for fade transitions */
.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

.fade-in {
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Detail Page Styles */
.service-detail {
    padding-top: 100px;
}

.detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.detail-intro {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 3rem;
    padding: 30px;
    border: 2px solid var(--lemon-yellow);
    text-align: justify;
    background: linear-gradient(135deg, rgba(184, 160, 255, 0.05), rgba(110, 197, 255, 0.05));
}

.detail-content h3 {
    color: var(--lemon-yellow);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: clamp(22px, 5vw, 28px);
}

.detail-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: justify;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.detail-list li {
    padding: 15px 20px;
    margin-bottom: 12px;
    border-left: 4px solid var(--lemon-yellow);
    background: rgba(244, 229, 0, 0.05);
    line-height: 1.6;
}

.detail-list li strong {
    color: var(--lemon-yellow);
    display: block;
    margin-bottom: 5px;
}

.cta-box {
    text-align: center;
    padding: 40px 20px;
    border: 3px solid var(--lemon-yellow);
    background: linear-gradient(135deg, rgba(184, 160, 255, 0.05), rgba(110, 197, 255, 0.05));
    margin-top: 3rem;
}

.cta-box h3 {
    margin-bottom: 1rem;
    margin-top: 0;
}

.cta-box p {
    margin-bottom: 1.5rem;
    color: rgba(244, 229, 0, 0.8);
}

.cta-box .btn-primary {
    text-decoration: none;
    display: inline-block;
}
