.hero {
    display: flex;
    background-color: var(--bg-color);
    padding-top: 60px;
    padding-bottom: 3rem;
    overflow: hidden;
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-inner {
  display: flex;
  align-items: stretch;
  width: 100%;
  gap: 2rem;
  max-width: 1250px;
  margin: 0 auto;
  flex-wrap: wrap;
  padding: 24px;
}

.hero .container {
  flex: 2;
  min-width: 300px;
}

.hero .container {
    position: relative;
    width: fit-content;
    margin: 0 auto;
    padding: 60px 40px 40px 60px;
    z-index: 2;
    background-color: var(--bright-green);
    border-radius: 12px;
    border: 3px solid #1F4951;
    box-shadow: -12px 16px 12px rgba(31, 73, 81, 0.40);
}

.hero .right-container {
    position: relative;
    width: fit-content;
    flex: 1;
    min-width: 200px;
    margin: 0 auto;
    padding: 60px 40px 40px 60px;
    z-index: 2;
    background-color: var(--bright-orange);
    border-radius: 12px;
    border: 3px solid #7C2007;
    box-shadow: 12px 16px 12px rgba(124, 32, 7, 0.40);
}

.hero .right-container, .hero .container {
    transition: all var(--transition-fast);
    cursor: pointer;
}

.hero .container,
.hero .right-container {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, box-shadow;
  flex: 1 1 400px;
  max-width: 600px;
  box-sizing: border-box;
}

.hero .right-container:hover, .hero .container:hover {
    transform: translateY(-12px);
}

.hero .container:hover {
    box-shadow: -36px 40px 12px rgba(31, 73, 81, 0.40);
}

.hero .right-container:hover {
    box-shadow: 36px 40px 12px rgba(124, 32, 7, 0.40);
}

.right-container img:nth-child(1) {
    position: absolute;
    width: 80%;
    height: auto;
    bottom: 0%;
    right: 0%;
    color: var(--dark--orange);
    animation: fadeIn 0.8s ease-out;
}

/* Ribbon on top-left */
.right-container img:nth-child(2) {
    position: absolute;
    width: 60%;
    top: 0%;
    left: 5%;
    animation: fadeIn 0.8s ease-out;
}

/* Monogram B on top-right */
.right-container img:nth-child(3) {
    position: absolute;
    width: 8%;
    top: 5%;
    right: 8%;
    animation: fadeIn 0.8s ease-out;
}

/* CONTENT */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

/* Text styling improvements */
.hero-greeting {
    color: var(--dark-green);
    font-family: 'BinomaTrial', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    display: block;
    animation: fadeIn 0.8s ease-out;
}

.hero-name {
    font-size: 3.5rem;
    font-family: 'BinomaTrial', sans-serif;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    animation: fadeIn 1s ease-out;
}

.hero-title {
    font-size: 1.25rem;
    font-family: 'BinomaTrial', sans-serif;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    animation: fadeIn 1.2s ease-out;
}

.hero-description {
    margin-bottom: 2rem;
    color: var(--text-color-dark);
    font-size: 1.25rem;
    line-height: 1.6;
    animation: fadeIn 1.4s ease-out;
}

/* BUTTONS */
.hero-cta {
    display: flex;
    gap: 1.5rem;
    animation: fadeIn 1.6s ease-out;
}

.hero-cta .btn {
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.hero-cta .btn-primary {
    background-color: var(--dark-green);
    color: var(--bright-green);
    font-family: 'BinomaTrial', sans-serif;
}

.hero-cta .btn-primary:hover {
    background-color: var(--bright-orange);
    color: var(--text-color-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(31, 73, 81, 0.40);
}

.hero-cta .btn-secondary {
    background-color: transparent;
    font-family: 'BinomaTrial', sans-serif;
    color: var(--dark-green);
    border: 2px solid var(--dark-green);
}

.hero-cta .btn-secondary:hover {
    background-color: var(--bright-orange);
    color: var(--text-color-light);
    transform: translateY(-3px);
}

/* SOCIAL MEDIA ICONS */
.social-links i {
  color: var(--bright-green);
}

.social-links a {
    background-color: var(--dark-green);
    border: none; 
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeIn 1.8s ease-out;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--dark-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.social-links a:hover {
  background-color: var(--bright-orange);
}

.social-link:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(31, 73, 81, 0.40);
}

/* Background elements */
.hero-bg-element {
    position: absolute;
    z-index: 0;
    opacity: 0.1;
}

.hero-bg-circle {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background-color: var(--primary-color);
    position: absolute;
    top: -100px;
    right: -200px;
    z-index: 0;
    opacity: 0.05;
}

/* SCROLL DOWN */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-down a {
    color: var(--text-color-light);
    font-size: 1.5rem;
    transition: all var(--transition-fast);
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--dark-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px var(--shadow-color);
}

.scroll-down a:hover {
    color: white;
    background-color: var(--dark-blue);
    transform: translateY(4px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.15;
    }
    100% {
        transform: scale(1);
        opacity: 0.1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-background {
    position: absolute;
    width: 1665px;
    height: 314px;
    flex-shrink: 0;
    border-radius: 1665px;
    background: rgba(46, 46, 46, 0.20);
    filter: blur(150px);
    bottom: -22rem;
}

/* RESPONSIVENESS */
@media screen and (min-width: 768px) {
    .hero .container {
        max-width: 1200px;
        min-width: 500px;
    }

    .hero-inner {
        display: flex;
        flex-direction: row;
        padding: 3rem;
    }

    .hero .right-container {
        flex: 1;
    }
}

@media screen and (max-width: 900px) {
    .hero .right-container {
        display: none;
    }

    .hero .container {
        max-width: 100%;   
    }
}

@media screen and (max-width: 768px) {
    .hero {
        padding-top: 2rem;
        height: 100vh;
    }
    
    .hero .container {
        width: 100%;
        max-height: 100%;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-inner {
        gap: 1rem;
        align-items: center;
    }

    .hero .container {
        width: 500px;
        padding: 40px 20px;
    }

    .hero-cta {
        justify-content: center;
        gap: 1rem;
    }
    
    .scroll-down {
        left: 50%;
    }

    .hero-greeting {
        font-size: 1.2rem;
    }
    
    .hero-name {
        font-size: 3rem;
    }

    .hero-title, .hero-description {
        font-size: 1.2rem;
    }

    .social-links {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding-top: 0;
    }

    .hero-inner {
        padding: 1.5rem;
        padding-top: 0;
    }

    .hero-cta .btn {
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
    }
    
    .hero .container {
        width: 500px;
        max-height: none;
        padding: 1.2rem;
    }

    .hero-greeting {
        font-size: 1rem;
    }
    
    .hero-name {
        font-size: 2.5rem;
    }

    .hero-title, .hero-description {
        font-size: 1rem;
    }

    .hero-cta .btn-primary, .hero-cta .btn-secondary  {
        font-size: 1rem;
    }
    
    .scroll-down {
        bottom: 130px;
    }
}

@media screen and (max-width: 480px) {
    .scroll-down {
        bottom: 40px;
    }
}