@import url('https://fonts.googleapis.com/css2?family=Parkinsans:wght@300..800&display=swap');


* {
    font-family: "Parkinsans", sans-serif;
}

h1 {
    font-family: "Parkinsans", sans-serif;
}

h2, h3, h4 {
    font-family: "Parkinsans", sans-serif;
}

h1 {
    font-size: 46px !important;
}

section {
    padding-top: 130px;
    padding-bottom: 130px;
}

h2  {
    text-align: center;
}

.container {
    z-index: 2 !important;
}

header {
    position: sticky;
    top: 0;
    z-index: 30000;

}

.header-top {
    position: absolute;
    width: 100%;
    z-index: 100;
    height: 95px;
    background-color: white;
}

.header-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: inline-block;
}

.toggle {
    position: absolute;
    left: 82%;
    color: #282457;
    padding: 45px 15px;
    font-size: 25px;
    display: none;
    cursor: pointer;
}

.nav {
    float: right;
}

.nav>ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.about-pic {
    border-radius: 35px;
}

.nav>ul>li {
    float: left;
}

.nav a {
    display: block;
    color: #282358;
    text-align: center;
    padding: 25px 16px;
    letter-spacing: -0.5px;
    text-decoration: none;
    font-size: 18px;
}

.tutor-pic {
    height: 500px;
    object-fit: cover;
}

.header {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;    
    background-image: url("img/hero.webp");
    background-size: cover;
    background-position: center;
    color: white;
    padding-top: 95px;
}

.fieldInput {
    display: block;
    background-color: #fff;
    border: 3px solid #fff;
    border-radius: 35px;
    padding: 10px 230px 10px 30px;
    position: relative;
}

.divider {
    width: 10%;
}

.hero-img {
    height: 100%;
    object-fit: cover;
}
.bg-overlay {
    position: absolute;
    background: #263174;
    opacity: 0.7;
    height: 100%;
    width: 100%;
}

label {
    font-weight: 100;
}

.form-container {
    background-color: white;
    padding: 30px;
    color: black;
    border-radius: 5px;
}

.trust-pilot {
    width: 80%;
}

.bg-blue {
    background-color: #263174 !important;
    background-image: url("img/pattern1.png");
    background-size: cover;
}

.hero-text-container {
    background: #282358;
    color: #f4f6f0;
    padding: 50px !important;
    border-radius: 20px;
    clip-path: polygon(32.2492676px 0,calc(100% - 29.883191px) 14.1670774px,calc(100% - 29.883191px) 14.1670774px,calc(100% - 24.96109729px) 14.87537046px,calc(100% - 20.31945472px) 16.29591632px,calc(100% - 16.01424199px) 18.36886116px,calc(100% - 12.1014378px) 21.03435113px,calc(100% - 8.63702087px) 24.23253242px,calc(100% - 5.67696992px) 27.9035512px,calc(100% - 3.27726365px) 31.98755362px,calc(100% - 1.49388076px) 36.42468587px,calc(100% - 0.38279998px) 41.1550941px,calc(100% - 5.68434189E-14px) 46.1189245px,calc(100% - 0px) calc(100% - 32.02092px),calc(100% - 0px) calc(100% - 32.02092px),calc(100% - 0.41860061px) calc(100% - 26.8269604px),calc(100% - 1.63050344px) calc(100% - 21.89983258px),calc(100% - 3.56985995px) calc(100% - 17.30546357px),calc(100% - 6.1708216px) calc(100% - 13.10978045px),calc(100% - 9.36753988px) calc(100% - 9.37871025px),calc(100% - 13.09416624px) calc(100% - 6.17818003px),calc(100% - 17.28485217px) calc(100% - 3.57411685px),calc(100% - 21.87374912px) calc(100% - 1.63244774px),calc(100% - 26.79500858px) calc(100% - 0.41909978px),calc(100% - 31.982782px) calc(100% - 5.68434189E-14px),31.9827822px calc(100% - 0px),31.9827822px calc(100% - 0px),26.79500879px calc(100% - 0.41909978px),21.87374934px calc(100% - 1.63244774px),17.28485237px calc(100% - 3.57411685px),13.09416641px calc(100% - 6.17818003px),9.36754001px calc(100% - 9.37871025px),6.1708217px calc(100% - 13.10978045px),3.56986001px calc(100% - 17.30546357px),1.63050347px calc(100% - 21.89983258px),.41860062px calc(100% - 26.8269604px),5.29492535E-31px calc(100% - 32.02092px),0 32.0209204px,0 32.0209204px,.41860062px 26.82696079px,1.63050347px 21.89983293px,3.56986001px 17.30546389px,6.1708217px 13.10978071px,9.36754001px 9.37871045px,13.09416641px 6.17818017px,17.28485237px 3.57411693px,21.87374934px 1.63244779px,26.79500879px .41909979px,31.9827822px 5.30123935E-31px,31.9827822px 0,32.11152455px 0,32.2175794px 0,32.30094672px 0,32.36162654px 0,32.39961884px 0,32.41492362px 0,32.40754089px 0,32.37747064px 0,32.32471288px 0,32.2492676px 0);
}


#myVideo {
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100vh;
    position: absolute;
  }

.overlay {
    background: rgb(0 0 0 / 25%);
    height: 100vh;
    width: 100%;
    position: absolute;
    z-index: 1;
}

.mb-100 {
    margin-bottom: 100px !important;
}

.wrapping-container {
    text-align: center;
}

.center-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.testimonial {
    background-image: url("./img/contact-us.jpg");
    background-size: cover;
    background-position: center;
}

.contact-us {
    background: black;
    background-image: url("./img/contact-us.jpg");
    background-repeat: no-repeat;
    background-position: right;
}

.my-100 {
    margin-top: 100px;
    margin-bottom: 100px;
}

p {
    font-weight: 300;
    line-height: 1.8;
}

.email-input {
    width: 100%;
    height: 42px;
    font-size: 24px;
    border: 0;
}

.email-btn {
    position: absolute;
    border: none;
    background: #263174 !important;
    text-transform: capitalize;
    color:white !important;
    border: 0 !important;
    width: 220px;
    height: 44px;
    font-size: 18px;
    border-radius: 35px;
}

.btn {
    border: none;
    background: #76ab88 !important;
    text-transform: capitalize;
    color:white !important;
}

img {
    width: 100%;
}

.img-container {    
    max-height: 800px;
    overflow: hidden;
}

.img-container-services {    
    max-height: 550px;
    overflow: hidden;
}

.main-text {
    z-index: 10000;
}

.about-img img {
    max-width: 150px;
    margin-bottom: 20px;
}

.about-img {
    background-color: white;
    padding: 35px;
    border-radius: 20px;
    text-transform: capitalize;
}

.about-img p {
    margin-bottom: 0 !important;
}

.tutors-info li {
    font-weight: 100;
}

.second-service {
    position: relative;
    top: -100px;
}

.logo {
    width: 220px;
}
.color-one {
    background-color: #fafcff;
}

.testimonial-container {
    background: #121212;
    padding: 30px;
    border-radius: 10px;
}

.phone-number {
    text-decoration: none;
    color: white;
}

.process {
    color: black;
    background: white;
    width: 75px;
    height: 75px;
    text-align: center;
    margin-bottom: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process img {
    width: 50px;
}

.customer-name {
    color: #7C18E5;
    font-size: 16px;
}

.text-right {
    text-align: right !important;
}

@media (max-width: 425px) {
    h1 {
        font-size: 38px !important;
    }

    .btn {
        margin-bottom: 50px;
    }

    .tinting-img-container, .starlight-img-container {
        margin-top: 50px;
        height: 400px;
    }

    .wrapping-img-container {
        height: 400px;
    }
    
    .second-service {
        top: 0;
    }

    .testimonial-container {
        margin-bottom: 30px;
    }

    .wrapping-container {
        text-align: left;
        margin-top: 50px !important;
    }
}

@media (max-width: 768px) { 
    .form-container {
        margin-top: 35px;
        margin-bottom: 50px;
    }

    .logo {
        max-width: 150px !important;
    }

    .starlight-img-container {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        background-attachment: unset;
    }
    
    .wrapping-img-container {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        background-attachment: unset;
    }

    .contact-us {
        background: black;
        background-color: black;
    }

    .toggle {
        display: inline-block;
        position: absolute;
    }

    .nav {
        width: 100%;
        padding-left: 0 !important;
        background-color: #263174;
        position: absolute;
        top: 95px;
        left: 0;
    }

    .nav ul {
        max-height: 0;
    }

    .nav>ul>li {
        width: 100%;
        box-sizing: border-box;
    }

    .nav a {
        display: block;
        color: #fff !important;
        text-align: center;
        padding: 10px;
        border-top: 1px solid #fff;
    }

    .menu-open {
        width: 100%;
        max-height: 200px !important;
        transition: all 0.1s ease-in-out;
    }

    section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .about-tutors {
        margin-top: 35px;
    }

    .contact-form-container {
        margin-top: 40px;
    }
    

    .tutor-pic {
        height: 100%;
    }

 }

/* Service Cards Styling */
.service-cards-container {
    /* Ensures cards are nicely spaced and centered if they wrap on smaller screens */
    justify-content: center;
}

.service-card {
    position: relative; /* Needed for absolute positioning of the overlay */
    border-radius: 15px; /* Rounded corners for the card */
    overflow: hidden; /* Ensures the image corners are also rounded */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: adds a subtle shadow */
    transition: transform 0.3s ease; /* Optional: for a slight hover effect */
}

.service-card:hover {
    transform: translateY(-5px); /* Optional: slight lift on hover */
}

.service-img {
    display: block; /* Removes any extra space below the image */
    width: 100%;
    height: 306px !important; /* Maintain aspect ratio */
    object-fit: cover; /* Ensures the image covers the card area, might crop */
}

.service-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black background */
    color: white;
    padding: 15px;
    text-align: center;
    border-bottom-left-radius: 15px; /* Match card's rounded corners */
    border-bottom-right-radius: 15px; /* Match card's rounded corners */
}

.service-title-overlay h5 {
    margin: 0; /* Remove default margin from h5 */
    font-size: 1.25rem; /* Adjust as needed */
    font-weight: 500; /* Adjust as needed */
}

/* Ensure the existing .about-img inside the original services section doesn't conflict,
   though it should be removed by the previous HTML edit.
   This is more of a safeguard if any .about-img were left or reused. */
#services .about-img img {
    /* Resetting styles if they were specific and conflicting */
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
}

@media screen and (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}