@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap");

/* Animation Effects */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 1; /* Change from 0 to 1 to ensure visibility if JS fails */
  animation: fadeIn 0.8s ease-in-out forwards;
}

.fade-in.delay-100 {
  animation-delay: 0.1s;
}

.fade-in.delay-200 {
  animation-delay: 0.2s;
}

.fade-in.delay-300 {
  animation-delay: 0.3s;
}

/* Images start visible but will be animated by JS */
img {
  transition: opacity 0.3s ease, transform 0.5s ease;
}

.img-hidden {
  opacity: 0;
  transform: translateY(20px);
}

/* Images will animate when they come into view using JavaScript */
/* Global Resets & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text-dark);
  background: url(../images/body-bg.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  /* background-color: #ffffff; */
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--section-padding-x);
  padding-right: var(--section-padding-x);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-text-heading);
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 2.8rem;
}
h2 {
  font-size: 2.2rem;
}
h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-text-medium);
}

a {
  color: var(--color-accent-light);
  text-decoration: none;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius-full);
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-green {
  background-color: var(--color-positive);
  color: var(--color-primary-dark);
}
.btn-green:hover {
  background-color: var(--color-positive);
}

.btn-pink {
  background-color: var(--color-negative);
  color: var(--color-text-light);
}
.btn-pink:hover {
  background-color: var(--color-negative);
}

.btn-yellow {
  background-color: var(--color-accent-yellow);
  color: var(--color-primary-dark);
}
.btn-yellow:hover {
  background-color: var(--color-accent-yellow);
}

img.placeholder {
  background-color: var(--color-bg-medium-gray);
  border-color: var(--color-border);
  color: var(--color-text-medium);
}

/* Header */
.main-header {
  background: transparent;
  color: var(--color-text-light);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 15;
  height: 5rem;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-header img {
  width: 200px;
  height: auto;
  vertical-align: middle;
}
.main-nav {
  transition: all 0.3s ease;
}
.main-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.main-nav ul li a {
  color: var(--color-text-light);
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
  display: block;
}
.main-nav ul li a:hover {
  color: var(--color-accent-green);
}
.lang-select select {
  background-color: transparent;
  color: var(--color-text-light);
  border: 1px solid var(--color-text-light);
  padding: 0.3rem 0.5rem;
  border-radius: var(--border-radius-sm);
}
.lang-select option {
  color: var(--color-text-dark);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1000;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--color-text-light);
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-primary-dark);
    padding: 80px 20px 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .main-nav.active {
    left: 0;
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .main-nav ul li {
    margin: 0;
    width: 100%;
    text-align: center;
  }

  .main-nav ul li a {
    font-size: 1.2rem;
    padding: 1rem;
    border-bottom: 1px solid var(--color-primary-medium);
  }

  .main-header .container {
    position: relative;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .lang-select {
    margin-left: auto;
    margin-right: 50px;
  }

  body.menu-active {
    overflow: hidden;
  }

  /* Adjust container padding */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Fix section padding */
  .offer-features,
  .two-col-section,
  .why-invest-section,
  .live-market-section,
  .faq-section,
  .crypto-reviews-section,
  .contact-info-bar,
  .investor-stats-section {
    padding: 40px 0;
  }

  /* Adjust card padding */
  .feature-card,
  .invest-card,
  .review-card {
    padding: 1.25rem;
  }

  /* Fix mobile menu padding */
  .main-nav {
    padding: 60px 15px 20px;
  }

  /* Adjust hero section padding */
  .hero-section {
    padding-top: 7rem;
    padding-bottom: 2rem;
  }

  /* Fix contact info bar container */
  @media (max-width: 768px) {
    .contact-info-bar .container {
      flex-direction: column;
      align-items: center;
    }
    
    .contact-info-item {
      width: 100%;
      margin-bottom: 1rem;
    }

    .contact-info-item p {
      font-size: 10px;
    }
  }

  /* Fix footer padding */
  .main-footer {
    height: auto;
    padding: 40px 0 20px;
  }

  .main-footer .container {
    height: auto;
    padding: 0 15px;
  }

  /* Fix grid gaps */
  .features-grid,
  .invest-grid {
    gap: 1rem;
  }
}

.live {
  width: 100%;
  height: 90%;
}

@media (max-width: 480px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
  }

  body {
    overflow-x: hidden;
    width: 100%;
  }

  .hero-section h1 {
    font-size: 2rem;
    padding: 0 10px;
    margin-top: 9rem;
  }
  
  .hero-section p {
    font-size: 1.1rem;
    padding: 0 10px;
  }
  
  .hero-buttons .btn {
    margin: 0.25rem;
    min-width: 100px;
    padding: 0.6rem 1rem;
  }

  .review-card {
    min-width: 100%;
    flex: 0 0 100%;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  background: url(../images/bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-text-light);
  text-align: center;
  height: 100vh;
  padding-top: 9rem;
  overflow: hidden; /* Add this to contain particles */
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2; /* Ensure content stays above particles */
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #14183098;
  z-index: 1;
}

.hero-section h1 {
  font-size: 4.5rem;
  font-weight: 500;
  margin-top: -9rem;
  color: var(--color-text-light);
}
.hero-section p {
  font-size: 1.3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-text-light);
}
.hero-buttons .btn {
  margin: 0 0.5rem;
  min-width: 120px;
}

.hero-buttons .btn:hover {
  background-color: var(--color-accent-pink);
}

/* Ticker Bar */
.ticker-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  color: var(--color-text-light);
  z-index: 2;
}

.ticker-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap; /* Prevent wrapping by default */
  gap: 0.5rem;
}

.tradingview-widget-container {
  width: 25%;
  min-width: 200px; /* Minimum width for readability */
}

/* Responsive styles for ticker */
@media (max-width: 1024px) {
  .ticker-bar .container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .tradingview-widget-container {
    width: calc(50% - 0.5rem); /* Two widgets per row */
  }
}

@media (max-width: 768px) {
  .ticker-bar {
    position: relative; /* Change to relative for better mobile layout */
    padding: 0.75rem 0;
  }

  .ticker-bar .container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .tradingview-widget-container {
    width: 100%;
    max-width: 350px; /* Maximum width on mobile */
  }
}

@media (max-width: 480px) {
  .ticker-bar {
    padding: 0.5rem 0;
  }

  .tradingview-widget-container {
    min-width: 280px; /* Smaller minimum width for very small screens */
  }
}

/* Offer Features Section */
.offer-features {
  padding: var(--section-padding-y) 0;
  text-align: center;
}
.offer-features h2 {
  margin-bottom: 0.5rem;
}
.offer-features .subtitle {
  margin-bottom: 3rem;
  color: var(--color-text-medium);
}
.features-grid {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
}
.feature-card {
  background-color: var(--color-bg-light);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  flex-basis: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.feature-card .icon-placeholder {
  width: 60px;
  height: 60px;
  background-color: #e0e0e0;
  border-radius: 50%;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #777;
}
.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

/* Two Column Section (e.g., Investment Solution, Digital Asset) */
.two-col-section {
  padding: var(--section-padding-y) 0;
}
.two-col-section .container {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.two-col-section .text-content,
.two-col-section .image-content {
  flex: 1;
}
.two-col-section .image-content img.placeholder {
  width: 100%;
  height: auto; /* Adjust as needed */
  object-fit: cover;
  background-color: transparent;
}
.two-col-section.image-right .text-content {
  order: 1;
}
.two-col-section.image-right .image-content {
  order: 2;
}
.two-col-section.image-left .text-content {
  order: 2;
}
.two-col-section.image-left .image-content {
  order: 1;
}

/* Why Invest Section */
.why-invest-section {
  background-color: var(--color-accent-yellow);
  padding: var(--section-padding-y) 0;
  text-align: center;
}
.why-invest-section h2,
.why-invest-section p {
  color: var(--color-primary-dark); /* Dark text on yellow bg */
}
.why-invest-section .subtitle {
  margin-bottom: 3rem;
}
.invest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.invest-card {
  background-color: rgba(
    255,
    255,
    255,
    0.8
  ); /* Slightly transparent white cards */
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.invest-card .icon-placeholder {
  width: 40px;
  height: 40px;
  background-color: var(--color-border);
  border-radius: 50%;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--color-primary-dark);
}
.invest-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary-dark);
}
.invest-card p {
  font-size: 0.9rem;
  color: var(--color-text-medium);
}

/* Live Market Section */
.live-market-section {
  padding: var(--section-padding-y) 0;
}
.live-market-section h2,
.live-market-section .subtitle {
  text-align: center;
}
.live-market-section .subtitle {
  margin-bottom: 2rem;
}
.market-table {
  width: 100%;
  height: auto;
  border-collapse: collapse;
  margin-bottom: 1rem;
  background-color: var(--color-primary-medium);
  color: var(--color-text-light);
  border-radius: var(--border-radius-md);
  overflow: hidden; /* For border radius on table */
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 1rem;
}

.market-source {
  text-align: right;
  font-size: 0.8rem;
  color: var(--color-text-medium);
}

/* CTA Reliable Investment */
.cta-reliable-investment {
  background: url(../images/dive-bg.jpg);
  padding: 80px 0;
  height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: var(--color-text-light);
}

.cta-reliable-investment h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
}
.cta-reliable-investment p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--color-text-light);
}

/* FAQ Section */
.faq-section {
  padding: var(--section-padding-y) 0;
  background-color: var(--color-bg-medium-gray);
}
.faq-section h2,
.faq-section .subtitle {
  text-align: center;
}
.faq-section .subtitle {
  margin-bottom: 2rem;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.faq-item {
  background-color: var(--color-bg-light);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.faq-item .faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item .faq-content {
  display: none;
  padding-top: 1rem;
  color: var(--color-text-medium);
  font-weight: normal;
  line-height: 1.6;
}

.faq-item.active .faq-content {
  display: block;
}

.faq-item .faq-header:after {
  content: "+";
  font-size: 1.5rem;
  color: var(--color-text-medium);
}

.faq-item.active .faq-header:after {
  content: "-";
}

.faq-contact {
  text-align: center;
}

/* Crypto Reviews Carousel Fix */
.crypto-reviews-section {
  padding: var(--section-padding-y) 0;
}
.crypto-reviews-section h2,
.crypto-reviews-section .subtitle {
  text-align: center;
}
.crypto-reviews-section .subtitle {
  margin-bottom: 2rem;
}

.reviews-carousel-container {
            position: relative;
            width: 100%;
            margin: 2rem 0;
            overflow: hidden;
        }

        .reviews-carousel {
            display: flex;
            transition: transform 0.5s ease;
            gap: 1rem;
        }

        .review-card {
            flex: 0 0 100%;
            background-color: var(--color-bg-light);
            border-radius: var(--border-radius-md);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
            padding: 1.5rem;
            border: 1px solid #e0e0e0;
        }

        .review-card p {
            margin-bottom: 1rem;
            font-size: 1rem;
            line-height: 1.6;
        }

        .reviewer-name {
            font-weight: bold;
            color: var(--primary-color);
            margin-bottom: 0 !important;
        }

        /* Responsive breakpoints */
        @media (min-width: 768px) {
            .review-card {
                flex: 0 0 calc(50% - 0.5rem);
            }
        }


.review-card p {
  font-style: italic;
  margin-bottom: 0.5rem;
  color: var(--color-text-medium);
}

.review-card .reviewer-name {
  font-weight: bold;
  text-align: right;
  color: var(--color-text-dark);
}

.carousel-dots {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 2rem;
        }

        .carousel-dots span {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: var(--color-text-medium);
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .carousel-dots span.active {
            background-color: var(--color-primary-medium);
        }

        .carousel-dots span:hover {
            background-color: var(--color-primary-dark);
        }

/* Contact Info Bar */
.contact-info-bar {
  background: url(../images/bg-shape.png);
  padding: var(--section-padding-y) 0;
}
.contact-info-bar .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  height: auto;
  min-height: 50vh;
  padding: 2rem 0;
}
.contact-info-item {
  background-color: var(--color-bg-light);
  padding: 1.5rem;
  border-radius: var(--border-radius-lg);
  width: 45%; /* Changed to 45% */
  height: auto; /* Changed from fixed height */
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  align-self: center; /* Centers items vertically */
}
.contact-info-item .icon-placeholder {
  width: 40px;
  height: 40px;
  background-color: var(--color-accent-pink);
  color: var(--color-text-light);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-item h4 {
  font-size: 1.1rem;
}

/* Investor Stats Section */
.investor-stats-section {
  background-color: var(--color-bg-light);
  background: url(../images/map-bg.png);
  background-size: cover;
  color: var(--color-text-dark);
  padding: var(--section-padding-y) 0;
  text-align: center;
  min-height: 50vh;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.investor-stats-section h2 {
  color: var(--color-text-dark);
  margin-bottom: 3rem;
}
.stats-grid {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
}
.stat-item {
  text-align: center;
}
.stat-item .number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--color-accent-yellow);
  display: block;
}
.stat-item .label {
  font-size: 0.9rem;
  color: var(--color-text-dark);
}

/* Footer */
.main-footer {
  background: url(../images/footered.png);
  background-size: 100vw 70vh;
  background-position: bottom;
  background-repeat: no-repeat;
  color: var(--color-text-light);
  padding: 40px 0;
  font-size: 0.9rem;
  position: relative;
  /* min-height: 80vh;
  height: auto; */
  display: flex;
  justify-content: center;
  align-items: end;
}

/* Ensure content stays above the overlay */
.main-footer .container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
}

.footer-links {
  margin-top: 9rem;
}


.footer-links h4 {
  color: var(--color-text-light);
  font-size: 1.5rem;
  font-weight: 300;
}

.footer-links a {
  color: var(--color-text-light);
  font-size: 1rem;
  padding-bottom: 10px;
}

.footer-links ul {
  list-style-type: none;
}

.footer-links ul li {
    padding-top: 1rem;
    border-bottom: 0.2px solid rgba(255, 255, 255, 0.459);
}

.footer-links ul li a {
  color: var(--color-text-light);
  padding-bottom: 5px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-accent-yellow);
}

.footer-about p {
  color: var(--color-text-light);
  font-size: 1rem;
  padding-left: 1rem;
}

/* Responsive adjustments (basic examples) */
@media (max-width: 992px) {
  .two-col-section .container {
    flex-direction: column;
  }
  .two-col-section.image-right .text-content,
  .two-col-section.image-left .text-content {
    order: 1;
  }
  .two-col-section.image-right .image-content,
  .two-col-section.image-left .image-content {
    order: 2;
    margin-top: 2rem;
  }

  .text-content {
    text-align: center;
  }

  .invest-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .faq-grid {
    grid-template-columns: 1fr; /* Stack FAQ items */
  }
  .main-footer .container {
    flex-direction: column;
    text-align: center;
  }
  .footer-about,
  .footer-links {
    flex-basis: 100%;
    margin-bottom: 1.5rem;
  }
  .social-icons {
    justify-content: center;
    display: flex;
  }
}

@media (max-width: 768px) {
  .main-header .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .hero-section::before {
    height: 100%;
    background-color: rgba(
      0,
      0,
      0,
      0.7
    ); /* Darker overlay for better text visibility */
  }
  .main-nav ul {
    margin-top: 1rem;
    flex-direction: column;
    align-items: center;
  }
  .main-nav ul li {
    margin-left: 0;
    margin-bottom: 0.5rem;
  }
  .lang-select {
    margin-top: 1rem;
  }

  .ticker-bar .container {
    flex-direction: column;
    gap: 0.5rem;
  }
  .features-grid {
    flex-direction: column;
  }
  .stats-grid {
    flex-direction: column;
    gap: 2rem;
  }
  h1 {
    font-size: 2.2rem;
  }
  .hero-section h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 1.8rem;
  }
}

.main-header {
  background: transparent;
  color: var(--color-text-light);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 15;
  height: 5rem;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-header.scrolled {
  background-color: var(--color-primary-medium);
}

main {
  padding-bottom: 1.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: -1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--color-text-light); /* Changed to yellow for better visibility */
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--color-text-light);
  color: var(--color-primary-dark); /* Changed to dark color for contrast */
  transform: translateY(-3px);
}

.footer-about {
  margin-top: 7rem;
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: 1rem;
}

@media (max-width: 768px) {
  .social-icons {
    justify-content: center;
  }

  .footer-about {
    align-items: center;
    text-align: center;
  }
}

/* Footer Responsive Improvements */
@media (max-width: 768px) {
  .main-footer {
    height: auto;
    min-height: 90vh;
    padding: 3rem 0 2rem;
    background-size: cover;
  }

  .main-footer .container {
    height: auto;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 4rem;
    gap: 2.5rem;
    padding: 0 1.5rem;
  }

  .footer-about {
    width: 100%;
    max-width: 400px;
   margin-top: 9rem;
  }

  .footer-links {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
  }

  .footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }

  .footer-links li {
    padding: 0.25rem 0;
  }

  .social-icons {
    width: 100%;
    justify-content: center;
    margin-top: 1.5rem;
  }

  .social-icons a {
    width: 45px;
    height: 45px;
  }
}

/* Additional small screen optimization */
@media (max-width: 480px) {
    .main-footer {
        padding: 2rem 0 1.5rem;
    }

    .footer-about img {
        max-width: 180px;
        height: auto;
    }

    .social-icons a {
        width: 40px;
        height: 40px;
    }

    .footer-links h4 {
        font-size: 1.1rem;
    }
}