/* About Us Countdown Page Styles */

/* Reset default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    background-image: url('../Imagies/Count\ Abt\ BG.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Logo in top-right corner */
.logo-container {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 20;
}

.top-right-logo {
    width: 80px;
    height: auto;
}

/* Glassmorphism Back Button */
.glass-btn {
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 20;
    
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #000000;
    text-decoration: none;
    letter-spacing: 1px;
    padding: 12px 24px;
    
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    
    transition: background 0.3s ease, transform 0.2s ease;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Content Section */
.content-section {
    position: relative;
    margin-top: 120px;
    min-height: calc(100vh - 120px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    overflow-y: auto;
}

/* Content Container */
.content-container {
    position: relative;
    text-align: center;
    z-index: 10;
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
}

/* Crystal Clear Prism Glass Block */
.glass-block {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 32px rgba(255, 255, 255, 0.05),
        0 0 20px rgba(255, 255, 255, 0.05);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.glass-block::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.glass-block h1 {
    color: #000000;
    font-size: 2.5rem;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.glass-block p {
    color: #000000;
    font-size: 1.1rem;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

/* Visit Prerna'25 Button (Glassified) */
.visit-button {
    margin-top: 30px;
    display: inline-block;
    z-index: 15;

    /* Glassmorphism styling */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

    /* Text styling */
    color: #ffffff;
    text-decoration: none;
    font-family: 'Arial', sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    padding: clamp(10px, 1.5vw, 15px) clamp(20px, 3vw, 30px);
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.visit-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .content-section {
        margin-top: 100px;
        padding: 15px;
    }

    .content-container {
        width: 90%;
    }

    .glass-block h1 {
        font-size: 1.8rem;
    }

    .glass-block p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .glass-block {
        padding: 25px;
    }

    .top-right-logo {
        width: 50px;
    }

    .glass-btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    .visit-button {
        font-size: 1rem;
        padding: 12px 24px;
    }
}

/* Medium screens (tablets) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .content-section {
        margin-top: 110px;
    }

    .content-container {
        width: 85%;
    }

    .glass-block h1 {
        font-size: 2.2rem;
    }

    .glass-block p {
        font-size: 1rem;
    }

    .glass-block {
        padding: 35px;
    }

    .top-right-logo {
        width: 70px;
    }
}

/* Large screens */
@media screen and (min-width: 1025px) and (max-width: 1440px) {
    .content-section {
        margin-top: 105px;
    }

    .content-container {
        width: 75%;
    }

    .glass-block h1 {
        font-size: 2.8rem;
    }

    .glass-block p {
        font-size: 1.15rem;
    }

    .glass-block {
        padding: 45px;
    }

    .top-right-logo {
        width: 90px;
    }
}

/* Extra large screens */
@media screen and (min-width: 1441px) {
    .content-section {
        margin-top: 100px;
    }

    .content-container {
        width: 70%;
        max-width: 1200px;
    }

    .glass-block h1 {
        font-size: 3rem;
    }

    .glass-block p {
        font-size: 1.25rem;
    }

    .glass-block {
        padding: 50px;
    }

    .top-right-logo {
        width: 100px;
    }
}

/* Ultra-small screens (smartwatch size) */
@media screen and (max-width: 320px) {
    .content-section {
        margin-top: 90px;
        padding: 10px;
    }

    .content-container {
        width: 95%;
    }

    .glass-block h1 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .glass-block p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .glass-block {
        padding: 15px;
    }

    .top-right-logo {
        width: 40px;
    }

    .glass-btn {
        padding: 8px 16px;
        font-size: 10px;
    }

    .visit-button {
        font-size: 0.9rem;
        padding: 10px 20px;
        margin-top: 20px;
    }
}
