:root {

  /* BRAND COLORS */
  --primary-blue: #062B5A;
  --secondary-blue: #103A68;
  --cyan: #1DA7B2;
  --light-teal: #38C4C9;
  --light-bg: #EDEDED;
  --guide-gray: #C9D4D8;

  --white: #ffffff;
  --dark-text: #1a1a1a;
}


/* MAIN FOOTER */
.penham-footer {
  background: linear-gradient(135deg, #062B5A, #103A68);
  color: var(--guide-gray);
  padding: 60px 40px 30px;
  font-family: "Poppins", sans-serif;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 10;
}

/* RESPONSIVE CONTAINER */
.footer-container {
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 50px;
}

/* LEFT COLUMN */
.footer-left {
  flex: 1.2;
  min-width: 260px;
}

.footer-logo {
  width: 160px;
  margin-bottom: 22px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.footer-social a {
  color: var(--white);
  font-size: 20px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  transition: 0.3s ease;
}

.footer-social a:hover {
  background: linear-gradient(135deg, #1DA7B2, #38C4C9);
  color: var(--white);
  transform: translateY(-3px);
}

/* RIGHT SECTION */
.footer-links {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 30px 40px;
}

.footer-links h5 {
  color: var(--white);
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.footer-links a {
  display: block;
  text-decoration: none;
  color: var(--guide-gray);
  margin-bottom: 10px;
  font-size: 0.95rem;
  transition: 0.25s ease;
}

.footer-links a:hover {
  color: var(--light-teal);
  padding-left: 5px;
}

/* FOOTER BOTTOM */
.footer-bottom {
  text-align: center;
  margin-top: 35px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.10);
  color: var(--guide-gray);
  font-size: 0.9rem;
}


/* FLOATING BUTTONS */
.float-btn {
  position: fixed;
  right: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--white);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  z-index: 999;
  transition: transform 0.25s ease;
}

.float-btn.whatsapp {
  bottom: 90px;
  background: linear-gradient(135deg, #1DA7B2, #38C4C9);
}

.float-btn.call {
  bottom: 155px;
  background: linear-gradient(135deg, #062B5A, #103A68);
}

.float-btn:hover {
  transform: translateY(-5px) scale(1.1);
}


/* BACK TO TOP */
#backToTop {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(135deg, #062B5A, #1DA7B2);
  border: none;
  color: #fff;
  padding: 12px 14px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: none;
  transition: 0.3s ease;
}

#backToTop:hover {
  background: linear-gradient(135deg, #103A68, #38C4C9);
  transform: translateY(-3px);
}


/* -------------------------
   RESPONSIVE DESIGN
------------------------- */

/* TABLET & MEDIUM DEVICES */
@media (max-width: 1024px) {

  .penham-footer {
    padding: 50px 30px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* MOBILE DEVICES */
@media (max-width: 600px) {

  .penham-footer {
    padding: 40px 20px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

  .float-btn {
    width: 45px;
    height: 45px;
    right: 12px;
  }

  .float-btn.whatsapp {
    bottom: 80px;
  }

  .float-btn.call {
    bottom: 140px;
  }

  #backToTop {
    right: 12px;
  }
}
/* ===== FOOTER ALIGNMENT FIX ===== */

.footer-container{
    align-items:flex-start;
}

/* LEFT SIDE */
.footer-left{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
}

/* LOGO */
.footer-logo{
    width:160px;
    margin:0 0 12px 0;
    display:block;
}

/* CONNECT TEXT */
.footer-left h4{
    margin:0 0 20px 0;
    color:#ffffff;
    font-size:1rem;
    font-weight:600;
}

/* REMOVE UL DEFAULT SPACING */
.footer-links ul{
    list-style:none;
    padding:0;
    margin:0;
}

/* LIST ITEMS */
.footer-links li{
    margin-bottom:12px;
}

/* COLUMN HEADINGS */
.footer-links h5{
    margin-bottom:18px;
    font-size:1.2rem;
    font-weight:600;
}

/* SOCIAL ICONS */
.footer-social{
    margin-bottom:20px;
}

/* LEGAL TEXT */
.footer-legal p{
    margin-top:10px;
    line-height:1.8;
}

/* RESPONSIVE */
@media(max-width:1024px){

    .footer-left{
        align-items:center;
        text-align:center;
    }

    .footer-links{
        width:100%;
    }

    .footer-links div{
        text-align:center;
    }
}