/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Updated to match shafone.id blue tone */
    --primary-color: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #f0f9ff;
    --accent-color: #0ea5e9;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(30, 64, 175, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(30, 64, 175, 0.1), 0 2px 4px -1px rgba(30, 64, 175, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(30, 64, 175, 0.1), 0 4px 6px -2px rgba(30, 64, 175, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(30, 64, 175, 0.1), 0 10px 10px -5px rgba(30, 64, 175, 0.04);
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    text-decoration: none;
    border-radius: var(--radius-md);
    z-index: 1000;
    transition: var(--transition-fast);
}

.skip-link:focus {
    top: 6px;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

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

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-xl);
    }
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    transition: var(--transition-normal);
}

.navbar {
    padding: var(--spacing-md) 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    cursor: default;
    text-decoration: none;
}

.logo h1 {
    font-size: var(--font-size-2xl);
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    font-weight: 500;
    display: block;
    margin-top: -2px;
}

.navbar-nav {
    display: none;
    list-style: none;
    gap: var(--spacing-xl);
}

.navbar-nav a {
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.navbar-nav a:hover {
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition-fast);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
@media (max-width: 767px) {
    .navbar-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
    }
    
    .navbar-nav[aria-expanded="false"] {
        display: none;
    }
    
    .navbar-nav[aria-expanded="true"] {
        display: flex;
    }
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .navbar-nav {
        display: flex;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: var(--transition-fast);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: var(--font-size-base);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Sections */
section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--light-gray) 100%);
    padding-top: calc(80px + var(--spacing-3xl));
    padding-bottom: var(--spacing-3xl);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Hero Full Slider */
.hero-full-slider {
    background: none;
    padding: 0;
    min-height: 100vh;
    display: block;
}

.hero-full-slider .hero-slider {
    height: 100vh;
    width: 100%;
}

.hero-full-slider .slider-container {
    height: 100%;
}

/* Mobile Hero Full Slider */
@media (max-width: 767px) {
    .hero-full-slider {
        padding-top: 60px;
        min-height: auto;
    }
    
    .hero-full-slider .hero-slider {
        height: auto;
        min-height: 200px;
    }
}

.hero-full-slider .slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Content Section */
.hero-content-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--light-gray) 100%);
    padding: var(--spacing-xl) 0;
    position: relative;
}

/* Mobile Hero Content Section */
@media (max-width: 767px) {
    .hero-content-section {
        padding: var(--spacing-lg) 0;
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

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

.hero-content-section .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-content-section .hero-content .hero-actions {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 500px;
}

.hero-content-section .hero-content .hero-actions .btn {
    flex: 1;
    min-width: 200px;
    max-width: 220px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.hero-title {
    font-size: var(--font-size-4xl);
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

/* Tablet responsive images */
@media (max-width: 1024px) and (min-width: 768px) {
    .slider-image.desktop {
        display: none;
    }
    
    .slider-image.tablet {
        display: block;
    }
    
    .slider-image.mobile {
        display: none;
    }
}

/* Mobile responsive images */
@media (max-width: 767px) {
    .slider-image.desktop,
    .slider-image.tablet {
        display: none;
    }
    
    .slider-image.mobile {
        display: block;
    }
}

.slider-slide.active {
    opacity: 1;
}

/* Responsive slider images */
.slider-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Show only desktop image by default */
.slider-image.desktop {
    display: block;
}

.slider-image.tablet,
.slider-image.mobile {
    display: none;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 var(--spacing-lg);
    pointer-events: none;
}

.slider-btn {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: var(--font-size-2xl);
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition-fast);
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.slider-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.slider-btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.slider-dots {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.dot:hover {
    background-color: var(--accent-color);
}

.dot:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Fallback for hero-image if slider is not supported */
.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* Mobile Slider Adjustments */
@media (max-width: 767px) {
    .slider-container {
        height: 180px;
        background-color: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-full-slider .slider-container {
        height: 180px;
        background-color: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Make slider images responsive without cropping on mobile */
    .slider-image {
        width: 100%;
        height: 100%;
        object-fit: contain !important;
        object-position: center;
        background-color: #f8f9fa;
        padding: var(--spacing-sm);
        border-radius: var(--radius-lg);
    }
    
    /* Ensure slider container accommodates full image */
    .slider-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f8f9fa;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-xl);
    }
    
    .slider-controls {
        padding: 0 var(--spacing-md);
    }
    
    .slider-dots {
        bottom: var(--spacing-md);
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

/* Small Mobile Landscape Adjustments */
@media (max-width: 480px) {
    .hero-full-slider {
        padding-top: 50px;
    }
    
    .slider-container {
        height: 160px;
    }
    
    .hero-full-slider .slider-container {
        height: 160px;
    }
    
    .slider-image {
        padding: var(--spacing-xs);
    }
    
    .hero-content-section {
        padding: var(--spacing-md) 0;
    }
}

/* Tablet Slider Adjustments */
@media (max-width: 1024px) and (min-width: 768px) {
    .hero-full-slider {
        padding-top: 60px;
        min-height: auto;
    }
    
    .hero-full-slider .hero-slider {
        height: auto;
        min-height: 220px;
    }
    
    .slider-container {
        height: 220px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-full-slider .slider-container {
        height: 220px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .slider-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-full-slider .slider-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Tablet images */
    .slider-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
}

@media (max-width: 767px) {
    .hero-content-section .hero-content .hero-actions {
        flex-direction: column;
        gap: var(--spacing-md);
        max-width: 100%;
    }
    
    .hero-content-section .hero-content .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        min-width: auto;
    }
}

@media (min-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-content {
        text-align: left;
    }
    
    .hero-actions {
        justify-content: flex-start;
    }
    
    .slider-container {
        height: 500px;
    }
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

/* About Columns Layout */
.about-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.about-left {
    /* Left column - Company info */
    flex: 1;
}

.about-right {
    /* Right column - Target customers */
    flex: 1;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-3xl);
    }
    
    .about-left {
        padding-right: var(--spacing-xl);
    }
    
    .about-right {
        padding-left: var(--spacing-xl);
    }
}

/* Company Header Styles */
.company-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--light-gray) 100%);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
}

/* Compact header in desktop two-column layout */
@media (min-width: 768px) {
    .company-header {
        padding: var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
    }
    
    .company-header h3 {
        font-size: var(--font-size-2xl);
        margin-bottom: var(--spacing-sm);
    }
    
    .company-subtitle {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-md);
    }
    
    .experience-badge {
        padding: var(--spacing-sm) var(--spacing-lg);
    }
    
    .experience-number {
        font-size: var(--font-size-3xl);
    }
    
    .experience-text {
        font-size: var(--font-size-sm);
    }
}

.company-header h3 {
    color: var(--primary-color);
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-sm);
}

.company-subtitle {
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
}

.experience-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-md);
    background-color: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.experience-number {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    line-height: 1;
}

.experience-text {
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-align: left;
    line-height: 1.3;
}

/* Company Description */
.company-description {
    margin-bottom: var(--spacing-2xl);
    text-align: center;
}

.company-description p {
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    max-width: 800px;
    margin: 0 auto;
}

/* Target Customers Section */
.target-customers {
    margin-bottom: 0;
}

.target-customers h4 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-xl);
}

@media (min-width: 768px) {
    .target-customers h4 {
        font-size: var(--font-size-xl);
        margin-bottom: var(--spacing-lg);
    }
}

.customer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

/* Customer grid stays single column in right column */
@media (min-width: 768px) {
    .customer-grid {
        grid-template-columns: 1fr;
    }
}

.customer-card {
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    transition: var(--transition-normal);
    text-align: center;
}

@media (min-width: 768px) {
    .customer-card {
        padding: var(--spacing-md);
    }
}

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

.customer-icon {
    font-size: var(--font-size-2xl);
    margin-right: var(--spacing-sm);
    display: inline-block;
    vertical-align: middle;
}

.customer-card h5 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-xl);
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}

.customer-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    gap: var(--spacing-sm);
}

.customer-card p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Quality Commitment Section */
.quality-commitment {
    margin-bottom: var(--spacing-2xl);
}

.quality-commitment h4 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    font-size: var(--font-size-2xl);
}

.quality-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.quality-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    background-color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    transition: var(--transition-normal);
}

.quality-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.quality-icon {
    font-size: var(--font-size-3xl);
    flex-shrink: 0;
}

.quality-text strong {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.quality-text p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Company Features Section - Moved to Bottom */
.company-features-section {
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-2xl);
    border-top: 2px solid var(--border-color);
}

.company-features-section h4 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    font-size: var(--font-size-2xl);
}

/* Responsive Design for About Section */
@media (min-width: 768px) {
    .customer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quality-features {
        grid-template-columns: 1fr;
    }
    
    .experience-badge {
        gap: var(--spacing-lg);
        padding: var(--spacing-lg) var(--spacing-2xl);
    }
    
    .experience-number {
        font-size: var(--font-size-5xl);
    }
    
    .experience-text {
        font-size: var(--font-size-base);
    }
}

@media (min-width: 1024px) {
    .customer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quality-features {
        grid-template-columns: 1fr;
    }
    
    .quality-item {
        padding: var(--spacing-2xl);
    }
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

.feature {
    text-align: center;
    padding: var(--spacing-xl);
    background-color: var(--light-gray);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-md);
}

.feature h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

/* Mobile Download Section */
@media (max-width: 767px) {
    .company-profile-download {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
    }
    
    .download-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .btn-download {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Products Section */
.products {
    background-color: var(--light-gray);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

.product-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

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

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-normal);
}

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

.product-content {
    padding: var(--spacing-xl);
}

.product-name {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.product-features {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.feature-tag {
    background-color: var(--accent-color);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Features Section */
.features {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

.feature-item {
    text-align: center;
    padding: var(--spacing-xl);
    background-color: var(--light-gray);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-item .feature-icon {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-md);
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Contact Section */
.contact {
    background-color: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-3xl);
}

/* Contact Map - Full Width Compact */
.contact-map-full {
    width: 100%;
    margin-bottom: var(--spacing-3xl);
}

.map-container-compact {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container-compact iframe {
    border-radius: var(--radius-lg);
}

/* Contact Info Column */
.contact-info-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    font-size: var(--font-size-2xl);
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.contact-details a {
    color: var(--primary-color);
    font-weight: 500;
}

.social-media {
    text-align: center;
}

.social-media h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.social-links {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    font-weight: 500;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
        align-items: start;
        gap: var(--spacing-3xl);
    }
    
    .contact-info-column {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .contact-form-container {
        margin-top: 0;
    }
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

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

.footer-section li {
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--spacing-xl);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-sm);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 2fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: var(--font-size-xl);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 50;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Print Styles */
@media print {
    .header,
    .mobile-menu-toggle,
    .scroll-top,
    .social-links {
        display: none !important;
    }
    
    .hero {
        padding-top: var(--spacing-xl);
    }
    
    .section-title {
        page-break-after: avoid;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --text-primary: #000000;
        --text-secondary: #000000;
    }
}

/* Contact Form Styles */
.contact-form-container {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl);
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form-container h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.contact-form {
    display: grid;
    gap: var(--spacing-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.form-group input,
.form-group textarea {
    padding: var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    transition: var(--transition-fast);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.1);
}

.form-group small {
    color: var(--text-light);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-xs);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Messages */
.form-message {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
    text-align: center;
}

.form-message-success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-message-error {
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.form-message-info {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* Keyboard Navigation Styles */
.keyboard-navigation *:focus {
    outline: 2px solid var(--accent-color) !important;
    outline-offset: 2px !important;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    color: var(--white);
    font-weight: 500;
    z-index: 1000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}

.notification-success {
    background-color: #10b981;
}

.notification-error {
    background-color: #ef4444;
}

.notification-warning {
    background-color: #f59e0b;
}

.notification-info {
    background-color: var(--primary-color);
}

/* WhatsApp Button Enhancement */
.btn-whatsapp {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.btn-whatsapp:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp .whatsapp-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* WhatsApp Icon Styles for different contexts */
.whatsapp-link .whatsapp-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.whatsapp-float .whatsapp-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.feature-icon .whatsapp-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

/* Ensure WhatsApp icons display original colors */
.whatsapp-icon {
    filter: none !important;
    color: inherit !important;
    background: none !important;
    border: none !important;
}

/* Override any potential color inheritance */
.btn-whatsapp .whatsapp-icon,
.whatsapp-link .whatsapp-icon,
.whatsapp-float .whatsapp-icon,
.feature-icon .whatsapp-icon {
    filter: none !important;
    color: unset !important;
    background: none !important;
}

/* WhatsApp Link in Contact Section */
.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    margin-top: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    background-color: rgba(30, 64, 175, 0.1);
    border: 1px solid rgba(30, 64, 175, 0.2);
}

.whatsapp-link:hover {
    background-color: rgba(30, 64, 175, 0.1);
    color: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.whatsapp-link .whatsapp-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* WhatsApp Button in Hero Section */
.btn-whatsapp {
    position: relative;
    overflow: hidden;
}

.btn-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-normal);
}

.btn-whatsapp:hover::before {
    left: 100%;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: var(--spacing-xl);
    left: var(--spacing-xl);
    background-color: var(--primary-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    transition: var(--transition-normal);
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    background-color: var(--primary-light);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
}

.whatsapp-float .whatsapp-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-bottom: 2px;
}

.whatsapp-float .whatsapp-text {
    font-size: var(--font-size-xs);
    font-weight: 600;
    line-height: 1;
}

.whatsapp-float:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* WhatsApp Float Responsive */
@media (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: var(--spacing-lg);
        left: var(--spacing-lg);
    }
    
    .whatsapp-float .whatsapp-icon {
        width: 18px;
        height: 18px;
    }
    
    .whatsapp-float .whatsapp-text {
        font-size: 10px;
    }
}

/* Company Profile Download Section */
.company-profile-download {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--light-gray) 100%);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    transition: var(--transition-normal);
}

@media (min-width: 768px) {
    .company-profile-download {
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
        margin-top: var(--spacing-md);
    }
    
    .company-profile-download .download-content {
        flex: 1;
    }
    
    .company-profile-download .download-info h4 {
        font-size: var(--font-size-lg);
        margin-bottom: var(--spacing-xs);
    }
    
    .company-profile-download .download-info p {
        font-size: var(--font-size-sm);
        margin: 0;
    }
    
    .company-profile-download .btn-download {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-sm);
        white-space: nowrap;
    }
}

.company-profile-download:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.download-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex: 1;
}

.download-content .download-icon {
    font-size: var(--font-size-4xl);
    flex-shrink: 0;
}

.download-info h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-lg);
}

.download-info p {
    color: var(--text-secondary);
    margin: 0;
    font-size: var(--font-size-sm);
}

/* Download Button */
.btn-download {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    border: none;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-normal);
}

.btn-download:hover::before {
    left: 100%;
}

.btn-download:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-color) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-download:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.btn-download .download-icon {
    font-size: var(--font-size-lg);
    animation: bounce 2s infinite;
}

.btn-download.downloading {
    background: linear-gradient(135deg, var(--accent-color) 0%, #f39c12 100%);
    transform: scale(0.95);
}

.btn-download.downloading .download-icon {
    animation: none;
    transform: scale(1.2);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* Product Card Hover Effects */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 1;
}

.product-card:hover::before {
    opacity: 1;
}

.product-content {
    position: relative;
    z-index: 2;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Mobile Menu */
@media (max-width: 767px) {
    .navbar-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        box-shadow: var(--shadow-xl);
        flex-direction: column;
        padding: var(--spacing-3xl) var(--spacing-lg);
        gap: var(--spacing-lg);
        transition: left var(--transition-normal);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .navbar-nav[aria-expanded="true"] {
        left: 0;
    }
    
    .navbar-nav a {
        font-size: var(--font-size-lg);
        padding: var(--spacing-md);
        border-radius: var(--radius-md);
        transition: var(--transition-fast);
    }
    
    .navbar-nav a:hover {
        background-color: var(--light-gray);
    }
    
    /* Overlay for mobile menu */
    .navbar-nav::before {
        content: '';
        position: fixed;
        top: 0;
        right: -20%;
        width: 20%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }
}

/* Improved Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Enhanced Focus States */
.btn:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Print Styles Enhancement */
@media print {
    .contact-form-container,
    .social-links,
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .hero {
        padding-top: var(--spacing-xl);
        background: none !important;
    }
    
    .section-title {
        page-break-after: avoid;
        color: var(--text-primary) !important;
    }
    
    .product-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid var(--border-color);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-image img {
        transform: none !important;
    }
    
    .product-card:hover,
    .feature:hover,
    .feature-item:hover {
        transform: none !important;
    }
}

/* Force Blue Theme - Override any remaining green colors */
.footer {
    background-color: var(--primary-color) !important;
}

.btn-primary,
.btn-whatsapp,
.whatsapp-float {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover,
.btn-whatsapp:hover,
.whatsapp-float:hover {
    background-color: var(--primary-light) !important;
    border-color: var(--primary-light) !important;
}

.btn-download {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%) !important;
}

.btn-download:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-color) 100%) !important;
}
