/* Import premium Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --primary: #0e7490;      /* Teal / Cyan */
    --primary-light: #06b6d4;
    --primary-dark: #164e63;
    --accent: #be185d;       /* Rose / Pink Accent */
    --accent-light: #f43f5e;
    --dark: #0f172a;         /* Slate 900 */
    --dark-muted: #334155;   /* Slate 700 */
    --light: #f8fafc;        /* Slate 50 */
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--dark);
}

/* Top bar styling */
.top-bar {
    background-color: var(--dark);
    color: var(--light);
    font-size: 0.875rem;
    padding: 8px 0;
    border-bottom: 2px solid var(--primary);
}

.top-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-info {
    display: flex;
    gap: 20px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-item i {
    color: var(--primary-light);
}

.top-bar-promo {
    font-weight: 500;
    letter-spacing: 0.5px;
}

.top-bar-promo span {
    color: var(--primary-light);
}

/* Navigation Header */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.main-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--dark);
    line-height: 1.1;
}

.logo-sub {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--primary);
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 10px;
    position: relative;
    color: var(--dark-muted);
    white-space: nowrap;
    display: block;
}

.nav-link:hover, .nav-item.active .nav-link {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-item.active .nav-link::after {
    width: calc(100% - 20px);
}

/* Dropdown menu */
.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 10px 0;
    min-width: 180px;
    display: none;
    list-style: none;
    animation: fadeIn 0.2s ease-out;
}

.nav-item-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-link {
    display: block;
    padding: 8px 20px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark-muted);
    white-space: nowrap;
}

.dropdown-link:hover {
    background-color: var(--gray-100);
    color: var(--primary);
    padding-left: 24px;
}

/* Header Buttons */
.nav-btn {
    background-color: var(--primary);
    color: var(--white) !important;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 6px 18px !important;
    border-radius: var(--radius-full);
    border: 2px solid var(--primary);
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.nav-btn::after {
    display: none !important;
}

.nav-btn:hover {
    background-color: transparent;
    color: var(--primary) !important;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-btn-outline {
    background-color: transparent;
    color: var(--primary) !important;
    border-color: var(--primary);
}

.nav-btn-outline:hover {
    background-color: var(--primary);
    color: var(--white) !important;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--dark);
}

/* Hero Carousel Redesign */
.hero-carousel {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 50px 0;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.carousel-slides {
    width: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.hero-split-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-text-col {
    color: var(--white);
}

.hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.4);
    color: var(--primary-light);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.hero-text-col h2 {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 18px;
}

.hero-text-col p {
    font-size: 1.05rem;
    color: var(--gray-300);
    margin-bottom: 24px;
    line-height: 1.6;
}

.hero-features-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.hero-feat-chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-btn-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-img-col {
    position: relative;
    text-align: center;
}

.hero-banner-img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: #0f172a;
    transition: transform 0.4s ease;
}

.hero-banner-img:hover {
    transform: scale(1.02);
}

.hero-floating-badge {
    position: absolute;
    bottom: -15px;
    right: 20px;
    background: #059669;
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 10px 20px rgba(5, 150, 105, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
}
    width: 100%;
    color: var(--white);
}

.carousel-content h2 {
    font-family: var(--font-serif);
    font-size: 3.25rem;
    color: var(--white);
    margin-bottom: 20px;
    max-width: 600px;
    line-height: 1.15;
    animation: slideUp 0.8s ease-out;
}

.carousel-content p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 500px;
    opacity: 0.9;
    animation: slideUp 0.8s ease-out 0.2s backwards;
}

.carousel-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    animation: slideUp 0.8s ease-out 0.4s backwards;
}

.carousel-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.carousel-btn i {
    font-size: 0.9rem;
    transition: var(--transition);
}

.carousel-btn:hover i {
    transform: translateX(4px);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.carousel-control:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

/* Sections */
.section {
    padding: 80px 20px;
}

.section-bg-dark {
    background-color: var(--dark);
    color: var(--white);
}

.section-bg-dark h2, .section-bg-dark h3 {
    color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-header h3 {
    color: var(--primary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-family: var(--font-serif);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--dark-muted);
}

.section-bg-dark .section-header p {
    color: var(--gray-300);
}

/* Grid layout for services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.service-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img img {
    transform: scale(1.08);
}

.service-category {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: var(--accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.service-content p {
    color: var(--dark-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.btn-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.btn-inline i {
    transition: var(--transition);
}

.btn-inline:hover {
    color: var(--primary-light);
}

.btn-inline:hover i {
    transform: translateX(4px);
}

/* Category grid for products */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.category-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.category-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-light);
    transform: translateY(-5px);
}

.category-icon {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.category-card p {
    color: var(--gray-300);
    font-size: 0.85rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
    display: flex;
    flex-direction: column;
}

.about-img-main {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 85%;
    z-index: 2;
}

.about-img-sub {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 55%;
    margin-top: -30%;
    margin-left: 45%;
    border: 6px solid var(--white);
    z-index: 3;
}

.about-badge {
    position: absolute;
    bottom: -15px;
    left: 20px;
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 4;
}

.about-badge-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-100);
}

.about-content h2 {
    font-size: 2.25rem;
    font-family: var(--font-serif);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--dark-muted);
    margin-bottom: 25px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.about-feature h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.about-feature p {
    font-size: 0.85rem;
    color: var(--dark-muted);
}

/* Footer Section */
.footer {
    background-color: var(--dark);
    color: var(--gray-300);
    padding: 70px 20px 20px 20px;
    border-top: 4px solid var(--primary);
}

.footer h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 50px auto;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--primary-light);
}

.footer-newsletter p {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: var(--radius-full);
}

.newsletter-form input {
    background: none;
    border: none;
    color: var(--white);
    padding: 8px 15px;
    flex-grow: 1;
    font-size: 0.9rem;
}

.newsletter-form button {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    background-color: var(--primary-light);
}

.footer-social {
    margin-top: 25px;
}

.social-links {
    display: flex;
    gap: 12px;
    list-style: none;
}

.social-link a {
    display: flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    align-items: center;
    justify-content: center;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link a:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-300);
}

/* Forms styling (Login/Register/Contact) */
.form-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    padding: 40px;
    max-width: 550px;
    margin: 40px auto;
}

.form-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark-muted);
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-300);
    background-color: var(--light);
    color: var(--dark);
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.15);
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-300);
    background-color: var(--light);
    color: var(--dark);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.15);
}

.form-btn {
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    font-weight: 700;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    margin-top: 10px;
    transition: var(--transition);
}

.form-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--dark-muted);
}

.form-footer a {
    color: var(--primary);
    font-weight: 600;
}

.form-footer a:hover {
    color: var(--primary-light);
}

/* Alert Boxes */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-info {
    background-color: #e0f2fe;
    color: #075985;
    border: 1px solid #bae6fd;
}

/* Product Catalog page styles */
.products-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.products-filter {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 25px;
    height: fit-content;
    box-shadow: var(--shadow-sm);
}

.filter-title {
    font-size: 1.15rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-200);
}

.filter-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-item {
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--dark-muted);
    padding: 6px 0;
    transition: var(--transition);
}

.filter-item:hover, .filter-item.active {
    color: var(--primary);
    padding-left: 5px;
    font-weight: 500;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.product-img {
    height: 230px;
    overflow: hidden;
    background: #ffffff;
    padding: 14px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--gray-200);
}

.product-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-img img {
    transform: scale(1.06);
}

.product-badge-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #059669;
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(5,150,105,0.25);
    z-index: 2;
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-category {
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.product-name {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.product-description {
    font-size: 0.85rem;
    color: var(--dark-muted);
    margin-bottom: 15px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

.product-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.product-btn:hover {
    background-color: var(--primary-dark);
}

/* Dashboard styling */
.dashboard-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.profile-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0 auto 20px auto;
    border: 4px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
}

.profile-name {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.profile-role {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    background-color: rgba(190, 24, 93, 0.08);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 20px;
}

.profile-details {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--gray-200);
    padding-top: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.detail-label {
    color: var(--dark-muted);
    font-weight: 500;
}

.detail-value {
    font-weight: 600;
    color: var(--dark);
}

/* ID Card Generator */
.id-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.id-card::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
}

.id-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.id-card-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
}

.id-card-subtitle {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-light);
}

.id-card-body {
    display: flex;
    gap: 20px;
    align-items: center;
}

.id-card-avatar {
    width: 65px;
    height: 65px;
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 2px solid var(--white);
}

.id-card-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.id-card-name {
    font-weight: 700;
    font-size: 1.15rem;
}

.id-card-detail {
    font-size: 0.8rem;
    opacity: 0.9;
}

.id-card-tag {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    background-color: var(--accent);
    color: var(--white);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    width: fit-content;
}

/* Dashboard main content area */
.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.dashboard-panel {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.panel-title {
    font-size: 1.35rem;
    font-family: var(--font-serif);
    margin-bottom: 20px;
    color: var(--primary-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-badge {
    font-size: 0.8rem;
    background-color: var(--primary);
    color: var(--white);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

/* Downline table list */
.table-responsive {
    overflow-x: auto;
}

.member-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.member-table th {
    background-color: var(--gray-100);
    padding: 12px 15px;
    font-weight: 600;
    color: var(--dark-muted);
    font-size: 0.9rem;
    border-bottom: 2px solid var(--gray-200);
}

.member-table td {
    padding: 15px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.9rem;
    color: var(--dark);
}

.member-table tr:last-child td {
    border-bottom: none;
}

.status-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.status-distributor {
    background-color: #e0f2fe;
    color: #0369a1;
}

.status-franchisee {
    background-color: #fef3c7;
    color: #b45309;
}

.status-customer {
    background-color: #f1f5f9;
    color: #475569;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--dark-muted);
}

.empty-state i {
    font-size: 3rem;
    color: var(--gray-300);
    margin-bottom: 15px;
}

/* Custom banner/welcome block on dashboard */
.welcome-banner {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.welcome-banner h2 {
    color: var(--white);
    margin-bottom: 5px;
}

.welcome-banner p {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* Interactive animations and transitions */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Responsive styles */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 30px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 99;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-item-dropdown:hover .dropdown-menu {
        display: none;
    }
    
    .nav-item-dropdown.active .dropdown-menu {
        display: block;
        position: static;
        box-shadow: none;
        padding-left: 20px;
        border-radius: 0;
        border-left: 2px solid var(--primary);
    }
    
    .dropdown-link {
        padding: 10px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-images {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .products-layout, .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-split-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .hero-text-col h2 {
        font-size: 2.2rem;
    }
    
    .hero-features-row, .hero-btn-group {
        justify-content: center;
    }

    .hero-banner-img {
        max-height: 320px;
    }
}

@media (max-width: 768px) {
    .carousel-content h2 {
        font-size: 2.25rem;
    }
    
    .carousel-content p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .top-bar-info {
        flex-direction: column;
        gap: 5px;
    }
}
