/* ======================
   FOOTER - RESPONSIVE IMPLEMENTATION
   Mobile-first responsive design
   ====================== */
   
 /* Custom Font Declarations */

/* P22 Mackinac Pro Font Family */
@font-face {
  font-family: 'P22 Mackinac Pro';
  src: url('fonts/p22-mackinac-pro/P22MackinacPro-Book_25.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'P22 Mackinac Pro';
  src: url('fonts/p22-mackinac-pro/P22MackinacPro-BookItalic_15.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'P22 Mackinac Pro';
  src: url('fonts/p22-mackinac-pro/P22MackinacPro-Medium_26.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'P22 Mackinac Pro';
  src: url('fonts/p22-mackinac-pro/P22MackinacPro-MedItalic_18.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'P22 Mackinac Pro';
  src: url('fonts/p22-mackinac-pro/P22MackinacPro-Bold_16.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'P22 Mackinac Pro';
  src: url('fonts/p22-mackinac-pro/P22MackinacPro-BoldItalic_11.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'P22 Mackinac Pro';
  src: url('fonts/p22-mackinac-pro/P22MackinacPro-ExtraBold_12.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'P22 Mackinac Pro';
  src: url('fonts/p22-mackinac-pro/P22MackinacPro-ExBoldItalic_17.otf') format('opentype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

/* Avenir Next Font Family */
@font-face {
  font-family: 'Avenir Next';
  src: url('fonts/avenir-next/AvenirNextW1G-UltraLight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('fonts/avenir-next/AvenirNextW1G-UltraLightIt.otf') format('opentype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('fonts/avenir-next/AvenirNextW1G-Thin.otf') format('opentype');
  font-weight: 250;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('fonts/avenir-next/AvenirNextW1G-ThinItalic.otf') format('opentype');
  font-weight: 250;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('fonts/avenir-next/AvenirNextW1G-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('fonts/avenir-next/AvenirNextW1G-LightItalic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('fonts/avenir-next/AvenirNextW1G-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('fonts/avenir-next/AvenirNextW1G-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('fonts/avenir-next/AvenirNextW1G-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('fonts/avenir-next/AvenirNextW1G-MediumItalic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('fonts/avenir-next/AvenirNextW1G-Demi.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('fonts/avenir-next/AvenirNextW1G-DemiItalic.otf') format('opentype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('fonts/avenir-next/AvenirNextW1G-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('fonts/avenir-next/AvenirNextW1G-BoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('fonts/avenir-next/AvenirNextW1G-Heavy.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('fonts/avenir-next/AvenirNextW1G-HeavyItalic.otf') format('opentype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

/* PP Neue Montreal Font Family */
@font-face {
  font-family: 'PP Neue Montreal';
  src: url('fonts/pp-neue-montreal/PPNeueMontreal-Thin.woff2') format('woff2'),
       url('fonts/pp-neue-montreal/PPNeueMontreal-Thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('fonts/pp-neue-montreal/PPNeueMontreal-ThinItalic.woff2') format('woff2'),
       url('fonts/pp-neue-montreal/PPNeueMontreal-ThinItalic.woff') format('woff');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('fonts/pp-neue-montreal/PPNeueMontreal-Light.woff2') format('woff2'),
       url('fonts/pp-neue-montreal/PPNeueMontreal-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('fonts/pp-neue-montreal/PPNeueMontreal-Book.woff2') format('woff2'),
       url('fonts/pp-neue-montreal/PPNeueMontreal-Book.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('fonts/pp-neue-montreal/PPNeueMontreal-Italic.woff2') format('woff2'),
       url('fonts/pp-neue-montreal/PPNeueMontreal-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('fonts/pp-neue-montreal/PPNeueMontreal-Regular.woff2') format('woff2'),
       url('fonts/pp-neue-montreal/PPNeueMontreal-Regular.woff') format('woff');
  font-weight: 450;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('fonts/pp-neue-montreal/PPNeueMontreal-Medium.woff2') format('woff2'),
       url('fonts/pp-neue-montreal/PPNeueMontreal-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('fonts/pp-neue-montreal/PPNeueMontreal-Bold.woff2') format('woff2'),
       url('fonts/pp-neue-montreal/PPNeueMontreal-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('fonts/pp-neue-montreal/PPNeueMontreal-BoldItalic.woff2') format('woff2'),
       url('fonts/pp-neue-montreal/PPNeueMontreal-BoldItalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

.footer {
  position: relative;
  width: 100%;
  background: #333f5b;
  color: white;
  font-family: 'Avenir Next', sans-serif;
}

/* Decorative flap */
.flap {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 32px;
  background: #fcf9f8;
  border-radius: 0 0 clamp(24px, 4vw, 40px) clamp(24px, 4vw, 40px);
  z-index: 1;
}

/* Main footer content */
.footerContent {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 8vw, 80px);
  /* Add top padding to prevent overlap with flap */
  padding-top: clamp(80px, 10vw, 120px);
  padding-left: 0;
  padding-right: 0;
  padding-bottom: clamp(40px, 6vw, 60px);
}

/* Links grid - Mobile first */
.linksGrid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-bottom: 1px solid #374462;
}

/* Hero section */
.heroSection {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(32px, 4vw, 24px);
  padding: clamp(32px, 6vw, 40px) clamp(16px, 5vw, 24px);
  border-bottom: 1px solid #374462;
}

.heroHeading {
  font-family: 'P22 Mackinac Pro', serif;
  /* font-size: clamp(24px, 6vw, 32px); */
  font-size: 35px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 100%;
}

.downloadButton {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #3495ff;
  color: white;
  border: none;
  border-radius: 15px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.downloadButton:hover {
  background: #2980e9;
  transform: translateY(-1px);
}

.arrowIcon {
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%) invert(100%);
}

/* Mobile: Resources and Social links in same row */
.linkRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid #374462;
}

.linkColumn {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 3vw, 16px);
  padding: clamp(32px, 6vw, 40px) clamp(16px, 5vw, 24px);
}

.linkRow .linkColumn:first-child {
  border-right: 1px solid #374462;
}

/* Removed text-align: right; from here */

/* Contact section - full width */
.contactColumn {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 3vw, 16px);
  padding: clamp(32px, 6vw, 40px) clamp(16px, 5vw, 24px);
}

.columnTitle {
  font-family: 'P22 Mackinac Pro';
  font-size: clamp(20px, 3vw, 18px);
  font-weight: 600;
  margin: 0 0 8px 0;
  color: rgba(255, 255, 255, 0.9);
}

.linkList {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  font-family: 'PP Neue Montreal';
  font-weight: 500;
  transition: color 0.3s ease;
}

.link:hover {
  color: #3495ff;
}

.contactInfo {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: 'PP Neue Montreal';
  font-weight: 500;
}

.contactLink {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.contactLink:hover {
  color: #3495ff;
}

/* Brand section */
.brandSection {
  text-align: center;
  padding: clamp(40px, 8vw, 0) 0 clamp(20px, 4vw, 0);
}

.brandName {
  font-family: 'P22 Mackinac Pro', serif;
  font-size: clamp(40px, 11vw, 120px);
  font-weight: 500;
  padding: 0;
  letter-spacing: -0.02em;
  margin: 0;
  background: linear-gradient(180deg, #bec6da, #333f5b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 1;
}

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

.bigooglePlayIcon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.bigooglePlayIcon:hover {
  cursor: pointer;
}
@media (min-width: 200px) and (max-width: 259px) {
  .brandName {
    font-size: clamp(15px, 11vw, 140px);
  }
}
@media (min-width: 260px) and (max-width: 338px) {
  .brandName {
    font-size: clamp(30px, 11vw, 140px);
  }
}

@media (max-width: 640px) {

  .heroButtonGroup{
    gap: 10px;
  }
 .bigooglePlayIcon{
  width: 55px;
  height: 55px;
 } 
}

/* Bottom section */
.bottomSection {
  display: flex;
  flex-direction: column;
  gap: 32px;
  font-size: 15px;
  padding: 32px 24px;
  border-top: 1px solid #374462;
}

.copyright {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.legalLinks {
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: center;
  justify-content: space-between;
}

.legalLink {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.legalLink:hover {
  color: #3495ff;
}

/* Desktop styles */
@media (min-width: 1024px) {
  .footerContent {
    padding: 0;
  }

  .linksGrid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 0;
    align-items: flex-start;
    margin-top: 1%;
    border-bottom: 1px solid #374462;
    position: relative;
  }

  .heroSection {
    padding: 90px 60px 80px 120px;
    border: none;
    gap: clamp(80px, 4vw, 24px);
    background: #333f5b;
    position: relative;
  }

  .heroSection::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    /* height: 100%; */
    background: #333f5b;
  }

  .heroHeading {
    font-size: clamp(32px, 4vw, 48px);
    max-width: 400px;
  }

  .linkRow {
    display: contents;
  }

  .linkColumn {
    padding: 92px 40px;
    text-align: left;
    background: #333f5b;
    position: relative;
  }
  
  /* Add left border to Resources column (first column) */
  .linkRow .linkColumn:first-child {
    border-right: 1px solid #374462;
    border-left: 1px solid #374462;
    /* border-right: 0; */
    /* height: 100%; */
  }
  .linkColumn:first-child::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0.5px;
    background: #333f5b;
  }
  
  .linkColumn:nth-child(2)::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    /* height: 100%; */
    background: #333f5b;
  }

  .contactColumn {
    padding: 92px 40px;
    border: none;
    background: #333f5b;
    /* Add left border to separate from grid, full height */
    border-left: 1px solid #374462;
    height: 100%;
    box-sizing: border-box;
  }

  .columnTitle {
    font-size: 18px;
  }

  .link,
  .contactLink {
    font-size: 15px;
  }

  .brandName {
    font-size: clamp(80px, 11vw, 180px);
  }

  .bottomSection {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 32px 120px;
  }

  .legalLinks {
    justify-content: flex-end;
    gap: 48px;
  }
}

/* Large desktop styles */
@media (min-width: 1440px) {
  .heroHeading {
    font-size: 40px;
  }

  .brandName {
    font-size: 170px;
    padding: 0;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .downloadButton,
  .link,
  .contactLink,
  .legalLink {
    transition: none;
  }

  .downloadButton:hover {
    transform: none;
  }
}



/* Disabled Button CSS */
.btnDisabled {
  cursor: not-allowed;
  pointer-events: none;
}