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

:root {
    --primary-color: #000000;
    --primary-dark: #1a1a1a;
    --primary-light: #333333;
    --secondary-color: #ffffff;
    --accent-color: #000000;
    --accent-blue: #2c2c2c;
    --accent-light: #f5f5f5;
    --yellow-light: #fafafa;
    --blue-light: #f8f8f8;
    --text-dark: #000000;
    --text-light: #333333;
    --bg-light: #ffffff;
    --bg-warm: #fafafa;
    --border-color: #e0e0e0;
    --gray-light: #f5f5f5;
    --gray-medium: #666666;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.75rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
    height: 100px;
    display: flex;
    align-items: center;
}

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
    margin-right: 25px;
}

.logo-img {
    height: 90px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    transition: var(--transition);
}

.logo a:hover .logo-img {
    opacity: 0.8;
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu li a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    font-weight: 500;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-menu li a.active {
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
    z-index: 0;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slideshow .slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(49, 49, 49, 0.65) 0%, rgba(250, 250, 250, 0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
}

.slideshow-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 4;
    pointer-events: none;
}

.slide-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slide-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.slideshow-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot.active,
.dot:hover {
    background: var(--secondary-color);
    transform: scale(1.2);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 12rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero-text-static {
    display: block;
}

.hero-text-rotating {
    display: inline-block;
    min-height: 1.2em;
    color: var(--primary-color);
    font-weight: 400;
}

.hero-subtitle {
    margin-top: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-subtitle p {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.interests-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.interests-grid span {
    padding: 0.5rem 1.5rem;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    color: var(--text-dark);
}

.interests-grid span:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-indicator {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.scroll-indicator span {
    font-size: 1.4rem;
    color: var(--text-light);
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--text-dark);
    animation: scrollBounce 2s infinite;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--text-dark);
    border-bottom: 2px solid var(--text-dark);
    transform: rotate(45deg);
}

/* Featured News Section */
.featured-news {
    padding: 100px 20px;
    background: var(--bg-warm);
    position: relative;
    z-index: 10;
    margin-top: 0;
    clear: both;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    margin-bottom: 3rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    transition: var(--transition);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    border: 1px solid transparent;
}

.news-card:nth-child(1) { animation-delay: 0.1s; }
.news-card:nth-child(2) { animation-delay: 0.2s; }
.news-card:nth-child(3) { animation-delay: 0.3s; }
.news-card:nth-child(4) { animation-delay: 0.4s; }

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.news-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border-radius: 3px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.news-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 400;
    line-height: 1.4;
}

.news-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.news-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.news-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Who We Are Section */
.who-we-are {
    padding: 100px 20px;
    background: var(--bg-light);
    text-align: center;
    position: relative;
}

.who-we-are .section-title {
    will-change: transform;
}

.who-we-are-content {
    margin-top: 2rem;
}

.who-we-are-content p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* How We Think Section */
.how-we-think {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(22, 22, 22);
    will-change: transform;
}

.how-we-think-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

/* Scale down the video to make sphere appear smaller like HKS website */
@media (min-width: 769px) {
    .how-we-think-video {
        transform: translate(-50%, -50%) scale(0.6);
    }
}

@media (min-width: 1200px) {
    .how-we-think-video {
        transform: translate(-50%, -50%) scale(0.65);
    }
}

@media (min-width: 1600px) {
    .how-we-think-video {
        transform: translate(-50%, -50%) scale(0.7);
    }
}

.how-we-think-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.how-we-think-content {
    position: relative;
    z-index: 3;
    width: 100%;
    text-align: center;
    color: var(--secondary-color);
}

.how-we-think-title {
    font-size: clamp(2.5rem, 6.5vw, 9.0rem);
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.how-we-think-subtitle {
    font-size: clamp(1.5rem, 2.8vw, 1.9rem);
    line-height: 1.7;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    color: var(--secondary-color);
    font-weight: 300;
    opacity: 0.95;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Video loading state */
.how-we-think-video {
    opacity: 0;
    transition: opacity 1s ease-in;
}

.how-we-think-video.loaded {
    opacity: 1;
}

.section-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-light);
    font-weight: 300;
}

.excellence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.excellence-card {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.excellence-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.excellence-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.excellence-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.card-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Projects Section */
.projects {
    padding: 100px 20px;
    background: var(--bg-light);
    position: relative;
}

.projects .section-title {
    will-change: transform;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 3rem;
    }
}

.project-card {
    background: var(--secondary-color);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(40px);
    will-change: transform, opacity;
}

.project-card.scroll-visible {
    animation: fadeInUp 0.8s ease forwards;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.15s; }
.project-card:nth-child(3) { animation-delay: 0.2s; }
.project-card:nth-child(4) { animation-delay: 0.25s; }
.project-card:nth-child(5) { animation-delay: 0.3s; }
.project-card:nth-child(6) { animation-delay: 0.35s; }
.project-card:nth-child(7) { animation-delay: 0.4s; }

/* Top accent line */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
}

.project-card:hover::before {
    width: 100%;
}

/* Overlay gradient on card */
.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
    pointer-events: none;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
    border-color: rgba(0, 0, 0, 0.08);
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-info {
    padding: 2.25rem 2rem;
    position: relative;
    z-index: 3;
    background: var(--secondary-color);
    transition: all 0.5s ease;
    border-top: 1px solid transparent;
}

.project-card:hover .project-info {
    padding-bottom: 2.75rem;
    border-top-color: rgba(0, 0, 0, 0.05);
}

.project-image {
    width: 100%;
    height: 320px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    filter: brightness(1) contrast(1);
}

.project-image::before {
    content: 'View Project';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--secondary-color);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    white-space: nowrap;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.project-card:hover .project-image {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.05);
}

.project-card:hover .project-image::before {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(-10px);
}

.project-card:hover .project-image::after {
    opacity: 1;
}

/* Category badge */
.project-category {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-dark);
    z-index: 4;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.project-card:hover .project-category {
    opacity: 1;
    transform: translateY(0);
}

.project-card h3 {
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-dark);
    line-height: 1.3;
    position: relative;
    padding-bottom: 0.5rem;
}

.project-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover h3 {
    transform: translateX(5px);
    color: var(--primary-color);
}

.project-card:hover h3::after {
    width: 40px;
}

.project-card p {
    color: var(--gray-medium);
    font-size: 0.8125rem;
    margin: 0;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    opacity: 0.8;
}

.project-card:hover p {
    color: var(--text-light);
    opacity: 1;
}

/* Arrow indicator in info section */
.project-info::after {
    content: '→';
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-size: 1.25rem;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 300;
}

.project-card:hover .project-info::after {
    opacity: 1;
    transform: translateX(0);
}

.view-all-projects {
    text-align: center;
    margin-top: 3rem;
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    background: var(--bg-light);
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--secondary-color);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border: none;
    border-radius: 4px;
    transition: var(--transition);
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    font-size: 1rem;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #4caf50;
    display: block;
}

.form-message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #f44336;
    display: block;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 60px 20px 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--secondary-color);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        min-height: 90vh;
        padding: 70px 20px 50px;
        margin-top: 70px;
    }

    .slide-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .interests-grid {
        gap: 0.8rem;
    }

    .interests-grid span {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    .how-we-think {
        height: 80vh;
        min-height: 500px;
    }

    .how-we-think-video {
        transform: translate(-50%, -50%) scale(0.5);
    }

    .how-we-think-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
        margin-bottom: 1.5rem;
    }

    .how-we-think-subtitle {
        font-size: clamp(1rem, 4vw, 1.3rem);
        padding: 0 20px;
    }

    .news-grid,
    .excellence-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-card {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .project-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    }

    .project-image {
        height: 280px;
    }

    .project-info {
        padding: 1.75rem;
    }

    .project-card h3 {
        font-size: 1.3rem;
    }

    .contact-form {
        max-width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .btn {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .news-card,
    .excellence-card {
        padding: 1.5rem;
    }

    .logo-img {
        height: 40px;
    }
}

/* Project Pages */
.page-header {
    padding: 120px 20px 60px;
    background: var(--bg-light);
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 300;
}

.projects-listing {
    padding: 60px 20px 100px;
    background: var(--bg-warm);
}

/* Project Detail Pages */
.project-header {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    margin-top: 70px;
}

.project-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.project-hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
}

.project-header-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 60px 20px;
    color: var(--secondary-color);
}

.project-header-content::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    z-index: -1;
}

.back-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: inline-block;
    opacity: 0.95;
    transition: var(--transition);
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.back-link:hover {
    opacity: 1;
    transform: translateX(-5px);
    background: rgba(255, 255, 255, 0.3);
}

.project-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.project-category {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

.project-gallery {
    padding: 100px 20px;
    background: var(--bg-warm);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(93, 173, 226, 0.2);
    border: 2px solid transparent;
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--border-color);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--secondary-color);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
    transition: var(--transition);
}

.lightbox-close:hover {
    transform: rotate(90deg);
    opacity: 0.7;
}

#lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

