:root {
    --primary-bg-color: #1E324C;
    --secondary-bg-color: #142233;
}

@font-face {
    font-family: aileron-regular;
    src: url(../fonts/Aileron-Regular.otf);
}

.playfair {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.manjari-thin {
    font-family: "Manjari", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.manjari-regular {
    font-family: "Manjari", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.manjari-bold {
    font-family: "Manjari", sans-serif;
    font-weight: 700;
    font-style: normal;
}

a {
    color: white;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
  color:white;
}

body {
    font-family: "Manjari", sans-serif;
    font-weight: 400;
    font-style: normal;
    max-width:100%;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.nav-link {
    color: white;
}

.nav-link:hover {
    color: white;
}

@media (max-width: 1550px) {

    .nav-link {
        font-size: 28px;
    }
}

@media (max-width: 1350px) {

    .nav-link {
        font-size: 24px;
    }
}


@media (min-width: 992px) {
    .homepage-band {
        width: 200%
    }

    .qualification-list {
        width: 130%;
    }

    .main-nav {
        background-color: transparent !important;
    }

    .service-summary-text {
        max-height: 250px;
    }

    .contact-container {
        height: 100%;
        background-image: url(../images/bg.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        background-position-y: -198px;
    }

    .contact {
        clip-path: polygon(0 0, 60% 0, 80% 100%, 0% 100%);
    }

    .main-container {
        height: 1200px;
    }

}

.navbar-toggler {
    background-color:white;
}

.main-nav {
    background-color: var(--secondary-bg-color);
}

.main {
    height: 100%;
    background-image: url(../images/bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-position-y: -198px;
    background-color: var(--primary-bg-color);
    clip-path: polygon(0px 0px, 2000px 0, 100% 39%, 60% 96%);
}

@media (max-width: 1000px) {
    .main {
        clip-path: polygon(0px 0px, 1000px 0, 100% 39%, 100% 100%);
    }

    
}

.main-container {
    height: 1650px !important;
}

.main-container {
    margin-top: -57px;
    background-color: var(--primary-bg-color);
}

.second {
    background-color: var(--secondary-bg-color);
}

.second-container {
    background-color: var(--primary-bg-color);
    margin-top: -149px;
    z-index: -1;
}

.navbar {
    background-color: transparent !important;
}

.nav-item {
    font-size: 32px;
}

h1 {
    font-size: 72px;
}

.btn {
    background-color: white;
    color: var(--primary-bg-color);
    font-size: 24px;
    border-radius: 50px;
    padding: 10px 40px 5px 40px;
    border: 0;
}

    .btn:hover {
        background-color: var(--secondary-bg-color);
        color: white;
    }

.btn-invert {
    background-color: var(--secondary-bg-color) !important;
    color: white !important;
    border: 1px solid var(--primary-bg-color)
}

    .btn-invert:hover {
        background-color: white !important;
        color: var(--secondary-bg-color) !important;
        border: 1px solid var(--primary-bg-color)
    }


.primary-bg {
    background-color: var(--primary-bg-color);
}

.secondary-bg {
    background-color: var(--secondary-bg-color);
}

.primary-text {
    color: var(--primary-bg-color);
}

.secondary-text {
    color: var(--secondary-bg-color);
}

li {
    line-height: 30px
}

ul {
    padding: 1rem;
}

.card {
    position:relative;
    background-color: white;
}

.qualification-card {
    border-radius: 20px 20px 0px 0px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 70%);
    height: 500px;
}

.card-container {
    border-radius: 20px 20px 0px 0px;
    position: relative;
    width: 100%;
    background-color: var(--secondary-bg-color);
    height: 100%;
}

.about {
    clip-path: polygon(85% 100px, 90% 0, 100% 0, 100% 100%, 0 100%, 0 0, 80% 0);
}

.services-image {
    border: 2px solid var(--primary-bg-color)
}

.location-image {
    border: 4px solid var(--primary-bg-color)
}

.contact-card {
    border-radius: 10px;
}

.contact-checkbox-container {
    background-color: lightgray;
    border-radius: 10px;
}

.form-control {
    border: 1px solid var(--primary-bg-color);
}

.form-check-input:checked {
    background-color: var(--primary-bg-color);
    border: 1px solid var(--primary-bg-color)
}

.form-check-input:focus, .btn:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--primary-bg-color);
}

.defect-card {
    border-radius: 20px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 62% 100%, 0 75%);
    height: 500px;
}

.defect-card-container {
    border-radius: 20px;
    height: 500px;
}

.defect-image-container {
    border-radius: 20px;
    height: 500px;
}

    .defect-image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.square-img {
    width: 100%; /* Fills its parent container */
    aspect-ratio: 1 / 1; /* Forces it to be a square */
    object-fit: cover; /* Crops the rectangle to fit the square */
}

.row {
    --bs-gutter-x:0;
}

.service-summary-text {
    max-height: 350px;
    overflow:auto;
}