:root {
  --first: #0f1016;
  --second: #fff;
  --third: #143264;
  --fourth: #fd5516;
  --dark-grey: #666666;
  --medium-grey: #e6e0e0;
  --light-grey: #fafafa;
  --dark-footer: #1d152c;
  --medium-footer: #291f3b;
  --light-footer: #2a2238;
  --title-family: "Manrope", sans-serif;
  --outline-text: "Poppins", sans-serif;
  --common-family: "Jost", sans-serif;
  --transition: all 0.3s linear;
}

* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 12pt;
  font-family: "Segoe UI", Tahoma, Verdana, sans-serif;
}

body {
  line-height: 26px;
  font-family: "Jost", sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding-top: 120px;
  color: var(--first);
  overflow-x: hidden;
}

/* Top Navigation Bar */
/* ---------- Responsive Top Navigation Bar (desktop, laptop, iPad, mobile) ---------- */

/* Theme vars (adjust to your project variables if available) */
:root {
  --first: #0f1016;
  --second: #fff;
  --third: #143264;
  --fourth: #fd5516;
  --topbar-height-lg: 56px; /* desktop / laptop */
  --topbar-height-md: 56px; /* tablet (iPad) */
  --topbar-height-sm: 52px; /* mobile */
  --max-width: 1300px;
}

/* Fixed topbar */
.top-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--third);
  color: var(--second);
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Prevent page content hiding behind the fixed bar.
   If you already have another fixed header remove/adjust this. */
body {
  padding-top: var(--topbar-height-lg);
}

/* Inner container */
.topbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
}

/* Contacts (left) */
.contacts p {
  margin: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  line-height: 1;
}

.contact-item {
  color: var(--topbar-text);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap; /* prevents breaking phone/email */
}

/* separator */
.separator {
  color: rgba(255, 255, 255, 0.85);
}

/* Social icons (right) */
.social-logos-header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-logos-header a {
  display: inline-block;
}
.social-icon {
  width: 22px;
  height: auto;
  display: block;
  transition: transform 0.18s ease, opacity 0.18s ease;
  opacity: 0.98;
}
.social-logos-header a:focus .social-icon,
.social-logos-header a:hover .social-icon {
  transform: translateY(-3px);
  opacity: 1;
}

/* ------------------ Responsive breakpoints ------------------ */

/* iPad landscape and small laptops (<= 1024px) */
@media (max-width: 1024px) {
  body {
    padding-top: var(--topbar-height-md);
  }
  .topbar-inner {
    padding: 8px 18px;
    gap: 10px;
  }
  .contacts p {
    font-size: 13px;
    gap: 8px;
  }
  .social-icon {
    width: 20px;
  }
}

/* Narrow tablets & large phones (<= 820px) */
@media (max-width: 820px) {
  .topbar-inner {
    padding: 6px 14px;
  }
  .contacts p {
    gap: 8px;
    font-size: 13px;
  }
  .social-icon {
    width: 20px;
  }
}

/* Mobile phones: hide contacts to avoid clutter, center social icons */
@media (max-width: 700px) {
  body {
    padding-top: var(--topbar-height-sm);
  }

  .contacts {
    display: none;
  }

  .topbar-inner {
    height: 65px;
    justify-content: center; /* center social icons horizontally */
  }

  .social-logos-header ul {
    gap: 14px;
  }
  .social-icon {
    width: 18px;
  }

  .social-logos-header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 12px;
    align-items: center;
  }
}

/* Very small phones */
@media (max-width: 420px) {
  .social-icon {
    width: 16px;
  }
  .topbar-inner {
    padding: 6px 10px;
  }
}

/* Accessibility: visible focus */
.topbar-inner a:focus {
  outline: 3px solid rgba(255, 255, 255, 0.18);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Prevent layout shift when icons don't load */
.social-icon {
  object-fit: contain;
}

/* Main Navigation Bar */
.main-navbar {
  width: 100%;
  height: 100px;
  position: fixed;
  z-index: 9999;
  top: 40px;
  background-color: var(--second);
  display: flex;
  justify-content: center;
  align-items: center;
}

.links-container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 50px;
  padding-right: 170px;
}

.dropdown {
  position: relative;
  display: inline-block;
  list-style: none;
}

.dropdown-content {
  position: absolute;
  left: 0;
  background: var(--second);
  min-width: 160px;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-content a {
  color: var(--first);
  padding: 0.5rem 1rem;
  text-decoration: none;
  display: block;
  transition: var(--transition);
}

.dropdown-content a:hover {
  color: var(--third);
  background: var(--second);
  transition: var(--transition);
  font-weight: 600;
}

.nav-border {
  display: none;
}

.nav-link {
  font-size: 15px;
  font-weight: 700;
  list-style: none;
  color: var(--first);
  transition: var(--transition);
}

.nav-link i {
  display: none;
}

.nav-link:hover {
  font-size: 18px;
  font-weight: 700;
  color: var(--first);
  transition: var(--transition);
  cursor: pointer;
}

nav a {
  height: 100%;
  padding: 0 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: var(--first);
}

.hamburger-menu-icon-black {
  fill: var(--first);
}

#sidebar-active {
  display: none;
}

.open-sidebar-button,
.close-sidebar-button {
  display: none;
}

@media (max-width: 600px) {
  .logo-link {
    margin: 0;
    padding-left: 10px;
  }

  .logo-image {
    width: 80px;
  }

  .social-logos-header ul {
    gap: 14px;
  }

  .links-container {
    width: 200px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: -100%;
    z-index: 10;
    background-color: var(--second);
    transition: 0.75s ease-out;
  }

  .contacts {
    display: none;
  }

  .topbar-inner {
    justify-content: center; /* center social icons horizontally */
  }

  .social-logos-header ul {
    gap: 14px;
  }
  .social-icon {
    padding-bottom: 20px;
    width: 18px;
  }

  nav a {
    width: 80%;
    justify-content: flex-start;
    padding: 20px;
    box-sizing: border-box;
  }

  .nav-link {
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 500;
    list-style: none;
    box-sizing: border-box;
    border: 1px solid var(--medium-grey);
    color: var(--first);
    transition: var(--transition);
  }

  .nav-link i {
    display: block;
  }

  .open-sidebar-button {
    display: flex;
    padding-right: 10px;
  }

  #sidebar-active:checked ~ .links-container {
    left: 0;
  }
}

/* Home */
/* Home Section Layout */
.home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 50px 5%;
  flex-wrap: wrap;
}
/* Fullscreen Video Wrapper */
.video-wrapper {
  position: relative;
  width: 100%;
  height: 100vh; /* fullscreen height */
  overflow: hidden;
}

/* Responsive Background Video */
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%; /* ensures full coverage */
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover; /* perfect fit */
  z-index: -1;
}

/* Tablets & iPads */
@media (max-width: 1024px) {
  .video-wrapper {
    height: 100vh;
  }
  .bg-video {
    object-fit: cover;
  }
}

/* Big Mobile Screens */
@media (max-width: 768px) {
  .video-wrapper {
    height: 100vh;
  }
  .bg-video {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
  }

  .logo-link {
    margin: 0;
    padding-left: 10px;
  }

  .logo-image {
    width: 80px;
  }

  .links-container {
    width: 200px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: -100%;
    z-index: 10;
    background-color: var(--second);
    transition: 0.75s ease-out;
  }
  .nav-link {
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 500;
    list-style: none;
    box-sizing: border-box;
    border: 1px solid var(--medium-grey);
    color: var(--first);
    transition: var(--transition);
  }

  .nav-link i {
    display: block;
  }

  .open-sidebar-button {
    display: flex;
    padding-right: 10px;
  }

  #sidebar-active:checked ~ .links-container {
    left: 0;
  }

  /* Grid layput for course cards */
}

/* Smaller Mobiles */
@media (max-width: 480px) {
  .bg-video {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
  }
}

/* Left Text Section */
.home-heading {
  color: var(--second);
  flex: 1;
  min-width: 300px;
}

.home-heading h1 {
  font-size: 40px;
  color: var(--second);
  line-height: 1.2;
}

/* Right Image Section */
.home-img-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 300px;
}

.home-img-wrapper img {
  display: block;
  width: 100%;
  max-width: 450px;
  height: auto;
}

/* Buttons */
.primary-btn {
  padding: 12px 28px;
  background: #143264;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.primary-btn:hover {
  background: #0d2447;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .home {
    text-align: center;
    flex-direction: column;
  }

  .home-heading h1 {
    font-size: 30px;
  }

  .primary-btn {
    display: inline-block;
    margin: 10px 0;
  }

  .home-img-wrapper img {
    display: none;
    max-width: 350px;
  }

  .program-buttons {
    display: flex;
    align-items: center;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .home-heading h1 {
    font-size: 26px;
  }

  .home-img-wrapper img {
    max-width: 300px;
  }

  .program-buttons {
    display: flex;
    align-items: center;
    flex-direction: column;
  }
}

/* ---------- About Us: Responsive Styles ---------- */

/* Basic CSS variables (fallbacks if not defined elsewhere) */
:root {
  --first: #0f1016;
  --second: #fff;
  --third: #143264;
  --fourth: #fd5516;
  --container-max: 1200px;
  --gutter: 24px;
  --bg-image: url("images/whitebackground.jpg");
}

/* Section wrapper spacing */
.about-us-section {
  padding: 60px 5%;
  background-image: var(--bg-image);
  background-size: cover;
  background-repeat: no-repeat;
}

/* Grid container */
.container-grid {
  display: grid;
  grid-template-columns: 520px 1fr; /* image fixed width (desktop) + content */
  gap: 50px;
  max-width: var(--container-max);
  margin: 0 auto;
  align-items: center;
}

/* Image/link */
.about-image-link {
  display: block;
  width: 100%;
  justify-self: center;
}
.about-image {
  display: block;
  width: 100%;
  max-width: 520px; /* keep original dimension on large screens */
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Content box */
.about-content h1 {
  text-align: center;
  line-height: 1.2;
  margin: 0 0 16px 0;
  font-size: 32px;
  text-decoration: underline;
  color: var(--first);
}

/* Paragraph sizing */
.about-content p {
  font-size: 18px;
  line-height: 1.6;
  color: #222;
  margin: 0;
  max-width: 900px; /* limits line length for readability */
}

/* Generic helper classes for cards */
.card {
  display: flex;
  justify-content: center;
  background: #fff;
  padding: 16px;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  padding: 8px 12px;
  border-radius: 20px;
  background: var(--fourth);
  color: #fff;
  border: 1px solid var(--fourth);
  cursor: pointer;
  font-weight: bold;
}

/* ---------- Responsive Breakpoints ---------- */

/* Medium screens (tablets, small laptops) */
@media (max-width: 992px) {
  .container-grid {
    grid-template-columns: 1fr; /* stack image + content */
    gap: 28px;
    padding: 0 12px;
  }

  .about-image {
    max-width: 720px; /* allow larger image width when stacked */
  }

  .about-content h1 {
    font-size: 28px;
    text-align: center;
  }

  .about-content p {
    font-size: 17px;
  }
}

/* Small screens (phones) */
@media (max-width: 520px) {
  .about-us-section {
    padding: 36px 5%;
  }

  .about-content h1 {
    font-size: 22px;
  }

  .about-content p {
    font-size: 15px;
    line-height: 1.55;
    text-align: justify;
    text-justify: inter-word;
  }

  .course-card {
    width: 160px;
    height: auto;
  }

  .btn {
    padding: 8px 10px;
    font-size: 14px;
  }
}

/* Extra small: keep images responsive and avoid overflow */
@media (max-width: 360px) {
  .about-content p {
    font-size: 14px;
  }

  .about-image {
    border-radius: 6px;
  }
}

/* Services Section - Wrapper */
#services-section {
  padding: 60px 5%;
}

/* Grid Container Wrapper */
.services-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

/* Grid Layout for Cards */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
  gap: 28px;
  align-items: start;
}

/* Card Styling */
.services-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(20, 50, 100, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hover Effect */
.services-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(20, 50, 100, 0.12);
}

/* Icons */
.services-card img {
  width: 100px;
  height: auto;
  margin-bottom: 18px;
}

/* Headings */
.services-card h2 {
  font-size: 20px;
  color: #143264;
  margin: 10px 0 14px;
}

/* Paragraph Text (Justified) */
.services-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #222;
  text-align: justify;
  text-justify: inter-word;
  padding-inline: 12px;
}

/* ============= RESPONSIVE BREAKPOINTS ============= */
@media (max-width: 600px) {
  .services {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .statistics {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 30px;
  }

  .statistics h2 {
    text-align: center;
  }
}

/* Tablets and small laptops (2 columns) */
@media (max-width: 992px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Mobile (1 column) */
@media (max-width: 520px) {
  .services {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-card {
    padding: 22px 16px;
  }

  .services-card img {
    width: 80px;
  }

  .services-card h2 {
    font-size: 18px;
  }

  .services-card p {
    font-size: 14px;
    padding-inline: 8px;
  }

  .courses-top,
  .courses-bottom {
    display: flex;
    flex-direction: column;
  }
}

.services-card {
  text-align: center;
  width: 300px;
  padding: 20px;
}

.services-card:hover {
  text-align: center;
  color: var(--first);
  width: 300px;
  padding: 20px;
  background-color: var(--light-grey);
  transition: var(--transition);
}

.news-header {
  line-height: 4;
}

.news-header p {
  text-align: center;
  color: var(--third);
}

.news-header h1 {
  font-size: 30px;
  line-height: 1.2;
  text-align: center;
  color: var(--first);
}

.news-columns {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.news-column-1 img {
  display: flex;
  flex-direction: column;
}

.news-column-1 a {
  color: var(--dark-grey);
  text-decoration: none;
  padding-top: 20px;
  transition: var(--transition);
}

.news-column-1 a:hover {
  color: var(--third);
  text-decoration: none;
  transition: var(--transition);
}

.news-column-1 li {
  padding-top: 20px;
}

.news-column-1 li::after {
  content: "-";
  color: var(--third);
  display: inline-block;
  font-weight: normal;
  position: relative;
  font-weight: 800;
}

.news-column-1 p {
  width: 275px;
  font-size: 25px;
  line-height: 1.2;
  padding-top: 15px;
  padding-bottom: 15px;
  transition: var(--transition);
}

.news-column-1 p:hover {
  width: 275px;
  font-size: 25px;
  color: var(--third);
  transition: var(--transition);
  cursor: pointer;
  line-height: 1.2;
  padding-top: 15px;
  padding-bottom: 15px;
}

.news-column-1 button {
  width: 150px;
  height: 60px;
  background-color: var(--light-grey);
  border: none;
  border-radius: 40px;
  color: var(--first);
  font-size: 15px;
  font-family: "Jost", sans-serif;
  transition: var(--transition);
}

.news-column-1 button:hover {
  width: 150px;
  height: 60px;
  background-color: var(--third);
  border: none;
  border-radius: 40px;
  color: var(--second);
  font-size: 15px;
  font-family: "Jost", sans-serif;
  transition: var(--transition);
  cursor: pointer;
}

.news-column-2 img {
  width: 350px;
  display: flex;
  flex-direction: column;
}

.news-column-2 a {
  color: var(--dark-grey);
  text-decoration: none;
  padding-top: 20px;
  transition: var(--transition);
}

.news-column-2 a:hover {
  color: var(--third);
  text-decoration: none;
  transition: var(--transition);
}

.news-column-2 li {
  padding-top: 20px;
}

.news-column-2 li::after {
  content: "-";
  color: var(--third);
  display: inline-block;
  font-weight: normal;
  margin-left: 5px;
  position: relative;
  font-weight: 800;
}

.news-column-2 p {
  width: 340px;
  font-size: 25px;
  line-height: 1.2;
  padding-top: 15px;
  padding-bottom: 15px;
  transition: var(--transition);
}

.news-column-2 p:hover {
  width: 340px;
  font-size: 25px;
  color: var(--third);
  transition: var(--transition);
  cursor: pointer;
  line-height: 1.2;
  padding-top: 15px;
  padding-bottom: 15px;
}

/*------------Course Cards------------*/
.courses-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.courses-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding-top: 30px;
}

.course-card {
  width: 200px;
  height: 350px;
  background-color: var(--second);
  border-left: 5px solid #143264;
  border-radius: 30px;
  color: #fd5516;
  text-align: center;
}

.course-card img {
  width: 200px;
  height: 150px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

.course-card h4 {
  padding-top: 40px;
}

.course-card button {
  width: 150px;
  height: 50px;
  border-radius: 30px;
  background-color: #fd5516;
  color: #143264;
}

.course-card a {
  color: #143264;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
}

.chips {
  margin: 10px 0;
}

.chip {
  border-radius: 20px;
  display: inline-block;
  padding: 6px 8px;
  margin: 4px 4px 0 0;
  border: 3px solid var(--third);
  font-size: 13px;
  color: var(--fourth);
}

.register-button {
  width: 200px;
  height: 80px;
  background-color: var(--fourth);
  border: none;
  border-radius: 40px;
  color: var(--second);
  font-size: 20px;
  font-weight: 600;
  font-family: "Jost", sans-serif;
  transition: var(--transition);
}

.register-button:hover {
  width: 200px;
  height: 80px;
  background-color: var(--second);
  border: none;
  border-radius: 40px;
  color: var(--fourth);
  font-size: 20px;
  font-weight: 600;
  font-family: "Jost", sans-serif;
  transition: var(--transition);
  cursor: pointer;
}

/* ---------------- */

.card {
  display: flex;
  justify-content: center;
  background: #fff;
  padding: 16px;
  gap: 16px;
}

.news-column-2 button {
  width: 150px;
  height: 60px;
  background-color: var(--light-grey);
  border: none;
  border-radius: 40px;
  color: var(--first);
  font-size: 15px;
  font-family: "Jost", sans-serif;
  transition: var(--transition);
}

.news-column-2 button:hover {
  width: 150px;
  height: 60px;
  background-color: var(--third);
  border: none;
  border-radius: 40px;
  color: var(--second);
  font-size: 15px;
  font-family: "Jost", sans-serif;
  transition: var(--transition);
  cursor: pointer;
}

.news-column-3 img {
  width: 350px;
  display: flex;
  flex-direction: column;
}

.news-column-3 a {
  color: var(--dark-grey);
  text-decoration: none;
  padding-top: 20px;
  transition: var(--transition);
}

.news-column-3 a:hover {
  color: var(--third);
  text-decoration: none;
  transition: var(--transition);
}

.news-column-3 li {
  padding-top: 20px;
}

.news-column-3 li::after {
  content: "-";
  color: var(--third);
  display: inline-block;
  font-weight: normal;
  margin-left: 5px;
  position: relative;
  font-weight: 800;
}

.news-column-3 p {
  width: 300px;
  font-size: 25px;
  line-height: 1.2;
  padding-top: 15px;
  padding-bottom: 15px;
  transition: var(--transition);
}

.news-column-3 p:hover {
  width: 300px;
  font-size: 25px;
  color: var(--third);
  transition: var(--transition);
  cursor: pointer;
  line-height: 1.2;
  padding-top: 15px;
  padding-bottom: 15px;
}

.news-column-3 button {
  width: 150px;
  height: 60px;
  background-color: var(--light-grey);
  border: none;
  border-radius: 40px;
  color: var(--first);
  font-size: 15px;
  font-family: "Jost", sans-serif;
  transition: var(--transition);
}

.news-column-3 button:hover {
  width: 150px;
  height: 60px;
  background-color: var(--third);
  border: none;
  border-radius: 40px;
  color: var(--second);
  font-size: 15px;
  font-family: "Jost", sans-serif;
  transition: var(--transition);
  cursor: pointer;
}

.freshers {
  display: flex;
  justify-content: center;
}

.two-years-xp {
  display: flex;
  justify-content: center;
}

.freshers-list {
  list-style-position: inside;
  margin: 0;
  padding: 0;
  line-height: 2.2;
}

.statistics {
  display: flex;
  justify-content: space-evenly;
}

.statistics h1 {
  font-size: 70px;
  color: var(--first);
}

.statistics h3 {
  text-align: center;
  color: var(--first);
}

.social-logo-footer {
  width: 30px;
}

/* Footer - responsive, mobile-first */
.site-footer {
  background: #ededed;
  color: #143264;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial;
  padding: 36px 5%;
}

/* Inner columns container */
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr; /* stack on mobile */
  gap: 24px;
  align-items: start;
}

/* Individual columns */
.footer-col {
  display: block;
}

/* Brand column */
.footer-col-brand {
  display: flex;
  align-items: flex-start;
}

/* Logo */
.logo-image {
  max-width: 220px; /* responsive logo size */
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Headings */
.footer-heading {
  font-size: 18px;
  color: #143264;
  margin: 0 0 12px 0;
  font-weight: 700;
}

/* Lists */
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 2.2;
}

.footer-list li {
  margin: 0;
}

.footer-list a {
  color: #333;
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-list a:hover,
.footer-list a:focus {
  color: #143264;
  transform: translateX(3px);
}

/* Contact specific */
.contact-list a {
  white-space: nowrap;
}

/* Social bar */
.footer-social {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-social ul {
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.social-logo-footer {
  width: 34px;
  height: auto;
  display: block;
  filter: grayscale(0);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.footer-social a:hover .social-logo-footer,
.footer-social a:focus .social-logo-footer {
  transform: translateY(-4px);
  filter: none;
}

/* Footer bottom */
.footer-bottom {
  margin-top: none;
  padding: 18px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  background: transparent;
}

.copyright {
  margin: 0;
  color: #666;
  font-size: 14px;
}

/* ---------------- Larger screens: multi-column layout ---------------- */
@media (min-width: 760px) {
  .footer-inner {
    grid-template-columns: 250px 1fr 1fr 1fr; /* Brand + 3 cols */
    gap: 20px;
    align-items: start;
  }

  .footer-col-brand {
    align-self: start;
  }

  .footer-social {
    justify-content: center;
    margin-top: 0;
  }

  .footer-bottom {
    padding-top: 26px;
  }
}

/* Extra polish on wide screens */
@media (min-width: 1100px) {
  .site-footer {
    padding: 48px 6%;
  }

  .logo-image {
    max-width: 300px;
  }
}
