/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Heebo', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    direction: rtl;
    overflow-x: hidden;
    padding-top: 80px; /* מרווח לתפריט הקבוע */
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #1a365d 0%, #3182ce 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #1a365d;
    border: 2px solid #1a365d;
}

.btn-secondary:hover {
    background: #1a365d;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #1a365d;
    border: 2px solid #1a365d;
    padding: 10px 25px;
    font-size: 14px;
}

.btn-outline:hover {
    background: #1a365d;
    color: white;
}

/* Navigation */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: 9999 !important;
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(26, 54, 93, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-logo {
    flex: 0 0 auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-logo h2 {
    color: #1a365d;
    font-weight: 700;
    font-size: 24px;
}

.nav-logo a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: #3182ce;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #2d3748;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #1a365d;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a365d;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2d3748;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a365d 0%, #3182ce 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #e2e8f0;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    position: relative;
    width: 300px;
    height: 300px;
}

.hero-graphic i {
    position: absolute;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    animation: float 6s ease-in-out infinite;
}

.hero-graphic i:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.hero-graphic i:nth-child(2) {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.hero-graphic i:nth-child(3) {
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #e2e8f0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #1a365d 0%, #3182ce 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1a365d 0%, #3182ce 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2d3748;
}

.service-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature i {
    color: #ed8936;
    font-size: 1.2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #1a365d 0%, #3182ce 100%);
    border-radius: 20px;
    color: white;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Products Section */
.products {
    padding: 100px 0;
    background: #e2e8f0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1a365d 0%, #3182ce 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.product-image i {
    font-size: 2rem;
    color: white;
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2d3748;
}

.product-card p {
    color: #4a5568;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: #e2e8f0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: 25px;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.author-info span {
    color: #4a5568;
    font-size: 0.9rem;
}

.rating {
    display: flex;
    gap: 5px;
}

.rating i {
    color: #ed8936;
    font-size: 1rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: grid;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #e2e8f0;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: linear-gradient(135deg, #1a365d 0%, #3182ce 100%);
    color: white;
    transform: translateX(-10px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a365d 0%, #3182ce 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.contact-item:hover .contact-icon {
    background: white;
    color: #1a365d;
}

.contact-details h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-details p {
    color: #4a5568;
    line-height: 1.5;
}

.contact-item:hover .contact-details p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-form {
    background: #e2e8f0;
    padding: 40px;
    border-radius: 20px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #cbd5e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a365d;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Button Loading State */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#submit-loading {
    display: none;
}

#submit-loading i {
    margin-left: 8px;
}

/* Form Validation Styles */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: #e53e3e;
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: #38a169;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 300px;
    color: white;
}

.notification-success {
    background: #38a169;
}

.notification-error {
    background: #e53e3e;
}

.notification-info {
    background: #3182ce;
}

.notification-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    margin-right: 10px;
}

.notification-close:hover {
    opacity: 0.8;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 60px 0 80px;
}

.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: #3182ce;
}

.footer-section p {
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3182ce;
}

.footer-section ul li i {
    margin-left: 10px;
    color: #3182ce;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #3182ce;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #1a365d;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #4a5568;
    color: #a0aec0;
}

.footer-section h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.footer-section h3 a:hover {
    color: #3182ce;
}

/* 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;
        transform: none;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .service-card,
    .product-card,
    .testimonial-card {
        padding: 30px 20px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 60px 0 100px;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .social-links {
        justify-content: center;
        gap: 10px;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* iPhone specific styles */
@media (max-width: 375px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content h2 {
        font-size: 1.3rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 10px;
    }

    .service-card,
    .product-card,
    .testimonial-card {
        padding: 25px 15px;
    }

    .contact-form {
        padding: 25px 15px;
    }

    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

/* iPhone SE and smaller devices */
@media (max-width: 320px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .container {
        padding: 0 8px;
    }

    .service-card,
    .product-card,
    .testimonial-card {
        padding: 20px 12px;
    }

    .social-links a {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.product-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1a365d 0%, #3182ce 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(26, 54, 93, 0.4);
}

/* Loading animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #1a365d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 

/* Mobile-specific improvements */
@media (max-width: 768px) {
    /* Better touch targets */
    .nav-menu a {
        padding: 15px 20px;
        font-size: 18px;
    }
    
    .btn {
        min-height: 44px; /* Apple's recommended touch target size */
        padding: 12px 24px;
    }
    
    /* Improved spacing */
    .hero {
        min-height: 80vh;
        padding: 60px 0;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    /* Better button layout */
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Improved grid layouts */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Better card spacing */
    .service-card,
    .product-card,
    .testimonial-card {
        padding: 30px 20px;
        margin: 0;
    }
    
    /* Improved form handling */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 15px;
        min-height: 44px;
    }
    
    /* Better contact info layout */
    .contact-info {
        gap: 20px;
    }
    
    .contact-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Improved about section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat {
        padding: 25px 20px;
    }
    
    .stat h3 {
        font-size: 2rem;
    }
    
    /* Better footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .social-links {
        justify-content: center;
        gap: 15px;
    }
    
    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    /* Improved navigation */
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo h2 {
        font-size: 20px;
    }
    
    /* Better section headers */
    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .section-header p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    /* Improved spacing */
    .services,
    .about,
    .products,
    .testimonials,
    .contact {
        padding: 60px 0;
    }
    
    /* Better container padding */
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    /* Even smaller screens */
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 16px;
        min-height: 44px;
    }
    
    .service-card,
    .product-card,
    .testimonial-card {
        padding: 25px 15px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat {
        padding: 20px 15px;
    }
    
    .stat h3 {
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 25px 15px;
    }
    
    .contact-item {
        padding: 15px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .scroll-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    /* Better form inputs */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        padding: 12px;
    }
    
    /* Improved notifications */
    .notification {
        top: 80px;
        right: 15px;
        left: 15px;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

/* iPhone specific styles */
@media (max-width: 375px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .service-card,
    .product-card,
    .testimonial-card {
        padding: 20px 12px;
    }
    
    .contact-form {
        padding: 20px 12px;
    }
    
    .contact-item {
        padding: 12px;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}

/* iPhone SE and smaller devices */
@media (max-width: 320px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 8px 12px;
        font-size: 13px;
        min-height: 40px;
    }
    
    .container {
        padding: 0 8px;
    }
    
    .service-card,
    .product-card,
    .testimonial-card {
        padding: 15px 10px;
    }
    
    .contact-form {
        padding: 15px 10px;
    }
    
    .contact-item {
        padding: 10px;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .scroll-top {
        bottom: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}

/* Landscape orientation fixes */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 60vh;
        padding: 40px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: auto;
        max-width: none;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-graphic i {
        font-size: 3rem;
    }
    
    .service-icon i,
    .product-image i {
        font-size: 1.5rem;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-graphic i {
        animation: none;
    }
    
    .service-card:hover,
    .product-card:hover,
    .testimonial-card:hover {
        transform: none;
    }
} 