* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --white: #ffffff;
    --beige: #f5f5dc;
    --beige-transparent: rgba(245, 245, 220, 0.1);
    --gradient-1: linear-gradient(45deg, var(--beige) 0%, transparent 75%);
    --gradient-2: linear-gradient(-45deg, var(--black) 0%, transparent 75%);
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--white);
    overflow-x: hidden;
}

.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: 
        radial-gradient(circle at 20% 20%, rgba(245, 245, 220, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.05) 0%, transparent 50%);
}

/* Animated grid background */
.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--beige-transparent) 1px, transparent 1px),
        linear-gradient(90deg, var(--beige-transparent) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 15s linear infinite;
    opacity: 0.3;
    z-index: 1;
}

/* Dynamic shapes */
.dynamic-shape {
    position: absolute;
    border: 2px solid var(--beige);
    pointer-events: none;
    z-index: 3;
    backdrop-filter: blur(5px);
    box-shadow: 
        0 0 30px rgba(245, 245, 220, 0.2),
        inset 0 0 20px rgba(245, 245, 220, 0.1);
    background: linear-gradient(45deg, rgba(245, 245, 220, 0.05), rgba(0, 0, 0, 0.05));
}

.shape-1 {
    top: 10%;
    left: 15%;
    width: 200px;
    z-index: 999;
    height: 200px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphShape 10s infinite;
}

.shape-2 {
    bottom: 10%;
    right: 5%;
    z-index: 88;
    width: 150px;
    height: 150px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morphShape 8s infinite reverse;
}

/* Image containers */
.image-container {
    position: absolute;
    overflow: hidden;
    border-radius: 10px;
    z-index: 4;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(245, 245, 220, 0.1);
}

.image-1 {
    top: 20%;
    left: 5%;


    background-position: cover;
    height: 550px;
    transform: rotate(-5deg);
    animation: imageFloat 6s ease-in-out infinite;
}

.image-2 {
    bottom: 20%;
    right: 5%;
    width: 300px;
    height: 300px;
    transform: rotate(5deg);
    animation: imageFloat 8s ease-in-out infinite reverse;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: filter 0.3s ease;
}

.image-container:hover img {
    filter: grayscale(0%);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;


}

/* Animated lines */
.animated-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    opacity: 0.8;
}

.line {
    position: absolute;
    background: linear-gradient(to bottom, transparent, var(--beige), transparent);
    box-shadow: 0 0 15px rgba(245, 245, 220, 0.3);
}

.diagonal-line {
    width: 1px;
    height: 100%;
    transform-origin: top left;
    animation: diagonalMove 8s ease-in-out infinite;
}



.hero-title {
    font-size: 7rem;
    color: var(--black);
    font-weight: 900;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-nav {
    margin-top: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

.hero-nav a {
    color: var(--black);
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 1.2rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.hero-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--beige-transparent);
    border-radius: 5px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    z-index: -1;
}

.hero-nav a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}
.social-buttons {
    position: fixed;
    top: 2rem;
    right: 2rem;
    display: flex;
    gap: 1rem;
    z-index: 1000;
}

.social-button {
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--beige);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: var(--black);
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-button:hover {
    background: var(--beige);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-button svg {
    width: 16px;
    height: 16px;
}

.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--black);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
    z-index: 10000;
    mix-blend-mode: difference;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

@keyframes gridMove {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(50px) translateY(50px);
    }
}

@keyframes morphShape {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        box-shadow: 
            0 0 30px rgba(245, 245, 220, 0.2),
            inset 0 0 20px rgba(245, 245, 220, 0.1);
        transform: scale(1) rotate(0deg);
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
        box-shadow: 
            0 0 40px rgba(245, 245, 220, 0.3),
            inset 0 0 30px rgba(245, 245, 220, 0.2);
        transform: scale(1.1) rotate(5deg);
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
        box-shadow: 
            0 0 50px rgba(245, 245, 220, 0.4),
            inset 0 0 40px rgba(245, 245, 220, 0.3);
        transform: scale(0.9) rotate(-5deg);
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
        box-shadow: 
            0 0 40px rgba(245, 245, 220, 0.3),
            inset 0 0 30px rgba(245, 245, 220, 0.2);
        transform: scale(1.05) rotate(3deg);
    }
}

@keyframes imageFloat {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }
    50% {
        transform: translateY(-20px) rotate(-3deg);
    }
}

@keyframes diagonalMove {
    0%, 100% {
        transform: rotate(45deg) translateX(0) scaleY(1);
    }
    50% {
        transform: rotate(45deg) translateX(100px) scaleY(1.5);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-nav a {
        margin: 0 0.5rem;
        font-size: 1rem;
    }

    .image-1, .image-2 {
        width: 150px;
        height: 200px;
    }

    .dynamic-shape {
        width: 100px;
        height: 100px;
    }
}

.about-section {
    min-height: 100vh;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    z-index: 1;
    padding: 4rem;
    position: relative;
    background: var(--white);
}

.about-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--black);
}

.about-content strong {
    color: var(--black);
    font-weight: 700;
}

.image-1 {

    top: 20%;
    left: 5%;
    width: 400px;
    z-index: 100;
    height: 550px;
    transform: rotate(-5deg);
    transition: all 0.5s ease;
}

.image-1.scrolled {
    position: absolute;
    top: 50%;
    z-index: 100;
    left: 5%;
    transform: translateY(-50%) rotate(-5deg);
}

#aboutImage {
    width: 400px;
    height: 550px;
    position: relative;
}

@media (max-width: 768px) {
    .about-section {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .about-content {
        padding: 1rem;
    }

    #aboutImage {
        width: 100%;
        height: auto;
    }
}

.about-section {
    min-height: 100vh;
    width: 85%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    background: var(--white);
    padding: 4rem;
    align-items: center;
}

.about-content {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(0px);
    border-radius: 20px;

}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.about-content strong {
    color: var(--black);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.about-content strong::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--beige);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.about-content strong:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.about-image-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.image-1 {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, position;
    z-index: 100;
}
/* Base styles remain the same until media queries */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 5;
    position: relative;
    padding: 2rem;
    backdrop-filter: blur(0px);
    border-radius: 20px;
  
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 6.5rem);
    color: var(--black);
    font-weight: 900;
    letter-spacing: 2px;
    padding-top: 5px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.image-1 {
    position: fixed;
    top: 20%;
    left: 5%;
    width: min(400px, 40vw);
    height: min(550px, 60vh);
    transform: rotate(-5deg);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, position;
    z-index: 55;
}

.about-section {
    min-height: 100vh;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 4rem 2rem;
    position: relative;
    background: var(--white);
}

/* Responsive Breakpoints */

/* Large Desktop */
@media (min-width: 1441px) {
    .image-1 {
      
        width: 350px;
    }

    .about-section {
        padding: 2rem;
        gap: 0rem;
    }
}

/* Desktop */
@media (max-width: 1440px) {
    .image-1 {
      width: 350px;
 
    }
}

/* Small Desktop */
@media (max-width: 1200px) {
    .about-section {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding: 3rem;
    }

    .image-1 {
        width: 350px;
        height: 525px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .about-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .image-1 {
        width: 300px;
        height: 450px;
        left: 50%;
        transform: translateX(-50%) rotate(-5deg);
    }

    .about-content {
        padding: 2rem;
    }

    .social-buttons {
        top: 1rem;
        right: 1rem;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .hero-nav {
        display: flex;
                gap: 1rem;
                margin: 0 auto;
                justify-content: center;
            }
    

    .hero-nav a {
        margin: 0;
        padding: 0.75rem;
    }

    .image-1 {
        width: 150px;
        height: 275px;
        left: 10%;
        top: 10%;
    }

    .social-buttons {
        flex-direction: column;
    }

    .about-section {
        padding: 2rem 1rem;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .hero-title {
        font-size: 3rem;
        padding-top: 15px;
        padding-bottom: 5px;
    }

    .shape-2{
        left: 15% !important;
    }

    .image-1 {
        width: 150px;
        height: 200px;
    }

    .about-content {
        padding: 1rem;
        text-align: left;
    }
}

/* Handle image-1 animation on scroll */
@media (min-width: 993px) {
    .image-1.scrolled {
        position: fixed;
        top: 50%;
        left: 5%;
        transform: translateY(-50%) rotate(-15deg);
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

@media (max-width: 992px) {
    .image-1.scrolled {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-15deg);
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* Ensure smooth transitions */
* {
    transition: all 0.3s ease-in-out;
}

/* Dynamic shape adjustments */
@media (max-width: 768px) {
    .shape-1 {
        width: 150px;
        height: 150px;
        left: 60%;
    }

    .hero-content{
        padding: 0;
    }
    .image-2 {
        bottom: 5%;
        right: 5%;}

    .shape-2 {
        width: 100px;
        height: 100px;
    }
}