/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1e4a3b;
    --primary-light: #2a6b56;
    --primary-dark: #12352a;
    --gold: #e6a84c;
    --gold-light: #f5d9b3;
    --cream: #fdf8f0;
    --light-bg: #f5f0eb;
    --white: #ffffff;
    --dark: #1b2d2a;
    --text: #2d2d2d;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.10);
    --radius: 16px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER / NAV ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(30, 74, 59, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(18, 53, 42, 0.96);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
}

.logo i {
    color: var(--gold);
    font-size: 1.7rem;
}

.logo span {
    color: var(--gold-light);
    font-weight: 300;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(212, 163, 115, 0.25);
}

.nav-links a.active {
    background: var(--gold);
    color: var(--primary-dark);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 4px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    padding: 110px 0 100px;
    border-radius: 0 0 60px 60px;
    overflow: hidden;
    margin-bottom: 40px;
}

.hero::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(230, 168, 76, 1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.hero-content h1 span {
    color: var(--gold);
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 480px;
    margin-bottom: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    background: var(--gold);
    color: var(--primary-dark);
    box-shadow: 0 4px 16px rgba(212, 163, 115, 0.35);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(212, 163, 115, 0.45);
    background: #E6A84C;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
    box-shadow: none;
    transform: translateY(-3px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image .circle {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(212, 163, 115, 0.3), rgba(30, 74, 59, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(212, 163, 115, 0.2);
    backdrop-filter: blur(4px);
}

.hero-image .circle i {
    font-size: 8rem;
    color: var(--gold);
    opacity: 0.9;
    filter: drop-shadow(0 8px 24px rgba(212, 163, 115, 0.3));
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.hero-stats .stat h3 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
}

.hero-stats .stat p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.feature-card .icon {
    /* assuming your .icon is already a circle, keep its styles */
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;          /* ensures the image stays inside the circle */
    display: flex;
    align-items: center;
    justify-content: center;
    /* remove any background-color if you want the image to show fully */
}

.feature-card .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;         /* crops the image to fill the circle cleanly */
    display: block;
}


/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.section-title h2 span {
    color: var(--gold);
}

.section-title p {
    color: #666;
    max-width: 540px;
    margin: 8px auto 0;
    font-size: 1.05rem;
}

/* ===== FEATURES (Home) ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin: 50px 0 30px;
}

.feature-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--gold);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
}
/* NEW: make the image span the full top width */
.feature-card img {
    width: 100%;
    height: 200px;               /* adjust height to your liking */
    object-fit: cover;           /* crops cleanly without stretching */
    display: block;
}

/* NEW: container for text below the image */
.card-content {
    padding: 20px 22px 26px;     /* ← this gives space around your text */
    text-align: center;
}

/* NEW: keep your existing h4 and p styles, but ensure they're inside .card-content */
.card-content h4 {
    margin: 0 0 8px 0;           /* just spacing, keep your own colors/fonts */
}

.card-content p {
    margin: 0;                   /* remove default paragraph margin */
    line-height: 1.6;
}
.feature-card .icon {
    width: 64px;
    height: 64px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.8rem;
    color: var(--primary);
}

.feature-card h4 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

/* ===== ABOUT PAGE ===== */
.about-hero {
    background: linear-gradient(135deg, var(--cream), var(--light-bg));
    padding: 110px 0 40px;
    border-radius: 0 0 40px 40px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-grid .about-text h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.about-grid .about-text h2 span {
    color: var(--gold);
}

.about-grid .about-text p {
    color: #555;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about-grid .about-image {
    background: var(--primary);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    color: var(--white);
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.about-grid .about-image i {
    font-size: 4.5rem;
    color: var(--gold);
    margin-bottom: 16px;
}

.about-grid .about-image h3 {
    font-size: 1.5rem;
}

.about-grid .about-image p {
    opacity: 0.8;
    max-width: 300px;
}

.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.value-item {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-4px);
}

.value-item i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.value-item h4 {
    color: var(--primary-dark);
    font-size: 1.05rem;
}

/* ===== PRODUCTS PAGE ===== */
.products-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 110px 0 40px;
    border-radius: 0 0 40px 40px;
    color: var(--white);
    text-align: center;
}

.products-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
}

.products-header h1 span {
    color: var(--gold);
}

.products-header p {
    opacity: 0.8;
    font-size: 1.1rem;
}

/* Category tabs */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 40px 0 32px;
}

.category-tab {
    padding: 12px 28px;
    border-radius: 50px;
    background: var(--white);
    border: 2px solid #e0d6cc;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.category-tab:hover {
    border-color: var(--gold);
    background: var(--cream);
}

.category-tab.active {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 4px 16px rgba(230, 168, 76, 0.4);
}

.category-tab i {
    margin-right: 8px;
}

/* Product grid - Keep as is */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 10px;
}

/* 1. Main Card Adjustment */
.product-card {
    background: var(--white);
    /* Set top padding to 0 so the image touches the top corners */
    padding: 0 0 24px 0; 
    text-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden; /* This ensures the image corners match the card corners */
    display: flex;
    flex-direction: column;
}

/* 2. Unified Image Container (Removed the 80x80 circle conflict) */
.product-card .product-icon {
    width: 100%;
    height: 180px;           
    overflow: hidden;        
    background: #f0f0f0;     
    margin-bottom: 15px; /* Creates space between image and H4 */
}

/* 3. The Image Styling */
.product-card .product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;       
    display: block;
}

/* 4. Text Content Styling */
.product-card h4 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin: 10px 15px 4px; /* Added side margins */
}

.product-card .category-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 50px;
    background: var(--gold-light);
    color: var(--primary-dark);
    margin: 8px auto; /* Centers the badge */
    width: fit-content;
}

.product-card p {
    color: #666;
    font-size: 0.95rem;
    margin: 10px 20px 20px; /* Added more space for the paragraph */
    line-height: 1.5;
}

/* 5. Hover Effect */
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}

/* ===== CONTACT PAGE ===== */
.contact-hero {
    background: linear-gradient(135deg, var(--cream), var(--light-bg));
    padding: 110px 0 30px;
    border-radius: 0 0 40px 40px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 20px;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.contact-info h2 span {
    color: var(--gold);
}

.contact-info p {
    color: #555;
    margin-bottom: 28px;
    font-size: 1.05rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.contact-detail i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-detail .info h4 {
    font-size: 1rem;
    color: var(--primary-dark);
}

.contact-detail .info p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.contact-form {
    background: var(--white);
    padding: 36px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.contact-form p {
    color: #777;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8e0d8;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--cream);
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 163, 115, 0.15);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group .btn {
    width: 100%;
    justify-content: center;
    font-size: 1.05rem;
    padding: 16px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0 24px;
    margin-top: 60px;
    border-radius: 40px 40px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.footer-brand h3 i {
    color: var(--gold);
}

.footer-brand p {
    font-size: 0.95rem;
    max-width: 280px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 12px;
}

.footer-col a {
    display: block;
    padding: 4px 0;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 14px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-image .circle {
        width: 240px;
        height: 240px;
    }
    .hero-image .circle i {
        font-size: 5rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 20px 0 12px;
        gap: 4px;
        background: rgba(18, 53, 42, 0.98);
        border-radius: 16px;
        margin-top: 8px;
        backdrop-filter: blur(12px);
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 12px;
        border-radius: 8px;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero {
        padding: 60px 0 60px;
        border-radius: 0 0 32px 32px;
    }
    .hero-image .circle {
        width: 180px;
        height: 180px;
    }
    .hero-image .circle i {
        font-size: 4rem;
    }
    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
    .products-header h1 {
        font-size: 2rem;
    }
    .category-tabs {
        gap: 8px;
    }
    .category-tab {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 18px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .contact-form {
        padding: 24px 18px;
    }
    .about-grid .about-image {
        padding: 28px;
        min-height: 180px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .product-card {
        padding: 18px 12px 16px;
    }
    .product-card .product-icon {
        width: 56px;
        height: 56px;
        font-size: 1.6rem;
    }
    .product-card h4 {
        font-size: 0.95rem;
    }
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .feature-card {
        padding: 20px 14px;
    }
    .value-item {
        padding: 16px;
    }
}