/* ----------- START index.css ----------- */

/* Color Variables */
:root {
  --accent-orange: #F5B461;
  --dark-blue-1: #2C3E50;
  --dark-blue-2: #4A5F7F;
  --very-dark: #1A1F2E;
  --text-white: #ffffff;
}

/* Global Styles */
body {
  background: var(--very-dark);
  color: var(--text-white);
  font-family: 'JetBrains Mono', monospace;
  overflow-x: hidden;
  position: relative;
  cursor: url('assets/img/cursor-default.png'), auto;
}

/* Header */
.header {
  background: var(--dark-blue-1);
  border-bottom: 1px solid rgba(245, 180, 97, 0.2);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header h1 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff !important;
  text-shadow: none !important;
  filter: none !important;
  animation: none !important;
}

.header .header-social-links a {
  color: var(--accent-orange);
  transition: all 0.3s ease;
}

.header .header-social-links a:hover {
  color: var(--text-white);
  transform: scale(1.1);
}

/* Portfolio Section */
.portfolio {
  position: relative;
  min-height: 100vh;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--very-dark), var(--dark-blue-1));
  overflow: hidden;
}

.portfolio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><rect width="20" height="20" fill="none" stroke="rgba(245,180,97,0.1)" stroke-width="1"/></svg>') repeat;
  animation: gridMove 20s linear infinite;
  z-index: 0;
}

@keyframes gridMove {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 100px 100px;
  }
}

.portfolio .container {
  position: relative;
  z-index: 2;
}

.section-title h2 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.5rem;
  color: var(--text-white);
  animation: flicker 3s infinite alternate;
}

@keyframes flicker {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }
}

.section-title p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem;
  color: var(--accent-orange);
}

/* Updated Portfolio Filters */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.portfolio-filters .filter-btn {
  font-family: 'JetBrains Mono', monospace;
  background: rgba(44, 62, 80, 0.9);
  color: var(--accent-orange);
  padding: 10px 20px;
  border: 2px solid var(--accent-orange);
  border-radius: 25px;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
}

.portfolio-filters .filter-btn:hover,
.portfolio-filters .filter-btn.filter-active {
  background: var(--accent-orange);
  color: var(--very-dark);
  border-color: var(--accent-orange);
  box-shadow: 0 0 15px var(--accent-orange);
}

.portfolio-item img {
  border: 2px solid var(--accent-orange);
  box-shadow: 0 0 15px rgba(245, 180, 97, 0.5);
  transition: transform 0.3s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-info {
  background: rgba(44, 62, 80, 0.9);
  border: 1px solid rgba(245, 180, 97, 0.2);
}

.portfolio-info h4 {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-orange);
}

.portfolio-info p {
  color: var(--text-white);
}

.portfolio-info a {
  color: var(--accent-orange);
}

.portfolio-info a:hover {
  color: var(--text-white);
}

/* Birthday Notification */
.notification.birthday {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  width: 360px;
  max-width: 90vw;
  padding: 25px;
  border-radius: 20px;
  background: rgba(44, 62, 80, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 30px rgba(245, 180, 97, 0.7);
  border: 2px solid rgba(245, 180, 97, 0.3);
  animation: glowPulse 2s ease-in-out infinite alternate, slideIn 1s ease-in-out;
  text-align: center;
  overflow: hidden;
}

.notification.birthday h3 {
  font-size: 1.8rem;
  color: var(--accent-orange);
  margin-bottom: 10px;
  font-family: 'JetBrains Mono', monospace;
}

.notification.birthday p {
  color: #f0f0f0;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 15px;
  line-height: 1.5;
}

.notification.birthday img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
  border: 2px solid var(--accent-orange);
  box-shadow: 0 0 15px rgba(245, 180, 97, 0.7);
}

.notification .button-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.notification .preview-btn,
.notification .close-btn {
  background: var(--accent-orange);
  color: var(--very-dark);
  padding: 10px 20px;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  font-family: 'JetBrains Mono', monospace;
  box-shadow: 0 0 20px rgba(245, 180, 97, 0.6);
  transition: all 0.3s ease;
  cursor: pointer;
}

.notification .preview-btn:hover,
.notification .close-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(245, 180, 97, 0.9);
  background: var(--text-white);
  color: var(--very-dark);
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 10px rgba(245, 180, 97, 0.5);
  }

  100% {
    box-shadow: 0 0 30px rgba(245, 180, 97, 0.8);
  }
}



@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 480px) {
  .notification.birthday {
    bottom: 15px;
    right: 15px;
    padding: 20px;
    width: 90vw;
  }

  .notification.birthday h3 {
    font-size: 1.4rem;
  }

  .notification.birthday p {
    font-size: 0.95rem;
  }
}

/* Footer */
.footer {
  background: var(--dark-blue-1);
  padding: 20px 0;
  border-top: 1px solid rgba(245, 180, 97, 0.2);
}

.footer .copyright p {
  color: #d0d0d0;
  font-family: 'JetBrains Mono', monospace;
}

.footer .sitename {
  color: var(--accent-orange);
}

.footer .social-links a {
  color: var(--accent-orange);
  transition: all 0.3s ease;
}

.footer .social-links a:hover {
  color: var(--text-white);
  transform: scale(1.1);
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--very-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

#preloader .loader-container {
  position: relative;
  width: 100px;
  height: 100px;
}

.loader-outer {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid transparent;
  border-top: 4px solid var(--accent-orange);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent-orange);
  animation: rotate-loader 1.2s linear infinite;
}

.loader-middle {
  position: absolute;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border: 4px solid transparent;
  border-bottom: 4px solid var(--dark-blue-2);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--dark-blue-2);
  animation: rotate-loader 1.5s linear infinite reverse;
}

.loader-inner {
  position: absolute;
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
  border: 4px solid var(--accent-orange);
  border-left-color: transparent;
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent-orange);
  animation: pulse-loader 2s ease-in-out infinite;
}

.loading-text {
  position: absolute;
  bottom: -40px;
  width: 100%;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: fade-text 1.5s infinite alternate ease-in-out;
}

@keyframes rotate-loader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse-loader {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
}

@keyframes fade-text {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0.5;
  }
}

/* Scroll Top - Positioned on LEFT to avoid OmniDimension widget overlap */
.scroll-top {
  background: var(--accent-orange);
  box-shadow: 0 0 15px rgba(245, 180, 97, 0.5);
  position: fixed;
  left: 15px;
  bottom: 15px;
  z-index: 99998;
}

.scroll-top:hover {
  background: var(--text-white);
  box-shadow: 0 0 25px rgba(245, 180, 97, 0.8);
}

.scroll-top i {
  color: var(--very-dark);
}

/* ----------- END index.css ----------- */

/* ========================================
   COMPREHENSIVE RESPONSIVE STYLES
   ======================================== */

/* Extra Large Devices (Large Desktops, 1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Large Devices (Desktops, 1200px and up) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .header h1 {
    font-size: 2rem;
  }

  .container {
    max-width: 1140px;
  }
}

/* Medium Devices (Tablets, 768px to 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
  .header {
    padding: 10px 0;
  }

  .header h1 {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }

  .header .logo img {
    max-height: 30px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .section-title p {
    font-size: 1rem;
  }

  .portfolio-filters .filter-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .notification.birthday {
    width: 320px;
    padding: 20px;
  }

  .notification.birthday h3 {
    font-size: 1.5rem;
  }
}

/* Small Devices (Phones in landscape, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .header {
    padding: 8px 0;
  }

  .header h1 {
    font-size: 1.3rem;
    letter-spacing: 1px;
  }

  .header .logo img {
    max-height: 28px;
    margin-right: 5px;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .section-title p {
    font-size: 0.95rem;
  }

  .portfolio-filters {
    gap: 10px;
    margin-bottom: 30px;
  }

  .portfolio-filters .filter-btn {
    padding: 7px 14px;
    font-size: 0.75rem;
  }

  .notification.birthday {
    width: 90vw;
    max-width: 340px;
    padding: 18px;
    bottom: 20px;
    right: 20px;
  }

  .notification.birthday h3 {
    font-size: 1.3rem;
  }

  .notification.birthday p {
    font-size: 0.9rem;
  }
}

/* Extra Small Devices (Phones in portrait, less than 576px) */
@media (max-width: 575px) {
  body {
    font-size: 14px;
  }

  .header {
    padding: 8px 0;
  }

  .header h1 {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }

  .header .logo img {
    max-height: 24px;
    margin-right: 4px;
  }

  .header .header-social-links {
    padding-right: 8px;
  }

  .header .header-social-links a {
    font-size: 14px;
    margin: 0 3px;
  }

  .section-title h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .section-title p {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  .portfolio {
    padding: 40px 0;
  }

  .portfolio-filters {
    gap: 8px;
    margin-bottom: 25px;
  }

  .portfolio-filters .filter-btn {
    padding: 6px 12px;
    font-size: 0.7rem;
    border-radius: 20px;
  }

  .notification.birthday {
    width: 90vw;
    padding: 15px;
    bottom: 15px;
    right: 15px;
    border-radius: 15px;
  }

  .notification.birthday h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .notification.birthday p {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }

  .notification .preview-btn,
  .notification .close-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .footer {
    padding: 15px 0;
  }

  .footer .copyright p {
    font-size: 0.8rem;
  }

  .footer .social-links a {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .scroll-top {
    width: 38px;
    height: 38px;
    left: 10px;
    bottom: 10px;
  }

  .scroll-top i {
    font-size: 20px;
  }
}

/* Very Small Devices (Phones in portrait, less than 400px) */
@media (max-width: 399px) {
  body {
    font-size: 13px;
  }

  .header h1 {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
  }

  .header .logo img {
    max-height: 20px;
    margin-right: 3px;
  }

  .section-title h2 {
    font-size: 1.3rem;
  }

  .section-title p {
    font-size: 0.8rem;
  }

  .portfolio-filters .filter-btn {
    padding: 5px 10px;
    font-size: 0.65rem;
  }

  .notification.birthday {
    padding: 12px;
  }

  .notification.birthday h3 {
    font-size: 1.1rem;
  }

  .notification.birthday p {
    font-size: 0.8rem;
  }

  .notification .preview-btn,
  .notification .close-btn {
    padding: 7px 14px;
    font-size: 0.8rem;
  }

  .scroll-top {
    width: 35px;
    height: 35px;
  }

  .scroll-top i {
    font-size: 18px;
  }
}

/* Landscape Orientation Fixes */
@media (max-height: 500px) and (orientation: landscape) {
  .header {
    padding: 5px 0;
  }

  .header h1 {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .notification.birthday {
    max-height: 80vh;
    overflow-y: auto;
  }
}

/* OmniDimension Web Widget - Fixed Bottom Right */
#omnidimension-web-widget,
#omnidimension-widget-container,
[id*="omnidim"],
[class*="omnidim"] {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  z-index: 999999 !important;
  max-width: 400px !important;
}

/* Ensure widget button stays visible */
#omnidimension-web-widget iframe,
[id*="omnidim"] iframe {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  z-index: 999999 !important;
}

/* Mobile responsiveness for widget */
@media (max-width: 768px) {

  #omnidimension-web-widget,
  #omnidimension-widget-container,
  [id*="omnidim"],
  [class*="omnidim"] {
    bottom: 15px !important;
    right: 15px !important;
    max-width: 90vw !important;
  }

  #omnidimension-web-widget iframe,
  [id*="omnidim"] iframe {
    bottom: 15px !important;
    right: 15px !important;
  }
}
/* ========== Hackathons Section Styles ========== */
.hackathons {
  position: relative;
  min-height: 100vh;
  padding: 80px 0;
  background: linear-gradient(135deg, #1A1F2E, #2C3E50);
  overflow: hidden;
}

.hackathons::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><rect width="20" height="20" fill="none" stroke="rgba(245,180,97,0.05)" stroke-width="1"/></svg>') repeat;
  animation: gridMove 20s linear infinite;
  z-index: 0;
}

.hackathons .container {
  position: relative;
  z-index: 2;
}

.hackathon-scroll-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 40px 0;
}

.hackathon-scroll-container {
  display: flex;
  gap: 30px;
  animation: scrollHackathons 60s linear infinite;
  width: max-content;
  will-change: transform;
}

.hackathon-scroll-container:hover {
  animation-play-state: paused;
}

@keyframes scrollHackathons {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.hackathon-card {
  min-width: 600px;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.8), rgba(74, 95, 127, 0.6));
  border: 2px solid rgba(245, 180, 97, 0.3);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hackathon-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(245, 180, 97, 0.1), transparent);
  transition: left 0.5s ease;
}

.hackathon-card:hover::before {
  left: 100%;
}

.hackathon-card:hover {
  transform: translateY(-10px);
  border-color: #F5B461;
  box-shadow: 0 20px 50px rgba(245, 180, 97, 0.3);
}

.hackathon-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.hackathon-left {
  flex: 1;
}

.hackathon-left h3 {
  color: #F5B461;
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-family: 'JetBrains Mono', monospace;
  text-shadow: 0 0 10px rgba(245, 180, 97, 0.5);
}

.hackathon-details {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
}

.detail-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: rgba(245, 180, 97, 0.2);
  border: 1px solid rgba(245, 180, 97, 0.4);
  border-radius: 20px;
  color: #F5B461;
  font-size: 0.9rem;
  font-family: 'JetBrains Mono', monospace;
}

.detail-item i {
  font-size: 1rem;
}

.hackathon-desc {
  color: #ffffff;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

.hackathon-right {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}

.hackathon-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(245, 180, 97, 0.3), rgba(245, 180, 97, 0.1));
  border: 2px solid #F5B461;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.hackathon-badge i {
  font-size: 2rem;
  color: #F5B461;
  margin-bottom: 5px;
}

.hackathon-badge span {
  color: #F5B461;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
}

.hackathon-card:hover .hackathon-badge {
  transform: rotate(360deg);
  box-shadow: 0 0 20px rgba(245, 180, 97, 0.6);
}

/* Duplicate cards for infinite scroll effect */
.hackathon-scroll-container::after {
  content: '';
  display: block;
  width: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hackathon-card {
    min-width: 90vw;
  }

  .hackathon-content {
    flex-direction: column;
  }

  .hackathon-left h3 {
    font-size: 1.4rem;
  }

  .hackathon-details {
    gap: 10px;
  }

  .detail-item {
    font-size: 0.8rem;
    padding: 4px 10px;
  }

  .hackathon-badge {
    width: 80px;
    height: 80px;
  }

  .hackathon-badge i {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hackathon-card {
    min-width: 95vw;
    padding: 20px;
  }

  .hackathon-left h3 {
    font-size: 1.2rem;
  }

  .hackathon-desc {
    font-size: 0.85rem;
  }
}
@media (max-width: 480px) {

  #omnidimension-web-widget,
  #omnidimension-widget-container,
  [id*="omnidim"],
  [class*="omnidim"] {
    bottom: 10px !important;
    right: 10px !important;
    max-width: 85vw !important;
  }

  #omnidimension-web-widget iframe,
  [id*="omnidim"] iframe {
    bottom: 10px !important;
    right: 10px !important;
  }
}