body {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: #000000;
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
}

#hero-video-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: #000000;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.5;
}

.logo-overlay {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 500px;
    height: 500px;
    cursor: pointer;
    display: flex; 
    align-items: center; 
    justify-content: center;
}

.logo-overlay img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-pulse:hover {
    transform: translate(-50%, -50%) scale(1.15);
    filter: drop-shadow(0 0 25px rgba(76, 175, 80, 0.8))
            drop-shadow(0 0 50px rgba(76, 175, 80, 0.5));
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1.15); 
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2); 
    }
}

@media (max-width: 768px) {
    .logo-overlay {
        width: 60px;
        height: 60px;
    }
}

#hero-video-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 100%);
    pointer-events: none;
}

#hero {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(ellipse at center, #1a1a1a 0%, #000000 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

#hero-content h1 {
    font-size: 6rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ffffff 0%, #000000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 80px rgba(255, 255, 255, 0.3);
}

section[style*="height: 2000vh"] { 
    display: none;
}

section:not(#hero):not(#hero-video-section)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
    pointer-events: none;
}

section:not(#hero):not(#hero-video-section)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    pointer-events: none;
}

section:not(#hero-video-section) {
    min-height: 50vh;
    padding: 0px 20px;
}

/* Services Section */
#services {
    min-height: 100vh;
    padding: 100px 50px;
    background: #111;
}

/* Portfolio Section */
#portfolio {
    min-height: 100vh;
    padding: 100px 50px;
    background: #000;
}

/* About Section */
#about {
    min-height: 100vh;
    padding: 100px 50px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-content {
    max-width: 900px;
    text-align: center;
}

.about-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Contact Section */
#contact {
    min-height: 100vh;
    padding: 100px 50px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-wrapper {
    max-width: 700px;
    width: 100%;
}

.contact-subtitle {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    font-size: 18px;
    margin-bottom: 50px;
}

/* Payment Section */
#payment {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.payment-title {
    color: white;
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
}

.payment-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.payment-select-wrapper {
    margin: 30px 0;
}

.payment-label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: white;
}

.payment-select {
    padding: 10px;
    font-size: 16px;
    width: 300px;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: inherit;
}

.payment-select option {
    background: #222;
    color: white;
}

.payment-note {
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

/* Section Titles */
.section-title {
    color: white;
    text-align: center;
    font-size: 48px;
    margin-bottom: 60px;
}

#about .section-title {
    margin-bottom: 40px;
}

#contact .section-title {
    margin-bottom: 20px;
}

/* Navigation Chat */
#navigation-chat {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
}

#chatbot {
    text-align: center;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center; 
}

button,
#chat-trigger,
.watch,
.ad-controls button {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    color: #ffffff;
    border: 1px solid #333;
    padding: 15px 35px;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

button:hover,
#chat-trigger:hover,
.watch:hover,
.ad-controls button:hover {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

#find-gift h2 {
    font-size: 4rem;
    text-align:  center;
    margin-bottom: 40px;
    font-weight: 700;
}

.quiz-mockup {
    text-align: center;
    padding: 40px;
    color: #aaa;
}

#Library h2 {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.character-grid {
    text-align: center;
    color: #aaa;
    padding: 40px;
}

#advertisement {
    background-color: #000000;   
}

.ad-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.ad-content {
    text-align: center;
}

.ad-content h3 {
    font-size: 3rem;
    margin-bottom: 20px;
}

#inspiration {
    background-color: #0a0a0a;
}

#inspiration h2 {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.character-quotes {
    text-align: center;
    padding: 40px;
    color: #ffffff;
    line-height: 1.8;
}

.hero-subtitle {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
    margin: 20px 0 40px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(76, 175, 80, 0.5);
}

.service-card h3 {
    color: #4CAF50;
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card p {
    color: rgba(76, 175, 80, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-card li {
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 0;
    position: relative;
    padding-left: 25px;
}

.service-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.price {
    font-size: 32px !important;
    font-weight: bold;
    color: #4CAF50 !important;
    margin-top: 20px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-cta {
    text-align: center;
    margin-top: 60px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(76, 175, 80, 0.5);
}

.project-card h3 {
    color: #4CAF50;
    font-size: 24px;
    margin-bottom: 15px;
}

.project-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
}

.tech-stack {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 14px !important;
    font-style: italic;
}

.project-status {
    color: #4CAF50 !important;
    font-weight: bold;
    font-size: 14px !important;
}

.project-link {
    display: inline-block;
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #45a049;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
}
/* Enhanced Contact Form Styling */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.contact-form button:active {
    transform: translateY(0);
}

