/* Prospect Engineering Solutions Consultancy - Modern Classic Stylesheet */

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

:root {
    /* Modern Classic Color Palette */
    --primary-color: #1a3d6a;
    --primary-dark: #0f1419;
    --secondary-color: #51854c;
    --secondary-light: #6ba065;
    --accent-color: #8b7355;
    --success-color: #2d5016;
    --text-color: #2c2c2c;
    --text-light: #5a5a5a;
    --text-muted: #8a8a8a;
    --bg-light: #f8f7f4;
    --bg-cream: #faf9f6;
    --border-color: #e5e3df;
    --border-light: #f0ede8;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-xl: 0 12px 40px rgba(0,0,0,0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-cream);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--primary-dark) 100%);
    color: var(--white);
    padding: 1.5rem 0;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid var(--secondary-color);
    backdrop-filter: blur(10px);
    overflow: visible;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    overflow: visible;
}

.logo h1 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--white);
    transition: all 0.3s ease;
}

.logo a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.logo a:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.logo a:hover h1 {
    color: var(--secondary-color);
}

.main-nav {
    position: relative;
    overflow: visible;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    position: relative;
}

.main-nav a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.main-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(201, 169, 97, 0.15) 0%, 
        rgba(201, 169, 97, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--secondary-color), 
        var(--secondary-light));
    border-radius: 2px 2px 0 0;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--white);
}

.main-nav a:hover::before,
.main-nav a.active::before {
    opacity: 1;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 70%;
}

.mobile-menu-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Dropdown Menu Styles */
.main-nav li.dropdown {
    position: relative;
}

.main-nav li.dropdown > a,
.main-nav li.dropdown > .dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.main-nav li.dropdown > .dropdown-trigger {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.main-nav li.dropdown > .dropdown-trigger::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(201, 169, 97, 0.15) 0%, 
        rgba(201, 169, 97, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.main-nav li.dropdown > .dropdown-trigger::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--secondary-color), 
        var(--secondary-light));
    border-radius: 2px 2px 0 0;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav li.dropdown:hover > .dropdown-trigger::before,
.main-nav li.dropdown > .dropdown-trigger.active::before {
    opacity: 1;
}

.main-nav li.dropdown:hover > .dropdown-trigger::after,
.main-nav li.dropdown > .dropdown-trigger.active::after {
    width: 70%;
}

.main-nav li.dropdown:hover > .dropdown-trigger,
.main-nav li.dropdown > .dropdown-trigger.active {
    color: var(--white);
}

.main-nav li.dropdown > a i,
.main-nav li.dropdown > .dropdown-trigger i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.main-nav li.dropdown:hover > a i,
.main-nav li.dropdown:hover > .dropdown-trigger i {
    transform: rotate(180deg);
}

.main-nav .dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: var(--white);
    min-width: 280px;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    border: 1px solid var(--border-color);
    overflow: visible;
    pointer-events: none;
    display: block;
    flex-direction: column;
}

.main-nav li.dropdown:hover .dropdown-menu,
.main-nav li.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.main-nav .dropdown-menu li {
    margin: 0;
    display: block;
    width: 100%;
    list-style: none;
}

.main-nav .dropdown-menu a {
    display: block;
    width: 100%;
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 0;
    position: relative;
    white-space: nowrap;
    text-align: left;
}

.main-nav .dropdown-menu a::before {
    display: none;
}

.main-nav .dropdown-menu a::after {
    display: none;
}

.main-nav .dropdown-menu a:hover {
    background: linear-gradient(135deg, 
        rgba(201, 169, 97, 0.1) 0%, 
        rgba(201, 169, 97, 0.05) 100%);
    color: var(--secondary-color);
    padding-left: 2rem;
}

.main-nav .dropdown-menu a.active {
    background: linear-gradient(135deg, 
        rgba(201, 169, 97, 0.15) 0%, 
        rgba(201, 169, 97, 0.1) 100%);
    color: var(--secondary-color);
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--primary-dark) 50%, 
        var(--primary-color) 100%);
    color: var(--white);
    padding: 7rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(201, 169, 97, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(201, 169, 97, 0.05) 0%, transparent 50%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(201,169,97,0.08)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 1;
    pointer-events: none;
}

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

.hero-content h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 3.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.15;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, 
        var(--white) 0%, 
        rgba(255, 255, 255, 0.95) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.92;
    line-height: 1.85;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.1rem 2.75rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::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.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, 
        var(--secondary-color) 0%, 
        var(--secondary-light) 100%);
    color: var(--white);
    box-shadow: 
        0 6px 20px rgba(201, 169, 97, 0.35),
        0 2px 8px rgba(201, 169, 97, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, 
        var(--secondary-light) 0%, 
        var(--secondary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 10px 30px rgba(201, 169, 97, 0.45),
        0 4px 12px rgba(201, 169, 97, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    border-color: var(--secondary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-link:hover {
    color: var(--secondary-light);
    gap: 0.75rem;
}

.btn-link i {
    transition: var(--transition);
}

.btn-link:hover i {
    transform: translateX(4px);
}

/* Sections */
.section-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4rem;
    text-align: center;
    color: var(--primary-color);
    letter-spacing: -1px;
    position: relative;
    padding-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--secondary-color), 
        var(--secondary-light),
        var(--secondary-color),
        transparent);
    border-radius: 2px;
}

/* Categories Grid */
.categories-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, 
        var(--white) 0%, 
        var(--bg-light) 50%,
        var(--white) 100%);
    position: relative;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(201, 169, 97, 0.1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, 
        var(--secondary-color) 0%, 
        var(--secondary-light) 50%,
        var(--secondary-color) 100%);
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.category-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 8px 24px rgba(201, 169, 97, 0.15);
    border-color: rgba(201, 169, 97, 0.3);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.category-card:hover .category-icon {
    transform: scale(1.15) rotate(8deg);
    color: var(--secondary-light);
}

.category-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.category-card:hover h3 {
    color: var(--secondary-color);
}

.category-card p {
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-size: 1rem;
    flex: 1;
}

.category-card .btn-secondary {
    background: transparent;
    color: #009688;
    border: 2px solid #009688;
    margin-top: auto;
}

.category-card .btn-secondary:hover {
    background: #009688;
    color: var(--white);
    border-color: #009688;
}

/* Projects Grid */
.featured-projects-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--white) 50%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.featured-projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(201, 169, 97, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(26, 35, 50, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(201, 169, 97, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    backdrop-filter: blur(10px);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, 
        var(--secondary-color) 0%, 
        var(--secondary-light) 50%,
        var(--secondary-color) 100%);
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.project-card:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(201, 169, 97, 0.15),
        0 0 0 1px rgba(201, 169, 97, 0.1);
    border-color: rgba(201, 169, 97, 0.3);
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, 
        var(--bg-light) 0%, 
        var(--border-light) 50%,
        var(--bg-cream) 100%);
    position: relative;
    isolation: isolate;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(201, 169, 97, 0.05) 0%, 
        rgba(26, 35, 50, 0.05) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.project-image:empty::before {
    content: '\f1c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    color: var(--text-muted);
    opacity: 0.2;
    z-index: 0;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(26, 35, 50, 0) 0%, 
        rgba(26, 35, 50, 0.1) 50%,
        rgba(26, 35, 50, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

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

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.98) saturate(1.05);
}

.project-card:hover .project-image img {
    transform: scale(1.15) translateY(-5px);
    filter: brightness(1.05) saturate(1.1);
}

.project-content {
    padding: 2.5rem 2.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.project-category {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, 
        var(--secondary-color) 0%, 
        var(--secondary-light) 100%);
    color: var(--white);
    padding: 0.65rem 1.5rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
    box-shadow: 
        0 4px 12px rgba(201, 169, 97, 0.25),
        0 2px 4px rgba(201, 169, 97, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
}

.project-category::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.5s ease;
}

.project-card:hover .project-category {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 6px 20px rgba(201, 169, 97, 0.35),
        0 3px 8px rgba(201, 169, 97, 0.2);
}

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

.project-content h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary-color);
    line-height: 1.3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

.project-card:hover .project-content h3 {
    color: var(--secondary-color);
    transform: translateX(4px);
}

.project-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.8;
    flex: 1;
    font-size: 0.98rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.project-card:hover .project-content p {
    color: var(--text-color);
}

.project-card .btn-link {
    margin-top: auto;
    padding: 0.85rem 0;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-card .btn-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--secondary-color), 
        var(--secondary-light));
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card .btn-link:hover {
    color: var(--secondary-light);
    gap: 1rem;
    transform: translateX(4px);
}

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

.project-card .btn-link i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.85rem;
}

.project-card:hover .btn-link i {
    transform: translateX(8px);
}

.project-card .btn-link:hover i {
    transform: translateX(12px);
}

/* Category Header */
.category-header {
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--primary-dark) 50%,
        var(--primary-color) 100%);
    color: var(--white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.category-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(201, 169, 97, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(201, 169, 97, 0.05) 0%, transparent 50%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(201,169,97,0.08)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 1;
    pointer-events: none;
}

.category-header .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

.breadcrumb {
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    font-weight: 500;
}

.breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.breadcrumb a:hover {
    color: var(--secondary-light);
    text-decoration: underline;
}

.breadcrumb span {
    color: rgba(255,255,255,0.9);
    margin: 0 0.5rem;
}

.category-header h1 {
    font-family: 'DM Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--white);
    letter-spacing: -1.5px;
    line-height: 1.2;
}

.category-description {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.92);
    line-height: 1.85;
    max-width: 900px;
    font-weight: 300;
}

/* Projects List */
.category-content {
    padding: 5rem 0;
    background: linear-gradient(180deg, 
        var(--bg-cream) 0%, 
        var(--white) 50%,
        var(--bg-light) 100%);
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-item {
    display: flex;
    gap: 3rem;
    background: var(--white);
    padding: 0;
    border-radius: 20px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(201, 169, 97, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.project-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, 
        var(--secondary-color) 0%, 
        var(--secondary-light) 50%,
        var(--secondary-color) 100%);
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.project-item:hover {
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(201, 169, 97, 0.15);
    transform: translateY(-8px);
    border-color: rgba(201, 169, 97, 0.3);
}

.project-item:hover::before {
    transform: scaleX(1);
}

.project-item-image {
    flex: 0 0 380px;
    height: 280px;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    position: relative;
}

.project-item-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(26, 35, 50, 0) 0%, 
        rgba(26, 35, 50, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

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

.project-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.project-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 3rem;
    justify-content: center;
}

.project-item-content h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
    line-height: 1.3;
    transition: color 0.3s ease;
    letter-spacing: -0.5px;
}

.project-item:hover .project-item-content h3 {
    color: var(--secondary-color);
}

.project-item-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.85;
    flex: 1;
    font-size: 1.05rem;
}

.no-projects {
    text-align: center;
    padding: 5rem 3rem;
    color: var(--text-muted);
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    max-width: 800px;
    margin: 0 auto;
}

.no-projects p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Project Details */
.project-header {
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--primary-dark) 50%,
        var(--primary-color) 100%);
    color: var(--white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.project-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(201, 169, 97, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(201, 169, 97, 0.05) 0%, transparent 50%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(201,169,97,0.08)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 1;
    pointer-events: none;
}

.project-header .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

.project-meta {
    display: inline-flex;
    align-items: center;
    color: rgba(255,255,255,0.95);
    font-size: 0.95rem;
    background: linear-gradient(135deg, 
        rgba(201, 169, 97, 0.25) 0%, 
        rgba(201, 169, 97, 0.15) 100%);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    margin-top: 1.5rem;
    font-weight: 600;
    border: 1px solid rgba(201, 169, 97, 0.3);
    backdrop-filter: blur(10px);
}

.project-content {
    padding: 5rem 0;
    background: linear-gradient(180deg, 
        var(--white) 0%, 
        var(--bg-light) 100%);
}

.project-details {
    max-width: 1000px;
    margin: 0 auto;
}

.project-main-image {
    width: 100%;
    margin-bottom: 4rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
    position: relative;
}

.project-main-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(26, 35, 50, 0) 0%, 
        rgba(26, 35, 50, 0.05) 100%);
    z-index: 1;
    pointer-events: none;
}

.project-main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.project-main-image:hover img {
    transform: scale(1.02);
}

.project-description,
.project-full-content {
    margin-bottom: 4rem;
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-light);
}

.project-description h2,
.project-full-content h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--secondary-color);
    letter-spacing: -0.5px;
}

.content-text {
    line-height: 1.95;
    color: var(--text-color);
    font-size: 1.1rem;
}

.project-actions {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-light);
    text-align: center;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, 
        var(--bg-light) 0%, 
        var(--white) 50%,
        var(--bg-cream) 100%);
    position: relative;
}

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

.about-content h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    letter-spacing: -1px;
    position: relative;
    padding-bottom: 2rem;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--secondary-color), 
        var(--secondary-light),
        var(--secondary-color),
        transparent);
    border-radius: 2px;
}

.about-content p {
    font-size: 1.15rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.9;
    text-align: left;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.mission, .vision {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(201, 169, 97, 0.1);
    border-top: 5px solid var(--secondary-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mission::before, .vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, 
        var(--secondary-color) 0%, 
        var(--secondary-light) 50%,
        var(--secondary-color) 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

.mission:hover, .vision:hover {
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(201, 169, 97, 0.15);
    transform: translateY(-8px);
    border-color: rgba(201, 169, 97, 0.3);
}

.mission h3, .vision h3 {
    font-family: 'DM Sans', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.mission p, .vision p {
    color: var(--text-light);
    line-height: 1.85;
    font-size: 1.1rem;
}

.tagline {
    margin-top: 4rem;
    font-style: italic;
    color: var(--secondary-color);
    font-size: 1.35rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, 
        rgba(201, 169, 97, 0.1) 0%, 
        rgba(201, 169, 97, 0.05) 100%);
    border-radius: 12px;
    display: inline-block;
    border: 2px solid rgba(201, 169, 97, 0.2);
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--primary-dark) 100%);
    color: var(--white);
    padding: 5rem 0 2.5rem;
    margin-top: 6rem;
    border-top: 4px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(201, 169, 97, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(201, 169, 97, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3.5rem;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 2rem;
    color: var(--white);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    position: relative;
    padding-bottom: 1rem;
}

.footer-section h3::after,
.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--secondary-color), 
        var(--secondary-light));
    border-radius: 2px;
}

.footer-section p {
    color: rgba(255,255,255,0.85);
    line-height: 1.85;
    font-size: 1rem;
}

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

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

.footer-section a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.footer-section a:hover {
    color: var(--secondary-color);
    transform: translateX(6px);
}

.footer-section a i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.footer-section a:hover i {
    transform: translateX(3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.75);
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.footer-bottom .tagline {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 968px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        padding: 1rem 0;
        box-shadow: var(--shadow-lg);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav li {
        width: 100%;
    }
    
    .main-nav a,
    .main-nav .dropdown-trigger {
        display: block;
        padding: 1rem 2rem;
        border-radius: 0;
    }
    
    .main-nav .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: var(--primary-dark);
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav li.dropdown.active .dropdown-menu,
    .main-nav li.dropdown.open .dropdown-menu {
        display: block;
    }
    
    .main-nav .dropdown-menu a {
        padding-left: 3rem;
        color: rgba(255, 255, 255, 0.85);
    }
    
    .main-nav .dropdown-menu a:hover {
        background: rgba(201, 169, 97, 0.15);
        color: var(--white);
        padding-left: 3.5rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .project-item {
        flex-direction: column;
    }
    
    .project-item-image {
        flex: 1;
        width: 100%;
        flex: 0 0 auto;
        height: 250px;
    }
    
    .project-item-content {
        padding: 2.5rem 2rem;
    }
    
    .project-item-content h3 {
        font-size: 1.75rem;
    }
    
    .categories-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-image {
        height: 250px;
    }
    
    .project-content {
        padding: 2rem 1.75rem 1.5rem;
        gap: 1.25rem;
    }
    
    .project-content h3 {
        font-size: 1.5rem;
    }
    
    .project-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
    
    .category-header h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .categories-section,
    .featured-projects-section,
    .about-section {
        padding: 3rem 0;
    }
    
    .projects-grid {
        gap: 1.5rem;
    }
    
    .project-card {
        border-radius: 16px;
    }
    
    .project-image {
        height: 220px;
    }
    
    .project-content {
        padding: 1.75rem 1.5rem 1.5rem;
        gap: 1rem;
    }
    
    .project-content h3 {
        font-size: 1.35rem;
    }
    
    .project-category {
        padding: 0.55rem 1.25rem;
        font-size: 0.65rem;
    }
    
    .project-card:hover {
        transform: translateY(-6px) scale(1.005);
    }
}
