.homePage{
    display: flex;
    width: 100vw;
    height: 100vh;
    background-color: rgb(67, 138, 138);
}
.left{
    width: 50%;
    height: 100%;
}

/* Internal CSS */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #ecf0f1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: wheat;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8edf5 100%);
}



/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('../Images/current.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    /* background-image: url('./Images/current.jpg'); */
    width: 100%;
    height: 100%;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Main Content */
.main-content {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.intro-text {
    padding: 2rem;
    font-size: 1.5rem;
}
.intro-text h1{
    padding-top: 16px;
    font-size: 2rem;
}

.intro-image {
    overflow: hidden;
    border-radius: 10px;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.intro-image:hover img {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .intro-section {
        grid-template-columns: 1fr;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.invention-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    transform-style: preserve-3d;
}

.invention-card:hover {
    transform:
        scale(1.05) perspective(1000px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.invention-content h3:hover{
    color: #8b1616;
}
.invention-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.invention-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.invention-card:hover .invention-image img {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.05);
}

.invention-content {
    padding: 1.5rem;
    transition: transform 0.4s ease;
}
.invention-card:hover .invention-content {
    transform: translateZ(20px);
}


/* Hover Effect Overlay */
.invention-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease;
    z-index: 1;
}

.invention-card:hover::before {
    background: rgba(0, 0, 0, 0.1);
}

/* Subtle Hover Text Effect */
.invention-content h3 {
    transition: color 0.4s ease;
}

.invention-card:hover .invention-content h3 {
    color: #2c3e50;
}

/* Pop-in Animation */
@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    70% {
        opacity: 0.8;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.invention-card {
    animation: popIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) backwards;
}

.invention-card:nth-child(2) {
    animation-delay: 0.2s;
}

.invention-card:nth-child(3) {
    animation-delay: 0.4s;
}