.section-intro {
    width: 100%;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(15,15,15,0.6);
    border-radius: 12px;
    border: 1px solid #00ffff;
    box-shadow: 0 0 15px rgba(0,255,255,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}

.section-intro h1 {
    color: #00cccc;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.2rem;
    text-decoration: underline;
    text-decoration-color: #00cccc;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.section-intro p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.section-intro .btn-primary {
    background: #00cccc;
    color: #000;
    padding: 0.6rem 1.8rem;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.section-intro .btn-primary:hover {
    background: #00aaaa;
    color: #fff;
    box-shadow: 0 0 10px #00cccc;
}

.portrait-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 3rem auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    perspective: 1200px;
}

.portrait-card {
    width: 200px;
    height: 350px;
    background-size: cover;
    background-position: center;
    border: 2px solid #0ff;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform-style: preserve-3d;
    opacity: 0;
    animation: cardPop 0.8s forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 10px #00cccc;
    gap: 2rem;
}

.portrait-card:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px #00cccc;
}

.portrait-inner {
    display: none;
}

.portrait-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 0.5rem;
    text-align: center;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(4px);
    font-size: 1rem;
    color: #00cccc;
    border-top: 1px solid #0ff;
}

.portrait-card:nth-child(1) { animation-delay: 0.3s; }
.portrait-card:nth-child(2) { animation-delay: 0.6s; }
.portrait-card:nth-child(3) { animation-delay: 0.9s; }

@keyframes cardPop {
    0% { opacity: 0; transform: translate(-150px, 50px) scale(0.5) rotateZ(-10deg); }
    60% { opacity: 1; transform: translate(10px, -10px) scale(1.1) rotateZ(5deg); }
    80% { transform: translate(0, 0) scale(0.95) rotateZ(-2deg); }
    100% { opacity: 1; transform: translate(0, 0) scale(1) rotateZ(0deg); }
}

@keyframes cardWave {
    0% { transform: translateY(0) rotateZ(0); }
    25% { transform: translateY(-15px) rotateZ(-2deg); }
    50% { transform: translateY(0) rotateZ(0); }
    75% { transform: translateY(-10px) rotateZ(2deg); }
    100% { transform: translateY(0) rotateZ(0); }
}

.projects-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
}

.project-card {
    background: rgba(15,15,15,0.6);
    border: 1px solid #00ffff;
    border-radius: 12px;
    padding: 1rem;
    width: 180px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    gap: 2rem;
}

.project-card h4 {
    color: #00cccc;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.2rem;
    text-decoration: underline;
    text-decoration-color: #00cccc;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.project-card p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px #00cccc;
}

.section-why-us {
    width: 100%;
    max-width: 900px;
    padding: 2rem;
    background: rgba(15,15,15,0.6);
    border-radius: 12px;
    border: 1px solid #00ffff;
    box-shadow: 0 0 15px rgba(0,255,255,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}

.section-why-us h2 {
    color: #00cccc;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-decoration: underline;
    text-decoration-color: #00cccc;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.section-why-us p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.section-why-us ul {
    list-style: disc inside;
    padding-left: 0;
    margin: 1rem auto;
    max-width: 700px;
}

.section-why-us ul li {
    color: #ccc;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.go-button {
    display: inline-block;
    padding: 8px 16px;
    background: #00cccc;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    text-align: center;
    width: fit-content;
}

.section-host {
    padding: 2rem 1rem;
    text-align: center;
}

/* ===== LANDSCAPE HOSTING CARD MATCH PORTRAIT STYLE ===== */
.landscape-wrapper {
    width: 300px;
    height: 200px;
    margin: 3rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.landscape-card {
    width: 100%;
    height: 100%;
    border: 2px solid #0ff;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px #00cccc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: cardPop 0.8s forwards;
    animation-delay: 1.2s;
}

.landscape-card:hover {
    transform: scale(2); /* double size */
    box-shadow: 0 0 25px #00cccc;
}

.landscape-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.landscape-card:hover img {
    object-fit: cover; /* ensure image fills fully */
}

.landscape-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 0.5rem 0;
    text-align: center;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(4px);
    font-size: 1rem;
    color: #00cccc;
    border-top: 1px solid #0ff;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .portrait-wrapper, .projects-cards {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
    .portrait-card, .project-card {
        width: 80%;
        max-width: 300px;
    }
    .landscape-wrapper {
        width: 80%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .portrait-wrapper, .projects-cards {
        gap: 3.5rem;
    }
    .portrait-card, .project-card {
        width: 90%;
    }
    .portrait-title, .landscape-title {
        font-size: 0.9rem;
    }
    section h2, .section-intro h1 {
        font-size: 1.5rem;
    }
    section p, ul li, .project-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .portrait-wrapper, .projects-cards {
        gap: 4rem;
    }
    section h2, .section-intro h1 {
        font-size: 1.3rem;
    }
    section p, ul li, .project-card p {
        font-size: 0.85rem;
    }
}

/* REQUIRED FIX FOR PORTRAIT CARD IMAGES */
.portrait-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
