/* ==========================
   FONT IMPORTS
   ========================== */
@font-face {
  font-family: 'Louis George Cafe';
  src: url(../fonts/LouisGeorgeCafe.woff) format('woff'),
    url(../fonts/LouisGeorgeCafe.woff2) format('woff2');
}

@font-face {
  font-family: 'Catchye Demo';
  src: url(../fonts/CatchyeDemo.woff) format('woff'),
    url(../fonts/CatchyeDemo.woff2) format('woff2');
}

@font-face {
  font-family: 'Metropolis';
  src: url(../fonts/Metropolis-SemiBold.woff) format('woff'),
    url(../fonts/Metropolis-SemiBold.woff2) format('woff2');
}

@font-face {
  font-family: 'Montserrat';
 src: url(./fonts/Montserrat-Thin.woff.woff) format("woff"),
      url(./fonts/Montserrat-Thin.woff.woff2) format("woff2");
}

/* ==========================
   GLOBAL RESET & BASICS
   ========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================
   NAVIGATION
   ========================== */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5em 0;
  margin-top: 1em;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  height: 45px;
}

.menu-btn {
  cursor: pointer;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* ==========================
   HERO SECTION / TOP BANNER
   ========================== */
.top {
  background-image: url(../img/andrea-bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
  padding-bottom: 8em;
  margin-bottom: 0;
  width: 100%;
  overflow-x: hidden;
}

/* Fallback for mobile devices where fixed background causes issues */
@media (max-width: 768px) {
  .top {
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
  }
}

/* For very large screens, ensure the background doesn't stretch too much */
@media (min-width: 1920px) {
  .top {
    background-size: cover;
    background-position: center;
  }
}

/* For tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  .top {
    background-size: cover;
    background-position: center;
  }
}

.heading {
  color: white;
  font-family: 'Catchye Demo';
  font-size: 7rem;
  text-align: center;
  margin-top: 0.6em;
  width: 100%;
}

.subtext {
  display: flex;
  flex-wrap: wrap;
  gap: 3em;
  font-family: 'Louis George Cafe';
  width: 100%;
  justify-content: center;
}

/* ==========================
   SERVICE TEXT STYLES
   ========================== */
.ux-txt,
.web-txt,
.gd-txt {
  font-size: 1.7rem;
  letter-spacing: 0.5mm;
  text-align: center;
  width: 100%;
}

.ux-txt {
  color: #fff;
}

.web-txt {
  color: #f2cf00;
}

.one {
  text-align: center;
  width: 100%;
}

.gd-txt {
  color: #de9171;
}

.ux-words,
.web-words,
.gd-words {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 14px;
  text-align: center;
  line-height: 1.8;
}

.ux-words {
  color: white;
}

.web-words {
  color: #f2cf00;
}

.gd-words {
  color: #de9171;
}

/* ==========================
   CARDS & BUTTONS
   ========================== */
.card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: white;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  width: 18rem;
  flex: 0 0 auto;
}

.card.expanded {
  width: 100%;
  max-width: 100%;
  grid-column: 1 / -1;
}

.card-body {
  text-align: left;
  padding: 20px;
}

.card-img-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: 200px;
  object-fit: cover;
}

.card-title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.card-text {
  padding: 0;
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.6;
}

.btn.btn-primary {
  background: transparent;
  border: 1px solid white;
  color: white;
  padding: 15px;
  font-family: 'Montserrat';
  width: 100%;
}

.btn-expand {
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.btn-expand:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.btn-expand img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.btn-more {
  padding: 1em;
  background: transparent;
  color: white;
  margin-top: 3em;
  text-align: center;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  padding: 12px 40px;
  font-size: 0.9rem;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 300px;
}

.btn-more:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

/* Specific 'More' Buttons with Unique Borders */
.btn-primary.more1,
.btn-primary.more2,
.btn-primary.more3 {
  padding: 0.7em;
  width: 100px;
  background-color: transparent;
  border: none;
  text-align: left;
  border-top: 2px solid white;
}

.btn-primary.more1 {
  border-right: 2px solid white;
  border-bottom: 2px solid white;
}

.btn-primary.more2 {
  border-right: 2px solid white;
  border-left: 2px solid white;
}

.btn-primary.more3 {
  border-left: 2px solid white;
  border-bottom: 2px solid white;
}

/* ==========================
   LAYOUT UTILITIES
   ========================== */
.expand-section {
  margin-top: 1.5em;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  letter-spacing: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  color: #888;
  font-size: 0.85rem;
  cursor: pointer;
}

.d-flex {
  display: flex;
  align-content: center;
}

.more {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  width: 100%;
}

/* ==========================
   SECTIONS: SAMPLES & MODALS
   ========================== */
.sample-boxes,
.modal-one,
.samples {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 2em 0;
  width: 100%;
}

.service-section {
  margin-bottom: 80px;
  width: 100%;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
  text-align: center;
  width: 100%;
}

.section-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #ccc;
  line-height: 1.8;
  text-align: center;
}

/* ==========================
   PROJECT DETAILS (EXPANDED)
   ========================== */
.project-details {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeIn 0.5s ease;
  text-align: left;
}

.project-details.active {
  display: block;
}

.project-details h6 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 10px;
  margin-top: 15px;
}

.project-details h6:first-child {
  margin-top: 0;
}

.project-details p {
  color: #bbb;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.project-details ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.project-details ul li {
  background: rgba(255, 255, 255, 0.08);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #ccc;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================
   FOOTER - REDESIGNED
   ========================== */
footer.footer-btm {
  background: url(../img/footer-bg.jpg) 100%;
  background-size: cover;
  background-position: center;
  padding: 3em 4em;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  max-width: 1366px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2em;
}

/* ===== LOGO - LEFT ALIGNED ===== */
.footer-logo-wrapper {
  flex-shrink: 0;
  padding-top: 0.5em;
}

.footer-logo {
  display: block;
}

.ft-logo {
  height: 45px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.ft-logo:hover {
  opacity: 1;
}

/* ===== 4 DIVS IN THE MIDDLE ===== */
.footer-links-wrapper {
  display: flex;
  justify-content: flex-end;
  gap: 4em;
  flex-wrap: wrap;
}

.footer-col {
  min-width: 120px;
}

.footer-col-title {
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5mm;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col-text {
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.3px;
}

.footer-email {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-email:hover {
  color: #de9171;
}

/* ===== MENU LIST ===== */
.footer-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu-list li {
  margin-bottom: 6px;
}

.footer-menu-list li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8mm;
  transition: color 0.3s ease;
  display: inline-block;
  padding: 2px 0;
}

.footer-menu-list li a:hover {
  color: #de9171;
}

/* ===== DROPDOWN IN MENU ===== */
.footer-menu-list .footer-dropdown {
  position: relative;
  display: block;
}

.footer-menu-list .footer-dropbtn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8mm;
  background: none;
  border: none;
  padding: 2px 0;
  transition: color 0.3s ease;
}

.footer-menu-list .footer-dropbtn:hover {
  color: #de9171;
}

.footer-menu-list .footer-caret {
  display: inline-block;
  font-size: 8px;
  transition: transform 0.3s ease;
  color: rgba(255, 255, 255, 0.4);
}

.footer-menu-list .footer-dropdown:hover .footer-caret,
.footer-menu-list .footer-dropdown.active .footer-caret {
  transform: rotate(180deg);
  color: #de9171;
}

/* Dropdown Content */
.footer-menu-list .footer-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 0;
  z-index: 9999;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  min-width: 140px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  margin-top: 2px;
}

.footer-menu-list .footer-dropdown-content li {
  margin: 0;
  padding: 0;
}

.footer-menu-list .footer-dropdown-content a {
  display: block;
  padding: 8px 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  letter-spacing: 0.6mm;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border-left: 2px solid transparent;
}

.footer-menu-list .footer-dropdown-content a:hover {
  color: #de9171;
  background: rgba(255, 255, 255, 0.05);
  border-left-color: #de9171;
}

/* Show dropdown on hover (desktop) */
.footer-menu-list .footer-dropdown:hover .footer-dropdown-content {
  display: block;
}

/* Show dropdown when active (mobile/click) */
.footer-menu-list .footer-dropdown.active .footer-dropdown-content {
  display: block !important;
}

/* ===== BACKDROP OVERLAY ===== */
.footer-dropdown-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
}

.footer-dropdown-overlay.active {
  display: block;
}

/* ==========================
   MISC
   ========================== */
.fade {
  display: none;
}

/* ==========================
   RESPONSIVE DESIGN
   ========================== */
/* Large Screens */
@media (min-width: 1920px) {
  .top {
    background-size: cover;
    background-position: center;
    min-height: 100vh;
  }
}

/* Tablets & Small Laptops */
@media (max-width: 1200px) {
  .heading {
    font-size: 6rem;
  }
}

@media (max-width: 1024px) {
  .footer-links-wrapper {
    gap: 2.5em;
  }
  
  .footer-col {
    min-width: 100px;
  }
}

@media (max-width: 992px) {
  .heading {
    font-size: 5rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .card {
    width: 100%;
    max-width: 350px;
  }
  
  .top {
    min-height: auto;
    padding-bottom: 5em;
  }
}

/* Mobile Phones */
@media (max-width: 768px) {
  .top {
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    min-height: auto;
    padding-bottom: 4em;
  }
  
  .heading {
    font-size: 3.5rem;
    margin-top: 0.4em;
  }
  
  .container {
    padding: 0 10px;
  }
  
  .subtext {
    gap: 2em;
  }
  
  .card {
    width: 100%;
    max-width: 100%;
  }
  
  .card.expanded {
    width: 100%;
  }
  
  .samples {
    gap: 20px;
    padding: 1em 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-description {
    font-size: 1rem;
    padding: 0 10px;
  }
  
  .ux-words,
  .web-words,
  .gd-words {
    padding: 0 15px;
  }
  
  .nav {
    padding: 1em 0;
  }
  
  .btn-more {
    max-width: 100%;
    padding: 10px 30px;
  }
  
  .expand-section {
    font-size: 0.75rem;
    letter-spacing: 3px;
  }

  /* ===== FOOTER MOBILE ===== */
  footer.footer-btm {
    padding: 2em 1.5em;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
  }

  .footer-logo-wrapper {
    padding-top: 0;
  }

  .ft-logo {
    height: 35px;
  }

  .footer-links-wrapper {
    justify-content: center;
    gap: 2em 3em;
    width: 100%;
  }

  .footer-col {
    min-width: 120px;
    flex: 0 0 auto;
    text-align: center;
  }

  .footer-col-title {
    font-size: 10px;
    letter-spacing: 1.2mm;
  }

  .footer-col-text {
    font-size: 11px;
  }

  .footer-menu-list li a {
    font-size: 11px;
    letter-spacing: 0.6mm;
  }

  .footer-menu-list .footer-dropbtn {
    font-size: 11px;
    letter-spacing: 0.6mm;
  }

  /* Dropdown on mobile - centered */
  .footer-menu-list .footer-dropdown-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 200px;
    max-width: 85vw;
    z-index: 99999;
    border-radius: 12px;
    padding: 10px 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .footer-menu-list .footer-dropdown-content li {
    display: block;
    width: 100%;
    text-align: center;
  }

  .footer-menu-list .footer-dropdown-content a {
    padding: 12px 24px;
    font-size: 14px;
    text-align: center;
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
  }

  .footer-menu-list .footer-dropdown-content a:last-child {
    border-bottom: none;
  }

  .footer-menu-list .footer-dropdown-content a:hover {
    border-left: none;
    background: rgba(255, 255, 255, 0.08);
    color: #de9171;
  }

  .footer-menu-list .footer-dropdown.active .footer-dropdown-content {
    display: block !important;
  }

  .footer-menu-list .footer-dropdown.active .footer-caret {
    transform: rotate(180deg);
  }
}

/* Small Mobile Phones */
@media (max-width: 480px) {
  .top {
    background-size: cover;
    background-position: center;
    padding-bottom: 3em;
  }
  
  .heading {
    font-size: 2.8rem;
    margin-top: 0.3em;
  }
  
  .ux-txt,
  .web-txt,
  .gd-txt {
    font-size: 1.3rem;
  }
  
  .container {
    padding: 0 8px;
  }
  
  .card-body {
    padding: 15px;
  }
  
  .expand-section {
    font-size: 0.7rem;
    letter-spacing: 2px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-description {
    font-size: 0.9rem;
  }
  
  .btn-more {
    padding: 8px 20px;
    font-size: 0.8rem;
  }
  
  .card-img-top {
    height: 160px;
  }

  footer.footer-btm {
    padding: 1.5em 0.8em;
  }

  .ft-logo {
    height: 28px;
  }

  .footer-links-wrapper {
    gap: 1.2em 1.5em;
  }

  .footer-col {
    min-width: 80px;
  }

  .footer-col-title {
    font-size: 8px;
    letter-spacing: 0.8mm;
    margin-bottom: 6px;
    padding-bottom: 4px;
  }

  .footer-col-text {
    font-size: 9px;
    line-height: 1.5;
  }

  .footer-menu-list li a {
    font-size: 9px;
    letter-spacing: 0.4mm;
  }

  .footer-menu-list .footer-dropbtn {
    font-size: 9px;
    letter-spacing: 0.4mm;
  }

  .footer-menu-list .footer-dropdown-content {
    min-width: 160px;
    max-width: 92vw;
    padding: 6px 0;
  }

  .footer-menu-list .footer-dropdown-content a {
    font-size: 13px;
    padding: 10px 16px;
  }
}

/* Landscape Mobile Phones */
@media (max-height: 600px) and (orientation: landscape) {
  .top {
    min-height: auto;
    padding-bottom: 3em;
  }
  
  .heading {
    font-size: 3rem;
    margin-top: 0.2em;
  }
  
  .nav {
    padding: 0.5em 0;
    margin-top: 0.5em;
  }
}