/* ============================================
   ROYAL BLUE & GOLD PREMIUM ECOMMERCE CSS
   Modern, Luxurious, Professional Design
   ============================================ */

/* ===== GOOGLE FONTS IMPORT ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ===== CSS VARIABLES - ROYAL BLUE & GOLD THEME ===== */
:root {
    /* Primary Colors */
    --royal-blue: #001d3d;
    --royal-blue-dark: #001528;
    --royal-blue-darker: #000a1a;
    --royal-blue-light: #003366;
    --royal-blue-lighter: #004d7a;
    
    /* Gold Colors */
    --gold: #d4af37;
    --gold-light: #f4d03f;
    --gold-dark: #b8860b;
    --gold-metallic: #ffd700;
    
    /* Neutral Colors */
    --white: #ffffff;
    --ivory: #fffff0;
    --cream: #faf8f3;
    --light-gray: #f5f5f5;
    --medium-gray: #e5e5e5;
    --dark-gray: #4b5563;
    --text-dark: #1f2937;
    --text-medium: #374151;
    --text-light: #6b7280;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 29, 61, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 29, 61, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 29, 61, 0.16);
    --shadow-xl: 0 12px 36px rgba(0, 29, 61, 0.2);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);
    
    /* Gradients */
    --gradient-royal: linear-gradient(135deg, var(--royal-blue) 0%, var(--royal-blue-light) 100%);
    --gradient-gold: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(0, 29, 61, 0.9) 0%, rgba(0, 51, 102, 0.8) 100%);
    
    /* Transitions */
    --transition-fast: 0.2s;
    --transition-normal: 0.3s;
    --transition-slow: 0.5s;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 16px;
    overflow-x: hidden;
    font-weight: 400;
}

/* Keep Inter for all numbers */
input[type="number"],
.price,
.product-price,
span:has(> *[class*="price"]),
td:nth-child(3),
.numeric {
    font-family: 'Inter', sans-serif !important;
}

h1 {
    font-family: 'Playfair Display', serif;
    color: var(--royal-blue);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--royal-blue);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 400;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: all var(--transition-normal) ease;
}

a:hover {
    color: var(--gold-light);
}

/* ===== NAVBAR - SLEEK & PREMIUM ===== */
.navbar {
    background: var(--white);
    border-bottom: 3px solid var(--gold);
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal) ease;
}

.navbar:hover {
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.navbar-brand,
.nav-logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--royal-blue);
    text-decoration: none;
    letter-spacing: 1px;
    transition: all var(--transition-normal) ease;
    position: relative;
}

.navbar-brand::after,
.nav-logo a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-gold);
    transition: width var(--transition-normal) ease;
}

.navbar-brand:hover,
.nav-logo a:hover {
    color: var(--gold);
    transform: translateY(-2px);
}

.navbar-brand:hover::after,
.nav-logo a:hover::after {
    width: 100%;
}

.navbar-links,
.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.navbar-links li,
.nav-menu li {
    margin: 0;
    padding: 0;
}

.navbar-links a,
.nav-menu a {
    font-family: 'Poppins', sans-serif;
    color: var(--royal-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 0;
    transition: all var(--transition-normal) ease;
    position: relative;
    display: inline-block;
}

.navbar-links a::after,
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-gold);
    transition: width var(--transition-normal) ease;
    border-radius: 2px;
}

.navbar-links a:hover,
.nav-menu a:hover,
.navbar-links a.active,
.nav-menu a.active {
    color: var(--gold);
}

.navbar-links a:hover::after,
.nav-menu a:hover::after,
.navbar-links a.active::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Cart Icon */
.cart-icon {
    position: relative;
    color: var(--royal-blue);
    font-size: 1.5rem;
    transition: all var(--transition-normal) ease;
}

.cart-icon:hover {
    color: var(--gold);
    transform: scale(1.1) rotate(5deg);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--gradient-gold);
    color: var(--royal-blue);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 50%;
    min-width: 20px;
    text-align: center;
    box-shadow: var(--shadow-gold);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--royal-blue);
    border-radius: 2px;
    transition: all var(--transition-normal) ease;
}

.hamburger:hover span {
    background: var(--gold);
}

/* ===== BUTTONS - PREMIUM GOLD HIGHLIGHTS ===== */
.btn,
button:not(.hamburger):not(.faq-summary) {
    background: var(--gradient-gold);
    color: var(--royal-blue);
    border: 2px solid transparent;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal) ease;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.btn::before,
button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover,
button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), 0 0 25px rgba(212, 175, 55, 0.5);
    border-color: var(--gold-light);
}

.btn:hover::before,
button:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active,
button:active {
    transform: translateY(-1px);
}

.btn-primary {
    font-family: 'Poppins', sans-serif;
    background: var(--gradient-gold);
    color: var(--royal-blue);
    border: 2px solid var(--gold-dark);
    font-weight: 700;
}

.btn-primary:hover {
    background: var(--gold-metallic);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), 0 0 25px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    font-family: 'Poppins', sans-serif;
    background: var(--white);
    color: var(--royal-blue);
    border: 2px solid var(--gold);
}

.btn-secondary:hover {
    background: var(--gradient-gold);
    color: var(--royal-blue);
}

/* ===== LANDING PAGE ===== */
.landing-page {
    min-height: 100vh;
    background: var(--gradient-royal);
    position: relative;
}

.landing-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
}

.landing-title {
    font-family: 'Playfair Display', serif;
    color: var(--white);
    font-size: 3.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease;
}

.landing-subtitle {
    color: var(--gold-light);
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 400;
    animation: fadeInUp 1s ease;
}

.categories-grid,
.category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    width: 100%;
    animation: fadeInUp 1.2s ease;
}

.category-card {
    background: var(--white);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    text-align: center;
    transition: all var(--transition-normal) ease;
    cursor: pointer;
    border: 3px solid transparent;
    box-shadow: var(--shadow-lg);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(212, 175, 55, 0.4);
    border-color: var(--gold);
}

.category-card h2 {
    color: var(--royal-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.category-card p {
    color: var(--text-medium);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.card-content {
    text-align: center;
}

.card-btn {
    background: var(--gradient-gold);
    color: var(--royal-blue);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal) ease;
    font-size: 1.05rem;
    box-shadow: var(--shadow-gold);
}

.card-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* ===== WELCOME POPUP ===== */
.welcome-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 29, 61, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(20px);
    animation: fadeIn 0.3s ease;
}

body.popup-active {
    overflow: hidden;
}

body.popup-active .landing-page {
    filter: blur(10px);
    transition: filter 0.3s ease;
}

.welcome-content {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-xl), 0 0 50px rgba(212, 175, 55, 0.4);
    border: 3px solid var(--gold);
    animation: scaleIn 0.6s ease;
}

.welcome-content h1 {
    color: var(--royal-blue);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.welcome-content p {
    color: var(--text-medium);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-explore,
.btn-login {
    background: var(--gradient-gold);
    color: var(--royal-blue);
    border: 2px solid transparent;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal) ease;
    font-size: 1.05rem;
    box-shadow: var(--shadow-gold);
}

.btn-explore:hover,
.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-login {
    background: var(--white);
    color: var(--royal-blue);
    border: 2px solid var(--gold);
}

.btn-login:hover {
    background: var(--gradient-gold);
}

/* ===== GLASS CONTAINER ===== */
.glass-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    margin: 2rem auto;
    max-width: 1400px;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(212, 175, 55, 0.2);
}

.page-title {
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--royal-blue-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 29, 61, 0.1);
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.page-subtitle {
    color: var(--text-medium);
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

/* ===== CATEGORY BUTTONS ===== */
.category-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.category-btn {
    background: var(--white);
    color: var(--royal-blue);
    border: 2px solid var(--gold);
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal) ease;
    font-size: 0.95rem;
}

.category-btn:hover,
.category-btn.active {
    background: var(--gradient-gold);
    color: var(--royal-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 2rem 0;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-normal) ease;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: var(--shadow-md);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), 0 0 25px rgba(212, 175, 55, 0.3);
    border-color: var(--gold);
}

/* Image container for product cards */
.product-image-container {
    width: 100%;
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.product-image {
    width: 100%;
    height: auto;
    display: block;
    transition: all var(--transition-slow) ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-image-placeholder {
    width: 100%;
    height: 250px;
    background: var(--gradient-royal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    color: var(--royal-blue);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.product-description {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-category {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.product-price {
    color: #000a1a;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 1rem 0;
    font-family: 'Inter', sans-serif;
}

.product-rent {
    color: var(--gold-dark);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ===== CART PAGE ===== */
.cart-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.cart-item-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.cart-item {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: all var(--transition-normal) ease;
}

.cart-item:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-lg);
}

/* Image container for cart items */
.cart-item-image-container {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.cart-item-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    color: var(--royal-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    color: #000a1a;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.checkout-section {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--gold);
    max-width: 500px;
    margin: 0 auto;
}

.checkout-total {
    font-size: 2.5rem;
    color: #000a1a;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--royal-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all var(--transition-normal) ease;
    background: var(--white);
}

/* Keep Inter for number inputs only */
.form-group input[type="number"] {
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--gold-dark);
}

/* ===== ALERTS ===== */
.alert {
    padding: 1.2rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    border-left: 4px solid;
    animation: slideInRight 0.4s ease;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-color: #10b981;
}

.alert-error,
.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border-color: #ef4444;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border-color: var(--gold-dark);
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border-color: var(--royal-blue-light);
}

/* ===== HERO SECTION (ABOUT PAGE) ===== */
.hero {
    background: var(--gradient-royal);
    padding: 4rem 2rem;
    margin-bottom: 4rem;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--gold);
    transition: all var(--transition-slow) ease;
}

.hero-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.4);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--gold);
    transition: all var(--transition-normal) ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(212, 175, 55, 0.4);
}

.stat-item h3 {
    font-size: 3rem;
    color: #b8860b;
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.stat-item p {
    color: var(--royal-blue);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

/* ===== EXPERTISE SECTION ===== */
.expertise-new {
    padding: 5rem 2rem;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--royal-blue);
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.expertise-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.expertise-item {
    text-align: center;
    padding: 2rem;
    background: var(--cream);
    border-radius: 12px;
    transition: all var(--transition-normal) ease;
    border: 2px solid transparent;
}

.expertise-item:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: var(--shadow-lg);
}

.expertise-icon {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal) ease;
}

.expertise-item:hover .expertise-icon {
    transform: scale(1.1) rotate(5deg);
}

.expertise-item h3 {
    color: var(--royal-blue);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.expertise-bar {
    width: 100%;
    height: 12px;
    background: var(--medium-gray);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.expertise-percentage {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 20px;
    transition: width 1.5s ease;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.expertise-item p {
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 1.2rem;
}

/* ===== JOURNEY SECTION ===== */
.journey {
    padding: 5rem 2rem;
    background: var(--cream);
}

.journey-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.clients-section h3,
.projects-section h3 {
    color: var(--royal-blue);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.clients-grid,
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.client-item,
.project-item {
    background: var(--white);
    padding: 1.8rem 1.2rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: var(--royal-blue);
    border: 2px solid var(--gold);
    transition: all var(--transition-normal) ease;
    box-shadow: var(--shadow-sm);
}

.client-item:hover,
.project-item:hover {
    background: var(--gradient-gold);
    color: var(--royal-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===== ADMINISTRATORS SECTION ===== */
.administrators {
    padding: 5rem 2rem;
    background: var(--white);
}

.administrators-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.administrator {
    background: var(--cream);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all var(--transition-normal) ease;
    border: 3px solid transparent;
    box-shadow: var(--shadow-md);
}

.administrator:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(212, 175, 55, 0.3);
}

.administrator-image {
    margin-bottom: 1.5rem;
}

.administrator-image img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--gold);
    box-shadow: var(--shadow-gold);
    transition: all var(--transition-normal) ease;
}

.administrator:hover .administrator-image img {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.administrator h3 {
    color: var(--royal-blue);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.administrator p {
    color: var(--gold-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

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

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--gradient-gold);
    color: var(--royal-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all var(--transition-normal) ease;
    box-shadow: var(--shadow-sm);
}

.social-links a:hover {
    transform: translateY(-5px) rotate(360deg);
    box-shadow: var(--shadow-gold);
}

/* ===== USER MANUAL SECTION ===== */
.user-manual {
    padding: 5rem 2rem;
    background: var(--cream);
}

.user-manual-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--gold);
}

.user-manual-content h2 {
    color: var(--royal-blue);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 800;
}

.user-manual-content h3 {
    color: var(--royal-blue);
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    border-left: 5px solid var(--gold);
    padding-left: 1rem;
}

.user-manual-content h4 {
    color: var(--gold-dark);
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.user-manual-content ul,
.user-manual-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.user-manual-content li {
    color: var(--text-medium);
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.user-manual-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    overflow: hidden;
}

.user-manual-content table thead {
    background: var(--gradient-gold);
    color: var(--royal-blue);
}

.user-manual-content table th,
.user-manual-content table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid var(--medium-gray);
}

.user-manual-content table tbody tr:hover {
    background: var(--cream);
}

.scaffolding-diagram {
    margin: 3rem 0;
    text-align: center;
}

.scaffolding-diagram img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--gold);
}

.scaffolding-diagram-caption {
    color: var(--text-medium);
    font-style: italic;
    margin-top: 1rem;
    font-size: 0.95rem;
}

/* FAQ Items */
.faq-item {
    background: var(--cream);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 2px solid var(--medium-gray);
    transition: all var(--transition-normal) ease;
}

.faq-item:hover {
    border-color: var(--gold);
}

.faq-summary {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--royal-blue);
    font-weight: 600;
    transition: all var(--transition-normal) ease;
}

.faq-summary:hover {
    background: var(--gold-light);
    color: var(--royal-blue);
}

.faq-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-medium);
    display: none;
}

.download-manual-btn {
    background: var(--gradient-gold);
    color: var(--royal-blue);
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    transition: all var(--transition-normal) ease;
}

.download-manual-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(212, 175, 55, 0.5);
}

/* ===== FOOTER ===== */
footer {
    background: var(--royal-blue-darker);
    color: var(--white);
    padding: 4rem 2rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.footer-logo h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.footer-logo p {
    color: var(--white);
    opacity: 0.9;
    line-height: 1.7;
}

.footer-column h4 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

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

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

.footer-column ul li a {
    color: var(--white);
    opacity: 0.9;
    transition: all var(--transition-normal) ease;
}

.footer-column ul li a:hover {
    color: var(--gold);
    opacity: 1;
    padding-left: 5px;
}

.services-contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
    color: var(--white);
}

.contact-info li i {
    color: var(--gold);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.inline-map-container iframe {
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.view-map-link {
    color: var(--gold);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all var(--transition-normal) ease;
}

.view-map-link:hover {
    color: var(--gold-light);
}

.footer-bottom {
    border-top: 2px solid rgba(212, 175, 55, 0.3);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    color: var(--white);
    opacity: 0.8;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--white);
    opacity: 0.8;
    transition: all var(--transition-normal) ease;
}

.footer-bottom-links a:hover {
    color: var(--gold);
    opacity: 1;
}

/* ===== POLICY SECTIONS ===== */
.policy-section {
    padding: 5rem 2rem;
    background: var(--white);
    transition: all var(--transition-normal) ease;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--cream);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--gold);
}

.policy-content h2 {
    color: var(--royal-blue);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 800;
}

.policy-content h3 {
    color: var(--royal-blue);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.policy-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.8rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.back-to-footer {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: var(--gradient-gold);
    color: var(--royal-blue);
    border-radius: 8px;
    font-weight: 700;
    transition: all var(--transition-normal) ease;
    box-shadow: var(--shadow-gold);
}

.back-to-footer:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-4 {
    margin-top: 4rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
    
    .services-contact-container {
        grid-column: span 2;
    }
}

@media (max-width: 992px) {
    .navbar {
        padding: 1rem 2rem;
    }
    
    .navbar-links,
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left var(--transition-normal) ease;
    }
    
    .navbar-links.active,
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    .journey-container {
        grid-template-columns: 1fr;
    }
    
    .clients-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .services-contact-container {
        grid-template-columns: 1fr;
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .landing-title {
        font-size: 2.5rem;
    }
    
    .landing-subtitle {
        font-size: 1.2rem;
    }
    
    .category-cards,
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .administrators-container {
        grid-template-columns: 1fr;
    }
    
    .expertise-container {
        grid-template-columns: 1fr;
    }
    
    .clients-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 1rem;
    }
    
    .navbar-brand,
    .nav-logo a {
        font-size: 1.4rem;
    }
    
    .landing-title {
        font-size: 2rem;
    }
    
    .landing-subtitle {
        font-size: 1.1rem;
    }
    
    .welcome-content {
        padding: 2rem 1.5rem;
    }
    
    .welcome-content h1 {
        font-size: 2rem;
    }
    
    .popup-buttons {
        flex-direction: column;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
}

/* ===== ADMIN PANELS ===== */
.admin-header {
    background: var(--gradient-royal);
    color: var(--white);
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 4px solid var(--gold);
}

.admin-header h1 {
    color: var(--gold);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.admin-stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--gold);
    transition: all var(--transition-normal) ease;
}

.admin-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.admin-stat-card h3 {
    color: var(--gold);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.admin-stat-card p {
    color: var(--royal-blue);
    font-weight: 600;
}

.admin-table {
    width: 100%;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: var(--gradient-gold);
    color: var(--royal-blue);
}

.admin-table th,
.admin-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid var(--medium-gray);
}

.admin-table tbody tr:hover {
    background: var(--cream);
}

.btn-danger {
    background: #dc2626;
    color: var(--white);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal) ease;
}

.btn-danger:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== FLOATING CART BUTTON ===== */
.floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-gold);
    color: var(--royal-blue);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-xl), 0 0 30px rgba(212, 175, 55, 0.5);
    cursor: pointer;
    transition: all var(--transition-normal) ease;
    z-index: 999;
}

.floating-cart:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: var(--shadow-xl), 0 0 50px rgba(212, 175, 55, 0.7);
}

/* ===== MODAL/POPUP STYLES ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 29, 61, 0.9);
    backdrop-filter: blur(8px);
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: linear-gradient(135deg, #001d3d 0%, #003366 100%);
    border-radius: 20px;
    padding: 3rem;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.3);
    border: 3px solid var(--gold);
    position: relative;
    animation: slideDown 0.4s ease;
}

.modal-content h2 {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.modal-content .form-group label {
    color: var(--gold);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: block;
}

.modal-content .form-group input,
.modal-content .form-group select,
.modal-content .form-group textarea {
    background: rgba(255, 255, 255, 0.95);
    color: var(--royal-blue);
    border: 2px solid rgba(212, 175, 55, 0.3);
    padding: 1rem;
    border-radius: 10px;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all var(--transition-normal) ease;
}

/* Keep Inter for number inputs in modals */
.modal-content .form-group input[type="number"] {
    font-family: 'Inter', sans-serif;
}

.modal-content .form-group input:focus,
.modal-content .form-group select:focus,
.modal-content .form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    background: var(--white);
}

.modal-content .form-group input::placeholder,
.modal-content .form-group textarea::placeholder {
    color: #888;
}

.modal-content small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== CATEGORY-SPECIFIC FIELDS ===== */
.category-specific-fields {
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.category-specific-fields h3 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* ===== ANALYTICS PAGE ===== */
.metric-card {
    background: linear-gradient(135deg, var(--royal-blue), #003366);
    border: 3px solid var(--gold);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-xl), 0 0 30px rgba(212, 175, 55, 0.2);
    transition: all var(--transition-normal) ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(212, 175, 55, 0.4);
}

.metric-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.metric-label {
    color: var(--gold);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metric-value {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
}

.chart-container {
    background: rgba(255, 255, 255, 0.98);
    border: 3px solid var(--gold);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal) ease;
}

.chart-container:hover {
    box-shadow: var(--shadow-xl), 0 0 25px rgba(212, 175, 55, 0.2);
}

.chart-title {
    color: var(--royal-blue);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--gold);
}

.chart-container canvas {
    max-height: 400px;
}

/* ===== PRODUCT DETAIL PAGE IMAGE ===== */
.product-detail-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-slow) ease;
}

/* ===== END OF CSS ===== */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

/* Navbar styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center; /* This is key to vertically center the oversized logo */
    padding: 0.5rem 1.5rem;
    background-color: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    /* We will let the height be auto-determined by the content (the logo) */
}

/* Navbar brand container */
.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Brand text style */
.brand-text {
    margin-left: 10px;
}

/* Logo styling - UPDATED TO FIX CROPPING */
.navbar-logo {
    /* 
      We make the logo container larger than the navbar's default height.
      The navbar will grow to fit it. This ensures the full circle is visible.
    */
    height: 70px;
    width: 70px; /* Keep it a perfect circle */
    border-radius: 50%;
    
    /* 
      THIS IS THE MOST IMPORTANT CHANGE:
      'contain' ensures the entire image (the full circle) is visible 
      within the 70x70px container, without any cropping.
    */
    object-fit: contain;

    /* No border, no padding, no background color */
    background-color: transparent;
    padding: 0;
    border: none;
}

/* Navbar links */
.navbar-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-links li {
    margin-left: 1.5rem;
}

.navbar-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s;
}

.navbar-links a:hover {
    color: #007bff;
}

/* Alert styles */
.alert {
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-success { color: #155724; background-color: #d4edda; border-color: #c3e6cb; }
.alert-danger { color: #721c24; background-color: #f8d7da; border-color: #f5c6cb; }
.alert-info { color: #0c5460; background-color: #d1ecf1; border-color: #bee5eb; }

/* Media query for responsive design - UPDATED */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1rem;
    }

    .navbar-logo {
        /* Make the logo smaller on mobile, but still ensure the full circle is seen */
        height: 55px;
        width: 55px;
    }
    
    .brand-text {
        display: none; /* Hide text on small screens */
    }

    .navbar-links li {
        margin-left: 1rem;
    }
}