* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Brand Colors - Matching the original file */
:root {
    --brand-blue: #5BCBF5;  /* Light cyan from the original design */
    --brand-blue-light: #87CEEB;
    --brand-blue-gradient: linear-gradient(135deg, #5BCBF5 0%, #87CEEB 100%);
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
}

/* Hero Section - Enhanced with real background */
.hero {
    height: 100vh;
    background: 
        linear-gradient(rgba(91, 203, 245, 0.3), rgba(91, 203, 245, 0.3)),
        url('../img/photo/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Animated particles overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 200px 200px, 300px 300px, 150px 150px;
    animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
    0% { background-position: 0% 0%, 0% 0%, 0% 0%; }
    100% { background-position: -200px 200px, 300px -300px, -150px 150px; }
}

/* Dynamic floating shapes */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 10% 10%, rgba(255,255,255,0.08) 30%, transparent 70%),
        radial-gradient(ellipse at 90% 90%, rgba(255,255,255,0.06) 25%, transparent 65%),
        radial-gradient(ellipse at 50% 20%, rgba(255,255,255,0.04) 20%, transparent 60%);
    animation: shapesMorph 25s ease-in-out infinite;
}

@keyframes shapesMorph {
    0%, 100% { 
        background: 
            radial-gradient(ellipse at 10% 10%, rgba(255,255,255,0.08) 30%, transparent 70%),
            radial-gradient(ellipse at 90% 90%, rgba(255,255,255,0.06) 25%, transparent 65%),
            radial-gradient(ellipse at 50% 20%, rgba(255,255,255,0.04) 20%, transparent 60%);
    }
    33% { 
        background: 
            radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.08) 35%, transparent 75%),
            radial-gradient(ellipse at 20% 80%, rgba(255,255,255,0.06) 30%, transparent 70%),
            radial-gradient(ellipse at 70% 70%, rgba(255,255,255,0.04) 25%, transparent 65%);
    }
    66% { 
        background: 
            radial-gradient(ellipse at 30% 80%, rgba(255,255,255,0.08) 25%, transparent 65%),
            radial-gradient(ellipse at 70% 30%, rgba(255,255,255,0.06) 35%, transparent 75%),
            radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.04) 30%, transparent 70%);
    }
}

/* Enhanced floating shapes */
.floating-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.shape-1 {
    top: 20%;
    left: 10%;
    width: 80px;
    height: 200px;
    border-radius: 40px;
    animation: float1 18s ease-in-out infinite, pulse 4s ease-in-out infinite;
}

.shape-2 {
    top: 60%;
    right: 15%;
    width: 150px;
    height: 60px;
    border-radius: 30px;
    animation: float2 25s ease-in-out infinite, pulse 6s ease-in-out infinite 2s;
}

.shape-3 {
    bottom: 30%;
    left: 20%;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    animation: float1 22s ease-in-out infinite, pulse 5s ease-in-out infinite 1s;
}

.shape-4 {
    top: 15%;
    right: 25%;
    width: 60px;
    height: 120px;
    border-radius: 30px;
    animation: float2 20s ease-in-out infinite, pulse 7s ease-in-out infinite 3s;
}

.shape-5 {
    bottom: 15%;
    right: 35%;
    width: 90px;
    height: 90px;
    border-radius: 45px;
    animation: float1 16s ease-in-out infinite, pulse 4.5s ease-in-out infinite 1.5s;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    33% { transform: translateY(-30px) rotate(5deg) scale(1.1); }
    66% { transform: translateY(-10px) rotate(-3deg) scale(0.95); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    25% { transform: translateY(-20px) rotate(-5deg) scale(1.05); }
    50% { transform: translateY(-35px) rotate(8deg) scale(0.9); }
    75% { transform: translateY(-15px) rotate(-2deg) scale(1.08); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.2; }
}

.hero-content {
    z-index: 2;
    position: relative;
    max-width: 900px;
    padding: 0 20px;
}

/* Enhanced hero content animations */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideInUp 1s ease-out 0.5s forwards;
    flex-wrap: wrap;
}

.logo-main {
    height: 120px;
    width: auto;
    object-fit: contain;
    animation: logoFloat 3s ease-in-out infinite, logoGlow 4s ease-in-out infinite alternate;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.3));
}

.logo-main:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(255,255,255,0.6));
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes logoGlow {
    0% { 
        filter: drop-shadow(0 0 20px rgba(255,255,255,0.3));
    }
    100% { 
        filter: drop-shadow(0 0 40px rgba(255,255,255,0.5));
    }
}

.logo-text {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 2px;
    animation: textGlow 2s ease-in-out infinite alternate;
    color: white;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

@keyframes textGlow {
    from { text-shadow: 0 0 10px rgba(255,255,255,0.3); }
    to { text-shadow: 0 0 20px rgba(255,255,255,0.6), 0 0 30px rgba(255,255,255,0.4); }
}

.main-title {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0;
    animation: slideInUp 1s ease-out 1s forwards, titleWave 4s ease-in-out 2s infinite;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes titleWave {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.tagline {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0;
    animation: slideInUp 1s ease-out 4s forwards, fadeInScale 0.8s ease-out 4s;
}

@keyframes fadeInScale {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 0.9; }
}

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

/* Navigation - Hidden at top, show on scroll */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    background: var(--brand-blue);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 20px rgba(91, 203, 245, 0.3);
    transform: translateY(-100%);
    opacity: 0;
}

.nav.visible {
    transform: translateY(0);
    opacity: 1;
}

.nav.scrolled {
    background: var(--brand-blue);
    box-shadow: 0 2px 25px rgba(91, 203, 245, 0.4);
    padding: 15px 50px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.nav-logo-icon {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.nav-logo:hover .nav-logo-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
}

.nav-logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Sections */
.section {
    padding: 60px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-dark);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title.white {
    color: white;
}

/* About Section */
.about {
    background: white;
    padding: 80px 0;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-image {
    width: 100vw;
    height: 500px;
    background: linear-gradient(rgba(91, 203, 245, 0.2), rgba(91, 203, 245, 0.2)), url('../img/photo/final_preview.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-style: italic;
    position: relative;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Team Section - Enhanced with animated background */
.team {
    background: 
        linear-gradient(45deg, transparent 30%, rgba(91, 203, 245, 0.02) 30%, rgba(91, 203, 245, 0.02) 70%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(91, 203, 245, 0.01) 30%, rgba(91, 203, 245, 0.01) 70%, transparent 70%),
        var(--bg-light);
    background-size: 60px 60px, 60px 60px, 100% 100%;
    animation: patternMove 20s linear infinite;
    padding: 80px 0;
    position: relative;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(91, 203, 245, 0.05) 20%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(91, 203, 245, 0.03) 15%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(91, 203, 245, 0.02) 25%, transparent 55%);
    animation: bgPulse 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes patternMove {
    0% { background-position: 0 0, 0 0, 0 0; }
    100% { background-position: 60px 60px, -60px 60px, 0 0; }
}

@keyframes bgPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.team-intro {
    max-width: 800px;
    margin: 0 auto 15px auto;
    text-align: left;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 15px;
    width: 100%;
    max-width: none;
    padding: 0 50px;
    height: 450px;
}

.team-member {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}





.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(91, 203, 245, 0.1), transparent);
    transition: left 0.8s ease;
}

.team-member:hover::before {
    left: 100%;
}

.team-member:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(91, 203, 245, 0.2);
}

.team-image {
    width: 100%;
    height: 80%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

/* Hover overlay for desktop */
.team-info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(91, 203, 245, 0.95), rgba(91, 203, 245, 0.85));
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.team-member:hover .team-info-overlay {
    opacity: 1;
    transform: translateY(0);
}

.team-info-overlay .team-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: white !important;
}

.team-info-overlay .team-title {
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: white !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-info-overlay .team-description {
    font-size: 0.85rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    max-height: calc(100% - 80px);
}

.team-image.sym {
    background-image: url('../img/photo/Sym.png');
}

.team-image.brian {
    background-image: url('../img/photo/Brian.png');
}

.team-image.huy {
    background-image: url('../img/photo/Huy Dan.png');
}

.team-image.ying {
    background-image: url('../img/photo/Dinh.png');
}

.team-image.leo {
    background-image: url('../img/photo/Leo.png');
}

.team-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.team-member:hover .team-image::before {
    width: 300px;
    height: 300px;
}

/* Modal for mobile */
.team-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.team-modal.active {
    opacity: 1;
    visibility: visible;
}

.team-modal-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 90%;
    max-height: 80%;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.team-modal.active .team-modal-content {
    transform: scale(1);
}

.team-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
}

.team-modal-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin: 0 auto 20px;
}

.team-modal .team-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
    text-align: center;
}

.team-modal .team-title {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--brand-blue);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-modal .team-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
    text-align: left;
}

/* Hide hover effects on mobile */
@media (max-width: 768px) {
    .team-member:hover .team-info-overlay {
        opacity: 0;
    }
}

.team-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.team-member:hover .team-name {
    color: var(--brand-blue);
}

.team-title {
    color: var(--brand-blue);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 1rem;
    position: relative;
}

.team-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-blue);
    transition: width 0.4s ease;
}

.team-member:hover .team-title::after {
    width: 50px;
}

.team-member:hover .team-description {
    color: var(--text-dark);
}

/* Team info always visible */
.team-info {
    padding: 10px;
    height: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: white;
}

.team-info .team-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.team-info .team-title {
    color: var(--brand-blue);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-member:hover .team-info .team-name {
    color: var(--brand-blue);
}

/* Clients Section */
.clients {
    background: white;
    padding: 80px 0;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 40px;
    align-items: center;
}

.client-item {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-blue);
}

.client-logo {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

.client-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
}

/* Sustainability Section - Horizontal Layout */
.sustainability-horizontal {
    background: #f8f9fa;
    padding: 100px 0;
    position: relative;
}

.sustainability-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4FC3F7;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: 1px;
    line-height: 1.2;
}

.sustainability-layout {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.sustainability-images {
    flex: 0 0 45%;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.image-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.image-item img {
    width: 100%;
    height: auto;
    display: block;
}

.sustainability-content {
    flex: 1;
    padding-left: 40px;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.content-text p {
    margin-bottom: 25px;
}

.content-text p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sustainability-layout {
        flex-direction: column;
        gap: 50px;
    }
    
    .sustainability-images {
        flex: none;
    }
    
    .sustainability-content {
        padding-left: 0;
    }
    
    .sustainability-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .sustainability-title {
        font-size: 1.8rem;
        margin-bottom: 50px;
    }
    
    .content-text {
        font-size: 1rem;
    }
}

.sustainability-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.8s ease;
}

.highlight-card:hover::before {
    left: 100%;
}

.highlight-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.highlight-year {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #fff, #e0f6ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: numberGlow 2s ease-in-out infinite alternate;
}

@keyframes numberGlow {
    from { filter: drop-shadow(0 0 5px rgba(255,255,255,0.3)); }
    to { filter: drop-shadow(0 0 15px rgba(255,255,255,0.6)); }
}

.highlight-text {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Projects Horizontal */
.projects-horizontal {
    background: var(--bg-light);
    padding: 80px 0;
}

.projects-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.projects-layout-reverse .projects-content {
    order: 1;
}

.projects-layout-reverse .projects-images {
    order: 2;
}

.projects-images {
    order: 1;
}

.projects-content {
    order: 2;
    padding-left: 40px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
    height: 400px;
}

.project-image-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-image-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-image-item:hover img {
    transform: scale(1.05);
}

/* Special positioning for grid items - 6 items layout */
.project-image-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.project-image-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.project-image-item:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
}

.project-image-item:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
}

.project-image-item:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
}

.project-image-item:nth-child(6) {
    grid-column: 3;
    grid-row: 2;
}

.projects-title {
    font-size: 2.8rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: left;
}

.project-highlight {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(91, 203, 245, 0.2);
}

.project-highlight:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.project-client {
    color: var(--brand-blue);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.project-year {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.project-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .projects-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .projects-layout-reverse .projects-content {
        order: 1;
    }
    
    .projects-layout-reverse .projects-images {
        order: 2;
    }
    
    .projects-images {
        order: 2;
    }
    
    .projects-content {
        order: 1;
        padding-left: 0;
        text-align: center;
    }
    
    .projects-title {
        text-align: center;
        font-size: 2.2rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        height: 400px;
    }
    
    .project-image-item:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }
    
    .project-image-item:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }
    
    .project-image-item:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }
    
    .project-image-item:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
    }
    
    .project-image-item:nth-child(5) {
        grid-column: 1;
        grid-row: 3;
    }
    
    .project-image-item:nth-child(6) {
        grid-column: 2;
        grid-row: 3;
    }
}

/* Contact Section */
.contact {
    background: white;
    padding: 80px 0;
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-card {
    background: var(--brand-blue-gradient);
    padding: 60px 40px;
    border-radius: 25px;
    color: white;
    margin-top: 40px;
    box-shadow: 0 20px 50px rgba(91, 203, 245, 0.3);
}

.contact-email {
    font-size: 2rem;
    color: white;
    text-decoration: none;
    font-weight: 300;
    display: block;
    margin-bottom: 20px;
}

.contact-email:hover {
    opacity: 0.8;
}

.contact-text {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }
    
    .nav {
        padding: 15px 20px;
    }

    .nav.scrolled {
        padding: 10px 20px;
    }

    .nav-logo-icon {
        height: 30px;
        padding: 6px;
        border-radius: 8px;
    }

    .nav-logo-text {
        font-size: 1rem;
    }

    .nav-links {
        display: flex;
        gap: 15px;
        font-size: 0.9rem;
    }

    .logo-container {
        flex-direction: column;
        gap: 15px;
    }

    .logo-main {
        height: 80px;
    }

    .logo-text {
        font-size: 2.5rem;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .scroll-indicator-text {
        font-size: 0.8rem;
    }

    .scroll-indicator-arrow {
        height: 25px;
    }

    .scroll-progress {
        top: 0;
    }

    .about-image {
        height: 300px;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 1.7rem;
        letter-spacing: 1px;
        white-space: normal;
        line-height: 1.2;
    }

    .tagline {
        font-size: 1.3rem;
    }

    .section {
        padding: 50px 0;
        padding-left: 15px;
        padding-right: 15px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .team {
        padding: 50px 0;
    }

    .team-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding: 0 20px;
        height: auto;
    }
    
    .team-member:nth-child(4),
    .team-member:nth-child(5) {
        grid-column: span 1;
    }
    
    .team-member:nth-child(4) {
        grid-column: 1 / 2;
    }
    
    .team-member:nth-child(5) {
        grid-column: 3 / 4;
    }

    .team-member {
        height: 180px;
        transform: none !important;
        border: none !important;
        background: white !important;
    }



    .team-image {
        width: 100%;
        height: 75%;
    }
    
    .team-info {
        height: 25%;
        padding: 8px;
    }
    
    .team-info .team-name {
        font-size: 0.85rem;
        margin-bottom: 2px;
    }
    
    .team-info .team-title {
        font-size: 0.65rem;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .sustainability-highlights {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-card {
        padding: 40px 25px;
    }

    .contact-email {
        font-size: 1.5rem;
    }
}

/* Enhanced Animations */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* Scroll progress indicator - Below navigation */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-blue), #40E0D0);
    z-index: 1001;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--brand-blue);
    opacity: 0;
}

/* Loading animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--brand-blue-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loading-overlay.hide {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Floating action button */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--brand-blue-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(91, 203, 245, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0);
}

.fab.visible {
    opacity: 1;
    transform: scale(1);
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(91, 203, 245, 0.6);
}

/* Parallax sections */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    transition: transform 0.1s ease-out;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    z-index: 3;
    animation: bounceIndicator 2s ease-in-out infinite;
    transition: opacity 0.4s ease;
    cursor: pointer;
}

.scroll-indicator:hover {
    color: rgba(255, 255, 255, 1);
    transform: translateX(-50%) scale(1.1);
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-indicator-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.scroll-indicator-arrow {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.8));
    position: relative;
}

.scroll-indicator-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid rgba(255, 255, 255, 0.8);
}

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