
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #4CAF50;
    border-top: 5px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid #4CAF50;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
    z-index: 10000;
}

.custom-cursor.grow {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: #4CAF50;
    opacity: 0.5;
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #1a1a1a; /* Dark background */
    color: #f4f4f4;
    line-height: 1.6;
    overflow-x: hidden;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232a2a2a' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

h1, h2, h3 {
    color: #4CAF50; /* Vibrant Green */
    animation: fadeInDown 0.7s ease-in-out;
}

a {
    text-decoration: none;
    color: #4CAF50;
    transition: color 0.3s ease;
}

a:hover {
    color: #81C784; /* Lighter Green */
}

/* New Navbar Style */
header {
    background-color: #1a1a1a;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
    transition: background-color 0.3s ease;
}

header.scrolled {
    background-color: #111;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 3rem;
}

.logo a {
    font-size: 2rem;
    font-weight: 700;
    color: #f4f4f4;
    text-shadow: 0 0 8px rgba(76, 175, 80, 0.7);
    transition: text-shadow 0.3s ease;
}

.logo a:hover {
    text-shadow: 0 0 16px rgba(76, 175, 80, 1);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

nav ul li a {
    font-weight: 500;
    color: #ccc;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4CAF50;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

nav ul li a:hover,
nav ul li a.active {
    color: #fff;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    transform: scaleX(1);
}

/* New Hero Section Style */
.hero-section {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    overflow: hidden;
    background: linear-gradient(rgba(26, 26, 26, 0.6), rgba(26, 26, 26, 0.8)), url('https://images.unsplash.com/photo-1517836357463-d25dfeac3438?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center/cover;
    animation: fadeIn 1.5s ease-in-out;
}





.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 15px rgba(0,0,0,0.5);
}

.animated-headline span {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) scale(0.8);
    animation: textStaggerIn 1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    animation-delay: var(--delay);
}

.hero-content p {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideInUp 1s ease-out 0.8s forwards;
}

.cta-button {
    background: linear-gradient(45deg, #4CAF50, #81C784);
    color: #fff;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
    transform: scale(0.9);
    animation: scaleIn 1s ease-out 1.2s forwards;
    opacity: 0;
}

.cta-button:hover {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.6);
}







/* Planner Section */
.planner-section {
    padding: 60px 20px;
}

#planner-form {
    background-color: #2a2a2a;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    border: 1px solid #333;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    margin-bottom: 10px;
    font-weight: 500;
    color: #f4f4f4;
}

.form-group input,
.form-group select {
    padding: 15px;
    background-color: #1a1a1a;
    border: 2px solid #333;
    border-radius: 8px;
    font-size: 1rem;
    color: #f4f4f4;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.5);
}

#output-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.output-card, .about-card {
    background-color: #2a2a2a;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border: 1px solid #333;
    transition: box-shadow 0.3s ease-out;
}
.output-card:hover, .about-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.output-card h3 {
    margin-top: 0;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 15px;
    margin-bottom: 25px;
    font-size: 1.8rem;
}



.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* Contact Section */
.contact-section {
    padding: 80px 20px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-form {
    background-color: #2a2a2a;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border: 1px solid #333;
    transition: all 0.4s ease;
}

.contact-form:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}


.contact-info {
    padding: 20px;
}

.contact-info h3 {
    font-size: 2rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.social-links a {
    margin-right: 25px;
    font-size: 2rem;
    color: #f4f4f4;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
    transform: scale(1.3) rotate(10deg);
    color: #4CAF50;
    text-shadow: 0 0 15px #4CAF50;
}


/* Weekly Schedule Table */
#weekly-schedule table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

#weekly-schedule th,
#weekly-schedule td {
    padding: 18px;
    text-align: left;
    border-bottom: 1px solid #333;
}

#weekly-schedule th {
    background: linear-gradient(45deg, #4CAF50, #5cb85c);
    color: white;
    font-weight: 600;
}

#weekly-schedule tr {
    transition: background-color 0.3s ease;
}

#weekly-schedule tr:nth-child(even) {
    background-color: #2f2f2f;
}

#weekly-schedule tr:hover {
    background-color: #383838;
}

/* AI Thinking Animation */
#thinking-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 40px;
}

.dot {
    width: 15px;
    height: 15px;
    background-color: #4CAF50;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) {
    animation-delay: -0.32s;
}

.dot:nth-child(2) {
    animation-delay: -0.16s;
}


/* Footer */
footer {
    background-color: #1a1a1a;
    color: #aaa;
    text-align: center;
    padding: 2.5rem;
    margin-top: auto;
    border-top: 1px solid #333;
}

/* Utilities */
.hidden {
    display: none !important;
}

/* Keyframe Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes textStaggerIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0);
  } 40% {
    transform: scale(1.0);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    nav {
        padding: 1rem 2rem;
    }
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    #planner-form {
        grid-template-columns: 1fr;
    }
}


