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

*::after,
*::before {
    box-sizing: border-box;
}

img {
    background: none;
    border: none;
}

:root {
    /* Modern Professional Color Palette */
    --primary: #0f4c75;
    --primary-dark: #0a3d5c;
    --primary-light: #3282b8;
    --accent: #bbe1fa;
    --accent-warm: #ff6b6b;
    --accent-success: #51cf66;
    --gradient-primary: linear-gradient(135deg, #0f4c75 0%, #3282b8 100%);
    --gradient-hero: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 50%, #f8f9fa 100%);
    --gradient-card: #ffffff;
    
    /* Text Colors */
    --text-dark: #1a1a2e;
    --text-medium: #2d3436;
    --text-light: #636e72;
    --text-muted: #95a5a6;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --bg-dark: #1a1a2e;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(15, 76, 117, 0.08);
    --shadow: 0 4px 12px rgba(15, 76, 117, 0.12), 0 2px 4px rgba(15, 76, 117, 0.08);
    --shadow-md: 0 8px 24px rgba(15, 76, 117, 0.15), 0 4px 8px rgba(15, 76, 117, 0.1);
    --shadow-lg: 0 16px 48px rgba(15, 76, 117, 0.2), 0 8px 16px rgba(15, 76, 117, 0.15);
    --shadow-xl: 0 24px 64px rgba(15, 76, 117, 0.25);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    background: #ffffff;
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans Hebrew', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}


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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(15, 76, 117, 0.08);
}

.navbar:hover {
    box-shadow: var(--shadow);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

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

.logo-nav {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(15, 76, 117, 0.1));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: var(--bg-secondary);
}

.mobile-menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    position: relative;
    padding: 100px 20px 120px;
    overflow: hidden;
}


.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: nowrap;
}

.logo-container {
    position: relative;
    z-index: 3;
    display: inline-block;
    flex-shrink: 0;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    transition: var(--transition-slow);
}

.logo-container:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.logo-image {
    width: auto;
    height: auto;
    max-height: 500px;
    animation: fadeInUp 0.8s ease;
    display: block;
    filter: drop-shadow(0 8px 16px rgba(15, 76, 117, 0.15));
}

.hero-subtitle,
.hero-description {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 700;
    text-align: center;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.75rem 2.5rem;
    background: var(--bg-primary);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    flex-shrink: 0;
    line-height: 1.6;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.hero-subtitle::before,
.hero-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    transition: left 0.5s ease;
}

.hero-subtitle:hover::before,
.hero-description:hover::before {
    left: 100%;
}

.hero-subtitle {
    border-color: var(--primary);
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-subtitle:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.hero-description {
    border-color: var(--primary-light);
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-description:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

/* Intro Section */
.intro-section {
    padding: 100px 20px;
    background: #ffffff;
    position: relative;
}

.intro-text {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    background: var(--gradient-card);
    padding: 4rem 5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15, 76, 117, 0.08);
    transition: var(--transition);
}

.intro-text:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.intro-text p {
    font-size: 1.25rem;
    color: var(--text-medium);
    line-height: 2;
    text-align: right;
    margin: 0;
    font-weight: 400;
}

/* Services Section */
.services-section {
    padding: 100px 20px;
    background: #f8f9fa;
    position: relative;
    margin-bottom: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-column {
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: right;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.service-column:hover::before {
    transform: scaleX(1);
}

.service-column:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.service-column h3 {
    font-size: 1.875rem;
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.5px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    font-size: 1.125rem;
    color: var(--text-medium);
    line-height: 2.5;
    padding: 0.75rem 0;
    padding-right: 2rem;
    position: relative;
    font-weight: 500;
    transition: var(--transition);
}

.service-list li:hover {
    color: var(--primary);
    padding-right: 2.5rem;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
    background: var(--accent);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    transition: var(--transition);
}

.service-list li:hover::before {
    transform: scale(1.2) rotate(360deg);
    background: var(--primary);
    color: white;
}

/* About Section */
.about {
    padding: 100px 20px;
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 5rem;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
    margin-bottom: 5rem;
    margin-top: 0;
    background: var(--gradient-card);
    padding: 4rem 5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15, 76, 117, 0.08);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    transition: var(--transition);
}

.about-text:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.about-paragraph-container {
    margin-bottom: 3rem;
}

.about-paragraph-box {
    background: var(--bg-primary);
    padding: 2.5rem 3.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary-light);
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-paragraph-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.about-paragraph-box:hover::before {
    transform: scaleY(1);
}

.about-paragraph-box:hover {
    transform: translateX(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.about-paragraph-box p {
    font-size: 1.2rem;
    color: var(--text-medium);
    line-height: 2.2;
    margin: 0;
    text-align: right;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.detail-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: right;
    border: 2px solid rgba(15, 76, 117, 0.1);
    position: relative;
    overflow: hidden;
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.detail-card:hover::before {
    opacity: 0.03;
}

.detail-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.detail-card > * {
    position: relative;
    z-index: 1;
}

.detail-card .checkmark {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
    margin-left: 0.75rem;
    display: inline-block;
}

.detail-card h4 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.detail-card p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 2;
    font-weight: 400;
}

/* Contact Section */
.contact-section {
    padding: 100px 20px;
    background: #f8f9fa;
    min-height: 60vh;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-text-box {
    background: var(--gradient-card);
    padding: 4rem 5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15, 76, 117, 0.08);
    margin-bottom: 3rem;
    text-align: right;
    transition: var(--transition);
}

.contact-text-box:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.contact-intro {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-intro p {
    font-size: 1.3rem;
    color: var(--text-medium);
    line-height: 2.2;
    margin: 0;
    font-weight: 400;
}

.contact-info-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.contact-item {
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: var(--radius-xl);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-item:hover::before {
    opacity: 0.05;
}

.contact-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.contact-item h3 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.contact-link {
    font-size: 1.3rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.contact-link:hover {
    color: var(--primary);
    transform: scale(1.05);
}

/* Scroll Fade In Animation */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--bg-primary);
    padding: 4rem 20px 2.5rem;
    margin-top: 0;
    position: relative;
    width: 100%;
    clear: both;
    border-top: 4px solid #0f4c75;
}


.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    text-align: right;
    margin-bottom: 2.5rem;
}

.footer-section h4 {
    font-size: 1.75rem;
    color: var(--bg-primary);
    margin-bottom: 2rem;
    font-weight: 800;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
    margin: 0;
}

.footer-label {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    min-width: 90px;
}

.footer-link {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-link:hover {
    color: var(--bg-primary);
    text-decoration: underline;
    transform: translateX(-4px);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 3rem;
}

.footer-bottom p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-nav {
        height: 40px;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-primary);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        gap: 1rem;
        border-top: 1px solid rgba(15, 76, 117, 0.1);
    }

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

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid var(--bg-secondary);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .hero {
        padding: 60px 20px 80px;
    }

    .hero-layout {
        flex-direction: column;
        gap: 2.5rem;
    }

    .hero-subtitle,
    .hero-description {
        font-size: 1.1rem;
        padding: 1.25rem 1.75rem;
        width: 100%;
    }

    .logo-container {
        padding: 1.5rem;
    }

    .logo-image {
        max-height: 350px;
    }

    .section-title {
        font-size: 2.25rem;
        margin-bottom: 3rem;
    }

    .intro-section,
    .services-section,
    .about,
    .contact-section {
        padding: 60px 20px;
    }

    .intro-text {
        padding: 3rem 2.5rem;
    }

    .intro-text p {
        font-size: 1.1rem;
    }

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

    .service-column {
        padding: 2.5rem;
    }

    .about-text {
        padding: 3rem 2.5rem;
    }

    .about-paragraph-container {
        margin-bottom: 2.5rem;
    }

    .about-paragraph-box {
        padding: 2rem 2.5rem;
    }

    .about-paragraph-box p {
        font-size: 1.1rem;
        line-height: 2;
    }

    .about-details {
        grid-template-columns: 1fr;
    }

    .detail-card {
        padding: 2rem;
    }

    .contact-text-box {
        padding: 3rem 2.5rem;
    }

    .contact-intro p {
        font-size: 1.2rem;
    }

    .contact-info-box {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-item {
        padding: 2.5rem 2rem;
    }

    .contact-item h3 {
        font-size: 1.5rem;
    }

    .contact-link {
        font-size: 1.2rem;
    }

    .footer {
        padding: 3rem 20px 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 15px 60px;
    }

    .hero-subtitle,
    .hero-description {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }

    .logo-container {
        padding: 1rem;
    }

    .logo-image {
        max-height: 280px;
    }

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

    .intro-section,
    .services-section,
    .about,
    .contact-section {
        padding: 50px 15px;
    }

    .intro-text,
    .about-text,
    .contact-text-box {
        padding: 2.5rem 2rem;
    }

    .intro-text p,
    .contact-intro p {
        font-size: 1rem;
    }

    .service-column,
    .detail-card,
    .contact-item {
        padding: 2rem 1.5rem;
    }

    .about-paragraph-box {
        padding: 1.75rem 2rem;
    }

    .about-paragraph-box p {
        font-size: 1rem;
        line-height: 1.9;
    }

    .footer {
        padding: 2.5rem 15px 1.5rem;
    }

    .footer-section h4 {
        font-size: 1.5rem;
    }

    .footer-item {
        font-size: 1rem;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
    }

    .footer-label {
        min-width: auto;
    }
}

/* Ensure no pink/red backgrounds anywhere */
html::after,
body::after,
html::before,
body::before {
    display: none !important;
    background: none !important;
    content: none !important;
}

/* Force white background for any remaining elements */
section::after,
div::after {
    background: transparent !important;
}
