/* Reset and Base Styles */
:root {
    /* Primary Colors */
    --primary-blue: #1a73e8;
    --primary-white: #ffffff;
    --primary-pink: #ff69b4;
    
    /* Secondary Colors */
    --secondary-blue: #4285f4;
    --secondary-light-blue: #e8f0fe;
    --secondary-pink: #ffb6c1;
    
    /* Text Colors */
    --text-dark: #202124;
    --text-light: #5f6368;
    --text-white: #ffffff;
    
    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-blue: #1a73e8;
    
    /* Accent Colors */
    --accent-pink: #ff69b4;
    --accent-light-pink: #ffb6c1;
    
    /* Border Colors */
    --border-light: #dadce0;
    --border-blue: #1a73e8;
    --border-pink: #ff69b4;
    
    --max-width: 1200px;
    --header-height: 80px;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: var(--bg-white);
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 6rem 0;
    position: relative;
}

.section-alt {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--accent-pink);
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Header Styles */
.header-modern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: var(--transition);
}

.hebrew-date-bar {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--text-white);
    padding: 0.5rem 0;
    font-size: 0.85rem;
    text-align: center;
    position: relative;
}

.hebrew-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.hebrew-info .separator {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

#hebrew-date,
#weekly-parsha {
    color: var(--text-white);
}

#weekly-parsha {
    font-style: italic;
}

.header-modern.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    padding: 0;
    transition: var(--transition);
}

.logo {
    display: inline-block;
}

.logo img {
    display: block;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-pink);
    transition: var(--transition);
}

.nav-item:hover {
    color: var(--primary-blue);
}

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

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-icon {
    font-size: 0.7rem;
    transition: var(--transition);
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    padding: 0.8rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.7rem 1.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: var(--transition);
    text-decoration: none;
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-blue);
    padding-left: 1.8rem;
}

.cta-nav {
    background-color: var(--primary-blue);
    color: var(--primary-white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

.cta-nav:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.4);
}

.cta-nav::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 30px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero-modern {
    min-height: 100vh;
    background: linear-gradient(rgba(26, 115, 232, 0.9), rgba(26, 115, 232, 0.9)), url('../assets/images/hero-bg.svg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-white);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    bottom: -10%;
    left: 0;
    width: 100%;
    height: 200px;
    background-color: var(--bg-white);
    clip-path: polygon(0 80%, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-pink);
    color: var(--primary-white);
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
    border: 2px solid var(--primary-pink);
}

.cta-button:hover {
    background-color: var(--primary-white);
    color: var(--primary-pink);
    border-color: var(--primary-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.4);
}

.alt-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: var(--primary-white);
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--primary-white);
}

.alt-button:hover {
    background-color: var(--primary-white);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-pink);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-blue);
    box-shadow: 0 15px 40px rgba(26, 115, 232, 0.1);
}

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

.service-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.service-card p {
    margin-top: auto;
}

/* Industries Section */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.industry-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    border: 1px solid transparent;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-pink);
    transform: scaleX(0);
    transition: var(--transition);
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--border-blue);
}

.industry-card:hover::before {
    transform: scaleX(1);
}

.industry-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    transition: var(--transition);
}

.industry-card:hover .industry-icon {
    transform: scale(1.1);
    color: var(--accent-pink);
}

.industry-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.industry-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-pink);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Q&A Section */
.qa-container {
    margin-top: 2rem;
    width: 100%;
}

.qa-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    background-color: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.qa-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.qa-question, 
.question {
    padding: 1.25rem;
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-white);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border: none;
    outline: none;
}

.qa-question:hover,
.question:hover {
    background-color: var(--bg-light);
}

.qa-question:focus,
.question:focus {
    background-color: var(--bg-light);
    box-shadow: 0 0 0 2px var(--primary-blue);
}

.qa-question h3, 
.question h3 {
    margin: 0;
    font-size: 1.1rem;
    flex: 1;
}

.qa-question .toggle-icon, 
.question .toggle-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
    display: inline-block;
}

.qa-item.active .qa-question .toggle-icon,
.qa-item.active .question .toggle-icon {
    transform: rotate(45deg);
}

/* Q&A Answer Styles - Always hidden by default */
.qa-answer, 
.answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.25rem;
    transition: max-height 0.4s ease, padding 0.4s ease;
    opacity: 0;
}

/* Q&A Answer Styles - Show when active */
.qa-item.active .qa-answer,
.qa-item.active .answer {
    max-height: 1000px;
    padding: 1.25rem;
    opacity: 1;
}

/* Fallback for non-JavaScript pages - show all answers */
.no-js .qa-answer,
.no-js .answer {
    display: block;
    padding: 1.25rem;
}

.qa-answer p, 
.answer p {
    margin-top: 0;
    color: var(--text-dark);
    line-height: 1.6;
}

/* No-JS Fallback */

.no-js .qa-question .toggle-icon,
.no-js .question .toggle-icon {
    display: none !important;
}

@media (max-width: 768px) {
    .qa-question h3,
    .question h3 {
        font-size: 1rem;
    }
    
    .qa-question,
    .question {
        padding: 1rem;
    }
    
    .qa-answer,
    .answer {
        padding: 1rem;
    }
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 2px var(--secondary-light-blue);
}

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

.submit-button {
    background-color: var(--primary-blue);
    color: var(--primary-white);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.2);
}

.submit-button:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.3);
}

.contact-info {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
}

.contact-info h3 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-detail svg {
    color: var(--accent-pink);
    flex-shrink: 0;
}

.contact-detail p {
    color: var(--text-light);
    margin: 0;
}

/* Footer */
.footer-wave {
    width: 100%;
    line-height: 0;
    overflow: hidden;
    position: relative;
    margin-bottom: -10px;
    filter: drop-shadow(0 -5px 10px rgba(0, 0, 0, 0.1));
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

footer {
    background-color: var(--primary-blue);
    color: var(--primary-white);
    padding: 0 0 2rem;
    position: relative;
    overflow: hidden;
}

footer::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 90% 20%, rgba(255, 105, 180, 0.15), transparent 400px);
    z-index: 0;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    padding-top: 4rem;
    position: relative;
    z-index: 1;
}

.footer-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-info-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.footer-contact h4 {
    color: var(--primary-white);
    font-size: 1.3rem;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-pink), transparent);
    transition: var(--transition);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2.2rem;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.footer-contact-item:last-child {
    margin-bottom: 0;
}

.footer-contact-item:hover {
    transform: translateX(8px);
    color: var(--accent-pink);
}

.contact-icon {
    position: absolute;
    left: 0;
    width: 22px;
    height: 22px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 0 3px rgba(255, 105, 180, 0.5));
    transition: transform 0.3s ease;
}

.footer-contact-item:hover .contact-icon {
    transform: scale(1.2);
}

.email-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff69b4'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.location-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff69b4'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
}

.time-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff69b4'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E");
}

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

.footer-links-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links-column h4 {
    color: var(--primary-white);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-pink), transparent);
    transition: var(--transition);
}

.footer-links-column a {
    color: var(--primary-white);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.85;
    position: relative;
    padding-left: 0;
    font-size: 1.05rem;
    display: inline-block;
    max-width: fit-content;
}

.footer-links-column a::before {
    content: '→';
    position: absolute;
    left: -25px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links-column a:hover {
    opacity: 1;
    color: var(--accent-pink);
    padding-left: 25px;
    transform: translateX(5px);
}

.footer-links-column a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    opacity: 0.9;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Scroll To Top Button */
#scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

#scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scroll-to-top:hover {
    background-color: var(--accent-pink);
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

#scroll-to-top svg {
    animation: bounce 2s infinite;
}

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

/* Enhanced Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Responsive Footer Styles */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1.5fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding-top: 3rem;
    }
    
    .footer-info-section {
        margin: 0 auto;
        max-width: 450px;
        width: 100%;
    }
    
    .footer-links {
        margin: 0 auto;
        max-width: 450px;
        width: 100%;
    }
    
    .footer-contact h4::after,
    .footer-links-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact-item {
        justify-content: center;
        padding-left: 0;
        padding-top: 2rem;
    }
    
    .contact-icon {
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }
    
    .footer-contact-item:hover {
        transform: translateY(-5px);
    }
    
    .footer-contact-item:hover .contact-icon {
        transform: translateY(-3px) scale(1.2);
    }
    
    .footer-links-column {
        align-items: center;
    }
    
    .footer-links-column a {
        text-align: center;
    }
    
    .footer-links-column a::before {
        display: none;
    }
    
    .footer-links-column a:hover {
        padding-left: 0;
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-content {
        padding-top: 2.5rem;
    }
    
    .footer-bottom {
        margin-top: 2.5rem;
    }
}

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

.service-card,
.industry-card,
.about-content,
.qa-item {
    animation: fadeInUp 1s ease-out;
    animation-fill-mode: both;
}

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

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

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

.industry-card:nth-child(4) {
    animation-delay: 0.4s;
}

.industry-card:nth-child(5) {
    animation-delay: 0.5s;
}

.industry-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Form Status Messages */
#form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 500;
}

#form-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Form Button States */
button[type="submit"]:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Enhanced Logo Animation */
.logo-container {
    display: inline-block;
    position: relative;
}

.logo-animation-wrapper {
    position: relative;
    display: inline-block;
    perspective: 1000px;
}

.logo-svg {
    display: block;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.animate-logo {
    animation: logoEntrance 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.logo-shadow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    filter: blur(5px);
    transform: translate(-50%, 25px) scaleX(0.8);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: -1;
}

.logo-animation-wrapper:hover .logo-svg {
    transform: translateY(-5px) rotateY(10deg);
    filter: drop-shadow(0 5px 10px rgba(26, 115, 232, 0.3));
}

.logo-animation-wrapper:hover .logo-shadow {
    opacity: 0.5;
    transform: translate(-50%, 25px) scaleX(0.9);
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }

    /* Consolidated Mobile Menu Styles */
    .nav-links {
        display: none; /* Hidden by default, JS will toggle */
        position: fixed;
        top: var(--header-height); /* Use CSS variable for consistency */
        left: 0;
        right: 0; /* Ensures full width */
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        align-items: center;
        padding: 2rem; /* Consistent padding */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 999; /* Ensure it's above other content but below modal popups if any */
        gap: 1.5rem; /* Consistent gap */
    }

    .js .nav-links { /* Only hide if JS is active, otherwise CSS fallback might show it */
        display: none;
    }

    .js .nav-links.active { /* This class is toggled by JS */
        display: flex;
    }

    /* Fallback for no-JS: checkbox toggle */
    .no-js #mobile-menu-toggle:checked ~ .nav-links {
        display: flex; /* Show menu if checkbox is checked and JS is off */
    }
    
    .nav-links .nav-item {
        margin: 0; /* Reset individual item margin if not needed due to flex gap */
        width: 100%;
        text-align: center;
    }

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

    .nav-links .dropdown-toggle { /* Ensure dropdown toggle is centered */
        justify-content: center;
    }

    .nav-links .dropdown-menu {
        position: static; /* Stacks within the mobile menu flow */
        box-shadow: none;
        padding-left: 0; /* Adjust if needed, or use text-align:center on items */
        display: none; /* Hidden by default, JS or :checked will toggle */
        width: 100%;
        max-height: none; /* Allow content to define height */
        background: transparent; /* Inherit background or set explicitly if needed */
    }

    .nav-links .dropdown.active .dropdown-menu { /* JS toggles .active on .dropdown */
        display: block;
    }
    
    /* Fallback for no-JS dropdowns */
    .no-js .dropdown-toggle-checkbox:checked ~ .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        max-height: 500px; /* Or a suitable max height */
        padding: 0.5rem 0;
    }

    /* Old .mobile-menu-btn styles are effectively removed by ensuring this block is the only one styling these elements on mobile */

    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-modern {
        min-height: auto;
        padding: 10rem 0 6rem;
    }
    
    .hero-shape {
        height: 150px;
    }
    
    #scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

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

    .service-card,
    .industry-card {
        padding: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-button,
    .alt-button {
        width: 100%;
    }
}

/* Footer Wave Animation */
.footer-wave svg.wave-animation {
    animation: waveFlow 15s ease-in-out infinite alternate;
}

@keyframes waveFlow {
    0% {
        transform: translateX(-30px);
    }
    50% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(-20px);
    }
}

/* Footer contact item link styles */
.footer-contact-item a {
    color: var(--primary-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact-item:hover a {
    color: var(--accent-pink);
}

/* Add glitter effect to the footer background */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 20%), 
                     radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 15%),
                     radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.04) 0%, transparent 10%);
    z-index: 0;
    opacity: 0.7;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-white);
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-toggle {
        justify-content: center;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.3s ease;
        width: 100%;
    }

    .dropdown.active .dropdown-menu {
        max-height: 500px;
        padding: 0.5rem 0;
    }

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

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

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

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

    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-modern {
        min-height: auto;
        padding: 10rem 0 6rem;
    }
    
    .hero-shape {
        height: 150px;
    }
    
    #scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

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

    .service-card,
    .industry-card {
        padding: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-button,
    .alt-button {
        width: 100%;
    }
}

/* Industry Hero Sections - Creative Designs */
#industry-hero {
    padding: 14rem 0 6rem;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-blue);
    margin-top: var(--header-height);
}

#industry-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
    animation: patternFloat 60s linear infinite;
}

@keyframes patternFloat {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

#industry-hero .container {
    position: relative;
    z-index: 1;
}

#industry-hero .hero-content {
    max-width: 700px;
    text-align: center;
    margin: 2rem auto 0;
    position: relative;
}

#industry-hero h1 {
    color: var(--primary-white);
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    font-weight: 800;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#industry-hero h1::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--primary-pink);
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

#industry-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#industry-hero .cta-button {
    background: var(--primary-pink);
    color: var(--primary-white);
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(255, 105, 180, 0.4);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    border: 2px solid transparent;
}

#industry-hero .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.5);
    background-color: var(--primary-white);
    color: var(--primary-pink);
    border-color: var(--primary-pink);
}

/* Industry-specific hero styling */
.restaurant-hero {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
}

.restaurant-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.07'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: patternFloat 40s linear infinite;
}

.grocery-hero {
    background: linear-gradient(135deg, #1a73e8 0%, #388e3c 100%);
}

.grocery-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.07'%3E%3Cpath d='M0 0h20L0 20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: patternFloat 30s linear infinite reverse;
}

.venue-hero {
    background: linear-gradient(135deg, #1a73e8 0%, #7b1fa2 100%);
}

.venue-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    animation: patternFloat 60s linear infinite;
}

.butcheries-hero {
    background: linear-gradient(135deg, #1a73e8 0%, #d32f2f 100%);
}

.butcheries-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.07'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: patternFloat 35s linear infinite;
}

.hotels-hero {
    background: linear-gradient(135deg, #1a73e8 0%, #00695c 100%);
}

.hotels-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='84' height='48' viewBox='0 0 84 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h12v6H0V0zm28 8h12v6H28V8zm14-8h12v6H42V0zm14 0h12v6H56V0zm0 8h12v6H56V8zM42 8h12v6H42V8zm0 16h12v6H42v-6zm14-8h12v6H56v-6zm14 0h12v6H70v-6zm0-16h12v6H70V0zM28 32h12v6H28v-6zM14 16h12v6H14v-6zM0 24h12v6H0v-6zm0 8h12v6H0v-6zm14 0h12v6H14v-6zm14 8h12v6H28v-6zm-14 0h12v6H14v-6zm28 0h12v6H42v-6zm14-8h12v6H56v-6zm0-8h12v6H56v-6zm14 8h12v6H70v-6zm0 8h12v6H70v-6zM14 24h12v6H14v-6zm14-8h12v6H28v-6zM14 8h12v6H14V8zM0 8h12v6H0V8z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    animation: patternFloat 50s linear infinite;
}

.schools-hero {
    background: linear-gradient(135deg, #1a73e8 0%, #f57c00 100%);
}

.schools-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 16c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm0-2c3.314 0 6-2.686 6-6s-2.686-6-6-6-6 2.686-6 6 2.686 6 6 6zm33.414-6l5.95-5.95L45.95.636 40 6.586 34.05.636 32.636 2.05 38.586 8l-5.95 5.95 1.414 1.414L40 9.414l5.95 5.95 1.414-1.414L41.414 8zM40 48c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm0-2c3.314 0 6-2.686 6-6s-2.686-6-6-6-6 2.686-6 6 2.686 6 6 6zM9.414 40l5.95-5.95-1.414-1.414L8 38.586l-5.95-5.95L.636 34.05 6.586 40l-5.95 5.95 1.414 1.414L8 41.414l5.95 5.95 1.414-1.414L9.414 40z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    animation: patternFloat 45s linear infinite;
}

.cemeteries-hero {
    background: linear-gradient(135deg, #1a73e8 0%, #455a64 100%);
}

.cemeteries-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20L0 20z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    animation: patternFloat 40s linear infinite;
}

.nursing-hero {
    background: linear-gradient(135deg, #1a73e8 0%, #5e35b1 100%);
}

.nursing-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M-2-2h24v24H-2z'/%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' d='M10 0v8.95h2V0zM2.929 2.929l6.318 6.318 1.414-1.414-6.318-6.318zM0 10h8.95v-2H0zM2.929 17.07l6.318-6.317-1.414-1.414-6.318 6.318zM10 20v-8.95h2V20zM17.07 17.07l-6.317-6.317-1.414 1.414 6.318 6.318zM20 10h-8.95v2H20zM17.07 2.929l-6.318 6.318 1.414 1.414 6.318-6.318z'/%3E%3C/g%3E%3C/svg%3E");
    animation: patternFloat 30s linear infinite;
}

.entertainment-hero {
    background: linear-gradient(135deg, #1a73e8 0%, #c2185b 100%);
}

.entertainment-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.07'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: patternFloat 55s linear infinite;
}

/* Animated floating elements for hero sections */
.hero-float-element {
    position: absolute;
    opacity: 0.1;
    z-index: 0;
    animation: floatAnimation 8s ease-in-out infinite alternate;
}

.hero-float-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--primary-white);
    top: -50px;
    right: -50px;
}

.hero-float-square {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    background: var(--primary-white);
    bottom: -20px;
    left: 10%;
    transform: rotate(15deg);
    animation-delay: 2s;
}

.hero-float-triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 170px solid rgba(255, 255, 255, 0.1);
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0) rotate(0);
    }
    100% {
        transform: translateY(20px) rotate(5deg);
    }
}

/* Creative hero title animation */
@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#industry-hero h1 {
    animation: titleReveal 0.8s ease forwards;
}

#industry-hero p {
    animation: titleReveal 0.8s 0.3s ease forwards;
    opacity: 0;
}

#industry-hero .cta-button {
    animation: titleReveal 0.8s 0.6s ease forwards;
    opacity: 0;
}

/* No-JS Enhancements - Added styles for non-JavaScript functionality */
.no-js .mobile-menu-btn {
    display: none; /* Hide mobile menu button without JS */
}

.no-js .nav-links {
    display: flex; /* Always show nav links */
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

@media (max-width: 768px) {
    .no-js .nav-links {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-white);
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: center;
    }
    
    .no-js .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: none;
        box-shadow: none;
        padding: 0.8rem 0;
    }
    
    .no-js .dropdown:hover .dropdown-menu {
        max-height: 500px;
    }
}

/* Make Q&A items always visible without JS */
.no-js .qa-question .toggle-icon {
    display: none;
}

/* Style the scroll to top button to be visible without JS */
.no-js #scroll-to-top {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Add specific class for static nav dropdown */
.no-js .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Modern Mobile Menu System */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
    padding: 0;
    transition: all 0.3s ease;
}

.mobile-menu-btn .hamburger-line {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary-blue);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.25s ease-in-out;
}

.mobile-menu-btn .hamburger-line:nth-child(1) {
    top: 0px;
}

.mobile-menu-btn .hamburger-line:nth-child(2) {
    top: 10px;
}

.mobile-menu-btn .hamburger-line:nth-child(3) {
    top: 20px;
}

/* Hamburger animation when active */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        align-items: center;
        padding: 1.5rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }
    
    .nav-links.mobile-active {
        display: flex;
        animation: slideDown 0.3s ease;
    }
    
    .nav-links .nav-item {
        margin: 0.8rem 0;
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
        padding: 0.5rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-links .nav-item:hover {
        background: rgba(26, 115, 232, 0.1);
    }
    
    .nav-links .dropdown {
        width: 100%;
        text-align: center;
    }
    
    .nav-links .dropdown-toggle {
        width: 100%;
        justify-content: center;
        align-items: center;
        padding: 0.8rem;
        margin: 0.5rem 0;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-links .dropdown-toggle:hover {
        background: rgba(26, 115, 232, 0.1);
    }
    
    .nav-links .dropdown-menu {
        position: static;
        width: 100%;
        background: rgba(26, 115, 232, 0.05);
        border-radius: 8px;
        margin: 0.5rem 0;
        padding: 0;
        box-shadow: none;
        transform: none;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-links .dropdown.active .dropdown-menu {
        opacity: 1;
        max-height: 500px;
        padding: 0.5rem 0;
    }
    
    .nav-links .dropdown-item {
        padding: 0.8rem 1.5rem;
        margin: 0.2rem 0;
        transition: all 0.3s ease;
        border-radius: 6px;
    }
    
    .nav-links .dropdown-item:hover {
        background: rgba(26, 115, 232, 0.1);
    }
    
    .dropdown-icon {
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
    }
    
    .dropdown.active .dropdown-icon {
        transform: rotate(180deg);
    }
    
    .hebrew-info {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .hebrew-info .separator {
        display: none;
    }
    
    .hebrew-date-bar {
        font-size: 0.75rem;
        padding: 0.4rem 0;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hide old mobile menu elements */
#mobile-menu-toggle,
.mobile-menu-label,
.mobile-menu-checkbox,
.dropdown-toggle-checkbox,
.dropdown-toggle-label {
    display: none !important;
}

/* Contact Modal Styles */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-modal-overlay.active {
    opacity: 1;
}

.contact-modal {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.contact-modal-overlay.active .contact-modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.modal-body {
    padding: 1rem 2rem 2rem;
}

.modal-subtitle {
    color: #6b7280;
    margin: 0 0 2rem 0;
    font-size: 1.1rem;
    line-height: 1.5;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.form-actions {
    margin-top: 1rem;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-blue), #1557b0);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-loader::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-status.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-status.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Responsive modal styles */
@media (max-width: 768px) {
    .contact-modal {
        width: 98%;
        margin: 1rem;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
        padding-right: 3rem;
    }
    
    .modal-close {
        top: 1rem;
        right: 1rem;
    }
    
    .modal-body {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modal-subtitle {
        font-size: 1rem;
    }
}

/* Contact CTA Section */
.contact-cta {
    background: linear-gradient(135deg, var(--primary-blue), #1557b0);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}

.cta-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.cta-content p {
    font-size: 1.1rem;
    margin: 0 0 2rem 0;
    opacity: 0.9;
    line-height: 1.5;
}

.contact-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-cta {
        padding: 2rem 1.5rem;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

/* AI Age Section Styles */
.section-highlight {
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.section-highlight::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="ai-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23ai-pattern)"/></svg>');
    animation: patternFloat 20s ease-in-out infinite;
}

.section-highlight .section-header h2 {
    color: var(--text-white);
}

.section-highlight .section-header h2::after {
    background-color: var(--accent-pink);
}

.section-highlight .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.ai-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ai-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ai-point {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.ai-point:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.ai-point h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.ai-point p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.ai-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.ai-stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    transition: var(--transition);
}

.ai-stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.ai-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-pink);
    margin-bottom: 0.5rem;
}

.ai-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .ai-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .ai-stats {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .ai-stat-item {
        flex: 1;
        min-width: 200px;
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .ai-content {
        gap: 2rem;
    }
    
    .ai-point {
        padding: 1.5rem;
    }
    
    .ai-point h3 {
        font-size: 1.1rem;
    }
    
    .ai-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .ai-stat-item {
        padding: 1.5rem 1rem;
    }
    
    .ai-stat-number {
        font-size: 2rem;
    }
}

/* Fallbacks for no-js environments */
.no-js .mobile-menu-btn {
    display: none;
}
.no-js .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    background: none;
    box-shadow: none;
    height: auto;
    width: auto;
    padding: 0;
    overflow: visible;
}

@media (max-width: 768px) {
    .no-js .nav-links {
        display: none; /* Hide on mobile for no-js, can be toggled with checkbox hack if needed */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .no-js .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
    }

    /* This allows nested dropdowns to just appear on hover in no-js */
    .no-js .dropdown:hover .dropdown-menu {
        display: block;
    }
}



.no-js .qa-question .toggle-icon {
    display: none; /* Hide icon when JS is off */
}

.no-js #scroll-to-top {
    display: none; /* Hide scroll to top button when JS is off */
}

/* Checkbox hack for dropdowns if needed for no-js */
.no-js .dropdown:hover .dropdown-menu {
    display: block;
}