/* ===================================
   Adventures of Ekpen - Main Styles
   =================================== */

/* === CSS Variables === */
:root {
    --color-cream: #FFF8E1;
    --color-coral: #FF6F61;
    --color-gold: #FFD700;
    --color-blue-grey: #5B7C8D;
    --color-orange-50: #FFF3E0;
    --color-orange-100: #FFE0B2;
    --color-slate-50: #F8FAFC;
    --color-slate-100: #F1F5F9;
    --color-slate-200: #E2E8F0;
    --color-slate-400: #94A3B8;
    --color-slate-500: #64748B;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1E293B;
    --color-slate-900: #0F172A;
}

/* === Global Reset & Base Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--color-cream);
    color: var(--color-slate-800);
    line-height: 1.6;
    overflow-x: hidden;
}

.font-fredoka {
    font-family: 'Fredoka', sans-serif;
}

.font-nunito {
    font-family: 'Nunito', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
}

button {
    font-family: 'Fredoka', sans-serif;
    cursor: pointer;
    border: none;
    outline: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* === Utility Classes === */
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

.animate-bounce {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-5%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.floating-shape {
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(5px, -5px) rotate(1deg); }
    50% { transform: translate(0, 0) rotate(0deg); }
    75% { transform: translate(-5px, 5px) rotate(-1deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

.blur-content {
    filter: blur(5px);
    pointer-events: none;
    user-select: none;
}

/* === Auth Status Bar === */
.auth-status-bar {
    background-color: var(--color-slate-800);
    color: var(--color-slate-300);
    padding: 0.375rem;
    text-align: center;
    font-size: 0.75rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.error-bar {
    background-color: #FEE;
    border-left: 4px solid #EF4444;
    color: #B91C1C;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.875rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

/* === Email Popup === */
.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    padding: 1rem;
}

.popup-content {
    background-color: white;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    max-width: 32rem;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--color-slate-400);
    border-radius: 50%;
    padding: 0.25rem;
    z-index: 10;
    transition: color 0.3s;
}

.popup-close:hover {
    color: var(--color-slate-600);
}

.popup-grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .popup-grid {
        grid-template-columns: 2fr 3fr;
    }
}

.popup-gift-section {
    background-color: var(--color-coral);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.gift-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.popup-gift-section h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.popup-gift-section p {
    font-size: 0.875rem;
    opacity: 0.9;
}

.popup-form-section {
    padding: 2rem;
}

.popup-form-section h2 {
    font-size: 1.5rem;
    color: var(--color-slate-800);
    margin-bottom: 0.5rem;
}

.popup-form-section > p {
    color: var(--color-slate-600);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

#popupSubscribeForm {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#popupSubscribeForm input {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 2px solid var(--color-slate-200);
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

#popupSubscribeForm input:focus {
    border-color: var(--color-coral);
}

#popupSubscribeForm button {
    background-color: var(--color-slate-800);
    color: white;
    font-weight: 700;
    padding: 0.75rem;
    border-radius: 0.75rem;
    transition: background-color 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#popupSubscribeForm button:hover {
    background-color: var(--color-slate-700);
}

.no-thanks {
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    color: var(--color-slate-400);
    margin-top: 1rem;
    background: none;
    text-decoration: underline;
    font-family: 'Nunito', sans-serif;
    transition: color 0.3s;
}

.no-thanks:hover {
    color: var(--color-slate-600);
}

/* === Navbar === */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-top {
    border-bottom: 1px solid var(--color-orange-100);
    background-color: white;
}

.navbar-container {
    height: 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.header-logo {
    /* Set the maximum height for the logo */
    height: 40px; 
    /* Prevent the image from exceeding its container */
    max-width: 100%; 
    /* Maintain aspect ratio */
    object-fit: contain;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.logo img {
    width: 4.5rem;
    height: 4.5rem;
    border-radius:0;
    object-fit: contain;
    border: none;
    background-color: transparent;
    box-shadow: none;
}

.logo span {
    font-weight: 700;
    font-size: 1.875rem;
    letter-spacing: -0.025em;
    color: var(--color-slate-800);
}

.mobile-menu-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-slate-600);
    padding: 0.5rem;
    background: none;
    display: none;
}

@media (max-width: 1023px) {
    .mobile-menu-btn {
        display: block;
    }
}

.navbar-bottom {
    background-color: white;
    border-bottom: 1px solid var(--color-slate-100);
    display: none;
}

@media (min-width: 1024px) {
    .navbar-bottom {
        display: block;
    }
}

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

.nav-link {
    font-weight: 700;
    transition: color 0.3s;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--color-slate-500);
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-coral);
    border-bottom-color: var(--color-coral);
}

.bundle-btn {
    background-color: var(--color-coral);
    color: white;
    padding: 0.375rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: scale(1);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
    margin-left: 1rem;
    border: none;
}

.bundle-btn:hover {
    background-color: #EF4444;
    transform: scale(1.05);
}

.cart-btn {
    background-color: white;
    color: var(--color-slate-700);
    border-radius: 9999px;
    padding: 0.5rem 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 700;
    border: 1px solid var(--color-slate-200);
    margin-left: 0.75rem;
}

.cart-btn i {
    width: 18px;
    height: 18px;
}

.cart-count {
    min-width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background-color: var(--color-coral);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.mobile-menu {
    background-color: white;
    border-top: 1px solid var(--color-orange-100);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: absolute;
    width: 100%;
    left: 0;
    z-index: 50;
}

/* === Cart Drawer === */
.cart-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.5);
    display: flex;
    justify-content: flex-end;
    z-index: 60;
}

.cart-panel {
    width: 100%;
    max-width: 420px;
    background-color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 25px rgba(15, 23, 42, 0.15);
    padding: 1.5rem;
}

@media (max-width: 640px) {
    .cart-panel {
        max-width: 100%;
    }
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cart-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.cart-close {
    background: none;
    color: var(--color-slate-500);
    padding: 0.25rem;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.cart-location-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .cart-location-row {
        grid-template-columns: 1fr;
    }
}

.cart-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--color-slate-600);
}

.cart-field select,
.cart-field input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--color-slate-200);
    font-family: 'Nunito', sans-serif;
    font-size: 0.875rem;
    box-sizing: border-box;
    height: 42px;
    line-height: 1.2;
    background-color: #ffffff;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-slate-50);
    border-radius: 0.75rem;
    padding: 0.75rem;
}

.cart-item-main {
    display: flex;
    flex-direction: column;
}

.cart-item-name {
    font-weight: 700;
    color: var(--color-slate-800);
    font-size: 0.875rem;
}

.cart-item-meta {
    font-size: 0.75rem;
    color: var(--color-slate-500);
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

.cart-quantity-input {
    width: 3rem;
    padding: 0.25rem;
    border-radius: 0.375rem;
    border: 1px solid var(--color-slate-200);
    font-size: 0.75rem;
    text-align: center;
}

.cart-remove-btn {
    background: none;
    color: var(--color-slate-400);
    font-size: 0.75rem;
    text-decoration: underline;
}

.cart-empty {
    text-align: center;
    padding: 2rem 0;
    color: var(--color-slate-500);
    font-size: 0.875rem;
}

.cart-footer {
    border-top: 1px solid var(--color-slate-200);
    padding-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cart-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--color-slate-700);
}

.cart-total-row {
    font-weight: 700;
    font-size: 1rem;
}

.cart-amount {
    font-weight: 700;
}

.cart-checkout-btn {
    margin-top: 0.5rem;
    background-color: var(--color-coral);
    color: white;
    border-radius: 0.75rem;
    padding: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

#cartDetailsActions {
    display: flex;
    gap: 0.5rem;
}

.cart-secondary-btn {
    margin-top: 0.5rem;
    background-color: var(--color-slate-100);
    color: var(--color-slate-700);
    border-radius: 0.75rem;
    padding: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    border: 1px solid var(--color-slate-200);
    flex: 0 0 auto;
}

.cart-secondary-btn:hover {
    background-color: var(--color-slate-200);
}

.cart-checkout-btn:hover {
    background-color: #EF4444;
}

.cart-error {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: #B91C1C;
}

.cart-note {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: var(--color-slate-600);
}

.mobile-nav-link {
    display: block;
    width: 100%;
    text-align: left;
    font-weight: 600;
    padding: 0.5rem 0;
    color: var(--color-slate-600);
    transition: color 0.3s;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
    color: var(--color-coral);
}

.bundle-mobile {
    width: 100%;
    background-color: var(--color-coral);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    margin-top: 0.5rem;
    text-align: center;
}

/* === Main Content === */
.main-content {
    min-height: 60vh;
}

/* === Hero Section === */
.hero {
    position: relative;
    overflow: hidden;
    background-color: var(--color-cream);
    padding: 4rem 0 6rem;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    opacity: 0.5;
}

.hero-shape-1 {
    top: 5rem;
    left: 2.5rem;
    color: var(--color-orange-100);
}

.hero-shape-2 {
    bottom: 5rem;
    right: 2.5rem;
    color: #FDE68A;
}

.hero-shape-3 {
    top: 10rem;
    right: 5rem;
    color: #99F6E4;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text {
    text-align: center;
}

@media (min-width: 768px) {
    .hero-text {
        text-align: left;
    }
}

.hero-badge {
    display: inline-block;
    background-color: var(--color-orange-100);
    color: #EA580C;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-slate-800);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-title .highlight {
    color: var(--color-coral);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-slate-600);
    max-width: 32rem;
    margin: 0 auto 1rem;
}

@media (min-width: 768px) {
    .hero-subtitle {
        margin: 0 0 1rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    padding-top: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

.btn-primary {
    background-color: var(--color-coral);
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background-color: #F15F51;
    color: white; 
    
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: white;
    color: var(--color-slate-700);
    border: 2px solid var(--color-slate-200);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    border-color: var(--color-coral);
    color: var(--color-coral);
}

.hero-image-wrapper {
    position: relative;
    margin: 0 auto;
}

.hero-card {
    width: 20rem;
    height: 24rem;
    background: linear-gradient(to bottom right, #FDBA74, #FDE68A);
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform: rotate(3deg);
    transition: transform 0.5s;
}

@media (min-width: 768px) {
    .hero-card {
        width: 25rem;
        height: 31.25rem;
    }
}

.hero-card:hover {
    transform: rotate(0deg);
}

.hero-badge-as-seen {
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    width: 6rem;
    height: 6rem;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    flex-direction: column;
}

.hero-badge-as-seen span:first-child {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-slate-400);
}

.hero-badge-as-seen span:last-child {
    display: block;
    font-weight: 700;
    color: var(--color-coral);
}

.hero-card-content {
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-character {
    height: 12rem;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.04));
    transition: transform 0.3s;
}

.hero-character:hover {
    transform: scale(1.1);
}

.hero-card-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07));
}

.hero-card-subtitle {
    color: white;
    font-weight: 600;
    margin-top: 0.5rem;
    font-size: 1.125rem;
    opacity: 0.9;
}

/* === Features Section === */
.features {
    padding: 5rem 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

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

.feature-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 1rem;
    transition: background-color 0.3s;
}

.feature-card:hover {
    background-color: var(--color-slate-50);
}

.feature-icon-wrapper {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon {
    width: 40px;
    height: 40px;
}

.feature-card.pink .feature-icon-wrapper {
    background-color: #FCE7F3;
    color: #EC4899;
}

.feature-card.red .feature-icon-wrapper {
    background-color: #FEE2E2;
    color: #EF4444;
}

.feature-card.blue .feature-icon-wrapper {
    background-color: #DBEAFE;
    color: #3B82F6;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-slate-800);
}

.feature-desc {
    color: var(--color-slate-600);
    line-height: 1.625;
}

/* === Testimonials Section === */
.testimonials {
    background-color: var(--color-gold);
    padding: 5rem 0;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.testimonials-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .testimonials-title {
        font-size: 2.5rem;
    }
}

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

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

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    display: flex;
    color: #FBBF24;
    margin-bottom: 1rem;
}

.testimonial-stars i {
    width: 20px;
    height: 20px;
}

.testimonial-text {
    color: var(--color-slate-700);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    background-color: var(--color-slate-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-slate-600);
}

.testimonial-author-name {
    font-weight: 700;
    color: var(--color-slate-900);
}

.testimonial-author-role {
    font-size: 0.75rem;
    color: var(--color-slate-500);
    font-weight: 700;
    text-transform: uppercase;
}

/* === Newsletter Section === */
.newsletter {
    padding: 5rem 0;
    background-color: white;
    text-align: center;
}

.newsletter-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-slate-800);
}

.newsletter-text {
    color: var(--color-slate-600);
    margin-bottom: 2rem;
}

.newsletter-btn {
    background-color: var(--color-coral);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.newsletter-btn:hover {
    background-color: #EF4444;
}

/* === Footer === */
.footer {
    background-color: white;
    border-top: 1px solid var(--color-slate-100);
    padding: 4rem 0;
}

.footer-content {
    max-width: 1280px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
/* NEW RULE: Center the content in the 2nd, 3rd, and 4th columns */
    .footer-grid .footer-column:nth-child(2),
    .footer-grid .footer-column:nth-child(3),
    .footer-grid .footer-column:nth-child(4) {
        text-align: center; 
    }

    /* Optional: Center the list content while keeping the list items left-aligned */
    .footer-grid .footer-column:nth-child(2) ul,
    .footer-grid .footer-column:nth-child(3) ul,
    .footer-grid .footer-column:nth-child(4) ul {
        display: inline-block; /* Allows the 'ul' to be centered */
        text-align: left; /* Keeps the text within the list left-aligned */
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 4rem;
    height: 4rem;
    border-radius: 0;
    object-fit: contain;
    border: none;
    background-color: transparent;
}

.footer-logo h3 {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-slate-800);
}

.footer-column p {
    color: var(--color-slate-500);
    font-size: 0.875rem;
    line-height: 1.625;
}

.footer-column h4 {
    font-weight: 700;
    color: var(--color-slate-800);
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a,
.footer-column ul li {
    font-size: 0.875rem;
    color: var(--color-slate-500);
    cursor: pointer;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--color-coral);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--color-slate-100);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-bottom p {
    color: var(--color-slate-400);
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--color-slate-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-slate-400);
    transition: all 0.3s;
    cursor: pointer;
}

.social-links a:hover {
    background-color: #3B82F6;
    color: white;
}

.social-links a:nth-child(2):hover {
    background-color: #EC4899;
}

.social-links a:nth-child(3):hover {
    background-color: #000;
}

.social-links a:nth-child(4):hover {
    background-color: #2563EB;
}

.social-links a i {
    width: 20px;
    height: 20px;
}

/* === Responsive Design === */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-primary {
        background-color: var(--color-coral);
        color: white;
        padding: 1rem 2rem;
        font-size: 1.125rem;
        font-weight: 700;
        border-radius: 9999px;
        transition: all 0.3s ease;
        cursor: pointer;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .btn-secondary {
      background-color: white;
      border: 1px solid var(--color-slate-200);
      color: var(--color-slate-800);
        width: 100%;
    }
}
