/* REMOVE EXTRA SPACE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

/* HEADER (keep as it is, just ensure no margin-bottom issue) */
header {
    flex-shrink: 0;
}

:root {
    --primary: #7a003c; /* maroon */
    --light: #f9f9f9;
    --text: #333;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light);
    color: var(--text);
    display: flex;
    flex-direction: column;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 40px;
}

.social-icons a {
    margin-left: 15px;
    color: var(--primary);
    font-size: 18px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #000;
}

.main-wrapper {
    flex: 1; /* THIS pushes footer down */
    display: flex;
    justify-content: center;
    align-items: center; /* vertical center */
    padding: 40px 20px;
}


.main-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px 20px;
    margin: 0 auto;
}

/* CARD */
.card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 16px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: 0.3s ease;
    position: relative;
    border-top: 4px solid #7a003c;
    height: 100%; /* equal height */

}

.card i {
    font-size: 28px;
    color: #7a003c;
    margin-bottom: 10px;
}

.card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.card span {
    font-size: 13px;
    color: #7a003c;
    font-weight: 500;
}

/* HOVER */
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

/* TABLET (2 column) */
@media (max-width: 992px) {
    .main-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE (1 column) */
@media (max-width: 576px) {
    .main-section {
        grid-template-columns: 1fr;
    }
}

/* MOBILE */
@media (max-width: 600px) {
    .card h2 {
        font-size: 16px;
    }
}


/* BUTTON */
.read-more {
    display: inline-block;
    padding: 8px 14px;
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
}

.read-more:hover {
    background: #5a002c;
}


/* footer section */

.eugenix-footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 18px 15px;
    font-size: 14px;
}

.eugenix-footer p {
    margin: 0;
    line-height: 1.5;
}

/* Mobile Optimization */
@media (max-width: 576px) {
    .eugenix-footer {
        font-size: 13px;
        padding: 15px 10px;
    }
}


/* page template css */

.page-wrapper {
    background: #f6f6f6;
    padding: 40px 15px;
}

.page-container {
    max-width: 900px;
    margin: auto;
}

/* HEADINGS */
.page-container h1 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #7a003c;
}

.page-container h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #7a003c;
}

.page-container h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

/* TEXT */
.intro {
    margin-bottom: 15px;
    color: #555;
}

/* CARD */
.content-card {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 4px solid #7a003c;
}

/* FAQ */
.faq-item {
    margin-bottom: 15px;
}

.faq-item p {
    font-size: 14px;
    color: #666;
}

/* BUTTONS */
.app-buttons {
    margin-top: 10px;
    margin-bottom: 10px;
}

.app-buttons a {
    display: inline-block;
    margin-right: 10px;
    padding: 8px 12px;
    background: #7a003c;
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
}

.app-buttons a:hover {
    background: #5a002c;
}

/* LINKS */
ul {
    padding-left: 18px;
}

ul li {
    margin-bottom: 8px;
}

ul li a {
    color: #7a003c;
    text-decoration: none;
}

/* MOBILE */
@media (max-width: 576px) {
    .page-container h1 {
        font-size: 22px;
    }
.page-container {
    max-width: 900px;
    margin: auto;
    padding: 10px;
}

.app-buttons a{
    margin-bottom: 10px;
}
    
}

/* legal page css */

.legal-wrapper {
    background: #f6f6f6;
    padding: 40px 15px;
}

.legal-container {
    max-width: 900px;
    margin: auto;
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* HEADINGS */
.legal-container h1 {
    font-size: 26px;
    color: #7a003c;
    margin-bottom: 10px;
}

.legal-container h2 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #7a003c;
}

.legal-container h3 {
    font-size: 14px;
    margin-bottom: 8px;
    color: #7a003c;
}

/* TEXT */
.last-updated {
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
}

.intro {
    margin-bottom: 20px;
    color: #555;
}

/* SECTIONS */
.legal-section {
    margin-bottom: 18px;
}

.legal-section p {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

/* MOBILE */
@media (max-width: 576px) {
    .legal-container {
        padding: 18px;
    }

    .legal-container h1 {
        font-size: 22px;
    }

    .legal-container h2 {
        font-size: 16px;
    }

      .legal-container h3 {
        font-size: 12px;
      }
}


/* faq */

/* ACCORDION */
.accordion-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    border-left: 3px solid #7a003c;
    border-right: 3px solid #7a003c;
    border-top: 1px solid gray;
    border-bottom: 1px solid gray;

}

/* HEADER */
.accordion-header {
    width: 100%;
    text-align: left;
    padding: 14px;
    font-size: 14px;
    border: none;
    background: #fff;
    cursor: pointer;
    position: relative;
    font-weight: 500;
}

/* ICON */
.accordion-header::after {
    content: "+";
    position: absolute;
    right: 15px;
    color: #7a003c;
}

/* ACTIVE */
.accordion-item.active .accordion-header::after {
    content: "-";
}

/* CONTENT */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;
    padding: 0 14px;
}

.accordion-content p {
    font-size: 13px;
    color: #555;
    padding-bottom: 12px;
}

/* OPEN */
.accordion-item.active .accordion-content {
    max-height: 200px;
}