
@font-face {
  font-family: 'SD Dystopian';
  src: url('font/SDDystopianDemoRegular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(#000000, #0f0f0f);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-logo {
    font-family: 'SD Dystopian', sans-serif;
    font-size: 4rem;
    color: #ff3333;
    text-shadow:
        0 0 10px #ff0000,
        0 0 20px #ff0000,
        0 0 30px #ff0000;
    margin-bottom: 30px;
    animation: glowSteganos 2s ease-in-out infinite;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 51, 51, 0.3);
    border-top: 4px solid #ff3333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loading-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* College Logo Styles */
.college-logo {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
}

.logo-img {
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    transition: all 0.3s ease;
}

.logo-img:hover {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
    transform: scale(1.05);
}

body {
  background: radial-gradient(#000000, #0f0f0f);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url(background/indexbackground.png) no-repeat center center fixed;
  background-size: cover;
  z-index: -1;
  opacity: 0.5;
}

header {
    text-align: center;
    margin-top: 20px;
    padding: 20px;
}

.header {
  display: flex;
  align-items: center;       
  justify-content: center;   
  gap: 20px;                 
  margin-top: 30px;
  margin-bottom: -20px;
}

.title {
  font-family: 'Orbitron', sans-serif;
  color: white;
  font-size: 1.8rem;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

header h1 {
    font-size: 5.2rem;
    color: #ff3333;
    text-shadow:
        0 0 10px #ff0000,
        0 0 20px #ff0000,
        0 0 30px #ff0000;
    font-family: 'SD Dystopian', sans-serif;
    animation: glowSteganos 2s ease-in-out infinite;
    margin: 0;
    margin-bottom: 20px;
}

@keyframes glowSteganos {
  0%, 100% { text-shadow: 0 0 10px #ff0000; }
  50% { text-shadow: 0 0 25px #ff0000; }
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40vh;
    gap: 40px;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.card {
    width: 43vw;
    max-width: 500px;
    text-align: center;
    white-space: normal;
    height: 250px;
    font-family: 'Orbitron', sans-serif;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    transition: all 0.4s ease;
    opacity: 0.9;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 0, 0, 0.3);
    box-shadow:
        0 8px 32px rgba(255, 0, 0, 0.2),
        0 4px 16px rgba(255, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(255, 0, 0, 0.4),
        0 10px 20px rgba(255, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.card h2 {
    margin: 0 0 15px 0;
    color: #ff3333;
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.5);
}

.card p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
    max-width: 80%;
}

a {
    text-decoration: none;
    color: white;
}

.para {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  margin-left: 20px;
  margin-right: 20px;
}

.para p {
    margin: 10px 0;
}

.para a {
    transition: color 0.3s ease;
}

.para a:hover {
    color: #ff6666;
}

/* Countdown Section Styles */
.countdown-section {
    text-align: center;
    margin: 60px auto;
    padding: 30px 20px;
    max-width: 800px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    box-shadow:
        0 8px 32px rgba(255, 0, 0, 0.2),
        0 4px 16px rgba(255, 0, 0, 0.1);
}

.countdown-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    color: #ff3333;
    text-shadow: 0 0 15px rgba(255, 51, 51, 0.7);
    margin-bottom: 30px;
    animation: pulseGlow 2s infinite;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 0, 0, 0.4);
    border-radius: 15px;
    padding: 20px 25px;
    text-align: center;
    min-width: 120px;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.8);
}

.countdown-value {
    font-family: 'SD Dystopian', sans-serif;
    font-size: 3.5rem;
    color: #ff4d4d;
    text-shadow: 0 0 10px #ff0000;
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.countdown-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .college-logo {
    margin-bottom: 15px;
    padding: 15px;
  }
  
  .logo-img {
    max-width: 450px;
  }
  
  .loading-logo {
    font-size: 6rem;
  }
  
  header h1 {
    font-size: 7rem;
    margin-bottom: 15px;
  }
  
  .title {
    font-size: 1.5rem;
  }
  .typewrite{
    font-size:2.5rem;
  }
  .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    gap: 30px;
    margin: 30px auto;
    margin-top:-15px;
    padding: 0 15px;
  }

  .card {
    width: 85vw;
    height: 200px;
    font-size: 1.3rem;
    margin: 0;
  }
  
  .card p {
    font-size: 0.8rem;
  }
  
  .para {
    margin: 30px 15px;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .college-logo {
    margin-bottom: 10px;
    padding: 10px;
  }
  
  .logo-img {
    max-width: 360px;
  }
  
  .loading-logo {
    font-size: 5rem;
  }
  
  .loading-spinner {
    width: 50px;
    height: 50px;
  }
  
  .loading-text {
    font-size: 1rem;
  }
  
  header h1 {
    font-size: 5rem;
  }
  
  .title {
    font-size: 1.3rem;
  }
  .card {
    width: 90vw;
    height: 180px;
    font-size: 1.2rem;
  }
  
  .card p {
    font-size: 0.75rem;
  }
}

/* Responsive Design for Countdown */
@media (max-width: 768px) {
    .countdown-section {
        margin: 40px auto;
        padding: 25px 15px;
    }

    .countdown-title {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }

    .countdown {
        gap: 20px;
    }

    .countdown-item {
        min-width: 100px;
        padding: 15px 20px;
    }

    .countdown-value {
        font-size: 3rem;
    }

    .countdown-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .countdown-section {
        margin: 30px auto;
        padding: 20px 10px;
    }

    .countdown-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .countdown {
        gap: 15px;
    }

    .countdown-item {
        min-width: 80px;
        padding: 10px 15px;
    }

    .countdown-value {
        font-size: 2.5rem;
    }

    .countdown-label {
        font-size: 0.8rem;
    }
}













