@import url("https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;500;600;700;800&display=swap");

:root {
  /* Colors */
  --color-red-600: oklch(.577 .245 27.325);
  --color-red-700: oklch(.505 .213 27.518);
  --color-blue-50: oklch(.97 .014 254.604);
  --color-blue-100: oklch(.932 .032 255.585);
  --color-blue-200: oklch(.882 .059 254.128);
  --color-blue-700: oklch(.488 .243 264.376);
  --color-blue-800: oklch(.424 .199 265.638);
  --color-blue-900: oklch(.379 .146 265.522);
  --color-slate-100: oklch(.968 .007 247.896);
  --color-gray-50: oklch(.985 .002 247.839);
  --color-gray-100: oklch(.967 .003 264.542);
  --color-gray-700: oklch(.373 .034 259.733);
  --color-black: #000;
  --color-white: #fff;
  
  /* Spacing */
  --spacing: .25rem;
  
  /* Typography */
  --font-sans: "Libre Franklin", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;
  
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
}

html {
  font-size: 18px;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-blue-50);
  color: var(--color-black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /* Sticky Footer Setup */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Utilities (Simplified version of Tailwind classes used) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
  clip-path: inset(50%); /* Modern browser support */
}

.skip-link {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  background: var(--color-blue-900);
  color: white;
  padding: 1rem 2rem;
  z-index: 1000; /* Ensure it stays on top when focused */
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s ease-in-out;
}

.skip-link:focus {
  transform: translateX(-50%) translateY(0);
}

.container {
  max-width: 80rem; /* container-7xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.text-center { text-align: center; }
.font-bold { font-weight: var(--font-weight-bold); }
.font-extrabold { font-weight: var(--font-weight-extrabold); }
.uppercase { text-transform: uppercase; }

/* Header */
header {
  background-color: var(--color-blue-900);
  color: var(--color-white);
  padding: 1rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-title {
    font-weight: var(--font-weight-extrabold);
    font-size: 1.25rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  align-items: center;
}

.nav-links a:hover {
  text-decoration: underline;
}

.nav-facebook {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Hero Section */
.hero {
  position: relative;
  /* height: 600px; - Let content dictate height via padding, like source */
  min-height: 600px;
  background-image: url('../images/sg_campaign_main.jpg');
  background-size: cover;
  background-position: center; /* Adjusted for face alignment */
  color: var(--color-white);
  /* display: flex; - Removing flex centering to use padding based positioning */
  /* align-items: center; */
}

/* Overlay to darken image for text readability */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Gradient: Dark on left (for text), transparent on right (for face) */
    background: linear-gradient(to right, 
        rgba(0,0,0,0.7) 0%, 
        rgba(0,0,0,0.4) 40%, 
        rgba(0,0,0,0) 80%
    );
}

/* Mobile: Ensure text is readable if image shifts */
@media (max-width: 768px) {
    .hero::before {
        /* Vertical gradient on mobile if needed, or stronger full coverage */
        background: linear-gradient(to bottom, 
            rgba(0,0,0,0.3) 0%, 
            rgba(0,0,0,0.7) 100%
        );
        background-color: rgba(0,0,0,0.4); /* Fallback/Base tint */
    }
}

.hero .container {
    padding-top: 6rem; /* py-24 */
    padding-bottom: 6rem;
    position: relative;
    z-index: 10;
}

.hero-content {
  position: relative;
  max-width: 42rem;
  margin-left: 0;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: var(--font-weight-extrabold);
  margin-bottom: 0.5rem;
}

.hero h2 {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.5rem;
}

.hero h3 {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  font-weight: var(--font-weight-bold);
  font-size: 1rem;
  border-radius: 0.25rem;
  transition: all 0.2s;
  border: 1px solid transparent;
  gap: 0.5rem;
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-blue-900);
}

.btn-white:hover {
  background-color: var(--color-gray-50);
}

.btn-red {
  background-color: var(--color-red-700);
  color: var(--color-white);
}

.btn-red:hover {
  background-color: oklch(.45 .2 27); /* Darker red */
}

.btn-blue {
  background-color: var(--color-blue-700);
  color: var(--color-white);
}

.btn-blue:hover {
  background-color: var(--color-blue-800);
}

/* Cards Section */
.cards-section {
  padding: 4rem 0;
  background-color: var(--color-blue-50);
  position: relative;
  z-index: 20;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large Desktop Adjustments for Hero Positioning */
@media (min-width: 1024px) {
  .hero .container {
    max-width: 60rem; /* Wider container to push content left */
    padding-top: 10rem; /* lg:py-40 */
    padding-bottom: 10rem;
  }
  
  .hero-content {
    max-width: 50rem; /* More horizontal space for text */
  }
}

.card {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  border-top: 4px solid;
  display: flex;
  flex-direction: column;
}

.card:nth-child(1) { border-color: var(--color-blue-900); }
.card:nth-child(2) { border-color: var(--color-red-700); }
.card:nth-child(3) { border-color: var(--color-blue-900); }

.card h3 {
  color: var(--color-blue-900);
  font-size: 1.5rem;
  font-weight: var(--font-weight-medium); /* Seems lighter in screenshot */
  margin-bottom: 1rem;
  line-height: 1.3;
}

.card p {
  color: var(--color-gray-700);
  font-size: 1rem;
  line-height: 1.6;
}

/* Social Section */
.social-section {
  padding: 3rem 0 4rem;
  background-color: var(--color-blue-50);
}

.social-section h2 {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-blue-900);
  text-align: center;
  margin-bottom: 0.75rem;
}

.social-intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  color: var(--color-gray-700);
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.social-card {
  background-color: var(--color-white);
  padding: 1.75rem 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--color-blue-900);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

@media (min-width: 640px) {
  .social-header {
    flex-direction: row;
    align-items: baseline;
    gap: 0.75rem;
  }
}

.social-platform {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.social-platform-instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: var(--color-white);
}

.social-platform-tiktok {
  background-color: var(--color-black);
  color: var(--color-white);
}

.social-handle {
  font-weight: var(--font-weight-medium);
  color: var(--color-blue-900);
}

.social-description {
  color: var(--color-gray-700);
  font-size: 0.95rem;
  line-height: 1.6;
}

.social-actions {
  margin-top: 0.5rem;
}

/* Footer CTA */
.footer-cta {
  background-color: var(--color-blue-900);
  color: var(--color-white);
  padding: 6rem 0;
  text-align: center;
  margin-top: auto; /* Pushes footer to bottom of flex container */
}

.footer-cta h2 {
  font-size: 2.5rem;
  font-weight: var(--font-weight-medium);
  margin-bottom: 1rem;
}

.footer-cta p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Content Pages */
.page-content {
  padding: 4rem 0;
}

.content-box {
  background-color: var(--color-white);
  padding: 4rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  max-width: 56rem; /* container-4xl */
  margin: 0 auto;
}

.content-box h1 {
  color: var(--color-blue-900); 
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.content-title {
    color: var(--color-blue-900);
    font-size: 1.125rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 2rem;
    display: block;
}

.content-box p {
  margin-bottom: 1.5rem;
  color: var(--color-gray-700);
  line-height: 1.7;
}

.blue-highlight-box {
  background-color: var(--color-blue-50);
  border-left: 4px solid var(--color-blue-900);
  padding: 1.5rem;
  margin: 2rem 0;
}

.blue-highlight-box p {
  color: var(--color-blue-900);
  font-weight: var(--font-weight-medium);
  margin-bottom: 0.5rem;
}

.blue-highlight-box a {
  color: var(--color-blue-700);
  text-decoration: underline;
}

.thank-you {
    text-align: center;
    color: var(--color-gray-700);
    margin-top: 3rem;
    font-style: italic;
}

/* Platform Items */
.platform-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.platform-item {
  background-color: var(--color-blue-50);
  padding: 2rem;
  border-radius: 0.5rem;
}

.platform-item h3 {
  color: var(--color-blue-900);
  font-weight: var(--font-weight-bold);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.platform-item ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.platform-item li {
  margin-bottom: 0.5rem;
  color: var(--color-gray-700);
  line-height: 1.5;
}

.platform-item p {
    color: var(--color-gray-700);
    line-height: 1.5;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 500px;
        background-position: center;
        flex-direction: column;
        justify-content: flex-end;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .cards-section {
        margin-top: 0;
        padding-top: 2rem;
    }
    
    .hero h1 { font-size: 2.5rem; }
    .hero h2 { font-size: 1.5rem; }
    
    /* Mobile Navigation */
    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        font-size: 0.875rem;
    }
    
    .content-box {
        padding: 2rem;
    }
}
.content-box ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}