/* Body font and headline font */
@import url('https://fonts.googleapis.com/css2?family=Hiragino+Mincho+Pro:wght@400&family=Impact&display=swap');

body {
    font-family: 'Hiragino Neue', sans-serif;
    background-color: #c8dae9; /* Background color */
    color: #0b1c48; /* Primary text color */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Impact', sans-serif;
    color: #0b1c48; /* Headline color */
}
.hero-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.home-bg {
    background-image: url('/img/flathome.png');
}
.for-schools-bg {
    background-image: url('/img/empty-class.png');
}
.adult-education-bg {
    background-image: url('/img/adult-education.jpg');
}
.colleges-bg {
    background-image: url('/img/students.jpg');
}
.homeschool-bg {
    background-image: url('/img/child.jpg');
}
.finance-bg {
    background-image: url('/img/money-hero.jpg');
}
.emotional-bg {
    background-image: url('/img/emotional-hero.jpg');
}
.products-bg {
    background-image: url('/img/products.png');
}
.gfsf-bg {
    background-image: url('/img/getfocused-stay-focused.png');
}
.solutions-bg {
    background-image: url('/img/our-education-solutions.png');
}
.gfsf-middle-bg {
    background-image: url('/img/gfsf-for-middle-school.png');
}
.graduation-bg {
    background-image: url('/img/graduation-hero.png');
}
.chart-bg {
    background-image: url('/img/charts.jpg');
}
.phone-bg {
    background-image: url('/img/send-a-message.jpg');
}
.questions-bg {
    background-image: url('/img/questions.jpg');
}
.library-bg {
    background-image: url('/img/library.jpg');
}
.books-bg {
    background-image: url('/img/books-hero.jpg');
}
.career-choices-bg {
    background-image: url('/img/getfocused-stay-focused.png');
}
.bg-translucent-white {
    background-color: rgba(255, 255, 255, 0.8); /* white with 80% opacity */
    padding: 2rem;
    border-radius: 0.5rem;
}

/* Bootstrap Custom Colors */
:root {
    --bs-primary: #0b1c48; /* Primary button color */
    --bs-primary-rgb: 11, 28, 72; /* RGB version of #0b1c48 */
    --bs-secondary: #848d98; /* Secondary color for buttons, borders, etc. */
    --bs-success: #013a20; /* Success color */
    --bs-info: #c8dae9; /* Info background color */
    --bs-warning: #f8d700; /* Custom warning color (if you need it) */
    --bs-danger: #d9534f; /* Danger color */
    --bs-light: #ffffff; /* Light background color */
    --bs-dark: #0b1c48; /* Dark text color */
}

/* Modify Bootstrap button styles */
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-primary:hover {
    background-color: darken(var(--bs-primary), 10%);
    border-color: darken(var(--bs-primary), 10%);
}

.btn-secondary {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
}

.btn-secondary:hover {
    background-color: darken(var(--bs-secondary), 10%);
    border-color: darken(var(--bs-secondary), 10%);
}


/* Customize Links */
a {
    color: var(--bs-primary);
    text-decoration: none;
}

a:hover {
    color: var(--bs-success);
}

/* Clean, Straight Lines Style */
.card, .btn, .nav, .container {
    border-radius: 0; /* No rounded corners */
    box-shadow: none; /* Remove shadow for a clean look */
}

.card {
    border: 1px solid #848d98; /* Subtle border color for cards */
}

/* Navbar */
.navbar {
    background-color: var(--bs-light); /* Light background for the navbar */
}

.navbar .nav-link {
    color: var(--bs-dark);
}

.navbar .nav-link:hover {
    color: var(--bs-primary);
}

/* Customizing Input Fields */
input, select, textarea {
    border: 1px solid #848d98; /* Matching the secondary color */
    background-color: var(--bs-light);
    color: var(--bs-dark);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 5px rgba(0, 174, 97, 0.5);
}

/* Card styles */
.card-header, .card-body {
    border-radius: 0;
    border: none;
}

.card-body {
    background-color: var(--bs-light);
}

.card-title {
    font-family: 'Impact', sans-serif;
    color: var(--bs-dark);
}

/* Table Styles */
table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 1.5rem;
}

table th, table td {
    border: 1px solid #848d98;
    padding: 8px;
    text-align: left;
}

table th {
    background-color: var(--bs-light);
    color: var(--bs-dark);
}

/* Footer Styling */
footer {
    background-color: var(--bs-dark);
    color: var(--bs-light);
    padding: 1rem 0;
    text-align: center;
}

/* Adjust container padding */
.container {
    padding: 2rem 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Adjust padding for mobile devices */
    .container {
        padding: 1rem 10px;
    }
}

footer {
  background-color: #222;
  color: #fff;
}

footer h5 {
  border-bottom: 1px solid #555;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

footer ul li a {
  text-decoration: none;
  color: #bbb;
  transition: color 0.3s ease;
}

footer ul li a:hover {
  color: #fff;
}

footer small {
  color: #888;
}


.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-img-container {
    display: flex;
    justify-content: center; /* Align image horizontally */
    align-items: center; /* Align image vertically */
    height: 300px; /* Set the height you want for the image container */
    overflow: hidden; /* Ensure no overflow if the image is larger than the container */
}

.custom-image {
    max-width: 100%;
    height: auto;
    display: block;
}


/* --- Responsive Design Enhancements --- */

/* Tablets and below */
@media (max-width: 992px) {
  h1.display-5 {
    font-size: 2.2rem;
  }

  .hero-bg {
    background-position: center top;
  }

  .container {
    padding: 1.5rem 10px;
  }

  .navbar .navbar-brand {
    font-size: 1.2rem;
  }

  .card-img-container {
    height: 200px;
  }

  .custom-image {
    max-width: 100%;
  }
}

/* Phones */
@media (max-width: 576px) {
  h1.display-5 {
    font-size: 1.8rem;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-bg .container {
    padding: 2rem 1rem;
  }

  .btn-lg {
    width: 100%;
    margin-bottom: 0.75rem;
  }

  .navbar-brand img {
    height: 30px !important;
  }

  footer .row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer ul {
    padding-left: 0;
  }

  footer ul li {
    margin-bottom: 0.5rem;
  }
  .blockquote p {
    font-size: 1rem;
  }
  .btn-lg {
    width: 100%;
    margin-bottom: 10px;
  }
}
@media (max-width: 480px) {
  .card-img-container {
    padding: 0.5rem;
  }
}

