@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {

    /* Colors */

    --color-primary: hsl(202, 100%, 50%);
    --color-secondary: hsl(202, 100%, 60%); 
    --color-background: hsl(0, 0%, 100%); 
    --color-background-light: hsl(0, 0%, 100%);
    --color-text: hsl(0, 0%, 0%); 
    --color-text-light: hsl(0, 0%, 18%);

    /* Typography */

    --font-family: "Open Sans", sans-serif;
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-md: 16px;
    --font-size-lg: 20px;
    --font-size-xl: 24px;
    --font-size-xxl: 32px;

    --font-weight-md: 400; 
    --font-weight-sb: 500;
    --font-weight-lg: 600;  
    --font-weight-xl: 700;  

    --line-height-xs: 1.2;
    --line-height-sm: 1.4;
    --line-height-md: 1.5;
    --line-height-lg: 1.6;

    /* Spacing */

    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;

    /* Border Radius */

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Shades */

    --shadow-sm: 0 1px 3px hsla(0, 0%, 0%, 0.12);
    --shadow-md: 0 4px 6px hsla(0, 0%, 0%, 0.15);
    --shadow-lg: 0 10px 20px hsla(0, 0%, 0%, 0.2);
}

/* Global Styles Start */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-background-light);
    color: var(--color-text);
}

/* Global Styles End */

/* Navbar Start */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 8vh;
    background-color: var(--color-background);
    box-shadow: var(--shadow-sm);
    user-select: none;
}

.navbar-left {
    margin-left: 8rem;
}

.navbar-left .logo {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-lg);
}

.navbar-left .logo a {
    color: var(--color-text);
    text-decoration: none;
    margin-left: 0.2rem;
}

.navbar-right {
    display: flex;
    align-items: center;
    margin-right: 8rem;
}

.navbar-links {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.navbar-links a {
    position: relative;
    text-decoration: none;
    color: var(--color-text);
    font-weight: var(--font-weight-lg);
    font-size: var(--font-size-md);
    padding-bottom: 5px;
    margin-left: 2rem;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 0;
    background-color: var(--color-text);
    transition: width 0.3s ease-in-out;
}

.navbar-links a:hover::after {
    width: 50%;
}

.navbar-icons {
    display: flex;
    align-items: center;
    margin-left: 2rem;
}

.navbar-icons a {
    color: var(--color-text);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-md);
    margin-left: 1rem;
    text-decoration: none;
}

/* Navbar End */

/* Home Section Start */

.home {
  width: 100%;
  min-height: calc(100vh - 8vh);
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  overflow: hidden;
  padding: 6rem 8rem;
}

.home-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  gap: 4rem;
}

.home-text {
  flex: 1;
  animation: fadeInUp 1s ease-in-out;
}

.home-text h2 {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--color-text-light);
  font-weight: 600;
}

.home-text h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.home-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.home-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1.2s ease-in-out;
}

.home-image img {
  max-width: 600px;
  width: 100%;
  height: auto;
  user-select: none;
  border-radius: var(--radius-lg);
}

.btn-primary {
  display: inline-block;
  background-color: #131313;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Home Section End */
