/* Reset and Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lexend+Deca:wght@100..900&family=Manrope:wght@200..800&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Manrope", sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #ffffff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    color: #1f2937;
}

.logo img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    transition: color 0.2s;
    cursor: pointer;
}

.nav-link:hover {
    color: #171717;
}

.mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu {
        display: block;
    }
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: white;
    padding: 1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-description {
        font-size: 1rem;
    }
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;

  /* Make it perfectly round */
  width: 40px;
  height: 40px;
  border-radius: 50%;

  /* Center the icon */
  display: flex;
  align-items: center;
  justify-content: center;

  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.carousel-nav:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.carousel-nav i {
  font-size: 1rem;  /* Adjust size of FA icon */
  color: white;
}

/* Positioning */
.carousel-nav.prev { left: 1rem; }
.carousel-nav.next { right: 1rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #171717;
    color: white;
}

.btn-primary:hover {
    background-color: rgba(23, 23, 23, 0.9);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Navigation Controls */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    padding: 0.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.carousel-nav:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.carousel-nav.prev {
    left: 1rem;
}

.carousel-nav.next {
    right: 1rem;
}

.carousel-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.carousel-dot.active {
    background-color: white;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #6b7280;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

/* Brand Banner */
.brand-banner {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.brand-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 768px) {
    .brand-banner-content {
        flex-direction: row;
        gap: 0;
    }
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1f2937;
}

.brand-description {
    max-width: 32rem;
    text-align: center;
    color: #374151;
}

@media (min-width: 768px) {
    .brand-description {
        text-align: right;
    }
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
}

.service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    color: #171717;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.service-description {
    color: #6b7280;
}

/* Brand Portfolio */
.brand-portfolio {
    background-color: white;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

/* @media (min-width: 768px) {
    .brand-grid {
        grid-template-columns: repeat(4, 1fr);
    }
} */

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-card {
  background-color: #f9fafb;
  border-radius: 0.5rem;
  padding: 2rem;   /* more breathing space */
  height: 7rem;    /* bigger container */
  width: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s;
}

.brand-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.brand-name {
    font-weight: 600;
    color: #1f2937;
}

/* Social Media Section */
.social-section {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

/* Footer */
.footer {
    background-color: #31403D;
    color: white;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: white;
}

.footer-contact {
    color: #d1d5db;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.social-link {
    padding: 0.5rem;
    background-color: #171717;
    border-radius: 0.25rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s;
}

.social-link:hover {
    background-color: rgba(23, 23, 23, 0.8);
}

.footer-bottom {
    border-top: 1px solid #4b5563;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: #d1d5db;
}

/* Icons */
.icon {
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
}

.icon-lg {
    width: 3rem;
    height: 3rem;
}

/* Keep desktop nav items right-aligned */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto; /* pushes links to the right */
}

.nav-active {
  color: #171717 !important;              
  border-bottom-color: #171717 !important; 
  font-weight: 600;
}

/* Hide mobile menu button on desktop */
.mobile-menu {
  display: none;
}

.brand-logo-img {
  height: 100px; 
  max-width: 100%;
  object-fit: contain;
}

.text-sm {
    font-size: 12px !important;
}

.flex {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Mobile-only layout */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* hide desktop links on mobile */
  }
  .mobile-menu {
    display: inline-flex; /* show hamburger button on mobile */
  }

  /* Mobile drawer styles */
  .mobile-drawer {
    position: absolute;
    top: 64px; /* same as .nav-container height */
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    padding: 0.5rem 1rem 1rem;
    z-index: 49; /* just under navbar (which is 50) */
  }

  .mobile-link {
    padding: 0.75rem 0.5rem;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    border-radius: 0.375rem;
  }

  .mobile-link:focus,
  .mobile-link:hover {
    background: #f3f4f6;
    color: #111827;
  }

  /* Utility: when open, we use [hidden] removal */
  .mobile-drawer[hidden] {
    display: none;
  }
}