@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Global Responsive Base */
* {
  font-weight: 500;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  scroll-margin-top: 100px;
}

/* Hero Section - Fully Responsive */
.hero {
  background: #36aa51;
  color: white;
  padding: 0;
  width: 100%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
  width: 100%;
}

.hero-image-section {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.hero-image {
  flex: 1;
  margin: 0;
  position: relative;
  min-height: 300px;
}

.hero-image video.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 0;
}

.play-pause-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(67, 220, 103, 0.9);
  border: 2px solid white;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  opacity: 0.9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.play-pause-button:hover {
  background: rgba(67, 220, 103, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.play-icon, .pause-icon {
  width: 24px;
  height: 24px;
  transition: all 0.2s ease;
}

.play-icon {
  position: relative;
  left: 2px;
}

.pause-icon {
  display: none;
  position: relative;
  left: 0;
}

.play-pause-button.playing .play-icon {
  display: none;
}

.play-pause-button.playing .pause-icon {
  display: block;
}

.hero-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
}

.hero-button {
  padding: 45px 16px;
  color: white;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 80px;
}

.hero-button:nth-child(1) { background: #40a095; }
.hero-button:nth-child(2) { background: #2b9589; }
.hero-button:nth-child(3) { background: #40a095; }
.hero-button:nth-child(4) { background: #2b9589; font-weight: bold; }

.hero-button:hover {
  opacity: 0.8;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  max-width: 600px;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-text p {
  margin-bottom: 16px;
  color: white;
  line-height: 1.6;
  font-weight: 500;
}

/* Focus Areas - Responsive Grid */
.focus-areas {
  padding: 64px 0;
  color: white;
}

.focus-title {
  text-align: center;
  margin-bottom: 48px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
  font-weight: 700;
}

.focus-title h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 16px;
  color: #36aa51;
}

.focus-title p {
  color: #36aa51;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.focus-item {
  position: relative;
  height: 256px;
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s;
  text-decoration: none;
}

.focus-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  transition: background 0.3s;
}

.focus-item:hover {
  transform: scale(1.05);
}

.focus-item:hover::after {
  background: rgba(0, 0, 0, 0.5);
}

.focus-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-weight: 800;
  text-align: center;
}

.focus-content h3 {
  color: white;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  margin: 0;
}

/* Business Preparation */
.business-prep {
  padding: 64px 0;
  background: #dbeafe;
}

.business-title {
  text-align: center;
  margin-bottom: 48px;
}

.business-title h2 {
  font-size: 32px;
  font-weight: bold;
  color: #36aa51;
}

.business-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
  max-width: 896px;
  margin: 0 auto;
  padding: 0 24px;
}

.business-card {
  border-radius: 8px;
  overflow: hidden;
  color: white;
  position: relative;
  padding-bottom: 48px;
  min-height: 600px;
  display: flex;
  flex-direction: column;
}

.business-card.green-card {
  background: #36aa51;
}

.business-card.blue-card {
  background: #0891b2;
}

.business-card-image {
  height: 192px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.business-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.business-card h3 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 16px;
}

.business-card p {
  color: white;
  margin-bottom: 16px;
  line-height: 1.6;
  font-size: 14px;
  flex: 1;
}

.business-card-button {
  position: absolute;
  bottom: 24px;
  left: 24px;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
  font-size: 14px;
  color: white;
  text-decoration: none;
  display: inline-block;
  width: auto;
}

.business-card-button.green-button {
  background: #36aa51;
}

.business-card-button.blue-button {
  background: #0891b2;
}

.business-card-button:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

/* Three Column Info */
.info-section {
  padding: 64px 0;
  background: #0891b2;
  color: white;
}

.info-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  padding: 0 24px;
}

.info-item {
  text-align: center;
  padding: 32px;
}

.info-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 16px;
}

.info-item p {
  color: white;
  line-height: 1.6;
  font-size: 14px;
  margin: 0;
}

/* News Section */
.news-section {
  background: #36aa51;
  color: white;
}

.news-header {
  text-align: center;
  padding: 64px 0;
  background: #064e3b;
  position: relative;
  overflow: hidden;
  background-image: url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1200&h=600&fit=crop");
  background-size: cover;
  background-position: center;
}

.news-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.news-header h2 {
  position: relative;
  z-index: 10;
  font-size: 32px;
  font-weight: bold;
  margin: 0;
  color: white;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  background: #36aa51;
}

.news-item {
  padding: 32px;
  border-right: 1px solid #4ade80;
  border-bottom: 1px solid #4ade80;
}

.news-item:last-child {
  border-right: none;
}

.news-date {
  font-size: 14px;
  color: #a7f3d0;
  margin-bottom: 12px;
}

.news-item h3 {
  font-weight: bold;
  margin-bottom: 12px;
  font-size: 18px;
}

.news-item p {
  font-size: 14px;
  color: #d1fae5;
  line-height: 1.5;
  margin: 0;
}

/* Events Section */
.events-section {
  padding: 64px 0;
  background-image: url("https://images.unsplash.com/photo-1560472355-536de3962603?w=1200&h=600&fit=crop");
  background-size: cover;
  background-position: center;
  position: relative;
}

.events-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.events-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.events-title {
  text-align: center;
  margin-bottom: 48px;
  color: white;
}

.events-title h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 8px;
}

.events-title p {
  color: #d1d5db;
  margin: 0;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
  max-width: 896px;
  margin: 0 auto;
}

.event-card {
  position: relative;
  padding-bottom: 60px;
  background: transparent;
}

.event-header {
  background: #36aa51;
  color: white;
  padding: 20px;
  border-radius: 8px 8px 0 0;
}

.event-card:nth-child(2) .event-header {
  background: #0891b2;
}

.event-header h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}

.event-content {
  background: white;
  padding: 24px;
  border-radius: 0 0 8px 8px;
  color: #1f2937;
  min-height: 200px;
}

.event-item {
  display: flex;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.event-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.event-date {
  background: #36aa51;
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  white-space: nowrap;
  min-width: 120px;
  flex-shrink: 0;
}

.event-date .dot {
  color: #ef4444;
  margin-right: 6px;
}

.event-details {
  flex: 1;
}

.event-details h4 {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
}

.event-details p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  line-height: 1.4;
}

.event-button {
  position: absolute;
  bottom: 0;
  left: 24px;
  background: #36aa51;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  font-size: 14px;
}

.event-button.outline {
  background: white;
  color: #0891b2;
  border: 1px solid #0891b2;
}

.event-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Partners Section */
.partners {
  padding: 64px 0;
  background: white;
  border-top: 2px solid #36aa51;
}

.partners-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.partner-logo {
  height: 50px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Login Section */
.login-section {
  background: #2b9589;
  color: white;
  padding: 48px 0;
  text-align: center;
}

.login-section h2 {
  color: white;
  font-size: 20px;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.login-section form {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  padding-bottom: 20px;
}

.login-section input {
  width: 100%;
  padding: 18px 50px 18px 25px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  color: #333;
  background: white;
}

.login-section button[type="submit"] {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 22px;
  color: #009381;
  cursor: pointer;
}

/* ========== RESPONSIVE BREAKPOINTS ========== */

/* Tablet Devices (768px - 1024px) */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .hero-text {
    padding: 40px 32px;
    max-width: 100%;
    order: 2;
  }
  
  .hero-image-section {
    order: 1;
  }
  
  .hero-text h1 {
    font-size: 36px;
  }
  
  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .business-cards {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
  
  .events-grid {
    grid-template-columns: 1fr;
  }
  
  .partners-content {
    justify-content: center;
    gap: 40px;
  }
}

/* Mobile Devices (480px - 768px) */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
  
  .hero-text {
    padding: 32px 24px;
  }
  
  .hero-text h1 {
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  .hero-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-button {
    padding: 30px 12px;
    font-size: 13px;
    min-height: 70px;
  }
  
  .play-pause-button {
    width: 56px;
    height: 56px;
  }
  
  .focus-grid {
    grid-template-columns: 1fr;
  }
  
  .focus-item {
    height: 200px;
  }
  
  .focus-content h3 {
    font-size: 16px;
  }
  
  .business-cards {
    padding: 0 16px;
    gap: 24px;
  }
  
  .business-card {
    min-height: 550px;
  }
  
  .business-card-content {
    padding: 20px;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px;
  }
  
  .info-item {
    padding: 24px 20px;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .news-item {
    padding: 24px 20px;
    border-right: none;
  }
  
  .events-content {
    padding: 0 16px;
  }
  
  .events-grid {
    gap: 24px;
  }
  
  .event-card {
    padding-bottom: 60px;
  }
  
  .event-item {
    flex-direction: column;
    gap: 12px;
  }
  
  .event-date {
    min-width: auto;
    align-self: flex-start;
  }
  
  .partners-content {
    flex-direction: column;
    gap: 32px;
  }
  
  .partner-logo {
    height: 40px;
    max-width: 120px;
  }
  
  .login-section {
    padding: 40px 24px;
  }
  
  .login-section h2 {
    font-size: 18px;
  }
}

/* Small Mobile Devices (320px - 480px) */
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 24px;
  }
  
  .hero-text {
    padding: 24px 20px;
  }
  
  .hero-button {
    padding: 25px 8px;
    font-size: 12px;
    min-height: 60px;
  }
  
  .focus-title h2,
  .business-title h2,
  .news-header h2,
  .events-title h2 {
    font-size: 24px;
  }
  
  .focus-title,
  .business-title {
    margin-bottom: 32px;
    padding: 0 16px;
  }
  
  .focus-title h2,
  .business-title h2 {
    font-size: 22px;
  }
  
  .business-cards {
    gap: 20px;
  }
  
  .business-card {
    min-height: 500px;
    padding-bottom: 56px;
  }
  
  .business-card-button {
    bottom: 20px;
    left: 20px;
    padding: 10px 20px;
  }
  
  .news-header {
    padding: 48px 0;
  }
  
  .news-header h2 {
    font-size: 24px;
  }
  
  .events-title {
    margin-bottom: 32px;
  }
  
  .events-title h2 {
    font-size: 24px;
  }
  
  .event-content {
    padding: 20px;
  }
  
  .event-button {
    left: 20px;
    padding: 10px 20px;
  }
  
  .partners {
    padding: 48px 0;
  }
  
  .login-section {
    padding: 32px 20px;
  }
  
  .login-section h2 {
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  .login-section input {
    padding: 15px 45px 15px 20px;
    font-size: 14px;
  }
}

/* Extra Small Devices (below 320px) */
@media (max-width: 320px) {
  .hero-text h1 {
    font-size: 20px;
  }
  
  .hero-button {
    padding: 20px 6px;
    font-size: 11px;
  }
  
  .focus-content h3 {
    font-size: 14px;
  }
  
  .business-card {
    min-height: 450px;
  }
  
  .business-card-button {
    width: calc(100% - 40px);
    text-align: center;
  }
  
  .event-button {
    width: calc(100% - 40px);
    text-align: center;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .hero-button:hover,
  .business-card-button:hover,
  .event-button:hover {
    opacity: 1;
    transform: none;
  }
  
  .focus-item:hover {
    transform: none;
  }
  
  .focus-item:hover::after {
    background: rgba(0, 0, 0, 0.4);
  }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .focus-item,
  .business-card-image,
  .news-header,
  .events-section {
    background-size: cover;
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Print Styles */
@media print {
  .hero-buttons,
  .play-pause-button,
  .business-card-button,
  .event-button {
    display: none;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
  }
  
  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}