/* Core CSS File */
/* Font Faces */
@font-face {
    font-family: "Quick Sand";
    src: url(../assets/fonts/Quicksand-Regular.otf) format("opentype"),;
}

@font-face {
    font-family: "Sarpanch";
    src: url("../assets/fonts/Sarpanch-Bold.otf") format("opentype");
}


/* Global Styles */
body {
    margin: 0;
    padding: 0;
    font-family: "Quick Sand";
    background: #141414;
    background-attachment: local;
    color: #f0f0f0;
}

* {box-sizing: border-box;}

a {
    text-decoration: none;
    font-size: 1.2rem;
}

button {
    margin: 20px 0px;
    padding: 10px 20px;
    background-color: #141414;
    border: none;
    color: #f0f0f0;
    font-family: "Quick Sand";
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button:disabled {
    background-color: #555;
    cursor: not-allowed;
}
.cta-btn {
    width: 100%;
    margin: 10px auto;
    padding: 20px;
    background-color: #1565c0;
}

h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-family: "Quick Sand";
}
h1 {
    margin: 0;
    padding: 0;
    line-height: 70px;
    font-size: 5.5rem;
    font-family: "Sarpanch";
}
h2 {font-size: 2rem;}
p {
    line-height: 1.6;
    font-size: 1rem;
}

input {
    font-family: "Quick Sand";
    border: none;
    outline: none;
    font-size: 1rem;
}
input::placeholder {
    font-size: 1rem;
    font-family: "Quick Sand";
}

@media screen and (max-width: 699px) {
    h1 {
        line-height: 40px;
        font-size: 3rem;
    }
}

@media screen and (min-width: 700px) and (max-width: 800px) {
    h1 {font-size: 4rem;}
}

img {object-fit: cover;}


/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    gap: 50px;
    height: auto;
    width: 100%;
    margin: 0px auto;
    padding: 70px 20px 20px;
    background-color: #f0f0f0;
    color: #141414;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 5% 100%, 0 100%);
}
.hero-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hero-header p {width: 60%;}
.hero img {
    height: 400px;
    width: 100%;
    object-fit: cover;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 85% 100%, 5% 100%, 0 100%);
}
.hero-feature {
    display: flex;
    align-items: center;
    gap: 30px;
    height: auto;
    width: 100%;
    overflow: hidden;
}


@media screen and (max-width: 650px) {
    .hero {
        padding: 40px 20px 20px;
        clip-path: polygon(0 0, 100% 0, 100% 90%, 80% 100%, 5% 100%, 0 100%);
    }
    .hero p {width: 100%;}
    .hero img {clip-path: polygon(0 0, 100% 0, 100% 80%, 80% 100%, 5% 100%, 0 100%);}
    .hero-feature {flex-direction: column;}
}

@media screen and (min-width: 651px) and (max-width: 900px) {
    .hero {
        clip-path: polygon(0 0, 100% 0, 100% 85%, 80% 100%, 5% 100%, 0 100%);
    }
    .hero p {width: 100%;}
    .hero img {clip-path: polygon(0 0, 100% 0, 100% 68.5%, 80% 100%, 5% 100%, 0 100%);}
}

/* Section Alt 1 */
.section-alt-1{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin: 0px auto;
    padding: 100px 20px;
    background-color: #141414;
    color: #f0f0f0;
}

/* Section Alt 2 */
.section-alt-2{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin: 0px auto;
    padding: 100px 20px;
    background-color: #1f1f1f;
    color: #f0f0f0;
}

@media screen and (max-width: 650px) {
    .section-alt-1, .section-alt-2 {padding: 50px 20px;}
}

/* Section Header */
.header{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0px;
}

.header p {width: 60%;}

@media screen and (max-width: 800px) {
    .header {text-align: center;}
    .header p {width: 100%;}
}

/* Section Cards */
.section-cards{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
}

@media screen and (max-width: 600px) {
    .section-cards{grid-template-columns: 1fr;}
}

@media screen and (min-width: 601px) and (max-width: 900px) {
    .section-cards{grid-template-columns: repeat(2, 1fr);}
}

.item-card {
    height: 450px;
    padding: 20px;
    background-color: #f0f0f0;
    color: #141414;
    transition: all 0.2s ease-in-out;
}
.item-card:hover {
    background-color: #a7c400;
    transform: translateY(-10px);
}
.item-card:hover h1 {color: #f0f0f0;}
.item-card:hover .item-card-header {border-bottom: 0.5px solid #f0f0f0;}
.item-card-header {
    border-bottom: 0.5px solid #c7c7c7;
    margin-bottom: 20px;
    padding-bottom: 10px;
}
.item-card-header h1 {color: #bebebe;}
.item-card h2 {height: auto;}
.item-card p {height: 120px;}

@media screen and (max-width: 650px) {
    .item-card {height: auto;}
    .item-card h2 {height: auto;}
    .item-card p {height: auto;}
}
