
:root {
    --primary: #22bd37;
    --primary-dark: #1ee65d;
    --btn-dark: #ebf6ef;
    --btn-hover-dark: #08173a;
    --secondary: #1e293b;
    --light: #f8fafc;
    --gray: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--secondary);
    line-height: 1.6;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none; 
}

.container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 2rem;
}
.container2 {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 0rem;
}



/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .btn-outline:hover {
    border: 2px solid var(--btn-hover-dark);
    color: white;
    transform: translateY(-3px) scale(1.05);
}

header .btn:hover {
    border: 2px solid var(--btn-hover-dark);
    color: white;
    transform: translateY(-3px) scale(1.05);
    cursor: pointer;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    

}

.logo img {
    height: 4rem;
    width: auto;
    display: inline-block;
}


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

.nav-links a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}
/* Hamburger toggle button */
.nav-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
}

/* Responsive styles */
@media (max-width: 1164px) {

    .logo img {
        height: 3rem;
        width: auto;
        display: inline-block;
    }
    
    nav {
        flex-wrap: wrap;
    }

    .hero-content {
        margin: 0 20px;
    }
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%; /* below header */
        left: 0;
        width: 100%;
        height: 0;
        overflow: hidden;
        background: white;
        flex-direction: column;
        z-index: 99;
        transition: height 0.4s ease, opacity 0.3s ease;
        opacity: 0;
        overflow-y: auto;
    }

    .nav-links.show {
        height: calc(100vh - 60px); /* adjust 60px if header height is different */
        opacity: 1;
    }


    .nav-links a {
        padding: 0.5rem 0;
        /*border-top: 1px solid #eee;*/
    }

    .nav-links.show {
        display: flex;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .logo img {
        height: 3rem;
        width: auto;
        display: inline-block;
    }
    nav {
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: block;
    }

    .hero-content {
        margin: 0 20px;
    }

    .nav-links {
        position: absolute;
        top: 100%; /* below header */
        left: 0;
        width: 100%;
        height: 0;
        overflow: hidden;
        background: white;
        flex-direction: column;
        z-index: 99;
        transition: height 0.4s ease, opacity 0.3s ease;
        opacity: 0;
        overflow-y: auto;
    }

    .nav-links.show {
        height: calc(100vh - 60px); /* adjust 60px if header height is different */
        opacity: 1;
    }


    .nav-links a {
        padding: 0.5rem 0;
        /*border-top: 1px solid #eee;*/
    }

    .nav-links.show {
        display: flex;
    }
}


.btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    align-items: center;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--btn-dark);
    border: 2px solid var(--btn-hover-dark);
    color: var(--btn-hover-dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Outline Button */
.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
    font-size: 1rem;
}

.btn-outline:hover {
    border: 2px solid var(--btn-hover-dark);
    color: var(--btn-hover-dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


/* Hero Section */
.hero {
    padding: 6rem 0;
    display: flex;
    align-items: center;
    gap: 4rem;

}

.hero-content {
    flex: 3;
    margin: 0 20px;
}

.hero-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.accent {
    color: var(--primary);
}
.accent a {
    color: var(--primary);
    text-decoration: none;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
}

.btn-group {
    display: flex;
    gap: 1rem;
}

/* Features */
.features {
    padding: 6rem 0;
    background-color: white;
}

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

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

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

.feature-card {
    background-color: var(--light);
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    background-color: rgba(254, 78, 48, 0.1);
    color: var(--primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
}

.steps {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.step-number {
    background-color: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.step h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25px;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background-color: var(--gray);
}

/* App Download */
.app-download {
    background-color: white;
    color: #22bd37;
    padding: 3rem 0;
    border-radius: 20px;
    margin: 2rem 0;
}

.app-paymaster {
    color: #516cef;
}

.app-paymaster a {
    text-decoration: none;
}

.accent-creddy {
    color: #ff5722;
}

.accent-creddy a{
    text-decoration: none;
    color: #ff5722;
} 

.app-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-grow: 2;
    margin: 4rem 0;
}

.app-content {
    flex: 2;
}

.app-mockup {
    flex: 1;
    text-align: center;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: black;
    color: white;
    border-radius: 12px;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s;
}

.app-btn:hover {
    transform: translateY(-3px);
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background-color: white;
}

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

.testimonial-card {
    background-color: var(--light);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-rating {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.author-name {
    font-weight: 600;
}

.author-role {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Call to Action Section */
.cta-section {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(120deg, var(--primary), #ff9a44);
    color: white;
    border-radius: 20px;
    margin: 4rem 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Driver Partnership */
.driver-section {
    padding: 6rem 0;
    display: flex;
    align-items: center;
    gap: 4rem;
}
.driver-section1 {
    padding: 6rem 0;
    display: block;
    align-items: center;
    gap: 4rem;
}

.driver-content {
    flex: 1;
}

.driver-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
}

.driver-features {
    margin-top: 2rem;
}

.driver-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.driver-feature-icon {
    background-color: rgba(254, 78, 48, 0.1);
    color: var(--primary);
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cities Section */
.cities-section {
    padding: 6rem 0;
    background-color: white;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.city-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.city-card:hover {
    transform: translateY(-5px);
}

.city-image {
    height: 200px;
    overflow: hidden;
}

.city-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.city-info {
    padding: 1.5rem;
    background-color: white;
}

.city-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.city-drivers {
    color: var(--gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1.5rem;
}

.faq-question {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-answer {
    color: var(--gray);
    display: none;
    padding: 0.5em 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 1em 0;
    border-bottom: 1px solid #ddd;
}

.faq-icon line {
    stroke: #333;
    stroke-width: 2;
    stroke-linecap: round;
}

.faq-question.active .vertical-line {
    display: none; /* Hide vertical to make minus */
}
.faq-category-title {
    margin: 2rem 0 1rem;
    color: #35D187;
    font-size: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

/* Newsletter */
.newsletter {
    background-color: var(--secondary);
    padding: 4rem 2rem;
    border-radius: 20px;
    margin-bottom: 4rem;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.newsletter-text {
    color: white;
    flex: 1;
}

.newsletter-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    flex: 1;
    display: flex;
    gap: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
}



/* App Features */
.app-features {
    padding: 6rem 0;
}

.app-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.app-feature-card {
    padding: 2rem;
    border-radius: 16px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.app-feature-card:hover {
    transform: translateY(-5px);
}

.app-feature-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}


.app-feature-card h3 {
    margin-bottom: 1rem;
}

/* Safety Section */
.safety-section {
    padding: 6rem 0;
    background-color: var(--light);
}

.safety-content {
    display: flex;
    align-items:center;
    gap: 4rem;
}
.safety-content2 {
    display:block;
    align-items:center;
    gap: 4rem;
}

.safety-text {
    flex: 1;
}

.safety-image{
    flex: 1;
    border-radius: 50px;
    overflow: hidden;
    max-width: 500px;
    max-height: 500px;

}
.safety-image1{
    flex: 1;
    border-radius: 50px;
}
.safety-image2{
    flex: 1;
    border-radius: 200px ;
    max-width: 500px;
    max-height: 500px;
}
.safety-image3 {
    flex: 4;
   
  }

.safety-features {
    margin-top: 1 rem;
}

.safety-feature {
    display:flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.safety-feature2 {
    display:block;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.check-icon {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 992px) {
    .driver-section,
    .safety-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .cities-grid,
    .app-features-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    display: block;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: var(--primary);
}

/* Footer links */
.footer-heading {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero,
    .app-container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .feature-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .feature-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .app-buttons {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* contact button section */
.contact-fab-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 1rem;
    z-index: 999;
}

.contact-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-toggle {
    background-color: var(--primary);
    color: #fff;
    font-size: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.contact-whatsapp {
    background-color: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-call {
    background-color: #ff5722;
    color: #fff;
}

.contact-mail {
    background-color: #516cef;
    color: #fff;
}

@keyframes waveAnimation {
0% { transform: rotate(0deg); }
15% { transform: rotate(14deg); }
30% { transform: rotate(-8deg); }
45% { transform: rotate(14deg); }
60% { transform: rotate(-4deg); }
75% { transform: rotate(10deg); }
100% { transform: rotate(0deg); }
}

.contact-toggle.wave {
animation: waveAnimation 1.2s ease-in-out;
}
/* Video container */
.video-container {
    text-align: right;
    padding: 20px;
    overflow: hidden; /* Prevents content from spilling out */
    border-radius: 10px; /* Matches the video border-radius */
    touch-action: auto; /* Explicitly enables touch actions */
}

video {
    width: 100%;
    max-width: 500px;
    height: auto;
    border: 2px solid #ccc;
    border-radius: 10px;
    cursor: pointer; /* Shows a pointer on hover */
    -webkit-user-select: none; /* Prevents text selection during touch */
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent; /* Removes tap highlight on iOS */
}


/* Pre-loader animation */

.js-preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    z-index: 9999;
    -webkit-transition: opacity 0.25s ease;
    transition: opacity 0.25s ease;
}

.js-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@-webkit-keyframes dot {
    50% {
        -webkit-transform: translateX(96px);
        transform: translateX(96px);
    }
}

@keyframes dot {
    50% {
        -webkit-transform: translateX(96px);
        transform: translateX(96px);
    }
}

@-webkit-keyframes dots {
    50% {
        -webkit-transform: translateX(-31px);
        transform: translateX(-31px);
    }
}

@keyframes dots {
    50% {
        -webkit-transform: translateX(-31px);
        transform: translateX(-31px);
    }
}

.preloader-inner {
    position: relative;
    width: 142px;
    height: 40px;
    background: #fff;
}

.preloader-inner .dot {
    position: absolute;
    width: 16px;
    height: 16px;
    top: 12px;
    left: 15px;
    background: var(--primary);
    border-radius: 50%;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    -webkit-animation: dot 2.8s infinite;
    animation: dot 2.8s infinite;
}

.preloader-inner .dots {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    margin-top: 12px;
    margin-left: 31px;
    -webkit-animation: dots 2.8s infinite;
    animation: dots 2.8s infinite;
}

.preloader-inner .dots span {
    display: block;
    float: left;
    width: 16px;
    height: 16px;
    margin-left: 16px;
    background: var(--primary);
    border-radius: 50%;
}

/* Language switcher styles */
    .language-switcher {
      position: fixed;
      top: 50%;
      right: 20px;
      transform: translateY(-50%);
      z-index: 1000;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    
    .language-switcher button {
      display: block;
      width: 100px;
      padding: 10px 15px;
      background-color: #007bff;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 16px;
      transition: background-color 0.3s;
    }
    
    .language-switcher button:hover {
      background-color: #0056b3;
    }
    
    .language-switcher button.active {
      background-color: #28a745;
    }
/* Style for the image container with hoppr bunny scrollbar */
.image-container {
    position: fixed;
    right: 10px; /* Position the image on the right side */
    top: 0; /* Start from the top */
    width: 35px; /* Width of the "scrollbar" image */
    height: 100%; /* Make it take the full height */
    background-color: transparent;
    z-index: 9999;
}

/* The scrolling image that will act as the scrollbar */
#scrollingImage {
    width: 100%;
    height: 50px; /* Height of the image */
    object-fit: cover; /* Cover the area properly */
    position: absolute;
    top: 0; /* Initially positioned at the top */
    transition: top 0.3s ease-out; /* Optional smooth movement */
}

/* Driver agreement and passanger agreement Modal Background */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Darker background for more focus */
    backdrop-filter: blur(5px); /* Blur effect for background */
    animation: fadeIn 0.3s ease-out; /* Smooth fade-in animation */
    margin-top: 40px;
    margin-bottom: 40px;
}


/* Modal Content */
.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px; /* Rounded corners */
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Shadow effect for depth */
    width: 90%;
    max-width: 1000px;
    max-height: 70vh;
    overflow-y: auto;
    animation: slideUp 0.5s ease-in-out; /* Smooth slide-up animation */
}

/* Close Button */
.close {
    color: #333;
    font-size: 30px;
    font-weight: bold;
    top: 20px;
    right: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #ff4d4d; /* Red color on hover */
    text-decoration: none;
}

/* Modal Fade-in Animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Modal Slide-up Animation */
@keyframes slideUp {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        width: 95%; /* Full width on small screens */
        margin-top: 15%;
        padding: 20px; /* Less padding on small screens */
        max-height: 80vh;
    }


    .close {
        font-size: 26px; /* Smaller close button on mobile */
        top: 15px;
        right: 15px;
    }
}




