:root {
  --primary-orange: #F97316;
  --primary-orange-hover: #ea580c;
  --accent-gold: #e5a93c;
  --gold-hover: #d4af37;
  --bg-gradient: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  --text-dark: #2b2b2b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

body {
  background: var(--bg-gradient);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px 20px;
}

/* Main Layout Wrapper */
.main-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 25px;
  width: 100%;
  max-width: 1450px;
}

/* Sponsor Sidebars */
.sponsor-sidebar {
  flex: 0 0 330px;
  background: #ffffff;
  border-radius: 18px;
  padding: 22px 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  text-align: center;
}

/* Sponsor Main Title & Tag Badges */
.sponsor-main-title {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary-orange);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 6px;
}

.sponsor-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #854d0e;
  background: #fef3c7;
  border: 1px solid #fde047;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 2px 5px rgba(229, 169, 60, 0.15);
  margin-bottom: 10px;
}

.sponsor-section {
  margin-bottom: 15px;
}

.sponsor-section:last-child {
  margin-bottom: 0;
}

/* Sponsor Cards */
.sponsor-card {
  background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    height: 100px;
    overflow: hidden;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sponsor-card:last-child {
  margin-bottom: 0;
}

.sponsor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.3);
}

.sponsor-card img {
  width: 100%;
    height: 88px;
    max-height: 88px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}


.sponsor-right .sponsor-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.sponsor-right .sponsor-card {
    width: 100%;
}

/* EDITED HERE: Left Side Sponsor Images Size Reduced */
/* ONLY BCM LOGO */
.sponsor-left .sponsor-section:first-child .sponsor-card {
    height: 200px;
    padding: 6px;
}

.sponsor-left .sponsor-section:first-child .sponsor-card img {
    width: auto;
    max-width: 100%;
    height: 150px;
    max-height: 200px;
    object-fit: contain;
}

.sponsor-left .sponsor-card {
    height: 200px;
    padding: 5px;
}

.sponsor-left .sponsor-card img {
    width: auto;
    height: 150px;
    max-height: 200px;
    max-width: 100%;
    object-fit: contain;
}


/* Central Form Card Container */
.form-card {
  background: #ffffff;
  flex: 1;
  max-width: 550px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.form-header {
  background: transparent;
  text-align: center;
  padding: 20px 20px 5px 20px;
  border-bottom: none;
}

.header-logo {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

form {
  padding: 25px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 6px rgba(249, 115, 22, 0.3);
}

.btn-submit {
  width: 100%;
  background: var(--primary-orange);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 13px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

.btn-submit:hover {
  background: var(--primary-orange-hover);
}

.btn-submit:disabled {
  background: #cccccc;
  cursor: not-allowed;
}

.status-msg {
  margin-top: 15px;
  text-align: center;
  font-weight: 500;
  color: var(--primary-orange);
  font-size: 0.9rem;
}

/* Mobile & Tablet Responsive Styling */
@media (max-width: 1024px) {
  body {
    padding: 15px 10px;
  }

  .main-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .sponsor-left {
    order: 1;
  }

  .form-card {
    order: 2;
    width: 100%;
    max-width: 100%;
  }

  .sponsor-right {
    order: 3;
  }

  .sponsor-sidebar {
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
    padding: 18px 14px;
  }

  .sponsor-sections-grid,
  .sponsor-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .sponsor-section {
    margin-bottom: 0;
  }

  .sponsor-card {
    margin-bottom: 0;
    padding: 7px;
    min-height: 100px;
  }

  .sponsor-card img {
    width: 100%;
    height: 85px;
    max-height: 85px;
    object-fit: contain;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px;
    padding: 12px;
  }

  form {
    padding: 18px 16px;
  }
}

@media (max-width: 480px) {
  .sponsor-card img {
    max-height: 120px;
  }
  
  .sponsor-main-title {
    font-size: 1rem;
  }
}