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

:root {
    --primary: #0d9488;
    --primary-light: #14b8a6;
    --secondary: #10b981;
    --accent: #f59e0b;
    --dark: #0f172a;
    --slate: #334155;
    --light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--light);
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Background Overlay */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('background.jpg') center/cover no-repeat;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(13, 148, 136, 0.4) 100%);
    backdrop-filter: blur(10px);
}

/* Main Layout */
.main-wrapper {
    width: 90%;
    max-width: 1100px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Profile Section */
.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: fadeInDown 1s ease-out;
}

.profile-pic-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    position: relative;
}

.profile-pic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--dark);
}

.badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--secondary);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid var(--dark);
    animation: pulse 2s infinite;
}

.doctor-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.designation {
    color: var(--primary-light);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Countdown Section */
.countdown-section {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 40px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: scaleIn 0.8s ease-out;
}

.maintenance-text {
    text-align: center;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--light);
}

.timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.label {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--primary-light);
    font-weight: 600;
    letter-spacing: 1px;
}

/* Info Section */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

.info-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 25px;
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: transform 0.3s ease, background 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.info-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.icon-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.info-content p {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
}

/* Footer Section */
.footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--slate);
}

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

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

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

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .doctor-name { font-size: 2rem; }
    .number { font-size: 2.5rem; }
    .time-box { min-width: 70px; }
    .countdown-section { padding: 30px 15px; }
}
