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

:root {
  /* Colors */
  --primary-blue: #377DFF;
  --deep-blue: #263D73;
  --accent-yellow: #FFEB3B;
  --text-color: #1F2D3D;
  --light-bg: #F9FAFB;
  --soft-gray: #D3DCE6;
  --white: #FFFFFF;

  /* Fonts */
  --font-base: 'Nunito', 'Avenir Next', 'Segoe UI', 'Helvetica Neue', sans-serif;

  /* Font Sizes */
  --fs-base: 16px;
  --fs-h1: 48px;
  --fs-h2: 28px;
  --fs-h3: 20px;
  --fs-small: 14px;

  /* Font Weights */
  --fw-regular: 400;
  --fw-semibold: 600;
  --fw-bold: 700;
}

body, html {
  height: 100%;
  font-family: var(--font-base);
  background-color: var(--white);
  color: var(--text-color);
  font-size: var(--fs-base);
}



.site-header {
  position: fixed; /* makes it scroll with the page */
  top: 0;
  left: 0;
  width: 100%;
  padding: 8px 3% 8px 0%; /* keep your custom spacing */
  display: flex;
  justify-content: center;
  z-index: 1000;
  background: transparent;
}

.header-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
}

.site-logo {
  height: 120px; /* logo height increased */
  width: auto;
  display: block;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: var(--fw-semibold);
  font-size: 16px;
  transition: 0.2s ease;
}

.site-nav a:hover {
  opacity: 0.75;
}

.contact-btn {
  background-color: var(--accent-yellow);
  color: var(--text-color);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: var(--fw-bold);
}


/* Dropdown Container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Button */
.dropbtn {
  background: none;
  border: none;
  color: var(--white);
  font-size: 16px;
  text-decoration: none;
  transition: 0.2s ease;
  cursor: pointer;
  padding: 0;
  font-weight: normal;
}

.dropbtn:hover {
  opacity: 0.8;
}

/* Dropdown Content */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--primary-blue);
  min-width: 160px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 999;
  border-radius: 8px;
  overflow: hidden;
}

/* Dropdown Links */
.dropdown-content a {
  color: var(--white);
  padding: 14px 20px;
  display: block;
  text-decoration: none;
  font-weight: var(--fw-regular); /* <-- changed */
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: background-color 0.3s;
}

/* Hover Effect */
.dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

/* Show Dropdown on Hover */
.dropdown:hover .dropdown-content {
  display: block;
}


/* Hero Section */
.hero-section {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 180px 5% 140px; /* increased top padding to make room for the header */
  position: relative;
  overflow: hidden;
  min-height: 70vh;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.hero-left {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-description {
  font-size: 18px;
  font-weight: var(--fw-regular);
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-btn {
  background-color: var(--accent-yellow);
  color: var(--text-color);
  font-weight: var(--fw-bold);
  padding: 14px 28px;
  border: none;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
  display: inline-block;
}

.hero-btn:hover {
  background-color: #e6d638;
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  transform: scale(1.8); /* Increased zoom */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}


.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Reuse existing style for both */
.hero-btn {
  font-weight: var(--fw-bold);
  padding: 14px 28px;
  border: none;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
  display: inline-block;
}

/* Primary (yellow) */
.primary-btn {
  background-color: var(--accent-yellow);
  color: var(--text-color);
}

.primary-btn:hover {
  background-color: #e6d638;
}

.secondary-btn {
  background-color: var(--white);
  color: var(--deep-blue);
  border: 2px solid var(--deep-blue);
  font-weight: var(--fw-bold);
  transition: 0.3s;
}

.secondary-btn:hover {
  background-color: var(--deep-blue);
  color: var(--white);
  opacity: 1;
}

/* Responsive Layout */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-left {
    max-width: 100%;
    margin-bottom: 40px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-btn {
    font-size: 16px;
    padding: 12px 24px;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-image {
    width: 160px;
    height: 160px;
    transform: scale(1.7);
  }
}

@media (max-width: 600px) {
  .hero-image {
    width: 160px;
    height: 160px;
    transform: scale(1.7);
    margin-top: 24px; /* Pushes image down */
  }
}


@media (max-width: 600px) {
  .hero-image {
    width: 160px;
    height: 160px;
    transform: scale(1.7);
    margin-top: 60px;     /* Increased from 24px */
    margin-bottom: 32px;
  }

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


.sell-section {
  background-color: var(--white);
  padding: 100px 5%;
  width: 100%;
}

.sell-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.sell-text {
  flex: 1;
  max-width: 550px;
}

.sell-title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  margin-bottom: 20px;
  color: var(--text-color);
}

.sell-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-color);
}

.sell-btn {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: var(--fw-bold);
  transition: 0.3s;
}

.sell-btn:hover {
  opacity: 0.85;
}

.sell-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sell-image {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  object-fit: cover;
}


@media (max-width: 768px) {
  .sell-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sell-text,
  .sell-image-wrapper {
    max-width: 100%;
  }

  .sell-text {
    order: 1;
    margin-bottom: 20px;
  }

  .sell-image-wrapper {
    order: 2;
    margin-bottom: 40px;
  }

  /* Flip order for every second section (buy-section) */
  .buy-section .sell-text {
    order: 1;
  }

  .buy-section .sell-image-wrapper {
    order: 2;
  }

  .sell-section .sell-text {
    order: 1;
  }

  .sell-section .sell-image-wrapper {
    order: 2;
  }
}


.site-footer {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 80px 5% 40px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1 1 300px;
}

.footer-left h3 {
  font-size: 24px;
  font-weight: var(--fw-bold);
  margin-bottom: 12px;
}

.footer-left p {
  color: #cccccc;
  font-size: 16px;
  line-height: 1.5;
}

.footer-center h4,
.footer-right h4 {
  font-size: 18px;
  font-weight: var(--fw-semibold);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  transition: 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-form input[type="email"] {
  padding: 12px;
  border-radius: 6px;
  border: none;
  font-size: 14px;
}

.footer-form button {
  padding: 12px;
  background-color: var(--accent-yellow);
  color: var(--text-color);
  border: none;
  border-radius: 6px;
  font-weight: var(--fw-bold);
  cursor: pointer;
  transition: 0.3s;
}

.footer-form button:hover {
  background-color: #e6d638;
}

.footer-contact-btn {
  display: inline-block;
  margin-top: 16px;
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: var(--fw-bold);
  transition: 0.3s;
}

.footer-contact-btn:hover {
  background-color: #2e6cd5;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  color: #aaa;
  font-size: 14px;
}

.buy-section {
  margin-bottom: 80px; /* Add this */
}


.get-in-touch-section {
  background-color: var(--light-bg);
  padding: 100px 5%;
  width: 100%;
}

.get-in-touch-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: center;
}

.get-in-touch-text {
  flex: 1;
  max-width: 500px;
  text-align: center;
}

.get-in-touch-text h2 {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  margin-bottom: 16px;
  color: var(--text-color);
}

.get-in-touch-text p {
  font-size: 18px;
  color: var(--text-color);
  line-height: 1.6;
}

.get-in-touch-form {
  flex: 1;
  max-width: 500px;
  background-color: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  width: 100%;
}

.get-in-touch-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.get-in-touch-form input,
.get-in-touch-form select,
.get-in-touch-form textarea {
  padding: 14px;
  font-size: 16px;
  border: 1px solid var(--soft-gray);
  border-radius: 8px;
  outline: none;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.get-in-touch-form input:focus,
.get-in-touch-form select:focus,
.get-in-touch-form textarea:focus {
  border-color: var(--primary-blue);
}

.get-in-touch-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-btn {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 14px;
  font-size: 16px;
  font-weight: var(--fw-bold);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

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

/* Mobile responsiveness */
@media (max-width: 900px) {
  .get-in-touch-container {
    flex-direction: column;
    text-align: center;
  }

  .get-in-touch-text,
  .get-in-touch-form {
    max-width: 100%;
  }
}


.buy-hero {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 140px 5% 100px;
  text-align: center;
}

.buy-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.buy-hero h1 {
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  margin-bottom: 20px;
}

.buy-hero p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.buy-hero .hero-btn {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 8px;
  background-color: var(--accent-yellow);
  color: var(--text-color);
  text-decoration: none;
  font-weight: var(--fw-bold);
}

.buy-hero .hero-btn:hover {
  background-color: #e6d638;
}


.benefits-section {
  background-color: #f8f8f5; /* soft gray background */
  padding: 100px 5%;
  text-align: center;
}

.benefits-title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--text-color);
  margin-bottom: 60px;
}

.benefits-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.benefit-item {
  width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-dot {
  background-color: var(--primary-blue);
  color: var(--white);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.benefit-desc {
  font-size: 15px;
  color: var(--text-color);
  line-height: 1.5;
  max-width: 220px;
}

/* Responsive */
@media (max-width: 768px) {
  .benefits-row {
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }
}


.resources-section {
  background-color: var(--white);
  padding: 100px 5%;
}

.resources-title {
  text-align: center;
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  margin-bottom: 10px;
  color: var(--text-color);
}

.resources-intro {
  text-align: center;
  font-size: 18px;
  margin-bottom: 60px;
  color: var(--text-color);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.resource-card {
  background-color: var(--light-neutral);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.resource-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  color: var(--primary-blue);
}

.resource-card p {
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--text-color);
}

.resource-link {
  text-decoration: none;
  font-weight: var(--fw-bold);
  color: var(--primary-blue);
  transition: 0.2s;
}

.resource-link:hover {
  opacity: 0.75;
}


.final-cta-section {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 100px 5%;
  text-align: center;
}

.final-cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.final-cta-section h2 {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  margin-bottom: 20px;
}

.final-cta-section p {
  font-size: 18px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.final-cta-btn {
  background-color: var(--accent-yellow);
  color: var(--text-color);
  font-weight: var(--fw-bold);
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.final-cta-btn:hover {
  background-color: #e6d638;
}


/* About Page Flex Section */
.about-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 60px 5%;
  background-color: var(--light-neutral); /* Optional soft background */
}

.about-text {
  flex: 1 1 500px;
  max-width: 600px;
}

.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--primary-blue);
}

.about-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 20px;
}

.about-photo {
  flex: 1 1 400px;
  max-width: 500px;
  text-align: center;
}

.about-photo img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}