* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}
 */
/* .container {
    max-width: 1260px;
    margin: 0 auto;
    padding:0px 20px 30px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
} */
.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
}
.e-con{
	padding:0px 4px 4px 4px; 
}
/* .e-con-inner{
	padding-top:0px;
} */
/* Header Styles */
header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    background: linear-gradient(135deg, #87CEEB, #4682B4);
    border-radius: 15px;
    color: white;
    box-shadow: 0 8px 25px rgba(135, 206, 235, 0.3);
}

.title {
    font-size: 40px !important;
    font-weight: 700 !important;
/*     background: linear-gradient(135deg, #4682B4, #87CEEB, #5F9FD3); */
    -webkit-background-clip: text;
/*     -webkit-text-fill-color: transparent; */
    background-clip: text;
    margin-bottom: 15px;
    text-shadow: 0 4px 8px rgba(70, 130, 180, 0.2);
    letter-spacing: -1px;
}

.subtitle {
    font-size: 17px;
    /* color: #5a6c7d; */
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Calculator Card */
.calculator-card {
    background: linear-gradient(135deg, #f8fdff 0%, #e6f7ff 50%, #d4f1ff 100%);
    border-radius: 25px;
    box-shadow: 
        0 25px 80px rgba(70, 130, 180, 0.15),
        0 10px 40px rgba(135, 206, 235, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    padding: 50px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(135, 206, 235, 0.2);
    position: relative;
    overflow: hidden;
}

.calculator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4682B4, #87CEEB, #5F9FD3, #4682B4);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.calculator-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 35px 100px rgba(70, 130, 180, 0.25),
        0 15px 50px rgba(135, 206, 235, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Form Styles */
.form-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.input-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.input-group label {
    font-weight: 600 !important;
    color: #4682B4 !important;
    margin-bottom: 10px;
    font-size: 14px !important;
    letter-spacing: 0.3px;
}

.dropdown, .text-input {
    padding: 16px 20px !important;
    border: 2px solid #e1f4fd !important;
    border-radius: 15px;
    font-size: 1.05rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none !important;
    backdrop-filter: blur(10px);
    position: relative;
}

.dropdown:focus, .text-input:focus {
    border-color: #4682B4 !important;
    box-shadow: 
        0 0 0 4px rgba(70, 130, 180, 0.1),
        0 8px 25px rgba(135, 206, 235, 0.15);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 1);
}

.dropdown:hover, .text-input:hover {
    border-color: #87CEEB;
    box-shadow: 0 4px 15px rgba(135, 206, 235, 0.1);
    transform: translateY(-1px);
}

/* Button Styles */
.button-group {
    grid-column: 1 / -1;
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn {
    padding: 18px 40px;
    border: none !important;
    border-radius: 50px !important;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 140px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary {
    background: linear-gradient(135deg, #4682B4, #5F9FD3, #87CEEB);
    color: white;
    box-shadow: 
        0 8px 25px rgba(70, 130, 180, 0.4),
        0 4px 15px rgba(135, 206, 235, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 40px rgba(70, 130, 180, 0.5),
        0 8px 25px rgba(135, 206, 235, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d, #8a9ba8, #adb5bd);
    color: white;
    box-shadow: 
        0 8px 25px rgba(108, 117, 125, 0.4),
        0 4px 15px rgba(173, 181, 189, 0.2);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 40px rgba(108, 117, 125, 0.5),
        0 8px 25px rgba(173, 181, 189, 0.3);
}

/* Result Section */
.result-section {
    margin-top: 50px;
    animation: fadeInUp 0.6s ease-out;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px !important;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(135, 206, 235, 0.2);
}

.result-section.hidden {
    display: none;
}

.countdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.countdown-header h2 {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #4682B4, #5F9FD3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.copy-btn {
    background: linear-gradient(135deg, #87CEEB, #5F9FD3);
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    cursor: pointer !important;
    font-size: 1.3rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(135, 206, 235, 0.3);
    color: white;
}

.copy-btn:hover {
    background: linear-gradient(135deg, #5F9FD3, #4682B4);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(135, 206, 235, 0.4);
}

/* Countdown Display */
.countdown-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe, #bae6fd);
    border-radius: 20px;
    border: 2px solid rgba(135, 206, 235, 0.3);
    box-shadow: 
        inset 0 2px 10px rgba(135, 206, 235, 0.1),
        0 10px 30px rgba(70, 130, 180, 0.1);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(135, 206, 235, 0.2);
    transition: all 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(70, 130, 180, 0.2);
}

.countdown-number {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4682B4, #5F9FD3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(70, 130, 180, 0.1);
    animation: pulse 2s infinite;
    line-height: 1;
}

.countdown-label {
    font-size: 0.9rem;
    color: #5a6c7d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

.countdown-separator {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #87CEEB, #5F9FD3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    animation: blink 1.5s infinite;
}

.birthday-message {
    text-align: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #4682B4, #5F9FD3, #87CEEB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    margin: 30px 0;
    line-height: 1.4;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.stat-item {
    background: linear-gradient(135deg, rgba(248, 253, 255, 0.9), rgba(230, 247, 255, 0.9));
    border-radius: 18px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 2px solid rgba(135, 206, 235, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(135, 206, 235, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(70, 130, 180, 0.2);
    border-color: #87CEEB;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 249, 255, 0.95));
}

.stat-icon {
    font-size: 2.5rem;
    animation: bounce 3s infinite;
    filter: drop-shadow(0 2px 4px rgba(70, 130, 180, 0.2));
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 1rem;
    color: #5a6c7d;
    font-weight: 500;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.4rem;
    background: linear-gradient(135deg, #4682B4, #5F9FD3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0.4;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 20px 5px;
    }
    
    .title {
        font-size: 2.2rem;
    }
    
    .calculator-card {
        padding: 30px 25px;
    }
    
    .form-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .countdown-display {
        flex-wrap: wrap;
        gap: 12px;
        padding: 20px;
    }
    
    .countdown-number {
        font-size: 2.2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .countdown-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .result-section {
        padding: 25px;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .countdown-display {
        padding: 15px;
    }
    
    .countdown-item {
        min-width: 65px;
        padding: 8px;
    }
    .stat-value {
    font-size: 15px !important;
    background: linear-gradient(135deg, #4682B4, #5F9FD3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .countdown-separator {
        font-size: 1.8rem;
    }
    
    .stat-item {
        padding: 20px;
        gap: 15px;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .birthday-message {
        font-size: 1.2rem;
    }
    
    .title {
        font-size: 35px !important;
    }
}

/* Copy notification */
.copy-notification {
    position: fixed;
    top: 40px;
    right: 30px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 600;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1), slideOutRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) 2.6s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateX(100%) scale(0.8);
    }
}

/* Enhanced focus states for accessibility */
.btn:focus-visible,
.dropdown:focus-visible,
.text-input:focus-visible,
.copy-btn:focus-visible {
    outline: 3px solid rgba(70, 130, 180, 0.5);
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection styling */
::selection {
    background: rgba(135, 206, 235, 0.3);
    color: #4682B4;
}