@charset "UTF-8";
/* CSS Document */

:root {
  --color-primary: #0052ff;
  --color-secondary: #0052ff;
  --color-dark: #ffffff;
  --max-width: 1170px;
  --font-body: 'Heebo', sans-serif;
  --font-heading: 'Roboto', sans-serif;
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: #0052FF;
  background: var(--color-dark);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
header {
  background: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
header .logo {
  height: 48px;
}

/* Navigation */
nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}
nav a {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-primary);
  transition: color 0.2s ease;
}

/* Change to red on hover */
nav a:hover {
  color: rgba(252, 71, 48, 1);  /* or use #E53E3E */
}

/* Hamburger toggle button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: 0.3s;
}

/* Default nav styles */
.nav-menu ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

/* MOBILE: Collapse nav, show hamburger */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    right: 20px;
    background: var(--color-dark);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 16px 20px;
    display: none;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 12px;
  }

  nav a {
    font-size: 14px;
  }
}


/* Utility */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 0.6em;
}
h1 {
  font-size: 48px;
  line-height: 1.1;
}
h2 {
  font-size: 36px;
  color: #0052ff;
}

h3 {
  font-size: 24px;
  font-weight: 500;
}
h5 {
  color: #ee392c;
}


.btn {
  display: inline-block;
  padding: 12px 26px;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none;
  box-sizing: border-box;
  border: 2px solid #E53E3E;
  color: #E53E3E;
  background: transparent;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  background-color: #E53E3E;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}


/* ---------- HERO REBUILD ---------- */
.hero {
  background: #FCF7EF;
  /* Top / bottom padding scale smoothly with viewport height   */
  padding-block: clamp(120px, 20vh, 260px) clamp(60px, 12vh, 180px);
  color: var(--color-primary);
}

/* 3A – Layout container */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;   /* text | logo */
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

/* 3B – Text */
.hero h5 {
  font-size: clamp(13px, 0.9vw, 15px);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  text-transform: uppercase;
  color: #ee392c;
}
.hero h1 {
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1.12;
  margin-bottom: 32px;
  font-weight: 700;
}

/* 3C – Logo block */
.hero-media img {
  width: clamp(180px, 22vw, 320px);
  height: auto;
  display: block;
}

/* 3D – Mobile stacking */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;  /* single column */
    text-align: center;
  }
  .hero-media {
  order: -1;               /* logo appears above the text */
  margin: 0 auto;          /* centers horizontally */
  margin-bottom: 28px;     /* spacing below the logo */
  text-align: center;      /* ensures the image itself is centered */
  }
}


/* --- NEW STYLES FOR THE GRID --- */

/* This is the container for your feature blocks */
.features {
  display: grid;
  /* Create two equal-width columns */
  grid-template-columns: repeat(2, 1fr);
  /* Add spacing between the grid items */
  gap: 30px;
}

/* --- RESPONSIVE ADJUSTMENT FOR MOBILE --- */
@media (max-width: 767px) {
  .features {
    /* Switch to a single column on smaller screens */
    grid-template-columns: 1fr;
  }
}


/* --- YOUR EXISTING STYLES (for context) --- */
.feature {
  background-color: rgba(252, 247, 239, 1.00);
  padding: 40px;
  border-radius: 8px; /* Optional: adds rounded corners */
}

.feature h3 {
  color: var(--color-secondary);
  margin-bottom: 10px;
  /* Changed to padding-bottom to keep the line inside the padding */
  padding-bottom: 10px;
  border-bottom: 2px solid #E53E3E;
}

.feature p {
  color: #000000;
}

/* Team / Speaker Grid */
.team-grid {
  display: grid;
  /* Default to a 2-column grid for mobile */
  grid-template-columns: repeat(2, 1fr);
  /* Use a smaller gap for mobile */
  gap: 20px;
  margin-top: 40px;
}

/* Center the content within each card */
.team-card {
  text-align: center;
}

/* Base styles for the image (mobile-first) */
.team-card img {
  /* Set the smaller image size for mobile as the default */
  max-width: 165px;
  /* Center the image horizontally */
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
  border: 2px solid rgba(252, 71, 48, 0.2);
  box-shadow: 0 0 8px rgba(252, 71, 48, 0.4);
  border-radius: 8px;
  display: block;
}

.team-card h4 {
  margin-top: 12px;
  font-size: 18px;
  color: var(--color-secondary);
}

.team-card p {
  font-size: 14px;
  color: black;
}

/* On tablets and larger, adjust grid and image size */
@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    /* Restore the larger gap for desktop */
    gap: 40px;
  }

  /* Increase image size back to original for larger screens */
  .team-card img {
    max-width: 220px;
  }
}

/* Sponsor Grid */
.sponsor-grid {
  display: grid;
  gap: 30px;
  margin-top: 30px;
  align-items: center;
  justify-items: center;
}
@media (min-width: 600px) {
  .sponsor-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}
.sponsor-grid img {
  max-height: 250px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.85;
  transition: all 0.2s;
}
.sponsor-grid img:hover {
  filter: none;
  opacity: 1;
}

/* Venue Descriptions */
.venue-descriptions {
  margin-top: 40px;
  display: grid;
  gap: 30px;
}
@media (min-width: 768px) {
  .venue-descriptions {
    grid-template-columns: repeat(3, 1fr);
  }
}
.venue-desc h3 {
  color: var(--color-secondary);
  margin-bottom: 8px;
  font-size: 20px;
}
.venue-desc p {
  font-size: 14px;
  color: #000000;
}
@media (min-width: 768px) {
  .venue-desc + .venue-desc {
    border-left: 2px solid rgba(252, 71, 48, 1);
    padding-left: 20px;
  }
}

/* Venue Gallery */
.venue-gallery {
  padding-top: 20px;
  display: grid;
  gap: 16px;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas:
    "large small1"
    "large small2";
}
.venue-gallery img:nth-child(1) {
  grid-area: large;
}
.venue-gallery img:nth-child(2) {
  grid-area: small1;
}
.venue-gallery img:nth-child(3) {
  grid-area: small2;
}
.venue-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}
@media (max-width: 767px) {
  .venue-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, auto);
    grid-template-areas:
      "large"
      "small1"
      "small2";
  }
}

/* Footer */
footer {
  background: #080345;
  color: #aaa;
  font-size: 14px;
  padding: 60px 0 40px;
}
footer h4 {
  color: var(--color-primary);
  margin-bottom: 10px;
  font-size: 16px;
}
footer ul {
  list-style: none;
  padding: 0;
}
footer a {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
}
footer a:hover {
  color: var(--color-secondary);
}
.footer-grid {
  display: grid;
  gap: 40px;
}


@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr;
  }
}

/* Fade‑in Animation */
.fade-init {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in {
  opacity: 1;
  transform: none;
}

/* Section Background Overrides */
#speakers {
  background-color: rgba(252, 247, 239, 1);
}
#venue {
  background-color: rgba(252, 247, 239, 1);
}
#government-notice {
  background-color: rgba(252, 247, 239, 1);
}


#contact {
  background-color: rgba(252, 247, 239, 1);
}
#about {
  padding-bottom: 20px;
}
#features {
  padding: 0;
}

/* Vertical Divider */
.vertical-divider {
  display: block;
  width: 2px;
  height: 75px;
  background-color: #E53E3E;
  margin: 40px auto;
}

/* Lined Headings */
.lined-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.lined-heading::before {
  content: "";
  width: 75px;
  height: 3px;
  background-color: rgba(252, 71, 48, 1);
  animation: lineGrow 0.6s ease-out forwards;
  transform-origin: left;
  transform: scaleX(0);
}

@keyframes lineGrow {
  to {
    transform: scaleX(1);
  }
}

.lined-heading:hover::before {
  height: 5px;
  transition: height 0.3s ease;
}

@media (max-width: 500px) {
  .lined-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .lined-heading::before {
    width: 50px;  /* optional: reduce width for visual balance */
  }
}


@media (max-width: 767px) {
  .lined-heading {
    /* Change the flex direction to stack items vertically */
    flex-direction: column;

    /* Align items to the start (left) of the container */
    align-items: flex-start;
  }
}

/* target all FA icons */
.fa, .fas, .far, .fal, .fab {
  color: #E53E3E;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #333;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 14px;
}
.contact-form textarea { resize: vertical; }
.contact-form button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 4px;
  background: #E53E3E;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.contact-form button:hover {
  background: #d43b33;
}
#responseMessage {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
}
#responseMessage.success { color: #15803d; }
#responseMessage.error { color: #dc2626; }

/* Page Transitions */
@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation: fade 0.3s ease both;
}
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
