.social-icons img {
    width: 30px;
    height: 30px;
    opacity: 0.6;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.social-icons img:hover {
    opacity: 1;
    transform: scale(1.2) rotate(10deg);
}
.hero-section {
    text-align: center;
    margin-top: 10%;
}
.hero-title {
    font-size: 2em;
    font-weight: bold;
    animation: slideUp 0.4s ease-in-out;
}

.toast-message {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #28a745;
        color: white;
        padding: 15px;
        border-radius: 5px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
    }
.hero-title span {
    color: red;
    display: block;
}
.hero-subtitle {
    font-size: 1.5em;
    margin-top: 10px;
    animation: slideUp 0.4s ease-in-out 0.05s;
}
.highlight-text {
    font-weight: bold;
}
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
body {
    font-family: Arial, sans-serif;
    background: #000;
    color: white;
    margin: 0;
    padding: 0;
}
header {
    background: #000;
    color: white;
    padding: 15px 20px;
    height: 200px;
}
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    height: 200px;
}
.socials {
  text-align: center;
}
.logo img {
    height: 120px;
    transition: 0.3s ease
}
nav ul {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
nav ul li {
    position: relative;
}
nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
}
nav ul li a:hover {
    text-decoration: underline;
}
.cards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    color: black;
}
.card {
    width: 300px;
    height: 450px;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    position: relative;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}
.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}
.card:hover {
    transform: scale(1.08);
}

.price {
    font-weight: bold;
    color: red;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #000;
    color: white;
}
/* 
header {
    background: #0073aa;
    color: white;
    text-align: center;
    padding: 20px;
} */

.blog-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 10px;
    background: black;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
}

.blog-post {
    border-bottom: 1px solid #ddd;
    padding: 15px;
}

.blog-post h2 a {
    text-decoration: none;
    color: #2561b1ed;
}

.blog-post h2 a:hover {
    text-decoration: underline;
}

.blog-content {
    max-width: 800px;
    margin: 20px auto;
    padding: 10px;
    background: black;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
}

.back-btn {
    display: block;
    text-decoration: none;
    color: white;
    background: red;
    padding: 10px;
    text-align: center;
    margin-top: 20px;
}
.content {
    max-width: 800px;
    margin: 40px auto;
    /*background: white;*/
    padding: 20px;
    border-radius: 8px;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
}
.btn {
    background: #ff0000;
    padding: 10px 20px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    color: white;
}
.about-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 40px auto;
    /*background: white;*/
    padding: 20px;
    border-radius: 8px;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
}

.about-content h2 {
    color: red;
    font-size: 2em;
}
.about-content h3 {
    font-weight: bold;
}
.about-content p {
    font-size: 1.1em;
}
.about-image img {
    width: 100%;
    max-width: 350px;
}
.cta-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: red;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}
.mfp-with-zoom .mfp-title, .touch .gallery-image figcaption, html:not(.touch) .gallery-image figcaption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: rgba(255, 255, 255, 0);
    padding: 1em;
    transition: all 0.2s ease;
    font-weight: 600;
    max-width: calc(100% - 9em);
    line-height: 1.25;
    text-align: center;
    box-sizing: border-box;
  }
  .mfp-with-zoom .mfp-title:before, .touch .gallery-image figcaption:before, html:not(.touch) .gallery-image figcaption:before, .mfp-with-zoom .mfp-title:after, .touch .gallery-image figcaption:after, html:not(.touch) .gallery-image figcaption:after {
    content: "";
    position: absolute;
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100%;
    padding: 1em;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    z-index: -1;
  }
  .mfp-with-zoom .mfp-title:before, .touch .gallery-image figcaption:before, html:not(.touch) .gallery-image figcaption:before, .mfp-with-zoom .mfp-title:after, .touch .gallery-image figcaption:after, html:not(.touch) .gallery-image figcaption:after {
    right: 100%;
    bottom: 100%;
  }
  .mfp-with-zoom .mfp-title:after, .touch .gallery-image figcaption:after, html:not(.touch) .gallery-image figcaption:after {
    left: 100%;
    top: 100%;
  }
  
  .mfp-with-zoom.mfp-ready .mfp-title, .touch .gallery-image figcaption, html:not(.touch) .gallery-image:hover figcaption {
    color: white;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease 0.3s;
  }
  .mfp-with-zoom.mfp-ready .mfp-title:before, .touch .gallery-image figcaption:before, html:not(.touch) .gallery-image:hover figcaption:before, .mfp-with-zoom.mfp-ready .mfp-title:after, .touch .gallery-image figcaption:after, html:not(.touch) .gallery-image:hover figcaption:after {
    opacity: 1;
  }
  .mfp-with-zoom.mfp-ready .mfp-title:before, .touch .gallery-image figcaption:before, html:not(.touch) .gallery-image:hover figcaption:before {
    right: -1.5em;
    bottom: -1.5em;
  }
  .mfp-with-zoom.mfp-ready .mfp-title:after, .touch .gallery-image figcaption:after, html:not(.touch) .gallery-image:hover figcaption:after {
    left: -1.5em;
    top: -1.5em;
  }
  
  html {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizelegibility;
  }
  
  body {
    font-family: "Montserrat", sans-serif;
  }
  
  .gallery {
    -moz-column-gap: 0;
         column-gap: 0;
  }
  @media (min-width: 480px) {
    .gallery {
      -moz-column-count: 2;
           column-count: 2;
    }
  }
  @media (min-width: 1260px) {
    .gallery {
      -moz-column-count: 3;
           column-count: 3;
    }
  }
  
  .gallery-image {
    position: relative;
    margin: 0;
    padding: 0;
  }
  .gallery-image:before, .gallery-image:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 16px solid rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    will-change: border;
  }
  .gallery-image:after {
    border-width: 0;
  }
  .gallery-image img {
    display: block;
    max-width: 100%;
    height: auto;
  }
  html:not(.touch) .gallery-image {
    overflow: hidden;
  }
  html:not(.touch) .gallery-image:hover:before {
    border-width: 16px;
  }
  html:not(.touch) .gallery-image:hover:after {
    border-width: 32px;
  }
  .touch .gallery-image figcaption {
    top: auto;
    bottom: 2em;
  }
  
  .mfp-with-zoom .mfp-container, .mfp-with-zoom.mfp-bg {
    opacity: 0;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    transition: all 0.3s ease-out;
  }
  .mfp-with-zoom.mfp-bg {
    background-color: rgba(0, 0, 0, 0.9);
  }
  .mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
  }
  .mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 1;
  }
  .mfp-with-zoom.mfp-removing .mfp-container, .mfp-with-zoom.mfp-removing.mfp-bg {
    opacity: 0;
  }
  .mfp-with-zoom img.mfp-img {
    padding: 0;
  }
  .mfp-with-zoom .mfp-figure:after {
    top: 0;
    bottom: 0;
  }
  .mfp-with-zoom .mfp-container {
    padding: 0;
  }
  .mfp-with-zoom .mfp-content {
    overflow: hidden;
  }
  .mfp-with-zoom .mfp-bottom-bar {
    top: auto;
    bottom: 0;
    margin-top: 0;
  }
  .mfp-with-zoom .mfp-title {
    top: auto;
    bottom: 2em;
  }
  .mfp-arrow {
    opacity: 1;
    margin-top: 0 !important;
    width: 20%;
    height: 30%;
    transform: translateY(-50%);
  }
  .mfp-arrow:before, .mfp-arrow:after {
    margin: 0;
    border: none;
    width: 2rem;
    height: 2rem;
    transform: rotate(-45deg) translate(-50%, -100%);
    opacity: 1;
    top: 50%;
    left: 50%;
    transition: all 0.15s;
  }
  .mfp-arrow:active {
    transform: translateY(-50%) scale(0.95);
  }
  
  .mfp-arrow-left {
    left: 0;
  }
  .mfp-arrow-left:before, .mfp-arrow-left:after {
    border-top: 2px solid white;
    border-left: 2px solid white;
  }
  .mfp-arrow-left:after {
    margin-left: 2rem;
  }
  .mfp-arrow-left:hover:before, .mfp-arrow-left:active:before {
    margin-left: 2rem;
  }
  .mfp-arrow-left:hover:after, .mfp-arrow-left:active:after {
    margin-left: 0;
  }
  
  .mfp-arrow-right {
    right: 0;
  }
  .mfp-arrow-right:before, .mfp-arrow-right:after {
    border-right: 2px solid white;
    border-bottom: 2px solid white;
  }
  .mfp-arrow-right:after {
    margin-left: 2rem;
  }
  .mfp-arrow-right:hover:before {
    margin-left: 2rem;
  }
  .mfp-arrow-right:hover:after {
    margin-left: 0;
  }
  
  button.mfp-close {
    opacity: 1;
    margin-top: 0 !important;
    width: 20%;
    height: 30%;
    font: 0/0 serif;
    text-shadow: none;
    color: transparent;
  }
  button.mfp-close:before, button.mfp-close:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    border: none;
    width: 2rem;
    height: 2rem;
    opacity: 1;
    transition: all 0.15s;
    transform-origin: 0 0;
    border-top: 2px solid white;
    border-left: 2px solid white;
  }
  button.mfp-close:before {
    transform: rotate(-45deg);
  }
  button.mfp-close:after {
    transform: rotate(135deg);
  }
  button.mfp-close:hover:before {
    transform: rotate(135deg);
  }
  button.mfp-close:hover:after {
    transform: rotate(315deg);
  }
  button.mfp-close:active {
    transform: scale(0.95);
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  [id=footer] {
    margin-top: 10vh;
    padding: 10vh 0;
    text-align: center;
  }
  [id=footer] .container {
    position: relative;
  }
  [id=footer] .container:before, [id=footer] .container:after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 20px;
    z-index: 10;
    border-top: 2px solid;
    width: 10%;
    margin-bottom: 10vh;
  }
  [id=footer] .container:after {
    left: auto;
    right: 20px;
  }
  [id=footer] * {
    display: block;
  }
  [id=footer] * + * {
    margin-top: 5vh;
  }
  [id=footer] .logo {
    font-weight: 600;
    font-size: 1.5em;
  }
  [id=footer] .copy {
    text-transform: uppercase;
    font-size: 0.75em;
    font-weight: 600;
  }
.reviews-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 40px auto;
    max-width: 800px;
    border-radius: 8px;
    text-align: left;
}
.reviews-content {
    max-width: 60%;
}
.reviews-content h2 {
    color: red;
    font-size: 2em;
}
.reviews-content p {
    font-size: 1.1em;
    font-weight: bold;
}
.reviews-image img {
    width: 40%;
    height: 40%;
}

.cta-button:hover {
    background: darkred;
    transform: scale(1.1);
}

.contact-section {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 40px auto;
    background: black;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.contact-form {
   width: 100%;
}
.contact-form h2 {
    color: red;
}
.contact-form label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form label {
    display: flex;
    align-items: center;
    gap: 8px; /* space between checkbox and text */
}

.contact-form input[type="checkbox"] {
    width: auto;   /* prevents it from stretching to 100% */
    margin: 0;     /* reset default margin */
}

.driving-lessons-section {
    background: black;
    padding: 40px 0;
    display: flex;
    justify-content: center;
}

.lesson-container {
    display: flex;
    align-items: center;
    max-width: 900px;
    background: black;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.lesson-image img {
    height: auto;
    width: 300px;
    border-radius: 5px;
}

.lesson-content {
    margin-left: 20px;
    max-width: 600px;
    color: white;
}

.lesson-content h2 {
    color: red;
    font-size: 2em;
}

.lesson-content p {
    font-size: 1em;
    line-height: 1.5;
    color: white;
}
.contact-form button {
    width: 100%;
    padding: 10px;
    background: red;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    margin-top: 15px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}
.contact-form button:hover {
    background: darkred;
}
.contact-info {

    text-align: center;
}
.contact-info img {
    width: 100%;
    border-radius: 5px;
}
.contact-info h3 {
    margin-top: 15px;
}


.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-bottom: 20px;
}

.footer h3 {
    margin-bottom: 5px;
    font-size: 16px;
}

.footer a {
    text-decoration: none;
    color: #0073e6;
}

.footer a:hover {
    text-decoration: underline;
}

.testimonials-section {
    background: #000000;
    padding: 50px 0;
    text-align: center;
}

.testimonial-container {
    max-width: 700px;
    margin: auto;
    background: black;
    padding: 30px;
    border-radius: 8px;
}

.testimonial-icon img {
    width: 50px;
    margin-bottom: 10px;
}

.testimonial-container h2 {
    color: red;
    font-size: 1.8em;
}
.learner-stories {
    text-align: center;
    background: #000000;
    color: white;
    padding: 30px 0;
}

.learner-text h2 {
    font-size: 2em;
    font-weight: bold;
    color: #ffffff;
}

.learner-text p {
    font-size: 1.2em;
    color: #ffffff;
    margin-top: 5px;
}

.learner-image {
    text-align: center;
    padding: 50px 0;
    width: 50%;
    max-width: 50%;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
}

.learner-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius:10px ;

}

.testimonials-body .body{
    background-color: white;
}

.subheading {
    font-size: 1.1em;
    font-weight: bold;
    color: white;
}

.testimonial-content {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.testimonial-text {
    width: 80%;
    font-size: 1.1em;
    color: white;
    font-weight: normal;
    text-align: center;
    min-height: 80px;
}

.prev-btn, .next-btn {
    background: #ddd;
    border: none;
    padding: 10px 15px;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.prev-btn:hover, .next-btn:hover {
    background: #bbb;
}

.testimonial-user img {
    width: 60px;
    border-radius: 50%;
    margin-top: 20px;
}

.user-name {
    font-weight: bold;
    margin: 5px 0;
    color: white;
}

.rating, .lesson-type {
    font-size: 0.9em;
    color: white;
}

.dots-container {
    margin-top: 15px;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin: 0 3px;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background-color: red;
}
