/* Style for the website */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body,html {
    height: 100%;
    width: 100%;
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-optical-sizing: auto;
}

/* === Font Classes === */
/* .montserrat-poppins{
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.poppins-extralight {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: normal;
}
.eczar {
  font-family: "Eczar", serif;
  font-weight: 400 800;
  font-style: normal;
}
.hind-regular {
  font-family: "Hind", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.playfairdisplay {
  font-family: "Playfair Display", serif;
  font-weight: 400 900;
  font-style: normal;
} */

/* === Root Variables/Color Palette === */
:root{
    --primary: #3B6CC3;
    --brand-red: #F20707;
    --brand-green: #04A848;
    --secondary: #D0A02F;

    --dark: #1a1a1a;
    --light: #f5f5f5;
    --bgcol: #4d4f66;
    --bgopacity: #f5f5f5b7;
}

/* ============================== */
/* === Global Styles === */
a{
    text-decoration: none;
    color: inherit;
}
li{
    list-style: none;
    color: inherit;
    font-size: 14px;
}

/* === Main Section === */
main{
    min-height: 100vh;
}

/* Its common style used for each page */
.container{
    text-align: center;
    background: var(--light);
    height: 100%;
    padding: 15px;
    border-radius: 8px;
    color: var(--bgcol);
}
.container h2{
    font-weight: 500;
    border-bottom: solid 2px var(--primary);
    width: fit-content;
    margin: 0 auto 15px auto;
}
.container h3{
    font-weight: 500; 
    font-size: 20px;
    text-align: center;
    border-bottom: solid 2px var(--primary);
    margin: 5px 0 10px 0;
    padding: 5px;
    background: var(--bgcol);
    border-radius: 8px 8px 0 0;
    color: var(--light);
}
.container p{
    font-size: 14px;
    padding: 2px 0 0 0;
}

/* === Global Hero Styles === */
.hero-section {
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light) 0%, var(--brand-b) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: fadeIn 1s ease-in;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    color: var(--bgcol);
    animation: slideUp 0.8s ease-out;
}

.hero-content h1 {
    font-size: 30px;
    font-weight: 600;
    border-bottom: solid 2px var(--primary);
    width: max-content;
    margin: 0px auto 15px auto;
    animation: zoomIn 0.8s ease-out;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 20px;
    max-width: 600px;
    animation: fadeIn 1s ease-in 0.3s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-in 0.6s both;
    font-size: 12px;
    font-weight: 600;
}

.btn-primary, .btn-secondary {
    border-radius: 50px;
    padding: 10px 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    transition: all 0.3s ease-in-out;
}
.btn-primary {
    background: var(--light);
    color: var(--bgcol);
    padding: 12px 20px 10px 20px;
}
.btn-secondary {
    border: 2px solid var(--light);
    color: var(--bgcol);
    background: transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    background: var(--bgcol);
    opacity: 0.5;
}
.shape-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -50px;
    animation: float 6s ease-in-out infinite;
    /* background: var(--primary); */
}
.shape-2 {
    width: 150px;
    height: 150px;
    bottom: -30px;
    right: -30px;
    animation: float 8s ease-in-out infinite 1s;
    /* background: var(--brand-green); */
}
.shape-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    right: 10%;
    animation: float 7s ease-in-out infinite 0.5s;
    /* background: var(--secondary); */
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}
/* === End of Global Hero Styles === */
/* ================================== */
/* ========= Tablet Styles ========== */
@media (max-width: 1024px) {
    .hero-section{
        height: 50vh;
    }
    .hero-content h1 {
        font-size: 28px;
        font-weight: 600;
    }
    .hero-content p {
        font-size: 20px;
        margin-bottom: 20px;
    }
}
/* ========== Mobile Styles ========== */
@media (max-width: 600px) {
    .hero-content h1{
        max-width: 300px;
        font-size: 22px;
        font-weight: 400;
    }
    .hero-content p{
        max-width: 300px;
        margin: 15px auto;
        font-size: 14px;
    }
    .hero-cta {
        font-size: 12px;
        font-weight: 300;
        /* gap: 10px; */
    }
    .container h2 {
        font-size: 22px;
        font-weight: 400;
    }
    .container p {
        font-size: 14px;
    }
}