@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --btn-black-color: #333333;
    --white-color: #FFFFFF;
    --black-text-color: #091D03;
    --location-sec-black: #000000;
    --grey-bg-color: #F4F4F4;
}

body {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    background-color: var(--white-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--btn-black-color);
    font-family: "Playfair Display", serif;
    font-weight: 500;
    text-transform: capitalize;
}

h2 {
    font-size: 56px;
    line-height: 67px;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    display: inline-block;
    transition: all 0.5s ease;
    font-weight: 400;
}

ul {
    list-style: none;
}

.spacer {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* --------buttons------- */

.black-bg-btn {
    padding: 12px 20px 12px 20px;
    background: var(--btn-black-color);
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    color: var(--white-color);
    transition: all 0.4s ease-in-out;
}

.black-bg-btn:hover {
    color: var(--btn-black-color);
    background-color: rgb(185, 185, 185);
}

.white-bg-btn {
    padding: 4px 10px 4px 10px;
    background: var(--white-color);
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.02em;
    color: var(--btn-black-color);
    transition: all 0.4s ease-in-out;
}

.border-btn {
    padding: 4px 10px 4px 10px;
    background: var(--white-color);
    border: 1px solid var(--btn-black-color);
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.02em;
    color: var(--btn-black-color);
    transition: all 0.4s ease-in-out;
}

/* -----navbar----- */

.navbar, .footer {
    background: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
}

/* --------hero section-------- */

.hero-section {
    background-image: url("/assets/images/main-bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 740px;
}

.hero-section .row {
    align-items: center;
    justify-content: space-between;
    padding-top: 60px;
    padding-bottom: 60px;
}

.inner-text h1 {
    font-size: 72px;
    line-height: 86px;
    letter-spacing: -0.02em;
    color: var(--white-color);
    text-transform: capitalize;
}

.vertical-form {
    background: var(--white-color);
    min-height: 610px;
    max-width: 461px !important;
    padding: 40px 24px 40px 24px !important;
    box-shadow: 10px 4px 4px 0px #00000040;
}

.vertical-form p {
    font-size: 24px;
    font-weight: 500;
    line-height: 34px;
    letter-spacing: -0.02em;
    padding-bottom: 24px;
    color: #091D03;
}

input {
    border: 1px solid #D5DAE1;
    height: 48px;
    width: 413px;
    padding: 12px 14px 12px 14px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #333F51;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

label {
    display: flex;
    align-items: flex-start;
    padding-top: 24px;
    padding-bottom: 24px;
}

input[type="checkbox"] {
    display: none;
}

.custom-checkbox {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: transparent;
    border: 1.5px solid var(--btn-black-color);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.custom-checkbox::after {
    content: "";
    position: absolute;
    display: none;
    top: 3px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid var(--btn-black-color);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

input[type="checkbox"]:checked + .custom-checkbox::after {
    display: block;
}

.checkbox-label {
    margin-left: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 300;
    line-height: 24px;
    color: var(--location-sec-black);
    margin-top: -5px;
    max-width: 357px;
}

#submit {
    background: var(--btn-black-color);
    color: var(--white-color);
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    margin-bottom: 0;
    transition: all 0.3s ease-in;
}

#submit:hover {
    color: var(--btn-black-color);
    background-color: rgb(185, 185, 185);
    cursor: pointer;
}

/* ---------unique student project section-------- */

.unique-project {
    text-align: center;
    max-width: 1440px;
    margin-inline: auto;
}

.unique-project h2, .grid-gallery h2 {
    padding-bottom: 32px;
    padding-top: 10px;
}

.unique-project p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.02em;
    text-transform: capitalize;
}

.cta {
    font-size: 18px;
    line-height: 22px;
    margin-top: 32px;
}

/* --------glance points ------- */

.glance-points {
    background: var(--grey-bg-color);
}

.glance-points .row {
    padding-top: 42px;
    padding-bottom: 42px;
}

.col-sm-4 > h4 {
    font-size: 32px;
    font-weight: 500;
    line-height: 38px;
    letter-spacing: -0.02em;
    color: var(--btn-black-color);
    padding-top: 38px;
}

.inner-content {
    display: flex;
    align-items: center;
    padding-bottom: 15px;
}

.inner-content p {
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    color: var(--btn-black-color);
    padding-left: 8px;
}

.pad-remove {
    padding-bottom: 0;
}

/* ------grid gallery------ */

.grid-gallery {
    text-align: center;
}

.grid-card-container {
    height: 1387px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 10px;
    row-gap: 20px;
    grid-auto-rows: auto;
    grid-auto-flow: dense;
    max-width: 1170px;
    margin-inline: auto;
}

.grid-card {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
    overflow: hidden;
}

.grid-card:nth-child(1) {
    grid-row: span 2 / auto;
    grid-column: span 2 / auto;
    background-image: url("../images/grid-img1.png");
}

.grid-card:nth-child(2) {
    grid-row: span 2 / auto;
    background-image: url("../images/grid-img2.png");
}

.grid-card:nth-child(3) {
    grid-row: span 4 / auto;
    background-image: url("../images/grid-img3.png");
}

.grid-card:nth-child(4) {
    grid-row: span 2 / auto;
    grid-column: span 2 / auto;
    background-image: url("../images/grid-img4.png");
}

.grid-card:nth-child(5) {
    grid-row: span 2 / auto;
    grid-column: span 2 / auto;
    background-image: url("../images/grid-img5.png");
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.grid-card:hover .overlay {
    opacity: 1;
}

.grid-card .hover-content {
    position: absolute;
    bottom: 0;
    right: 17px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
    display: flex;
    align-items: center;
}

.grid-card:hover .hover-content {
    opacity: 1;
    visibility: visible;
    bottom: 17px;
}

.hover-content p {
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    padding-right: 10px;
    color: var(--white-color);
}

.hover-content img {
    width: 48px;
    height: 48px;
}

/* -------location section----- */

.location {
    background: var(--grey-bg-color);
}

.location .col-sm-6 h2 {
    max-width: 508px;
    padding-top: 10px;
    padding-bottom: 20px;
}

.location .col-sm-6 p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.02em;
    text-transform: capitalize;
    max-width: 498px;
    padding-bottom: 16px;
    color: #000000B2;
}

.location .col-sm-6 iframe {
    border: 1px solid var(--btn-black-color);
}

hr {
    width: 495px;
    background: #BBBBBB;
}

.para {
    padding-top: 16px;
    color: var(--location-sec-black);
}

ol {
    list-style-position: inside;
    font-size: 18px;
    font-weight: 500;
    line-height: 31px;
    letter-spacing: -0.02em;
}

/* ----perks section---- */

.perks {
    text-align: center;
}

.perks h2 {
    padding-top: 10px;
    padding-bottom: 20px;
}

.perks p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.02em;
    color: #000000B2;
    text-transform: capitalize;
}

.perks .row {
    justify-content: center;
    padding-top: 32px;
    column-gap: 10px;
    row-gap: 20px;
}

.perks .row p {
    width: 384px;
    height: 80px;
    align-content: center;
    background: var(--grey-bg-color);
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
    color: var(--location-sec-black);
    letter-spacing: -0.04em;
}

/* ----call to action------ */

.call-to-action {
    background-image: url("/assets/images/last-sec-img.png");
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 561px;
    text-align: center;
    position: relative;
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.content h2 {
    color: var(--white-color);
    padding-bottom: 28px;
    max-width: 746px;
    margin-inline: auto;
}

.get-in-touch {
    background: var(--white-color);
    color: var(--btn-black-color);
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
}

.get-in-touch:hover {
    background-color: var(--btn-black-color);
    color: var(--white-color);
}

/* ---footer---- */

.copyright {
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    color: var(--location-sec-black);
    padding-top: 14px;
    padding-bottom: 15px;
}