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

:root {
    --primary-color: #4A90E2;
    --secondary-color: #2C5282;
    --tertiary-color: #48BB78;
    --accent-color: #FF6B6B;
    --text-dark: #2D3748;
    --text-light: #718096;
    --bg-light: #F7FAFC;
    --bg-white: #FFFFFF;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #4A90E2 0%, #2C5282 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    flex: 1;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Logo Section */
.logo {
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.logo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.logo h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.logo p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Welcome Text */
.welcome-text {
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.welcome-text h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.welcome-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    min-width: 280px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn i {
    font-size: 1.3rem;
    width: 30px;
    text-align: center;
}

.btn span {
    flex: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #4A90E2, #2C5282);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #FF6B6B, #E53E3E);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.btn-tertiary {
    background: linear-gradient(135deg, #48BB78, #38A169);
    color: white;
}

.btn-tertiary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.4);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: auto;
}

.footer p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer p:last-child {
    margin-bottom: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 1.5rem;
    }
    
    .logo img {
        width: 100px;
        height: 100px;
    }
    
    .logo h1 {
        font-size: 2.5rem;
    }
    
    .logo p {
        font-size: 1rem;
    }
    
    .welcome-text h2 {
        font-size: 2rem;
    }
    
    .welcome-text p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-width: 250px;
    }
    
    .navigation-buttons {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 1rem;
    }
    
    .logo img {
        width: 80px;
        height: 80px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .welcome-text h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        min-width: 220px;
    }
    
    .btn i {
        font-size: 1.2rem;
        width: 25px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.btn:active {
    animation: pulse 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Focus States for Accessibility */
.btn:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .hero {
        background: white;
        color: black;
    }
    
    .btn {
        display: none;
    }
    
    .footer {
        background: white;
        color: black;
    }
}
