/* EME SOLAR Website Styles */

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

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

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

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

/* Logo Animation Keyframes */
@keyframes logoGlow {
    0%, 100% {
        filter: contrast(1.1) drop-shadow(0 0 5px rgba(30, 58, 138, 0.2));
    }
    50% {
        filter: contrast(1.3) brightness(1.1) drop-shadow(0 0 15px rgba(30, 58, 138, 0.4));
    }
}

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

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

@keyframes logoBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes logoShake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-2px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(2px);
    }
}

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

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-180deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes logoSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes logoTextGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(30, 58, 138, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(30, 58, 138, 0.6), 0 0 30px rgba(59, 130, 246, 0.4);
    }
}

/* Special Logo Animation Classes */
.logo-spin {
    animation: logoSpin 1s ease-in-out !important;
}

.logo-bounce {
    animation: logoBounce 0.8s ease-in-out !important;
}

.logo-shake {
    animation: logoShake 0.5s ease-in-out !important;
}

.logo-scale {
    animation: logoScale 0.6s ease-in-out !important;
}

.logo-glow {
    animation: logoGlow 2s ease-in-out infinite !important;
}

.logo-float {
    animation: logoFloat 2s ease-in-out infinite !important;
}

/* Simple Logo Hover Effect */
.nav-logo {
    cursor: pointer;
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

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

body {
    font-family: 'Noto Sans', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    background: transparent;
    mix-blend-mode: multiply;
    filter: contrast(1.1);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.logo-img:hover {
    transform: scale(1.1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1e3a8a;
    font-family: 'Bahnschrift SemiBold Condensed', 'Bahnschrift', sans-serif;
    transition: transform 0.3s ease;
    position: relative;
}

.logo-text:hover {
    transform: scale(1.05);
}

.energy-text {
    color: #1e3a8a;
    font-family: 'MingLiU_HKSCS-ExtB', 'MingLiU', serif;
    font-weight: 900;
    font-size: 1.8rem;
}

.nergy-text {
    color: #dc2626;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover {
    color: #1e3a8a;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Parallax and Scroll Effects */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Progress Indicator */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
    z-index: 9999;
    transition: width 0.3s ease;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-icon {
    margin-bottom: 20px;
    text-align: center;
}

.hero-icon-img {
    width: 80px;
    height: 80px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    min-width: 150px;
    text-align: center;
}

.btn-primary {
    background: #1e3a8a;
    color: white;
}

.btn-primary:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1e3a8a;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

.btn-email {
    background: #ea4335;
    color: white;
}

.btn-email:hover {
    background: #d32f2f;
    transform: translateY(-2px);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 3;
}

.slider-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* Highlights Section */
.highlights-section {
    padding: 80px 0;
    background: #f8fafc;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.highlight-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Micro-interactions */
.highlight-card {
    animation: fadeInUp 0.6s ease-out;
}

.highlight-card:nth-child(2) {
    animation-delay: 0.2s;
}

.highlight-card:nth-child(3) {
    animation-delay: 0.4s;
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 30px;
}

.highlight-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1e3a8a;
}

.cta-section {
    text-align: center;
    background: white;
    padding: 60px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #1e3a8a;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Section */
.about-section {
    padding: 100px 0;
    position: relative;
    background: white;
}

.about-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/solar panel background.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

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

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 60px;
    color: #1e3a8a;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1e3a8a;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(30, 58, 138, 0.1);
    border-radius: 15px;
    border-left: 5px solid #1e3a8a;
}

.stat-item h4 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.stat-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: #f8fafc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transform-origin: center center;
}

.stat-image:hover {
    transform: scale(2.0);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    position: relative;
    max-width: 100vw;
    max-height: 100vh;
    object-fit: contain;
}

.stat-item p {
    font-size: 1.1rem;
    color: #666;
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vision, .mission {
    padding: 40px;
    background: rgba(30, 58, 138, 0.05);
    border-radius: 15px;
    border-left: 5px solid #1e3a8a;
}

.vision h3, .mission h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1e3a8a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vision p, .mission p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card {
    animation: slideInLeft 0.8s ease-out;
}

.service-card:nth-child(2) {
    animation-delay: 0.1s;
}

.service-card:nth-child(3) {
    animation-delay: 0.2s;
}

.service-card:nth-child(4) {
    animation-delay: 0.3s;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 30px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1e3a8a;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #3b82f6;
}

/* Products Section */
.products-section {
    padding: 100px 0;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
    color: #1e3a8a;
}

.product-card p {
    padding: 0 20px 20px;
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e3a8a;
}

.contact-info {
    padding: 40px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #1e3a8a;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 24px;
    color: #1e3a8a;
    width: 50px;
    text-align: center;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #1e3a8a;
}

.contact-item p {
    color: #666;
}

/* Footer */
.footer {
    background: #1e3a8a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #fbbf24;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fbbf24;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
    color: #cbd5e1;
}

.footer-bottom a {
    color: #fbbf24;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #f59e0b;
    text-decoration: underline;
}

/* WhatsApp Fixed Button */
.whatsapp-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: none;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* Enhanced Mobile Touch Targets */
.btn, .nav-link, .slider-btn, .dot {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Swipe Gestures for Mobile */
.swipe-container {
    overflow: hidden;
    position: relative;
}

.swipe-area {
    touch-action: pan-y pinch-zoom;
    user-select: none;
}

/* Mobile Loading Optimizations */
@media (max-width: 768px) {
    .hero-slider {
        will-change: transform;
    }
    
    .product-image img {
        loading: lazy;
    }
    
    .stat-image {
        loading: lazy;
    }
    
    /* Mobile Performance Optimizations */
    * {
        animation-duration: 0.3s !important;
        transition-duration: 0.3s !important;
    }
    
    /* Optimize images for mobile */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    /* Improve touch targets */
    .btn, .nav-link, .slider-btn, .dot {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 20px;
    }
    
    /* Better mobile navigation */
    .nav-toggle {
        padding: 10px;
        margin: 5px;
    }
    
    /* Optimize text for mobile reading */
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    /* Improve form elements for mobile */
    input, textarea, select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px;
        border-radius: 8px;
    }
    
    /* Better mobile spacing */
    .container {
        padding: 0 15px;
    }
    
    /* Optimize mobile loading */
    .skeleton {
        animation-duration: 1s;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-icon-img {
        width: 60px;
        height: 60px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .vision-mission {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .prev-btn, .next-btn {
        display: none;
    }

    .whatsapp-fixed {
        display: block;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-icon-img {
        width: 50px;
        height: 50px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 14px;
        min-width: 120px;
    }

    .section-title {
        font-size: 2rem;
    }

    .highlight-card,
    .service-card {
        padding: 30px 20px;
    }

    .contact-form,
    .contact-info {
        padding: 30px 20px;
    }
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s ease;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
}

#modalImage {
    max-width: 95%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(1.2);
}

#modalTitle {
    color: white;
    margin-top: 20px;
    font-size: 1.5rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Product Image Cursor */
.product-img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

/* Catalog Section */
/* Enhanced Catalog Section */
.catalog-section {
    margin-top: 80px;
    padding: 60px 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.catalog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    pointer-events: none;
}

.catalog-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.catalog-header h3 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 700;
}

.catalog-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Catalog Preview Cards */
.catalog-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.catalog-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.catalog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.catalog-cover {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.catalog-cover::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

.catalog-cover i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.catalog-cover h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.catalog-info {
    padding: 25px 20px;
}

.catalog-info p {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.catalog-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.catalog-actions .btn {
    flex: 1;
    min-width: 120px;
    padding: 10px 15px;
    font-size: 0.9rem;
}

/* Interactive PDF Viewer */
.pdf-viewer-section {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.pdf-viewer-section.active {
    display: block;
}

.pdf-viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.pdf-viewer-header h4 {
    color: white;
    margin: 0;
    font-size: 1.3rem;
}

.close-pdf-viewer {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-pdf-viewer:hover {
    background: rgba(255, 255, 255, 0.1);
}

.pdf-viewer-container {
    height: calc(100% - 80px);
    padding: 20px;
}

#pdfViewer {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: white;
}

/* Request Catalog Form */
.catalog-request-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.request-form-container h4 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 10px;
    text-align: center;
}

.request-form-container p {
    color: #64748b;
    text-align: center;
    margin-bottom: 30px;
}

.catalog-request-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.catalog-request-form input,
.catalog-request-form select,
.catalog-request-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #f8fafc;
}

.catalog-request-form input:focus,
.catalog-request-form select:focus,
.catalog-request-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: white;
}

.catalog-request-form button {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Shimmer Animation */
@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Responsive Design for Enhanced Catalog */
@media (max-width: 768px) {
    .catalog-section {
        padding: 40px 20px;
        margin-top: 60px;
    }
    
    .catalog-header h3 {
        font-size: 2rem;
    }
    
    .catalog-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .catalog-actions {
        flex-direction: column;
    }
    
    .catalog-actions .btn {
        width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .catalog-request-section {
        padding: 30px 20px;
    }
    
    .pdf-viewer-header {
        padding: 15px 20px;
    }
    
    .pdf-viewer-container {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .catalog-section {
        padding: 30px 15px;
    }
    
    .catalog-header h3 {
        font-size: 1.8rem;
    }
    
    .catalog-cover {
        padding: 25px 15px;
    }
    
    .catalog-info {
        padding: 20px 15px;
    }
    
    .catalog-request-section {
        padding: 25px 15px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Privacy Policy Popup */
.privacy-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 350px;
    max-height: 400px;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    z-index: 10000;
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideInLeft 0.5s ease-out;
    overflow: hidden;
}

.privacy-popup-content {
    background: transparent;
    border-radius: 15px;
    width: 100%;
    height: 100%;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: none;
    animation: none;
    display: flex;
    flex-direction: column;
}

.privacy-popup-header {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 15px 20px;
    border-radius: 15px 15px 0 0;
    text-align: center;
    flex-shrink: 0;
}

.privacy-popup-header h2 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.privacy-popup-header p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.privacy-popup-body {
    padding: 15px 20px;
    line-height: 1.4;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.privacy-popup-body h3 {
    color: #1e40af;
    margin: 15px 0 8px 0;
    font-size: 1rem;
    font-weight: 600;
}

.privacy-popup-body p {
    margin: 0 0 10px 0;
    color: #374151;
    font-size: 0.85rem;
}

.privacy-popup-body p:last-of-type {
    background: #f3f4f6;
    padding: 10px;
    border-radius: 6px;
    border-left: 3px solid #3b82f6;
    font-weight: 500;
    color: #1f2937;
    font-size: 0.8rem;
}

.privacy-popup-footer {
    padding: 15px 20px 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.privacy-popup-footer .btn {
    min-width: 80px;
    padding: 8px 16px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.privacy-popup-footer .btn-primary {
    background: linear-gradient(135deg, #059669, #10b981);
    border: none;
    color: white;
}

.privacy-popup-footer .btn-primary:hover {
    background: linear-gradient(135deg, #047857, #059669);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
}

.privacy-popup-footer .btn-secondary {
    background: transparent;
    border: 2px solid #3b82f6;
    color: #3b82f6;
    text-decoration: none;
}

.privacy-popup-footer .btn-secondary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

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

/* Mobile Responsive for Privacy Popup */
@media (max-width: 768px) {
    .privacy-popup {
        bottom: 15px;
        left: 15px;
        width: 300px;
        max-height: 350px;
    }
    
    .privacy-popup-content {
        width: 100%;
        height: 100%;
        max-height: 350px;
    }
    
    .privacy-popup-header {
        padding: 12px 15px;
    }
    
    .privacy-popup-header h2 {
        font-size: 1rem;
    }
    
    .privacy-popup-body {
        padding: 12px 15px;
        flex: 1;
        overflow-y: auto;
    }
    
    .privacy-popup-footer {
        padding: 12px 15px 15px;
        flex-direction: row;
        gap: 8px;
    }
    
    .privacy-popup-footer .btn {
        min-width: 70px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}