/* assets/css/style.css */

:root {
  --icsis-primary: #0f766e;
  --icsis-secondary: #2563eb;
  --icsis-accent: #f59e0b;
  --icsis-dark: #071a2f;
  --icsis-soft: #f3f8fb;
  --icsis-text: #334155;
  --icsis-white: #ffffff;
  --icsis-gradient: linear-gradient(135deg, #0f766e, #2563eb);
  --icsis-gradient-dark: linear-gradient(135deg, #071a2f, #0f766e);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--icsis-text);
  overflow-x: hidden;
  background: #fff;
}

a {
  text-decoration: none;
}

.section-padding {
  padding: 90px 0;
}

.bg-soft {
  background: var(--icsis-soft);
}

/* Navbar */

.icsis-navbar {
  padding: 16px 0;
  background: rgba(7, 26, 47, 0.78);
  backdrop-filter: blur(16px);
  transition: all 0.35s ease;
  z-index: 999;
}

.icsis-navbar.navbar-scrolled {
  padding: 9px 0;
  background: rgba(7, 26, 47, 0.97);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.22);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
}

.brand-icon {
  width: 45px;
  height: 45px;
  border-radius: 14px;
  background: var(--icsis-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 25px rgba(15, 118, 110, 0.4);
}

.navbar-brand strong {
  display: block;
  font-size: 22px;
  line-height: 20px;
}

.navbar-brand small {
  display: block;
  color: #cbd5e1;
  font-size: 12px;
  letter-spacing: 1px;
}

.navbar-nav .nav-link {
  color: #e5eef8 !important;
  font-weight: 600;
  padding: 10px 13px !important;
  position: relative;
  transition: 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 3px;
  border-radius: 10px;
  background: var(--icsis-accent);
  transform: scaleX(0);
  transition: 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.nav-contact {
  background: var(--icsis-gradient);
  border-radius: 30px;
  padding: 10px 20px !important;
  margin-left: 6px;
}

.nav-contact::after {
  display: none;
}

.dropdown-menu {
  border: 0;
  border-radius: 18px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.2);
  animation: dropdownFade 0.25s ease;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 600;
  color: var(--icsis-dark);
  transition: 0.25s ease;
}

.dropdown-item:hover {
  background: var(--icsis-gradient);
  color: #fff;
  transform: translateX(5px);
}

.navbar-toggler {
  border: 0;
  box-shadow: none !important;
}

.navbar-toggler-icon-custom {
  width: 30px;
  height: 3px;
  background: #fff;
  display: block;
  position: relative;
  border-radius: 20px;
}

.navbar-toggler-icon-custom::before,
.navbar-toggler-icon-custom::after {
  content: "";
  width: 30px;
  height: 3px;
  background: #fff;
  position: absolute;
  left: 0;
  border-radius: 20px;
  transition: 0.3s;
}

.navbar-toggler-icon-custom::before {
  top: -9px;
}

.navbar-toggler-icon-custom::after {
  top: 9px;
}

/* Hero */

.hero-section {
  min-height: 100vh;
  background:
    linear-gradient(rgba(7, 26, 47, 0.86), rgba(7, 26, 47, 0.88)),
    url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.35;
  animation: floatShape 7s infinite ease-in-out;
}

.hero-shape-1 {
  width: 280px;
  height: 280px;
  background: #14b8a6;
  top: 15%;
  right: 8%;
}

.hero-shape-2 {
  width: 190px;
  height: 190px;
  background: #f59e0b;
  bottom: 12%;
  left: 8%;
  animation-delay: 1.5s;
}

@keyframes floatShape {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-28px);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(38px, 5vw, 68px);
  color: #fff;
  font-weight: 800;
  line-height: 1.08;
}

.hero-subtitle {
  color: var(--icsis-accent);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  margin: 15px 0;
}

.hero-text {
  color: #dbeafe;
  font-size: 18px;
  max-width: 720px;
}

.hero-info {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 25px 0;
}

.hero-info div {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 600;
}

.hero-info i {
  color: var(--icsis-accent);
  margin-right: 8px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary-custom {
  background: var(--icsis-gradient);
  color: #fff;
  border: 0;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
  transition: 0.3s;
}

.btn-primary-custom:hover {
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.4);
}

.btn-outline-custom {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
  padding: 11px 28px;
  border-radius: 50px;
  font-weight: 700;
  transition: 0.3s;
}

.btn-outline-custom:hover {
  background: #fff;
  color: var(--icsis-dark);
}

.hero-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(18px);
  border-radius: 30px;
  padding: 35px;
  color: #fff;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.28);
  animation: cardFloat 5s infinite ease-in-out;
}

@keyframes cardFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  color: var(--icsis-accent);
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-card h3 {
  font-weight: 800;
}

.count-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 25px;
}

.count-box div {
  background: rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  padding: 18px 10px;
  text-align: center;
}

.count-box h4 {
  color: var(--icsis-accent);
  font-weight: 800;
  margin-bottom: 3px;
}

.count-box p {
  margin: 0;
  font-size: 13px;
}

/* Common Sections */

.section-tag {
  display: inline-block;
  background: rgba(15, 118, 110, 0.12);
  color: var(--icsis-primary);
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 800;
  margin-bottom: 15px;
}

.section-title {
  color: var(--icsis-dark);
  font-weight: 800;
  margin-bottom: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card,
.track-card,
.date-card {
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
  transition: 0.35s ease;
  height: 100%;
  border: 1px solid #e8eef5;
}

.feature-card:hover,
.track-card:hover,
.date-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 65px rgba(15, 23, 42, 0.14);
}

.feature-card i,
.track-card i {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--icsis-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card h5,
.track-card h5 {
  color: var(--icsis-dark);
  font-weight: 800;
}

.date-card span {
  display: inline-block;
  color: var(--icsis-primary);
  font-weight: 900;
  font-size: 22px;
  margin-bottom: 15px;
}

.date-card h5 {
  color: var(--icsis-dark);
  font-weight: 800;
}

.active-date {
  background: var(--icsis-gradient);
}

.active-date span,
.active-date h5 {
  color: #fff;
}

/* University */

.university-section {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(37, 99, 235, 0.08));
}

.university-card {
  min-height: 330px;
  background: var(--icsis-gradient-dark);
  color: #fff;
  border-radius: 32px;
  padding: 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 25px 70px rgba(7, 26, 47, 0.25);
}

.university-card i {
  font-size: 60px;
  color: var(--icsis-accent);
  margin-bottom: 25px;
}

.university-card h3 {
  font-weight: 800;
}

/* CFP */

.cfp-section {
  background: var(--icsis-gradient-dark);
  color: #dbeafe;
}

.cfp-section .section-tag {
  background: rgba(255, 255, 255, 0.14);
  color: var(--icsis-accent);
}

.btn-light-custom {
  background: #fff;
  color: var(--icsis-dark);
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 800;
  transition: 0.3s;
}

.btn-light-custom:hover {
  background: var(--icsis-accent);
  color: #fff;
  transform: translateY(-4px);
}

/* Contact */

.contact-box {
  background: #fff;
  border-radius: 30px;
  padding: 35px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
}

.contact-box h3 {
  font-weight: 800;
  color: var(--icsis-dark);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 6px 10px 6px 0;
  background: var(--icsis-soft);
  color: var(--icsis-dark);
  padding: 12px 18px;
  border-radius: 50px;
  font-weight: 700;
  transition: 0.3s;
}

.contact-link:hover {
  background: var(--icsis-gradient);
  color: #fff;
}

/* Footer */

.footer {
  background: var(--icsis-dark);
  color: #cbd5e1;
  padding: 24px 0;
  text-align: center;
}

.footer p {
  margin: 4px 0;
}

/* Responsive */

@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

@media (max-width: 991px) {
  .icsis-navbar {
    background: rgba(7, 26, 47, 0.98);
  }

  .navbar-collapse {
    margin-top: 15px;
    background: #071a2f;
    border-radius: 22px;
    padding: 15px;
  }

  .navbar-nav .nav-link {
    padding: 12px 15px !important;
  }

  .nav-contact {
    margin-left: 0;
    margin-top: 8px;
    display: inline-block;
  }

  .dropdown-menu {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
  }

  .dropdown-item {
    color: #fff;
  }

  .hero-section {
    text-align: center;
  }

  .hero-info,
  .hero-buttons {
    justify-content: center;
  }

  .section-padding {
    padding: 70px 0;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 34px;
  }

  .hero-subtitle {
    font-size: 30px;
  }

  .hero-text {
    font-size: 16px;
  }

  .feature-grid,
  .count-box {
    grid-template-columns: 1fr;
  }

  .hero-card {
    padding: 25px;
  }

  .contact-box {
    padding: 25px;
  }

  .section-padding {
    padding: 55px 0;
  }
}