/* ============================================
   شركة محمد فهد العلي وشركاؤه - Corporate Website Styles
   ============================================ */

:root {
    --primary: #1B5E20;
    --primary-light: #2E7D32;
    --primary-dark: #0D3B12;
    --accent: #C8A951;
    --accent-light: #D4BC6A;
    --dark: #0A1628;
    --dark-light: #152238;
    --gray-900: #1A1A2E;
    --gray-700: #4A4A68;
    --gray-500: #7A7A96;
    --gray-300: #C4C4D4;
    --gray-100: #F0F0F5;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-gold: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 40px rgba(27, 94, 32, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Tajawal', sans-serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

body.loaded {
    overflow-y: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(27, 94, 32, 0.1);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 16px;
}

.section-title .highlight {
    color: var(--primary);
}

.section-desc {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 600px;
}

.section-header.center {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.center .section-desc {
    margin: 0 auto;
}

.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(27, 94, 32, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27, 94, 32, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Preloader */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    margin-bottom: 24px;
    animation: pulse 1.5s ease-in-out infinite;
}

.preloader-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 50%;
    display: block;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.preloader-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--gradient-gold);
    animation: loading 1.5s ease-in-out forwards;
}

@keyframes loading {
    to { width: 100%; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.header.scrolled .nav-link {
    color: var(--gray-700);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--primary);
}

.header.scrolled .logo-text {
    color: var(--dark);
}

.header.scrolled .nav-toggle span {
    background: var(--dark);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 50%;
    flex-shrink: 0;
    transition: var(--transition);
}

.nav-logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-size: 17px;
    font-weight: 500;
    color: var(--white);
    transition: var(--transition);
    line-height: 1.3;
    max-width: 220px;
}

.logo-text strong {
    font-weight: 800;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    padding: 10px 18px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-cta {
    padding: 12px 24px;
    background: var(--gradient-gold);
    color: var(--dark);
    font-weight: 700;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(200, 169, 81, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-dark);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(27, 94, 32, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(200, 169, 81, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(27, 94, 32, 0.2) 0%, transparent 40%);
}

.hero-pattern::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--white);
}

.stat-suffix {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 20px; opacity: 0.3; }
}

/* About */
.about {
    background: var(--gray-100);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-main {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 60px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img-placeholder {
    width: 120px;
    height: 120px;
    color: rgba(255, 255, 255, 0.3);
}

.about-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.about-float-card.card-1 {
    top: 20px;
    right: -20px;
}

.about-float-card.card-2 {
    bottom: 40px;
    left: -30px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-icon svg {
    width: 24px;
    height: 24px;
}

.float-icon.green {
    background: rgba(27, 94, 32, 0.1);
    color: var(--primary);
}

.float-icon.gold {
    background: rgba(200, 169, 81, 0.15);
    color: var(--accent);
}

.about-float-card strong {
    display: block;
    font-size: 18px;
    color: var(--dark);
}

.about-float-card span {
    font-size: 13px;
    color: var(--gray-500);
}

.about-text {
    margin-bottom: 16px;
    font-size: 17px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(-8px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(27, 94, 32, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 14px;
    color: var(--gray-500);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 36px 28px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card.featured {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

.service-card.featured h3,
.service-card.featured p {
    color: var(--white);
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.service-card.featured .service-link {
    color: var(--accent-light);
}

.service-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 4px 12px;
    background: var(--accent);
    color: var(--dark);
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(27, 94, 32, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
}

/* Products */
.products {
    background: var(--gray-100);
}

.products-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 10px 24px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 50px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-card.hidden {
    display: none;
}

.product-img {
    padding: 40px;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon svg {
    width: 40px;
    height: 40px;
}

.product-icon.dairy { background: rgba(33, 150, 243, 0.1); color: #2196F3; }
.product-icon.meat { background: rgba(244, 67, 54, 0.1); color: #F44336; }
.product-icon.grains { background: rgba(255, 152, 0, 0.1); color: #FF9800; }
.product-icon.oils { background: rgba(255, 193, 7, 0.15); color: #FFC107; }
.product-icon.beverages { background: rgba(156, 39, 176, 0.1); color: #9C27B0; }

.product-info {
    padding: 24px;
}

.product-cat {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin: 8px 0;
}

.product-info p {
    font-size: 14px;
    color: var(--gray-500);
}

/* Offers */
.offers {
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-100) 100%);
}

.nav-link-offers {
    position: relative;
}

.nav-link-offers::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 7px;
    height: 7px;
    background: #E53935;
    border-radius: 50%;
}

.offers-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.offers-filter-btn {
    padding: 10px 24px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 50px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
}

.offers-filter-btn:hover,
.offers-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.offer-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(27, 94, 32, 0.08);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    animation: fadeIn 0.5s ease both;
}

.offer-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.offer-card-pdf .offer-body {
    padding: 24px;
}

.offer-pdf-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 36px 24px;
    background: linear-gradient(135deg, #FFEBEE 0%, #FFCDD2 100%);
    color: #C62828;
}

.offer-pdf-preview svg {
    width: 48px;
    height: 48px;
}

.offer-pdf-preview span {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}

.offer-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.offer-btn-outline {
    background: transparent !important;
    border: 2px solid var(--primary);
    color: var(--primary) !important;
}

.offer-btn-outline:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
}

.offer-card-pdf .offer-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
}

.offer-card-pdf .offer-desc {
    min-height: auto;
}

.view-pdf {
    border: none;
    cursor: pointer;
    font-family: var(--font);
}

/* PDF Modal */
.pdf-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.pdf-modal.active {
    opacity: 1;
    visibility: visible;
}

.pdf-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(4px);
}

.pdf-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 85vh;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.pdf-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-300);
}

.pdf-modal-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
}

.pdf-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--white);
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: var(--gray-700);
    transition: var(--transition);
}

.pdf-modal-close:hover {
    background: #FFEBEE;
    color: #C62828;
}

#pdfViewer {
    flex: 1;
    width: 100%;
    border: none;
}

.offer-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
    z-index: 1;
}

.offer-badge.hot {
    background: #FFEBEE;
    color: #C62828;
}

.offer-badge.new {
    background: #E8F5E9;
    color: var(--primary);
}

.offer-badge.limited {
    background: #FFF8E1;
    color: #F57F17;
}

.offer-discount {
    padding: 28px 24px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.offer-body {
    padding: 24px;
}

.offer-branch {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(27, 94, 32, 0.08);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 12px;
}

.offer-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.offer-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
    min-height: 72px;
}

.offer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.offer-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--gray-500);
}

.offer-date svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.offer-btn {
    padding: 8px 16px;
    background: rgba(27, 94, 32, 0.1);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}

.offer-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.offers-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-500);
}

.offers-empty.hidden {
    display: none;
}

.offers-empty svg {
    width: 48px;
    height: 48px;
    color: var(--gray-300);
    margin-bottom: 16px;
}

.offers-empty p {
    font-size: 16px;
}

.hidden {
    display: none !important;
}

/* Stats Banner */
.stats-banner {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stats-item {
    color: var(--white);
}

.stats-num {
    font-size: 48px;
    font-weight: 900;
}

.stats-plus {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-light);
}

.stats-text {
    display: block;
    font-size: 16px;
    opacity: 0.85;
    margin-top: 8px;
}

/* Why Us */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.why-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.why-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.why-num {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
}

.why-item h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.why-item p {
    font-size: 14px;
    color: var(--gray-500);
}

.why-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.why-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 24px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.why-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.why-card svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.why-card span {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

/* Branches */
.branches {
    background: var(--gray-100);
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.branch-card {
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.branch-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: var(--transition);
}

.branch-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.branch-card:hover::before {
    transform: scaleY(1);
}

.branch-city {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.branch-card p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.branch-count {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(27, 94, 32, 0.1);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
}

/* CTA */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px;
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(200, 169, 81, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-desc {
    margin-bottom: 32px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: rgba(27, 94, 32, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 14px;
    color: var(--gray-500);
}

.contact-form {
    padding: 40px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font);
    font-size: 15px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 80px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 24px;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
}

.footer-logo-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 50%;
    flex-shrink: 0;
}

.footer-logo strong {
    font-weight: 800;
}

.footer-brand p {
    margin: 16px 0 24px;
    font-size: 14px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* AOS Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-grid,
    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .services-grid,
    .products-grid,
    .branches-grid,
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .logo-text {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 0;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        color: var(--gray-700);
        width: 100%;
        padding: 16px 0;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        width: 50px;
        height: 1px;
    }

    .services-grid,
    .products-grid,
    .branches-grid,
    .offers-grid {
        grid-template-columns: 1fr;
    }

    .offer-actions {
        width: 100%;
    }

    .offer-actions .offer-btn {
        flex: 1;
        text-align: center;
        justify-content: center;
    }

    .pdf-modal-content {
        height: 90vh;
    }

    .why-cards {
        grid-template-columns: 1fr;
    }

    .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .section {
        padding: 60px 0;
    }

    .hero-scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .about-float-card {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        margin-top: 16px;
    }

    .about-float-card.card-2 {
        left: auto;
    }
}
