:root {
    --primary-color: #0b5fb4; /* Yatra blue */
    --primary-light: #4c8fdc;
    --accent-color: #f7a827; /* Yatra yellow/orange */
    --text-main: #ffffff;
    --text-muted: #e2e8f0;
    --bg-dark: #0f172a;
    --glass-bg: rgba(15, 23, 42, 0.65);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Background setup */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.background-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.7) 0%,
        rgba(11, 95, 180, 0.4) 100%
    );
    z-index: -1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 5%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    display: flex;
    justify-content: flex-start;
    padding-top: 1rem;
    animation: fadeInDown 1s ease-out;
}

.logo img {
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Main Content Wrapper */
.content-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
    width: 100%;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem;
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

/* Add a subtle shine effect */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    animation: shine 8s infinite;
}

.main-content {
    flex: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(247, 168, 39, 0.2);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    align-self: flex-start;
}

.main-content h2 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.main-content p {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Countdown */
.countdown {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.time-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    min-width: 100px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.time-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-light);
}

.time {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}

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

/* Subscribe Form */
.subscribe-form {
    margin-top: auto;
}

.notify-text {
    font-size: 1rem !important;
    font-weight: 600;
    margin-bottom: 1rem !important;
    color: var(--text-main) !important;
}

.input-group {
    display: flex;
    width: 100%;
    max-width: 500px;
    position: relative;
}

.input-group input {
    flex: 1;
    padding: 1.25rem 1.5rem;
    padding-right: 160px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    color: var(--text-main);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition-smooth);
}

.input-group input:focus {
    border-color: var(--primary-light);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 4px rgba(11, 95, 180, 0.2);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.input-group button {
    position: absolute;
    right: 6px;
    top: 6px;
    bottom: 6px;
    padding: 0 1.5rem;
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(11, 95, 180, 0.4);
}

.input-group button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 95, 180, 0.6);
}

.input-group button:active {
    transform: translateY(0);
}

/* Contact Info Sidebar */
.contact-info {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-list i {
    font-size: 1.25rem;
    color: var(--primary-light);
    margin-top: 0.25rem;
    width: 24px;
    text-align: center;
}

.contact-list span, .contact-list a {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    line-height: 1.4;
}

.contact-list a:hover {
    color: var(--accent-color);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(11, 95, 180, 0.4);
}

/* Footer */
footer {
    text-align: center;
    padding-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* 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 shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .glass-card {
        padding: 3rem;
        gap: 3rem;
        flex-direction: column;
    }
    
    .main-content h2 {
        font-size: 3rem;
    }
    
    .contact-info {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .glass-card {
        padding: 2rem;
        border-radius: 16px;
    }
    
    .main-content h2 {
        font-size: 2.5rem;
    }
    
    .countdown {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .time-box {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: unset;
        padding: 1rem;
    }
    
    .time {
        font-size: 2rem;
    }
    
    .input-group input {
        padding-right: 1.5rem;
        padding-bottom: 4.5rem;
        border-radius: 20px;
    }
    
    .input-group button {
        position: absolute;
        bottom: 6px;
        right: 6px;
        left: 6px;
        top: auto;
        height: 3.5rem;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 60px;
    }
    
    .main-content h2 {
        font-size: 2rem;
    }
    
    .time-box {
        padding: 0.75rem;
    }
    
    .time {
        font-size: 1.5rem;
    }
}
