/* EOSIC Enterprises — Premium Navy & Gold Theme */

:root {
  --navy: #0A1A2F;
  --gold: #C9A86A;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --max-width: 1200px;
  --heading-font: 'Georgia', serif;
  --body-font: 'Helvetica Neue', Arial, sans-serif;
}

body {
  margin: 0;
  font-family: var(--body-font);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
}

header {
  background: var(--navy);
  padding: 10px 0; /* reduced */
  border-bottom: 1px solid var(--gold);
}

nav {
  max-width: var(--max-width);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  color: var(--white);
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
}

.contact-photo {
    width: 120px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.contact-photo {
    display: block;
    margin: 0 auto 20px auto;
}

nav a:hover {
  color: var(--gold);
}

.hero {
  padding: 40px 20px; /* MUCH tighter */
  text-align: center;
  background: linear-gradient(to bottom, #0A1A2F, #0F243D);
}

.hero h1 {
  font-family: var(--heading-font);
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  max-width: 700px;
  margin: auto;
  font-size: 1.2rem;
}

.btn {
  display: inline-block;
  margin: 20px 10px;
  padding: 12px 28px;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s;
}

.btn:hover {
  background: var(--gold);
  color: var(--navy);
}

.section {
  padding: 20px 20px;
  max-width: var(--max-width);
  margin: 10px auto;
}

.section h2 {
  font-family: var(--heading-font);
  font-size: 2.2rem;
  margin-top: 5px;
  margin-bottom: 10px;
  color: var(--gold);
}

footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid var(--gold);
  margin-top: 60px;
}

.logo {
  background: transparent !important;
}

.logo img {
  height: 110px;
  width: auto;
  display: block;
  margin: 0 auto;
  background: transparent !important;
}

.logo {
  text-align: center;
  margin-bottom: 10px;
}

.hero-logo {
  background: transparent !important;
}

.hero-logo img {
  height: 350px;
  width: auto;
  display: block;
  margin: 0 auto 20px auto;
  background: transparent !important;
}

.hero {
  background: var(--navy) !important;
  padding: 40px 20px !important;
}

section {
  background: var(--navy) !important;
}

.wrapper,
.content {
  background: var(--navy) !important;
}

.founder-photo img {
  width: 50px;        /* size of the photo */
  height: auto;
  border-radius: 10px; /* soft rounded corners */
  display: block;
  margin: 20px auto;   /* centers the image */
  border: 2px solid var(--gold); /* optional gold border */
}

/* --- Acquisitions & Partnerships Page Styling --- */

/* Hero Title */
.page-hero {
    text-align: center;
    padding: 40px 20px 10px; /* reduced top + bottom */
    color: #ffffff;
}

.page-hero h1 {
    font-size: 2.6rem;
    letter-spacing: 1px;
    margin: 0;
}

/* Content Sections */
.content-section {
    max-width: 900px;
    margin: 50px auto;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.content-section h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #f5d48b; /* gold accent */
}

.content-section p {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #ffffff;
}

/* CTA Section */
.section {
    max-width: 900px;
    margin: 60px auto;
    text-align: center;
    padding: 40px 20px;
}

.section h2 {
    color: #f5d48b;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #f5d48b;
    color: #0a1a2a;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1.1rem;
}

.btn:hover {
    background-color: #ffe2a8;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    color: #ffffff;
    opacity: 0.8;
}

/* --- Card Layout for Acquisitions Page --- */

.card-grid {
    max-width: 1100px;
    margin: 20px auto; /* was 60px */
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card h2 {
    color: #f5d48b;
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.card p {
    color: #ffffff;
    line-height: 1.7;
    font-size: 1.05rem;
}

.realestate-hero {
    padding: 30px 20px !important;
    margin-bottom: 40px !important;
}

.realestate-section p {
    margin-top: 5px;
    margin-bottom: 8px;
}

.realestate-section {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

.realestate-section:first-of-type {
    margin-top: 30px !important;
}

.contact-section {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
}

/* --- MOBILE RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {

/* Force header background on mobile so logo stays transparent */
header {
    background: var(--navy) !important;
}
    /* Logo fixes */
    .logo {
        background: transparent !important;
    }

    .logo img {
    height: 70px;
    margin: 0 auto 2px auto !important; /* tightened spacing */
    background: transparent !important;
}

/* Make sure the logo link never looks like a tab on mobile */
header .logo a {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    box-shadow: none !important;
    display: inline-block;
}

/* Add spacing BELOW the logo so tab shading doesn't sit behind it */
body:not(.index) .logo {
    padding-bottom: 6px !important;
}

/* Tighter spacing between logo and tabs on mobile (except Home) */
body:not(.index) header {
    padding: 0px 0 !important;
}

body:not(.index) .logo img {
    margin: 0 auto 2px auto !important;
}

    .hero-logo {
        background: transparent !important;
    }

    .hero-logo img {
        height: 180px;
        background: transparent !important;
    }

    /* Tighten spacing between logo and tabs */
    header {
        padding: 2px 0 !important; /* reduces header height */
    }

    /* Clean centered horizontal mobile nav */
    nav {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        text-align: center;
    }

   nav a {
    display: inline-block;
    padding: 6px 12px;
    margin: 2px;
    font-size: 0.9rem;
    background: transparent !important;          /* no fill behind logo */
    border: 1px solid rgba(255, 255, 255, 0.25); /* visible outline */
    border-radius: 4px;
    text-align: center;
}

    nav a:hover {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.45);
}

    /* Hero adjustments */
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* Section spacing */
    .section {
        padding: 20px 15px;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .section h2 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .section p {
        margin-bottom: 0.5rem;
    }

    /* Text readability */
    p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Card layout fix */
    .card-grid {
        grid-template-columns: 1fr;
    }
}

body.index .logo {
  display: none;
}

body.index nav > div:last-child {
  display: flex;
  justify-content: center;
  gap: 20px; /* adjust spacing between tabs if you want */
  width: 100%;
}

@media (max-width: 768px) {
  body.index nav > div:last-child a {
    font-size: 13px;
    padding: 4px 8px;
  }

  body.index nav > div:last-child {
    gap: 8px;
  }
}

@media (max-width: 768px) {
  body.index nav > div:last-child a {
    font-size: 11px;
    padding: 3px 6px;
  }

  body.index nav > div:last-child {
    gap: 6px;
  }
}

@media (max-width: 768px) {
  body.index header {
    padding: 6px 0;      /* reduce vertical height */
  }

  body.index nav {
    padding: 0;          /* remove extra spacing inside nav */
  }
}

/* Tighten spacing on the Founder page sections */
.section h2 {
  margin-bottom: 0.5rem;   /* less space under each heading */
}

.section p {
  margin-bottom: 0.75rem;  /* less space under each paragraph */
}

.section {
  margin-bottom: 1.5rem;   /* reduce overall space between sections */
}

/* Reduce spacing between sections on the Founder page */
.section {
    margin-top: 1rem;     
    margin-bottom: 1rem;  
}

.section h2 {
    margin-bottom: 0.5rem;
}

.section p {
    margin-bottom: 0.5rem;
}

