/* CSS Variables */
:root {
    --primary: #0a5c36;
    --primary-dark: #084428;
    --primary-light: rgba(10, 92, 54, 0.1);
    --secondary: #ff9800;
    --accent: #4caf50;
    --dark: #1a1a1a;
    --dark-light: #333;
    --light: #f9f9f9;
    --light-dark: #eef2f5;
    --muted: #666;
    --border: #e0e0e0;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-light: 0 3px 10px rgba(0, 0, 0, 0.05);
    --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --radius-sm: 6px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: white;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

p {
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    position: relative;
}

.section-light {
    background-color: var(--light);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-spinner.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--primary-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    color: var(--primary);
    font-weight: 500;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.15);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

nav {
    flex: 1;
    transition: var(--transition);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

nav a:hover {
    color: var(--primary);
}

nav a.active {
    color: var(--primary);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    background: none;
    border: none;
    z-index: 1001;
}

.btn-get-quote {
    white-space: nowrap;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 140px;
    position: relative;
    background: linear-gradient(135deg, rgba(10, 92, 54, 0.9) 0%, rgba(8, 68, 40, 0.95) 100%),
                url('https://www.biomassconnect.org/wp-content/uploads/2023/03/Pellets-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    overflow: hidden;
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 92, 54, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-chips {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.chip:nth-child(2) { animation-delay: 0.1s; }
.chip:nth-child(3) { animation-delay: 0.2s; }

.chip:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.chip-icon {
    font-size: 1.2rem;
    color: var(--secondary);
}

.chip span {
    font-weight: 500;
    color: white;
}

.hero-stats {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    z-index: 2;
}

.hero-stats .container {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-heavy);
    padding: 30px;
    display: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(255, 152, 0, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.stat-item:hover .stat-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    transform: rotateY(180deg);
}

.stat-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text {
    font-size: 1.1rem;
}

.about-highlight {
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(255, 152, 0, 0.05) 100%);
    padding: 30px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    margin-bottom: 30px;
}

.about-highlight h3 {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.founders {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.founder-card {
    flex: 1;
    min-width: 200px;
    background-color: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.founder-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.founder-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(255, 152, 0, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin: 0 auto 15px;
}

.founder-card h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.founder-card p {
    color: var(--muted);
    font-size: 0.9rem;
}

.certifications {
    background-color: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.certifications h4 {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.certifications ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.certifications li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
}

.certifications i {
    color: var(--accent);
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 580px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--secondary) 0%, #ffb347 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.product-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 30px;
}

.product-header h3 {
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 1.6rem;
}

.product-header p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 1.1rem;
}

.product-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(255, 152, 0, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary);
    padding: 20px;
    transition: var(--transition);
}

.product-card:hover .product-image {
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(255, 152, 0, 0.2) 100%);
}

.product-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-body p {
    margin-bottom: 25px;
    flex-grow: 1;
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(255, 152, 0, 0.05) 100%);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.spec-item:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(255, 152, 0, 0.1) 100%);
}

.spec-item i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.spec-item span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark);
}

.comparison-table {
    background-color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-top: 30px;
}

.comparison-table h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
    font-size: 1.8rem;
}

.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

thead {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

th {
    padding: 18px;
    text-align: left;
    font-weight: 600;
    color: white;
    font-size: 1.1rem;
}

td {
    padding: 18px;
    border-bottom: 1px solid var(--border);
    color: var(--dark);
}

tr:hover {
    background-color: var(--primary-light);
}

/* Applications */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.app-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.app-card:hover::before {
    transform: scaleX(1);
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.app-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(255, 152, 0, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}

.app-card:hover .app-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.app-card h4 {
    margin-bottom: 15px;
    color: var(--primary);
}

.app-card p {
    color: var(--muted);
    flex-grow: 1;
}

/* Quality Section */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 40px 0 60px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 0;
    display: none;
}

.process-step {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease-out both;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }
.process-step:nth-child(5) { animation-delay: 0.5s; }
.process-step:nth-child(6) { animation-delay: 0.6s; }

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 15px;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(10, 92, 54, 0.3);
}

.step-content {
    text-align: center;
    padding: 25px;
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 70%;
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.step-content h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.quality-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.quality-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 25px;
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.quality-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.quality-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(255, 152, 0, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition);
}

.quality-item:hover .quality-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    transform: rotateY(180deg);
}

.quality-item h4 {
    margin-bottom: 10px;
    color: var(--primary);
}

.quality-item p {
    color: var(--muted);
    margin-bottom: 0;
}

/* FAQs */
.faq-container {
    max-width: 900px;
    margin: 0 auto 40px;
}

.faq-item {
    margin-bottom: 15px;
    border: 2px solid transparent;
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 25px;
    background-color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    user-select: none;
    font-size: 1.1rem;
}

.faq-question:hover {
    background-color: var(--primary-light);
}

.faq-question.active {
    background: linear-gradient(135deg, var(--primary-light) 0%, transparent 100%);
    color: var(--primary);
}

.faq-icon {
    transition: var(--transition);
    color: var(--primary);
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background-color: white;
}

.faq-answer.open {
    padding: 0 25px 25px;
    max-height: 500px;
}

.faq-answer p {
    margin-bottom: 0;
    color: var(--muted);
}

.faq-cta {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(255, 152, 0, 0.05) 100%);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 40px;
}

.faq-cta h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.faq-cta p {
    color: var(--muted);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(255, 152, 0, 0.05) 100%);
    padding: 40px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.contact-item {
    position: relative;
    z-index: 1;
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    margin-bottom: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(255, 152, 0, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    transform: rotateY(180deg);
}

.contact-details {
    flex: 1;
}

.contact-item h4 {
    margin-bottom: 15px;
    color: var(--primary);
}

.contact-item p {
    color: var(--muted);
    margin-bottom: 15px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 500;
    margin-top: 10px;
    transition: var(--transition);
}

.map-link:hover {
    color: var(--secondary);
    gap: 12px;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.service-areas {
    margin-top: 20px;
    padding: 30px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.service-areas h4 {
    margin-bottom: 20px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
}

.service-areas p {
    color: var(--muted);
    margin-bottom: 20px;
}

.areas-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.area-tag {
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(255, 152, 0, 0.1) 100%);
    color: var(--primary);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
}

.area-tag:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: white;
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
}

.contact-form > p {
    color: var(--muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--dark);
    font-size: 1rem;
}

.form-group label i {
    color: var(--primary);
    font-size: 1.1rem;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--light);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(10, 92, 54, 0.1);
    background-color: white;
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230a5c36' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    padding-right: 50px;
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 8px;
    min-height: 20px;
    display: none;
}

.honey {
    display: none;
    position: absolute;
    left: -9999px;
}

.form-consent {
    margin-top: 30px;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.checkbox label {
    font-size: 0.95rem;
    color: var(--muted);
    font-weight: normal;
    cursor: pointer;
    line-height: 1.5;
}

.form-success {
    display: none;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 25px;
    border-radius: var(--radius);
    margin-top: 25px;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-success i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    color: #28a745;
}

.form-success p {
    margin-bottom: 0;
    color: #155724;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(10, 92, 54, 0.1) 0%, transparent 50%);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.footer-logo {
    margin-bottom: 20px;
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link i {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    padding: 8px 0;
}

.footer-links li a:hover {
    color: white;
    padding-left: 8px;
}

.footer-links li a i {
    color: var(--secondary);
    font-size: 0.9rem;
}

.contact-footer {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-footer p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-footer i {
    color: var(--secondary);
    margin-top: 4px;
    font-size: 1.1rem;
}

.newsletter {
    margin-top: 30px;
}

.newsletter h5 {
    color: white;
    margin-bottom: 18px;
    font-size: 1.1rem;
}

.newsletter form {
    display: flex;
    gap: 10px;
}

.newsletter input {
    flex-grow: 1;
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
}

.newsletter button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    border-radius: var(--radius);
    width: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.newsletter button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.footer-links-bottom {
    display: flex;
    gap: 25px;
}

.footer-links-bottom a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links-bottom a:hover {
    color: white;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow-heavy);
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.floating-btn:hover::before {
    transform: translateX(100%);
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.floating-btn:hover .floating-label {
    opacity: 1;
    transform: translateX(0);
}

.floating-label {
    position: absolute;
    right: 70px;
    background: var(--dark);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition);
    pointer-events: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.call-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.quote-btn {
    background: linear-gradient(135deg, var(--secondary) 0%, #ffb347 100%);
}

.scroll-top {
    background: linear-gradient(135deg, #666 0%, #333 100%);
    display: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlide 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(-60px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 25px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-header h3 {
    margin: 0;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--muted);
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--dark);
    background-color: var(--light);
}

.modal-body {
    padding: 25px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #e68900 100%);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    h1 { font-size: 2.4rem; }
    h2 { font-size: 2rem; }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quality-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: white;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    nav li {
        border-bottom: 1px solid var(--border);
    }
    
    nav a {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
    }
    
    nav a.active::after {
        display: none;
    }
    
    .btn-get-quote {
        display: none;
    }
    
    .hero {
        padding-top: 120px;
        padding-bottom: 100px;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .trust-chips {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .chip {
        justify-content: center;
    }
    
    .hero-stats {
        position: relative;
        bottom: auto;
        margin-top: 40px;
    }
    
    .hero-stats .container {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .founders {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .quality-features {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-links-bottom {
        justify-content: center;
    }
    
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .floating-label {
        display: none;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 10px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    
    .contact-form,
    .contact-info {
        padding: 25px;
    }
    
    .contact-item {
        padding: 20px;
    }
    
    .service-areas {
        padding: 20px;
    }
    
    .area-tag {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .floating-buttons,
    .mobile-toggle,
    .hero-stats,
    .btn,
    form,
    .modal,
    .loading-spinner {
        display: none !important;
    }
    
    header {
        position: static;
        box-shadow: none;
        padding: 20px 0 !important;
    }
    
    section {
        padding: 30px 0;
        break-inside: avoid;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
    
    .hero {
        background: white !important;
        color: black !important;
        padding: 40px 0 !important;
    }
    
    .hero-title {
        color: black !important;
    }
    
    .hero-subtitle {
        color: #666 !important;
    }
}
/* ======================
   NEW HERO SECTION STYLES
   ====================== */

/* Hero Grid Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

/* Hero Content Left Side */
.hero-content {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Features List */
.hero-features {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.feature-item:nth-child(1) { animation-delay: 0.2s; }
.feature-item:nth-child(2) { animation-delay: 0.4s; }
.feature-item:nth-child(3) { animation-delay: 0.6s; }
.feature-item:nth-child(4) { animation-delay: 0.8s; }

.feature-item i {
    color: var(--secondary);
    font-size: 1.2rem;
}

/* Hero Image Right Side */
.hero-image {
    position: relative;
    animation: slideInRight 1s ease-out 0.3s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.image-container:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.image-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating-card {
    position: absolute;
    background: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary);
    z-index: 2;
}

.floating-card i {
    color: var(--secondary);
    font-size: 1.3rem;
}

.floating-1 {
    bottom: 30px;
    left: 20px;
    animation: float 4s ease-in-out infinite 0.5s;
}

.floating-2 {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    animation: float 3.5s ease-in-out infinite;
}

/* Hero Stats Counter */
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

/* Responsive Design for New Hero */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-features {
        justify-content: center;
        max-width: 400px;
        margin: 40px auto 0;
    }
    
    .image-container {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-features {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .floating-card {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .image-badge {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-img {
        height: 300px;
    }
    
    .floating-card {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
    
    .floating-card i {
        font-size: 1.1rem;
    }
    
    .image-badge {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .hero-features {
        gap: 10px;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
}




/* ======================
   ADMIN PANEL STYLES
   ====================== */

/* Admin Panel Container */
.admin-panel {
    background: #f8f9fa;
    padding: 30px 0;
    min-height: 100vh;
    position: relative;
    z-index: 10000;
}

.admin-panel.active {
    display: block !important;
}

/* Admin Header */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 20px 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-logo i {
    font-size: 2rem;
    color: var(--primary);
}

.admin-logo h2 {
    margin: 0;
    color: var(--primary);
}

.admin-controls {
    display: flex;
    gap: 15px;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

/* Admin Tabs */
.admin-tabs {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.tab-buttons {
    display: flex;
    background: var(--primary-light);
    padding: 0;
    flex-wrap: wrap;
}

.tab-btn {
    flex: 1;
    min-width: 150px;
    padding: 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    color: var(--dark);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
}

.tab-btn:hover {
    background: rgba(255,255,255,0.5);
    color: var(--primary);
}

.tab-btn.active {
    background: white;
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
}

.tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(255,152,0,0.1) 100%);
    padding: 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.stat-info h3 {
    margin: 0;
    font-size: 2rem;
    color: var(--primary);
}

.stat-info p {
    margin: 5px 0 0;
    color: var(--muted);
}

/* Quick Actions */
.admin-quick-actions {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid var(--border);
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.action-btn {
    background: var(--light);
    border: 2px solid var(--border);
    padding: 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.action-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.action-btn i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Form Sections */
.form-section {
    background: var(--light);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    border: 1px solid var(--border);
}

.form-section h4 {
    margin-bottom: 20px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.9rem;
}

/* Image Upload */
.image-upload {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.current-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.current-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.upload-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.image-presets {
    grid-column: 1 / -1;
}

.preset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.preset-image {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    border: 2px solid transparent;
}

.preset-image:hover {
    transform: scale(1.05);
    border-color: var(--primary);
}

.preset-image img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.status-badge.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-badge.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-badge.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Cache Controls */
.cache-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.cache-info,
.cache-actions,
.cache-settings {
    background: var(--light);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.status-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.status-item:last-child {
    border-bottom: none;
}

/* Checkbox Styling */
.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox input {
    width: auto;
}

/* Analytics Widgets */
.analytics-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.widget {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
}

.widget h4 {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.metric {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin: 20px 0;
}

.page-list {
    list-style: none;
}

.page-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.page-list li:last-child {
    border-bottom: none;
}

/* Admin Footer */
.admin-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--muted);
}

.last-login {
    font-size: 0.9rem;
    color: var(--muted-light);
}

/* Modal for Admin */
.admin-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

.admin-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
    text-align: right;
}

/* Responsive Admin Panel */
@media (max-width: 768px) {
    .admin-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-btn {
        min-width: 100%;
        justify-content: flex-start;
        padding: 15px 20px;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .image-upload {
        grid-template-columns: 1fr;
    }
    
    .cache-controls {
        grid-template-columns: 1fr;
    }
    
    .admin-controls {
        flex-direction: column;
        width: 100%;
    }
    
    .admin-controls .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .tab-content {
        padding: 20px 15px;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
}

/* Admin Access Button (Hidden by default) */
.admin-access-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    opacity: 0.3;
    transition: opacity 0.3s;
}

.admin-access-btn:hover {
    opacity: 1;
}