/* ============================================
   PROJECTS PAGE - GLOBAL STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --slate-navy: #0F172A;
    --electric-blue: #3B82F6;
    --purple: #8B5CF6;
    --blue-light: #EFF6FF;
    --white: #FFFFFF;
    --gray-bg: #F8FAFE;
    --gray-card: #F1F5F9;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, var(--electric-blue), var(--purple));
    --gradient-hover: linear-gradient(135deg, var(--purple), var(--electric-blue));
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, .logo-text, .nav-cta, .btn-primary, .btn-secondary {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--electric-blue);
    margin-bottom: 16px;
    background: var(--blue-light);
    padding: 6px 16px;
    border-radius: 40px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--slate-navy);
    margin-bottom: 16px;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--white);
}

.logo-subtext {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.logo-mark {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-menu li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--electric-blue);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ============================================
   PROJECTS HERO SECTION
   ============================================ */
.projects-hero {
    min-height: 80vh;
    background: var(--slate-navy);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(59,130,246,0.15), transparent 70%);
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: left;
}

.hero-badge {
    display: inline-block;
    background: rgba(59,130,246,0.2);
    backdrop-filter: blur(4px);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--electric-blue);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-title span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59,130,246,0.3);
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   PROJECT FILTERS
   ============================================ */
.project-filters {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--gray-bg);
    border: none;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    background: rgba(59,130,246,0.1);
    color: var(--electric-blue);
}

.filter-btn.active {
    background: var(--gradient);
    color: var(--white);
}

/* ============================================
   PROJECTS GRID
   ============================================ */
.projects-grid-section {
    padding: 60px 0;
    background: var(--gray-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.4));
}

.project-category {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.project-content {
    padding: 24px;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-navy);
    margin-bottom: 12px;
    line-height: 1.4;
}

.project-location,
.project-year {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 6px;
}

.project-location i,
.project-year i {
    width: 16px;
    margin-right: 6px;
    color: var(--electric-blue);
}

.project-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 12px 0 16px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--electric-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--purple);
    gap: 10px;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 50px;
}

.load-more-btn {
    background: transparent;
    border: 2px solid var(--electric-blue);
    color: var(--electric-blue);
    padding: 12px 32px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.load-more-btn:hover {
    background: var(--gradient);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   PROJECT SPOTLIGHT
   ============================================ */
.project-spotlight {
    padding: 100px 0;
    background: var(--white);
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.spotlight-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.spotlight-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.spotlight-image:hover img {
    transform: scale(1.02);
}

.spotlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(139,92,246,0.1));
}

.spotlight-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.spotlight-stat {
    text-align: center;
    background: var(--gray-bg);
    padding: 16px;
    border-radius: 16px;
    flex: 1;
}

.spotlight-stat .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--electric-blue);
}

.spotlight-stat .stat-name {
    font-size: 0.8rem;
    color: var(--text-light);
}

.spotlight-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--slate-navy);
    margin: 20px 0 12px;
}

.spotlight-content h3:first-of-type {
    margin-top: 0;
}

.spotlight-content p {
    color: var(--text-light);
    line-height: 1.7;
}

.result-list {
    list-style: none;
    margin: 15px 0;
}

.result-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.result-list li i {
    color: #00C48C;
}

.spotlight-btns {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.btn-outline {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--electric-blue);
    color: var(--electric-blue);
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--gradient);
    border-color: transparent;
    color: var(--white);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    padding: 80px 0;
    background: var(--gradient);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-card {
    color: var(--white);
}

.stat-card .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: 100px 0;
    background: var(--gray-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.quote-mark {
    font-size: 3.5rem;
    font-family: serif;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 24px;
    font-style: italic;
}

.client-info strong {
    display: block;
    color: var(--slate-navy);
    margin-bottom: 4px;
}

.client-info span {
    font-size: 0.85rem;
    color: var(--text-light);
    display: block;
}

.project-ref {
    font-size: 0.75rem;
    color: var(--electric-blue);
    margin-top: 8px;
}

/* ============================================
   CTA SECTION - CARD PATTERN
   Off-white background | Dark card | Centered
   ============================================ */
.cta-section {
    padding: 100px 0;
    background: var(--white);
}

.cta-card {
    max-width: 1400px;
    margin: 0 auto;
    background: var(--slate-navy); /* Dark navy background (#0F172A) */
    border-radius: 32px;
    padding: 60px 48px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.3;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.cta-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient);
    color: var(--white);
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.cta-button:hover {
    background: var(--gradient-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    gap: 15px;
}

/* ============================================
   RESPONSIVE CTA SECTION
   ============================================ */
@media (max-width: 768px) {
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-card {
        padding: 40px 28px;
        margin: 0 20px;
        border-radius: 24px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .cta-card {
        padding: 32px 20px;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-description {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 10px 24px;
        font-size: 0.85rem;
    }
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--slate-navy);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-mark {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-logo-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--white);
}

.footer-logo-subtext {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient);
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--electric-blue);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}


.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--electric-blue);
    margin-left: 4px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    background: var(--gradient);
    border: none;
    padding: 0 20px;
    border-radius: 8px;
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
}

.newsletter-form button:hover {
    background: var(--gradient-hover);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--electric-blue);
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.3rem;
    }    
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
      
    .spotlight-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-form button {
        padding: 12px 24px;
        white-space: nowrap;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0px;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--slate-navy);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        transition: 0.3s;
        gap: 2rem;
    }
    
    .nav-menu.active {
        right: 0;
    }

    .nav-menu li a {
        font-size: 1rem;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 30px;
        flex-wrap: wrap;
    }
    
    .hero-stat .stat-number {
        font-size: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-wrapper {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-logo {
        justify-content: left;
    }
    
    .footer-description {
        text-align: left;
        max-width: 100%;
    }
    
    .social-links {
        justify-content: left;
    }
    
    .footer-col h4 {
        text-align: left;
        display: block;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-col ul {
        text-align: left;
    }
    
    .footer-col p {
        text-align: left;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: left;
    }
    
    .footer-legal {
        justify-content: left;
    }
    
    .spotlight-btns {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-outline {
        text-align: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .project-image {
        height: 200px;
    }
    
    .spotlight-stats {
        flex-direction: column;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }

    .footer-logo-text {
        font-size: 1.25rem;
    }
    
    .footer-logo-subtext {
        font-size: 0.8rem;
    }
}