/* Landing Page Specific Styles */

/* Basic and Typography */
body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--gray-80, #333);
    background-color: #f9f9f9;
}

h2 {
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-green, #2a9d8f);
    color: white;
    min-height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px;
    position: relative;
    overflow: hidden; /* For potential bg effects */
}

.hero-content {
    max-width: 600px;
}

.hero-logo {
    display: block;
    max-width: 200px;
    margin: 0 auto 20px auto;
    filter: brightness(0) invert(1); /* Ensure logo is white */
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.4;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Content Section */
.content-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
    margin-top: -40px;
    position: relative;
    z-index: 1;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    box-shadow: 0 -10px 20px rgba(0,0,0,0.05);
}

/* Cards Container */
.landing-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 850px;
    margin: 0 auto;
}

/* Card Styles */
.landing-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.landing-card::before {
    /* Top border highlight on hover */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-green, #2a9d8f);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.landing-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-green, #2a9d8f);
    margin-bottom: 20px;
}

.landing-card h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary-black, #000);
}

.landing-card p {
    color: var(--gray-60, #666);
    margin-bottom: 35px;
    flex-grow: 1;
}

/* Button Styles (General) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.25s ease;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-icon {
    margin-right: 8px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Agent Button */
.agent-login-btn {
    background-color: var(--primary-green, #2a9d8f);
    color: white;
    width: 80%;
}

.agent-login-btn:hover {
    background-color: #1e7a40;
}

/* Student Buttons Container */
.student-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
    margin-top: auto;
}

/* Student Button (Outline Style) */
.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-green, #2a9d8f);
    color: var(--primary-green, #2a9d8f);
    flex: 1;
}

.btn-outline .btn-icon {
    color: var(--primary-green, #2a9d8f);
    transition: color 0.25s ease;
}

.btn-outline:hover {
    background-color: var(--primary-green, #2a9d8f);
    color: white;
}

.btn-outline:hover .btn-icon {
    color: white;
}

/* Footer */
footer {
    padding: 25px 20px;
    text-align: center;
    color: var(--gray-60);
    font-size: 0.9rem;
    background-color: #f1f1f1;
    border-top: 1px solid var(--gray-20);
}

footer a {
    color: var(--primary-green, #2a9d8f);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    text-decoration: underline;
    color: #1e7a40;
}

/* Animation Keyframes */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Utility Classes */
.animate-fadeInDown {
    animation: fadeInDown 0.5s ease-out forwards;
    opacity: 0;
}

.animate-fadeInUp {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.animate-slideInUp {
    animation: slideInUp 0.5s ease-out forwards;
    opacity: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 30vh;
    }
    
    .hero-tagline {
        font-size: 1.3rem;
    }
    
    .content-section {
        margin-top: -30px;
        padding: 40px 15px;
    }
    
    .landing-cards {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    
    .landing-card {
        max-width: 90%;
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        max-width: 160px;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .landing-card h2 {
        font-size: 1.4rem;
    }
    
    .student-buttons {
        flex-direction: column;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
} 