* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

:root {
  --bg: #e8e8ed;
  --text: #1d1d1f;
  --sub: #6e6e73;
  --blue: #0071e3;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(to bottom, #f5f5f7, #e8e8ed);
  color: #1d1d1f;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: fixed;
  width: 100%;
  padding: 15px 20px;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.7);
  display: flex;
  justify-content: space-between;
  z-index: 1000;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #1d1d1f;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}

@media(max-width:768px){
  .nav-links {
    display: none;
  }
}

/* subtle underline hover (Apple style) */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #0071e3;
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

nav.scrolled {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  padding-top: clamp(120px, 18vh, 180px);
  background: url('images/Saintgits-Panorama.png') center/cover no-repeat;
  position: relative;
  
  background-attachment: fixed;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.45)
  );
}

.hero > div {
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  color: white;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 0;
}

.hero-theme-wrap {
  margin-top: 6px;
  display: flex;
  justify-content: center;
}

.hero-theme {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;

  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);

  color: white;

  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  font-style: italic;

  letter-spacing: 0.02em;
  line-height: 1.5;

  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  
  transition: all 0.3s ease;
}

.hero-theme:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.16);
}

.hero-date {
  margin-top: 6px;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.75);
  color: white;
  font-weight: 600;
}

/* BUTTON */
.btn {
  background: white;
  color: black;
  border-radius: 999px;
  padding: 14px 28px;
  border: none;
  margin-top: 20px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,113,227,0.25);
}



/* SECTIONS */
.section {
  padding: clamp(45px, 5vw, 70px) 20px;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.section-full {
  width: 100%;
  padding: clamp(50px, 5vw, 75px) clamp(16px, 4vw, 60px);
}

/* ABOUT CONFERENCE */

.about-section {
  width: 100%;
  padding: clamp(50px, 5vw, 75px) clamp(20px, 6vw, 100px);
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
}

.about-content p {
  text-align: left;
}

/* ICTIEE LOGO SECTION (NEW) */
.logo-highlight {
  background: transparent;
  padding: 45px 20px 25px;
  text-align: center;
}

.logo-highlight img {
  display: block;
  margin: 0 auto;
  max-width: 220px;
}

.logo-highlight p {
  margin-top: 16px;
  font-size: 0.95rem;
  color: #6e6e73;
}


/* HOST SECTION */
.host-section {
  padding: clamp(55px, 6vw, 80px) 20px;
  text-align: center;
}

.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.logo-row img {
  height: 75px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: 0.3s ease;
}

.logo-row img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.host-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(14px);
  padding: 40px;
  border-radius: 28px;
  max-width: 100%;
  margin: 35px auto 0;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.host-card:hover {
  transform: translateY(-6px);
}

.host-card p {
  text-align: left;
}

img {
  max-width: 100%;
  height: auto;
}

h1 {
  font-weight: 600;
  letter-spacing: -0.025em;
}

h2 {
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 2rem;
  text-align: center;
}

p {
  line-height: 1.6;
}

/* COUNTDOWN */

.countdown-section {
  padding: 0 20px 35px;
  text-align: center;
}

.count-label {
  color: var(--sub);
  font-size: 0.9rem;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 80px);
  justify-content: center;
  gap: 18px;
}


.countdown div {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  border-radius: 18px;
  padding: 16px 0;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.countdown h2 {
  margin: 0;
  font-size: 1.4rem;
}

.countdown p {
  font-size: 0.7rem;
  color: #6e6e73;
}

/* EMAIL */
input {
  padding: 14px;
  border-radius: 30px;
  border: 1px solid #ccc;
  width: 260px;
}

footer {
  text-align: center;
  padding: 40px;
  color: var(--sub);
}

/* ANIMATION */
.fade {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease;
}

.fade.show {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media(max-width:768px){
  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 1rem;
  }
}

/* BACK TO TOP BUTTON */
#topBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #0071e3;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 20px;
  cursor: pointer;
  display: block;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  z-index: 99999;
}


/* Advisory Board */
/* ADVISORY BOARD - APPLE STYLE */

.advisory-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 28px;
  width: 100%;
}

@media(min-width:1200px){
  .advisory-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.advisor {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(14px);
  border-radius: 24px;
  padding: 22px 14px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.advisor:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.1);
}

.advisor img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
}

.advisor h3 {
  margin-top: 16px;
  font-size: 1rem;
  font-weight: 600;
}

.advisor p {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--sub);
}

.pdf-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 30px;
  border-radius: 999px;
  background: #0071e3;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s ease;
}

.pdf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,113,227,0.25);
}

.pdf-btn::after {
  content: " →";
}

.pdf-meta {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--sub);
}

.more-text {
  display: none;
  margin-top: 20px;
}

.read-more-btn {
  margin-top: 20px;
  background: transparent;
  border: none;
  color: #0071e3;
  font-weight: 500;
  cursor: pointer;
  font-size: 0.95rem;
  transition: opacity 0.25s ease;
}

.read-more-btn:hover {
  opacity: 0.7;
}


/* LEADERSHIP SECTIONS */

.leadership-grid {
  display: grid;
  gap: 28px;
  margin-top: 28px;
  justify-content: center;
}

.leadership-2 {
  grid-template-columns: repeat(2, minmax(220px, 280px));
}

.leadership-4 {
  grid-template-columns: repeat(4, minmax(180px, 240px));
}

.leader-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(14px);
  border-radius: 28px;
  padding: 32px 20px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.1);
}

.leader-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
}

.leader-card h3 {
  margin-top: 18px;
  font-size: 1.05rem;
  font-weight: 600;
}

.leader-card p {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--sub);
}

/* LEADERSHIP WRAPPER */

.leadership-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}

.leadership-block h2 {
  margin-bottom: 28px;
}

.leadership-1 {
  grid-template-columns: 1fr;
}

@media(max-width:900px){

  .leadership-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

}

@media(max-width:900px){

  .leadership-2,
  .leadership-4 {
    grid-template-columns: 1fr;
  }

}

/* PATRON */

.patron-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.patron-card {
  max-width: 320px;
  border: 1px solid rgba(255,255,255,0.35);
}

/* TRACKS */

.tracks-grid {
  margin-top: 40px;
  display: grid;
  gap: 24px;
}

.track-card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(14px);
  border-radius: 28px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  overflow: hidden;
}

.track-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 28px 32px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  cursor: pointer;

  font-size: 1.15rem;
  font-weight: 600;
  text-align: left;

  color: var(--text);
}

.track-icon {
  font-size: 1.6rem;
  font-weight: 300;
  color: #0071e3;
  line-height: 1;
}

.track-content {

  max-height: 0;
  overflow: hidden;

  transition:
    max-height 0.4s ease,
    padding 0.3s ease;

  padding: 0 32px;
}

.track-content ul {
  margin: 0;
  padding-left: 20px;
}

.track-content li {
  margin-bottom: 14px;
  line-height: 1.6;
  color: var(--sub);
}

.cfp-hero {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.cfp-buttons {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s ease;
}

.btn-primary {
  background: #0071e3;
  color: white;
}

.btn-secondary {
  background: rgba(255,255,255,0.7);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.dates-grid {
  margin-top: 40px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  gap: 24px;
}

.date-card {
  background: rgba(255,255,255,0.72);
  
  border-top: 4px solid #0071e3;
  border-radius: 28px;

  padding: 28px 24px;

  text-align: center;

  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  
  backdrop-filter: blur(14px);
}

.date-card h3 {
  font-size: 1.2rem;
  color: #0071e3;
  margin-bottom: 12px;
}

.publication-card {
  margin-top: 40px;

  background: linear-gradient(
    135deg,
    rgba(0,113,227,0.08),
    rgba(255,255,255,0.75)
  );

  border-radius: 32px;

  padding: 40px;

  text-align: center;

  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

/* PRACTICE PAPERS */

.practice-paper-card {
  max-width: 1100px;

  margin: 0 auto;

  background: rgba(255,255,255,0.72);

  backdrop-filter: blur(14px);

  border-radius: 36px;

  padding: 50px;

  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}

.practice-tags {
  margin-top: 28px;

  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.practice-tags span {
  padding: 10px 18px;

  border-radius: 999px;

  background: rgba(0,113,227,0.08);

  color: #0071e3;

  font-size: 0.9rem;

  font-weight: 500;
}

.practice-dates {
  margin-top: 24px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));

  gap: 18px;
  
}

.practice-dates div {
  background: rgba(255,255,255,0.7);

  border-radius: 20px;

  padding: 20px;

  text-align: center;
  
  border-top: 4px solid #0071e3;

  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.practice-buttons {
  margin-top: 32px;

  display: flex;
  gap: 18px;

  flex-wrap: wrap;
}

/* MOBILE NAV */

.menu-toggle {
  display: none;

  background: none;
  border: none;

  font-size: 1.8rem;
  cursor: pointer;

  color: var(--text);
}

@media(max-width:1000px){

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;

    top: 72px;
    left: 0;
    right: 0;

    background: rgba(255,255,255,0.95);

    backdrop-filter: blur(14px);

    flex-direction: column;

    padding: 20px;

    gap: 18px;

    display: none;
  }

  .nav-links.show {
    display: flex;
  }

}
