@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Sans:ital,wght@0,100..800;1,100..800&display=swap');

:root {
    --color-primary: #313131;
    --color-secondary: #F2EFE7;
    --color-tertiary: #2973B2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Ubuntu Sans', sans-serif;
    background-color: var(--color-primary);
}

/* Global Styles */
.parent--container{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
}

.divider {
    width: 100%;
    max-width: 100rem;
    height: 2px;
    background-color: #fff;
}

.grid {
    display: grid;
    gap: 2.5rem;
}

.cols--2--grid {
    grid-template-columns: repeat(2, 1fr);
}

/* Navbar Styles */
.custom-navbar {
    background-color: var(--color-tertiary);
    box-shadow: 2px 2px 2px rgba(220, 218, 218, 0.945);
    padding: 2rem;
    margin-bottom: 6rem;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 7rem;
    overflow: visible;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar--logo--image {
    width: 15rem;
    height: 15rem;
}

.nav--list {
    display: flex;
    list-style: none;
    gap: 2rem;
    font-size: 1.6rem;
}

.nav--list--item {
    color: #fff;
    line-height: 1.8;
    font-weight: 500;
    text-decoration: none;
}

/* Main Container Styles */
.container {
    max-width: 120rem;
    width: 100%;
    min-height: 50rem;
    margin: 0 auto;
    padding: 10rem;
    position: relative;
    background-color: var(--color-secondary);
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.164);
}

.work--history--container {
    max-width: 120rem;
    width: 100%;
    min-height: 50rem;
    margin: 0 auto;
    padding: 2rem;
}

.home--center--container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5rem;
}

.home--container {
    max-width: 50rem;
}

.home--title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.8;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.title--span {
    color: var(--color-tertiary);
    font-weight: 700;
}

.home--description {
    line-height: 1.8;
    width: fit-content;
    letter-spacing: 0.5rem;
    font-size: 1.8rem;
}

/* Profile Box Styles */
.center--box {
    border: 0.5px solid #fff;
    height: 22rem;
    width: 20rem;
    padding: 5rem;
    position: relative;
    background-color: #9ACBD0;
}

.profile--image {
    width: 100%;
    border-radius: 1rem;
}

.action--btn--container {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.home--button--container {
    display: inline-block;
    margin-top: 2rem;
    padding: 5px 10px;
    background-color: var(--color-tertiary);
}

.home--button {
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.75px;
    color: #fff;
    padding: 2px 5px;
    transition: all 0.3s;
    box-shadow: 1px 1px 1px rgba(180, 222, 74, 0.845);
}

.home--button:hover,
.home--button:active {
    transform: translateY(-3px);
    background-color: var(--color-secondary);
    color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hire--me--btn {
    background-color: var(--color-primary);
}


/* Work History Styles */
.work--history--heading {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.8;
    color: #fff;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.work--history--description {
    text-align: center;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1.8;
    font-weight: 500;
}

.work--history--title {
    color: #fff;
}

.carousel--image {
    width: 50%;
}

/* Video History Styles */
.learn--more {
    display: inline-block;
    background-color: var(--color-tertiary);
    font-size: 1.4rem;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    line-height: 1.8;
    padding: 5px 10px;
}

.video--container {
    width: 100%;
}

/* About me Styles */
.about--me--description {
    font-size: 1.6rem;
    line-height: 1.8;
    font-weight: 500;
}

.about--me--container--form {
    max-width: 120rem;
    width: 100%;
    min-height: 50rem;
    margin: 0 auto;
    padding: 10rem;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.325);
    position: relative;
    margin-bottom: 5rem;
}

.background--image {
    background-image: url('../assest/images/istockphoto-2161498316-612x612.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    position: relative;
    isolation: isolate;
}

.background--image::before {
    content: '';
    position: absolute;
    /* Shorthand for top:0, right:0, bottom:0, left:0 */
    inset: 0;
    background-color: rgba(92,122,125, 0.8); 
    z-index: -1;
}

.about--me--form--container {
    position: relative;
    z-index: 1; 
    max-width: 50rem;
}

/* Form styles */
.form--container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form--group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form--label {
    font-size: 1.6rem;
    font-weight: 500;
    color: #fff;
}

.form--input {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.6rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.9);
}

textarea.form--input {
    min-height: 15rem;
    resize: vertical;
}

.form--input:focus {
    outline: dashed 3px var(--color-primary);
}

.form--button {
    padding: 1.2rem 2.4rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    background-color: var(--color-tertiary);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form--button:hover,
.form--button:active {
    background-color: #200696;
    transform: translateY(-2px);
}

.about--me--heading {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--color-primary);
}

/* Footer Styles */
.footer--content--container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0% 10%;
}

.footer--logo {
    width: 5rem;
    height: 5rem;
}

.footer--content {
    color: #fff;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.8;
}

.social--media--icon {
    width: 30px;
    height: 30px;
}

.social--media--container {
    display: flex;
    gap: 1.5rem;
}