/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rubik', 'Poppins', system-ui, -apple-system, sans-serif;
}

body {
    direction: rtl;
    line-height: 1.;
    background: rgb(243,247,250);
    color: #000000;

    margin: 0;
}
main {
    min-height: calc(100vh - 80px); /* Ensure the main content takes up the remaining height */
    padding-bottom: 1rem; /* Add space between content and footer */
    display: flex;
    flex-direction: column;
}
/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
    overflow: hidden;
}

.background-animation::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        rgb(255,69,119) 0%,
        rgb(255,69,119) 10%,
        transparent 10%,
        transparent 20%
    );
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Header Styles */
header {
    background: rgb(24, 27, 52);
    color: #FFFFFF;
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between; /* Creates space between elements */
    align-items: center;
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.header-nav {
    order: 1; /* Keeps nav at the start */
}

.header-nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.header-nav a:hover {
    background: rgb(255, 69, 119);
}

/* Styles for action buttons */
.header-nav .action-button {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.header-nav .action-button:hover {
    background: rgb(255,69,119);
}
.logo {
    order: 2; /* Moves the logo to the end in RTL */
    margin-right: auto; /* Pushes logo to the left */
    font-size: clamp(1.5rem, 2vw, 2rem);
}
@media (max-width: 768px) {
    /* Adjustments for smaller screens (e.g., tablets and phones) */
    .header-content {
        padding: 1rem; /* Adjust padding for mobile */
        height: 2vh; /* Allow height to adjust based on content */
    }

    .header-nav {
        margin-top: 1rem; /* Add space between header content and navigation */
        gap: 0.5rem; /* Reduce gap between navigation links */
    }

    .header-nav a {
        padding: 0.4rem 0.8rem; /* Adjust padding for smaller links */
    }
}

@media (max-width: 768px) {
    /* Adjustments for smaller screens (tablets and mobile devices) */
    .header-content {
        justify-content: center; /* Center content on smaller screens */
        padding: 0 1rem; /* Adjust padding for smaller screens */
    }
}
/* Hamburger Menu Styles */
.hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: white;
}

/* Hide checkbox by default */
#menu-toggle {
    display: none;
}

/* Adjust navigation for mobile */
@media (max-width: 768px) {
    .header-nav {
        display: none;
        flex-direction: column;
        background: rgb(24, 27, 52);
        position: absolute;
        top: 8vh; /* Adjust based on header height */
        right: 0;
        width: 100%;
        padding: 1rem;
    }

    /* Show the hamburger icon */
    .hamburger {
        display: block;
    }

    /* Show menu when checkbox is checked */
    #menu-toggle:checked + .hamburger + .header-nav {
        display: flex;
    }

    .header-nav a {
        padding: 0.8rem 0;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header-nav a:last-child {
        border-bottom: none;
    }
}

.monday-title {
    margin-top: 1%;
    font-size: 10rem; /* גודל פונט גדול */
    font-weight: 1000; /* עובי פונט מודגש */
    text-align: center;
    background: linear-gradient(to right, #FF0066, #FFD700, #00CC66); /* צבעים: ורוד, צהוב, ירוק */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    letter-spacing: 2px; /* ריווח בין אותיות */
    line-height: 1.2; /* שיפור קריאות */
}



.accessibility-btn {
   position: fixed;
   bottom: 50%;
   left: clamp(1rem, 3vw, 1.25rem);
   transform: translateY(50%);
   width: clamp(2.5rem, 5vw, 3.125rem);
   height: clamp(2.5rem, 5vw, 3.125rem);
   border-radius: 50%;
   background: rgb(24,27,52);
   color: white;
   border: none;
   cursor: pointer;
   z-index: 1000;
   display: flex;
   align-items: center;
   justify-content: center;
   box-shadow: 0 0.125rem 0.625rem rgba(0,0,0,0.2);
}

.accessibility-btn:hover {
    background: rgb(255, 69, 119);
}

.accessibility-menu {
    position: fixed;
    bottom: 80px;
    left: 20px;
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
}

.accessibility-menu.show {
    display: block;
}

.accessibility-menu button {
    display: block;
    width: 100%;
    padding: 0.8rem 1.2rem;
    margin-bottom: 0.5rem;
    border: none;
    background: rgb(243, 247, 250);
    color: rgb(24, 27, 52);
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.accessibility-menu button:hover {
    background: rgb(255, 69, 119);
    color: white;
}

@media screen and (max-width: 768px) {
    .accessibility-btn {
        bottom: 10px;
        left: 10px;
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 480px) {
    .accessibility-btn {
        bottom: 5px;
        left: 5px;
        width: 30px;
        height: 30px;
    }
}

body.large-text {
    font-size: 120%;
}

body.high-contrast {
    background: black;
    color: white !important;
}

body.high-contrast * {
    color: white !important;
    background: black !important;
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .accessibility-menu {
        left: 10px;
        right: 10px;
        width: auto;
    }
}



/* Hero Section */
main {
    margin-top: 2rem;
    padding: 2rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.hero {
    text-align: center;
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero h1 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: rgb(24,27,52);
    margin-bottom: clamp(2rem, 4vw, 3rem);
    line-height: 1.4;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.hero-text {
    max-width: 80%;
    margin: 0 auto;
}

.hero-text p {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    line-height: 1.8;
    margin-bottom: clamp(1.5rem, 2vw, 2rem);
    margin-top: clamp(1.5rem, 2vw, 2rem);
    color: rgb(24,27,52);
}

.hero-text p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
    .hero-text {
        max-width: 95%;
    }
}


/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.action-button {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.action-button:hover {
    transform: translateY(-2px);
}

.contact-btn {
    background: rgb(255,69,119);
    color: white;
}




/* Process Section */
.process {
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Integration Cards */
/* General Styling for Cards */
.integration-card {
    background-color: white; /* Card background */
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
    padding: 1.5rem; /* Internal spacing */
    text-align: center; /* Center-align content */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effects */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem; /* Space between elements inside the card */
}

/* Icon Styling */
.integration-card .integration-icon {
    background-color: #f4f4f4; /* Light gray background */
    border-radius: 50%; /* Circular icons */
    padding: 1rem; /* Internal padding for icons */
    font-size: 2.5rem; /* Icon size */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Card Title Styling */
.integration-card .integration-name {
    font-size: 1.2rem; /* Text size */
    font-weight: 600; /* Slightly bold text */
    color: #333; /* Dark gray text */
    margin: 0; /* Remove margin */
}

/* Hover Effects for Cards */
.integration-card:hover {
    transform: translateY(-10px); /* Slight lift on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Deeper shadow on hover */
}

/* Grid Layout for Cards */
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 2rem; /* Space between cards */
    margin: 2rem auto; /* Margin around grid */
    padding: 0 1rem; /* Internal padding for grid */
}

/* Ecosystem Section Titles */
.ecosystem-title {
    font-size: 1.8rem; /* Title size */
    font-weight: bold;
    text-align: center;
    color: #1e1e1e; /* Dark text */
    margin-bottom: 1.5rem; /* Space below title */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .integration-card {
        padding: 1rem; /* Adjust padding for smaller screens */
    }

    .integration-card .integration-icon {
        font-size: 2rem; /* Adjust icon size for smaller screens */
    }

    .integration-card .integration-name {
        font-size: 1rem; /* Smaller text size */
    }

    .integrations-grid {
        gap: 1.5rem; /* Adjust grid spacing for smaller screens */
    }
}



/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
}

/* Category Navigation */
.category-nav {
    padding: 1rem;
    margin-bottom: 2rem;
    overflow-x: auto;
}

.category-nav ul {
    display: flex;
    gap: 1rem;
    list-style: none;
}

.category-nav button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    background: rgb(243,247,250);
    color: rgb(24,27,52);
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-nav button.active {
    background: rgb(255,69,119);
    color: white;
}

/* Search Bar */
.search-section {
    background: white;
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgb(24,27,52);
    border-radius: 50px;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
    }
    
    .action-button {
        width: 100%;
    }
    
    .category-nav {
        overflow-x: auto;
    }
    
    .category-nav ul {
        padding-bottom: 0.5rem;
    }
}

/*deliverables  section index */
.deliverables {
    background: rgb(24, 27, 52); /* Highlighted yellow background */
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    margin: 2rem 0;
    text-align: center;
}

.deliverables h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem); /* Responsive font size */
    color: white;
    margin-bottom: 2rem;
}

.deliverables-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.deliverable {
    background: white;
    padding: clamp(1rem, 2vw, 1.5rem); /* Adjust padding based on screen size */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deliverable:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.deliverable h3 {
    font-size: clamp(1.2rem, 2vw, 1.6rem); /* Responsive title size */
    color: #ff5722; /* Orange title color */
    margin-bottom: 1rem;
}

.deliverable p {
    font-size: clamp(1rem, 1.5vw, 1.1rem); /* Responsive paragraph size */
    color: #555;
    line-height: 1.6;
}

.arrow {
    font-size: clamp(1.5rem, 2vw, 2rem); /* Responsive arrow size */
    color: white;
    text-align: center;
    margin: 0.5rem 0;
    animation: bounce 2s infinite;
}

/* Bounce animation for arrows */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0) rotate(180deg); ;
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
    }
}

/* Media query for larger screens */
@media (min-width: 768px) {
    .deliverables-list {
        grid-template-columns: 1fr 0.1fr 1fr 0.1fr 1fr; /* Layout for wider screens */
        gap: 1.5rem;
        align-items: center;
    }

    .arrow {
        margin: 0; /* Align arrows properly in the middle */
    }
}

/* Media query for small screens */
@media (max-width: 768px) {
    .deliverables-list {
        grid-template-columns: 1fr; /* Stack items vertically */
        gap: 1rem;
    }

    .arrow {
        margin: 0.5rem 0; /* Space arrows between cards */
    }
}


/* About page styles */
.about-section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.profile-section {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    align-items: center;
}

.profile-image {
    font-size: 5rem;
    color: rgb(24,27,52);
}

.profile-text {
    flex: 1;
	 padding: clamp(1rem, 3vw, 2rem);
}
.profile-text h3 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    color: rgb(24,27,52);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}
.profile-text p {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    line-height: 1.8;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    color: rgb(24,27,52);
}

.profile-text p:last-child {
    margin-bottom: 0;
}
.skills-section {
    margin-top: 3rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.skill {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.skill:hover {
    transform: translateY(-5px);
}

.skill i {
    font-size: 2rem;
    color: rgb(255,69,119);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
        text-align: center;
    }
}


/*footer */
/* פוטר תמיד נראה */
.main-footer {
   background: rgb(24,27,52);
    padding: 0.8rem 1rem; /* ריווח פנימי */
    text-align: center;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1); /* צל */
    position: fixed; /* הצמדת הפוטר לתחתית */
    bottom: 0; /* תמיד בתחתית */
    width: 100%; /* רוחב מלא */
    z-index: 1000; /* מעל כל התוכן */

}

/* סגנון כפתורים בפוטר */
.main-footer .action-buttons {
    display: flex;
    justify-content: center; /* יישור למרכז */
    gap: 1rem; /* ריווח בין הכפתורים */
    flex-wrap: wrap; /* מאפשר שבירה במסכים קטנים */
}

.main-footer .action-button {
    text-decoration: none;
    color: #ffffff; /* טקסט לבן */
    background-color: #007bff; /* רקע כחול */
    padding: 0.5rem 1rem; /* ריווח פנימי */
    border-radius: 5px;
    font-size: 0.9rem; /* גודל טקסט קטן יותר */
    display: inline-flex;
    align-items: center;
    gap: 0.5rem; /* רווח בין אייקון לטקסט */
}

.main-footer .action-button i {
    font-size: 1rem; /* גודל אייקון */
}

.main-footer .action-button:hover {
    background-color: #0056b3; /* כהה יותר בהובר */
}
.main-footer .youtube-btn,.main-footer .fiverr-btn {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
/* עיצוב כפתור YouTube */
.main-footer .youtube-btn {
    background-color: #FF0000; /* רקע אדום */
}

.main-footer .youtube-btn:hover {
    background-color: #CC0000; /* אדום כהה יותר בהובר */
}

/* עיצוב כפתור Fiverr */
.main-footer .fiverr-btn {
    background-color: #1dbf73; /* רקע ירוק */
    font-color:white;
}
.fiverr-btn {
    background-color: #1dbf73; /* רקע ירוק */
    font-color:white;
}
.main-footer .fiverr-btn:hover {
    background-color: #17a567; /* ירוק כהה יותר בהובר */
}

/* התאמות רספונסיביות */
@media (max-width: 768px) {
    .main-footer .action-buttons {
        flex-direction: column; /* כפתורים אנכיים במסכים קטנים */
        gap: 0.8rem; /* ריווח בין הכפתורים */
    }

    .main-footer .action-button {
        width: 100%; /* כפתורים ברוחב מלא */
        text-align: center;
    }
}
/*index*/

/* Process Section Styles */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step h3 {
    color: rgb(24,27,52);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.action-button fiverr-btn{
color:white;}

/* Recommendations Section Styles */
.recommendations {
     background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}
.recommendations h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: rgb(24, 27, 52);
    margin-bottom: 1.5rem;
    text-align: center;
}
.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.recommendation-gallery {
  display: flex;
    transition: transform 0.3s ease-in-out; /* Smooth scrolling */
}

.recommendation-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; /* Hide the scrollbars */
}

.recommendation {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    flex: 0 0 300px; /* Set the width of each card */
    margin: 0 10px; /* Add spacing between cards */
}

.recommendation:hover {
   transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.arrow-left, .arrow-right {
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: #fff;
    padding: 1rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
}

.arrow-left {
    left: 0;
}

.arrow-right {
    right: 0;
}
.rating {
     color: rgb(255, 69, 119);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.review-text {
        font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: rgb(24, 27, 52);
}

cite {
    display: block;
    font-weight: 600;
    margin-top: 1rem;
    color: rgb(24, 27, 52);
}

.review-date {
       display: block;
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.more-reviews {
    text-align: center;
    margin-top: 2rem;
}

.more-reviews-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    background: #1dbf73;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.more-reviews-btn:hover {
    transform: translateY(-2px);
}

/* Contact Form Styles */
.contact {
    text-align: center;
    margin: 2rem auto;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f9f9f9; /* Optional background */
    border-radius: 8px;       /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Light shadow */
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Rubik', sans-serif; /* Match the font style */
}

.contact-details p {
    font-size: 1.2rem;
    margin: 0.5rem 0;
    font-family: 'Poppins', sans-serif;
}

.contact-details a {
    color: #007bff; /* Link color */
    text-decoration: none;
    font-weight: bold; /* Bold links */
}

.contact-details a:hover {
    text-decoration: underline;
}


/*photo css */

.profile-section {
    position: relative;
    width: 100%;
    min-height: 400px; /* Set minimum height for the section */
}

.profile-photo {
    width: 110%; /* 1/3 of the section width */
    max-height: 30vh; /* 30% of viewport height */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.profile-section {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    align-items: flex-start; /* Changed from center to flex-start */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .profile-photo {
        width: 100%;
        max-height: 300px;
    }
}


	.intro-text {
    width: 100%;
    margin: 5rem auto 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.938rem rgba(0,0,0,0.1);
    text-align: right
}

.intro-text p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.6;
    color: rgb(24,27,52);
    text-align: center;
    margin-bottom: 1rem;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

/* גלריה חברות*/
.companies {
    background: rgba(255, 255, 255, 0.9);
    padding: clamp(2rem, 3vw, 3rem);
    border-radius: 0.5rem;
    margin: clamp(2rem, 3vw, 3rem) 0;
    box-shadow: 0 0.25rem 0.938rem rgba(0,0,0,0.1);
}

.companies h2 {
    text-align: center;
    color: rgb(24,27,52);
    margin-bottom: clamp(2rem, 3vw, 3rem);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: clamp(1rem, 2vw, 2rem);
    max-width: 1200px;
    margin: 0 auto;
}

.company-link {
    display: block;
    transition: transform 0.3s ease;
}

.company-link:hover {
    transform: translateY(-5px);
}

.company-logo {
    width: 100%;
    height: clamp(60px, 10vw, 80px);
    object-fit: contain;
    /*filter: grayscale(100%);*/
    transition: filter 0.3s ease;
}

.company-logo:hover {
    filter: grayscale(0%);
}

@media screen and (max-width: 768px) {
    .companies-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}



/* popup */
.thank-you-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 2rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
}

.popup-content {
  text-align: center;
}

.fireworks {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.firework {
  width: 20px;
  height: 20px;
  background-color: hsl(var(--random-hue), 80%, 50%);
  border-radius: 50%;
  margin: 0 10px;
  animation: firework 1s ease-out infinite;
}

@keyframes firework {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
  }
}

.close-btn {
  display: block;
  margin: 1rem auto 0;
}

/* Ensure the videos are centered and larger */
.course-videos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}

.video-container {
    text-align: center;
    width: 80%; /* Make videos larger */
    max-width: 900px;
}

.video-container h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.video-container iframe {
    width: 100%; /* Make video fill the container */
    height: 500px; /* Increased height for better visibility */
    max-width: 100%;
}

/* Footer Fix - Ensure content is scrollable */
main {
    padding-bottom: 8rem; /* Adds extra space so the last video isn't hidden */
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-container {
        width: 95%; /* Slightly smaller width for mobile */
    }

    .video-container iframe {
        height: 300px; /* Adjust video size for smaller screens */
    }
}
