/* ======================================
   3F CAPITAL - PROFESSIONAL WEBSITE
   Clean, Modern, International Standard
   ====================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #fff;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Add subtle page load animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gradient animation for hero */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    color: #0a0a0a;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

p {
    font-weight: 400;
}

/* === HEADER & NAVIGATION === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #003366;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
    background: rgba(255, 255, 255, 0.98);
}

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

.nav-brand {
    display: flex;
    align-items: center;
}

.logo {
    height: 45px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #c8102e;
}

.btn-cta {
    padding: 12px 30px;
    background: #c8102e;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.btn-cta:hover {
    background: #a00d24;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200,16,46,0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s;
    display: block;
}

/* === HERO === */
.hero {
    margin-top: 0;
    padding-top: 85px;
    height: 580px;
    position: relative;
    background: linear-gradient(-45deg, #1a3a52, #2d5270, #3d6a8f, #2a4d6e);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    overflow: visible;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 58, 82, 0.7) 0%, rgba(45, 82, 112, 0.65) 50%, rgba(61, 106, 143, 0.6) 100%);
    z-index: 1;
}

.hero-slides {
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 2;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: -1;
    transition: transform 0.3s ease;
}

.hero-slide:hover::before {
    transform: scale(1.05);
}

.hero-slide:nth-child(1)::before {
    background-image: url('https://images.unsplash.com/photo-1532601224476-15c79f2f7a51?w=1600');
}

.hero-slide:nth-child(2)::before {
    background-image: url('https://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?w=1600');
}

.hero-slide:nth-child(3)::before {
    background-image: url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?w=1600');
}

.hero-slide:nth-child(4)::before {
    background-image: url('https://images.unsplash.com/photo-1466611653911-95081537e5b7?w=1600');
}

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

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 10;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.hero-badge {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 28px;
    letter-spacing: 1px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeIn 1.2s ease-out 0.2s both;
}

.hero-content h1 {
    font-size: 60px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 32px;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    animation: fadeIn 1s ease-out 0.3s both;
}

.hero-content p {
    font-size: 20px;
    color: rgba(255,255,255,0.95);
    margin-bottom: 48px;
    line-height: 1.6;
    font-weight: 300;
    text-shadow: 0 1px 10px rgba(0,0,0,0.2);
    animation: fadeIn 1s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeIn 1s ease-out 0.5s both;
    margin-bottom: 80px;
}

.btn {
    padding: 16px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #c8102e 0%, #a00d25 100%);
    color: #fff;
    box-shadow: 0 8px 25px rgba(200, 16, 46, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(200, 16, 46, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-light {
    background: #fff;
    color: #003366;
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 100;
}

.dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s;
}

.dot:hover {
    border-color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.2);
}

.dot.active {
    background: #c8102e;
    border-color: #c8102e;
}

/* === MISSION & VISION === */
.mission-vision {
    background: #f8f9fa;
}

.mv-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 160px;
}

.mission,
.vision {
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 160px;
}

.mission {
    border-right: 4px solid #0e7c8f;
}

.mission > div,
.vision > div {
    max-width: 560px;
    width: 100%;
}

.mission h3,
.vision h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.mission p,
.vision p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* === CONTAINER === */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* === STATS === */
.stats {
    background: linear-gradient(135deg, #003366 0%, #005599 100%);
    padding: 60px 0;
    height: 160px;
    display: flex;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat {
    text-align: center;
    transition: all 0.4s ease;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    cursor: pointer;
}

.stat::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: border-color 0.4s ease;
}

.stat:hover {
    transform: translateY(-8px) scale(1.05);
}

.stat:hover::before {
    border-color: #c8102e;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
}

/* === SECTIONS === */
.about,
.services,
.content-section,
.values {
    padding: 60px 0;
}

/* === GROWTH TIMELINE === */
.growth-timeline {
    padding: 80px 0;
    background: #f8f9fa;
}

.growth-timeline .section-header {
    text-align: left;
    margin-bottom: 50px;
}

.growth-timeline .label {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    display: block;
    margin-bottom: 0;
    font-family: 'Playfair Display', Georgia, serif;
}

.growth-title {
    font-size: 4rem;
    font-weight: 800;
    color: #c41e3a;
    margin: 0;
    letter-spacing: 2px;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-items {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
}

.timeline-year {
    font-size: 1.25rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
}

.timeline-dot {
    width: 18px;
    height: 18px;
    background: #c41e3a;
    border-radius: 50%;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.timeline-content {
    padding: 0 10px;
}

.timeline-content p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 12px;
}

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

/* Timeline responsive */
@media (max-width: 1200px) {
    .timeline-content p {
        font-size: 0.8rem;
    }
    
    .timeline-content {
        padding: 15px 12px;
    }
}

@media (max-width: 992px) {
    .timeline-items {
        flex-wrap: wrap;
        gap: 25px;
        justify-content: center;
    }
    
    .timeline-item {
        flex: 0 0 30%;
        max-width: 30%;
    }
    
    .timeline-content {
        min-height: auto;
    }
    
    .growth-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .timeline-item {
        flex: 0 0 45%;
        max-width: 45%;
    }
}

@media (max-width: 576px) {
    .timeline-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .growth-title {
        font-size: 2.5rem;
    }
    
    .growth-timeline .label {
        font-size: 1.75rem;
    }
}

/* === PROJECTS INTRO === */
.projects-intro {
    padding: 60px 0;
    background: #f9f9f9;
}

.projects-intro .lead {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: #1a1a1a;
}

/* === MARGINAL FIELD BID ROUNDS === */
.bid-rounds-section {
    background: url('images/refinery1.jpg') center/cover no-repeat;
    padding: 80px 0;
    position: relative;
}

.bid-rounds-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(176, 224, 230, 0.85);
}

.bid-rounds-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.section-title-red {
    color: #c41e3a;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Playfair Display', Georgia, serif;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: #003366;
    margin-bottom: 25px;
}

.bid-rounds-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.bid-rounds-table {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.bid-rounds-table table {
    width: 100%;
    border-collapse: collapse;
}

.bid-rounds-table th {
    background: #003366;
    color: #fff;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.bid-rounds-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: top;
    font-size: 0.9rem;
}

.bid-rounds-table td:first-child {
    white-space: nowrap;
}

.bid-rounds-table td:nth-child(2) {
    white-space: nowrap;
}

.bid-rounds-table tr:last-child td {
    border-bottom: none;
}

.bid-rounds-table ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bid-rounds-table ul li {
    padding: 3px 0 3px 20px;
    position: relative;
}

.bid-rounds-table ul li::before {
    content: "■";
    position: absolute;
    left: 0;
    color: #003366;
    font-size: 0.6rem;
    top: 6px;
}

.field-link {
    color: #c41e3a;
    text-decoration: none;
}

.bid-success-metrics {
    background: rgba(196, 30, 58, 0.05);
    padding: 20px;
    border-top: 2px solid #c41e3a;
}

.bid-success-metrics p {
    color: #c41e3a;
    font-size: 0.95rem;
    margin: 8px 0;
    font-style: italic;
}

.checkmark {
    color: #4caf50;
    font-weight: bold;
    margin-right: 8px;
}

/* === FIELD DEVELOPMENT PROGRAMMES === */
.field-development-section {
    background: url('images/pipeline-bg.jpg') center/cover no-repeat;
    padding: 80px 0;
    position: relative;
}

.field-development-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(230, 240, 250, 0.9);
}

.field-dev-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.field-dev-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.field-dev-list {
    list-style: none;
    padding: 0;
}

.field-dev-list li {
    padding: 12px 0;
    font-size: 1rem;
    color: #1a1a1a;
    display: flex;
    align-items: flex-start;
}

.field-dev-list .checkmark {
    color: #4caf50;
    font-size: 1.1rem;
    margin-right: 12px;
    flex-shrink: 0;
}

/* === PROJECT GALLERY === */
.project-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-gallery .gallery-main {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.project-gallery .gallery-thumbs {
    display: flex;
    gap: 10px;
}

.project-gallery .gallery-thumbs img {
    flex: 1;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.project-gallery .gallery-thumbs img:hover {
    transform: scale(1.03);
}

.gallery-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-thumbs .gallery-link {
    flex: 1;
    border-radius: 6px;
}

.gallery-thumbs-single {
    justify-content: center;
}

.gallery-thumbs-single .gallery-link {
    flex: 0 0 50%;
    max-width: 50%;
}

/* === IMAGE MODAL === */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.image-modal.active {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    animation: modalZoom 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000;
}

.modal-close:hover {
    color: #c41e3a;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: color 0.3s ease, background 0.3s ease;
    z-index: 10000;
    background: rgba(0,0,0,0.3);
    border-radius: 4px;
}

.modal-nav:hover {
    color: #c41e3a;
    background: rgba(0,0,0,0.6);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: color 0.3s ease, background 0.3s ease;
    z-index: 10000;
    background: rgba(0,0,0,0.3);
    border-radius: 4px;
}

.modal-nav:hover {
    color: #c41e3a;
    background: rgba(0,0,0,0.6);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

/* Responsive for new sections */
@media (max-width: 992px) {
    .bid-rounds-container,
    .field-dev-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-title-red {
        font-size: 2rem;
    }
    
    .field-dev-images {
        order: 2;
    }
    
    .field-dev-content {
        order: 1;
    }
    
    .bid-rounds-content,
    .field-dev-content {
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .bid-rounds-section,
    .field-development-section {
        padding: 50px 0;
    }
    
    .bid-rounds-section {
        background: white;
    }
    
    .bid-rounds-section::before {
        display: none;
    }
    
    .bid-rounds-container {
        padding: 0 15px;
    }
    
    .section-title-red {
        font-size: 1.75rem;
    }
    
    /* Make table responsive with card layout on mobile */
    .bid-rounds-table {
        overflow-x: visible;
    }
    
    .bid-rounds-table table {
        display: block;
        border: none;
    }
    
    .bid-rounds-table thead {
        display: none;
    }
    
    .bid-rounds-table tbody {
        display: block;
    }
    
    .bid-rounds-table tr {
        display: block;
        margin-bottom: 20px;
        border: 2px solid #003366;
        border-radius: 8px;
        padding: 15px;
        background: white;
    }
    
    .bid-rounds-table td {
        display: block;
        text-align: left !important;
        padding: 8px 0;
        border: none;
        font-size: 0.9rem;
    }
    
    .bid-rounds-table td:before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        color: #c41e3a;
        margin-bottom: 5px;
        font-size: 0.85rem;
        text-transform: uppercase;
    }
    
    .bid-rounds-table td:first-child {
        font-size: 1.1rem;
        color: #003366;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    
    .bid-rounds-table ul {
        margin-top: 8px;
    }
    
    .bid-success-metrics {
        padding: 15px;
        margin-top: 20px;
    }
    
    .bid-success-metrics p {
        font-size: 0.85rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 40px;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 18px;
    color: #666;
}

.label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #c8102e;
    margin-bottom: 12px;
}

.lead {
    font-size: 20px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* === GRIDS === */
.about-grid,
.content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text,
.content-text {
    max-width: 600px;
}

.about-text h2,
.content-text h2 {
    font-size: 36px;
    color: #1a1a1a;
    margin-bottom: 24px;
    line-height: 1.3;
}

.about-text p,
.content-text p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-image,
.content-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.about-image img,
.content-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.5s;
}

.about-image:hover img,
.content-image:hover img {
    transform: scale(1.05);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    color: #c8102e;
    font-weight: 600;
    text-decoration: none;
    margin-top: 16px;
    transition: gap 0.3s;
}

.link-arrow:hover {
    gap: 8px;
}

/* === SERVICES === */
.services {
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service {
    background: #fff;
    padding: 40px 32px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #c8102e;
    transition: width 0.6s ease;
}

.service::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border: 2px solid #c8102e;
    border-top: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service:hover::before {
    width: 100%;
}

.service:hover::after {
    opacity: 1;
}

.service:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #003366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
    color: #c8102e;
}

.service:hover .service-icon {
    transform: scale(1.05);
}

.service h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.service p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 12px;
}

.service-list {
    margin-top: 20px;
}

.service-list p strong {
    color: #003366;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.service-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list ul li {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
}

.service-list ul li::before {
    content: "•";
    color: #c8102e;
    font-weight: bold;
    position: absolute;
    left: 8px;
}

/* === VALUES === */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.value {
    background: #fff;
    padding: 40px 28px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.value:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: #d0d0d0;
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.value p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* === COMPETITIVE ADVANTAGE === */
.competitive-advantage {
    padding: 60px 0;
    background: #fff;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin-top: 48px;
}

.advantage-card {
    background: #f8f9fa;
    padding: 48px 40px;
    border-radius: 16px;
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-color: #d0d0d0;
}

.advantage-icon {
    font-size: 56px;
    margin-bottom: 24px;
    display: inline-block;
}

.advantage-card h3 {
    font-size: 28px;
    color: #003366;
    margin-bottom: 24px;
    font-family: 'Playfair Display', serif;
}

.advantage-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.advantage-card ul li {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    padding-left: 32px;
    position: relative;
    margin-bottom: 16px;
}

.advantage-card ul li::before {
    content: "✓";
    color: #c8102e;
    font-weight: bold;
    font-size: 18px;
    position: absolute;
    left: 0;
}

/* === PROJECTS === */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.project-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card.featured {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0;
}

.project-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
    background: #f5f5f5;
}

.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-content {
    padding: 40px;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: #d0d0d0;
}

.project-card h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: #003366;
    font-family: 'Playfair Display', serif;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-details p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.project-details p strong {
    color: #003366;
    font-weight: 600;
}

/* === NEWS === */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.news-card {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
    position: relative;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: #d0d0d0;
}

.news-badge {
    display: inline-block;
    background: #c8102e;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.news-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.news-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.date {
    font-size: 14px;
    color: #999;
    font-style: italic;
}

.featured-news {
    border-left: 4px solid #003366;
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin: 0 0 20px 0;
}

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

.news-card:hover .news-image img {
    transform: scale(1.05);
}

/* === CTA === */
.cta {
    background: linear-gradient(135deg, #003366 0%, #005599 100%);
    padding: 60px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 40px;
    color: #fff;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
}

/* === PAGE HERO === */
.page-hero {
    margin-top: 70px;
    padding: 70px 0;
    background: linear-gradient(135deg, #003366 0%, #005599 100%);
    text-align: center;
    color: #fff;
}

.page-hero h1 {
    font-size: 48px;
    margin-bottom: 16px;
    color: #fff;
}

.page-hero p {
    font-size: 20px;
    color: #fff;
}

/* === CONTACT === */
.contact {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-block h3 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.info-block p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

.contact-form-wrapper {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c8102e;
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 14px;
    color: #999;
    pointer-events: none;
    transition: all 0.3s;
    background: #fff;
    padding: 0 4px;
}

.form-group input:not(:placeholder-shown) + label,
.form-group input:focus + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group textarea:focus + label {
    top: -10px;
    font-size: 12px;
    color: #c8102e;
}

/* === CLIENTS === */
.clients {
    padding: 80px 0;
    background: #f8f9fa;
}

.clients .section-header h2 {
    color: #c8102e;
    margin-bottom: 3rem;
}

.clients-slider {
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.clients-track {
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    animation: slideClients 50s linear infinite;
}

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

.clients-track:hover {
    animation-play-state: paused;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    min-width: 150px;
    width: 150px;
    max-width: 150px;
    height: 100px;
    flex-shrink: 0;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.client-logo img {
    width: 100%;
    height: 60px;
    object-fit: contain;
    transition: all 0.3s;
}

.client-logo:hover img {
    transform: scale(1.05);
}

/* === FOOTER === */
.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #c8102e;
}

.social {
    display: flex;
    gap: 12px;
}

.social a {
    padding: 10px 16px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.social a:hover {
    background: #c8102e;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .about-grid,
    .content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header {
        display: block;
        position: fixed;
        width: 100%;
        left: 0;
        right: 0;
        background: #003366;
    }
    
    .nav {
        padding: 16px 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 100vw;
        margin: 0;
    }
    
    .nav-brand {
        flex-shrink: 0;
    }
    
    .logo {
        height: 40px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #003366;
        width: 100%;
        padding: 40px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
        transition: left 0.3s;
        gap: 20px;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .btn-cta {
        display: none;
    }
    
    .menu-toggle {
        display: flex !important;
        position: relative;
        z-index: 1001;
        flex-shrink: 0;
        margin-left: auto;
    }
    
    .hero {
        height: 500px;
        margin-top: 0;
        padding-top: 70px;
    }
    
    .hero-badge {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .hero-content h1 {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .hero-content p {
        font-size: 16px;
        margin-bottom: 28px;
        line-height: 1.5;
    }
    
    .hero-actions {
        flex-direction: row;
        gap: 12px;
        width: 100%;
        justify-content: center;
    }
    
    .btn {
        flex: 0 1 auto;
        padding: 14px 32px;
        font-size: 13px;
    }
    
    .hero-dots {
        bottom: 30px;
        gap: 12px;
    }
    
    .dot {
        width: 12px;
        height: 12px;
    }
    
    .page-hero {
        padding: 60px 0;
        margin-top: 70px;
    }
    
    .page-hero h1 {
        font-size: 36px;
    }
    
    .page-hero p {
        font-size: 17px;
    }
    
    .mv-container {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .mission,
    .vision {
        padding: 40px 32px;
        min-height: 180px;
        border: none;
        border-bottom: 4px solid #0e7c8f;
    }
    
    .mission > div,
    .vision > div {
        max-width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .services-grid,
    .values-grid,
    .projects-grid,
    .news-grid,
    .advantage-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .project-card.featured {
        display: block;
    }
    
    .project-image.project-gallery {
        display: block;
    }
    
    .gallery-thumbs {
        display: flex;
        gap: 10px;
        margin-top: 10px;
    }
    
    .gallery-thumbs a {
        flex: 1;
    }
    
    .gallery-thumbs img {
        width: 100%;
        height: 80px;
        object-fit: cover;
    }
    
    .project-content {
        padding: 20px;
    }
    
    .project-card h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .project-details p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    
    .projects-intro {
        padding: 40px 0;
    }
    
    .projects-intro .lead {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .advantage-card {
        padding: 32px 28px;
    }
    
    .advantage-card h3 {
        font-size: 24px;
    }
    
    .advantage-card ul li {
        font-size: 15px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .clients-slider {
        flex-direction: column;
        gap: 20px;
    }
    
    .clients-track {
        gap: 30px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 16px 20px;
    }
    
    .logo {
        height: 35px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .hero {
        height: 480px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-badge {
        font-size: 11px;
    }
    
    .hero-content h1 {
        font-size: 26px;
        line-height: 1.25;
    }
    
    .hero-content p {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .hero-actions {
        flex-direction: row;
        gap: 10px;
        margin-bottom: 60px;
    }
    
    .btn {
        flex: 1;
        text-align: center;
        padding: 13px 20px;
        font-size: 11px;
    }
    
    .hero-dots {
        bottom: 25px;
        gap: 10px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .page-hero {
        padding: 50px 0;
    }
    
    .page-hero h1 {
        font-size: 28px;
    }
    
    .page-hero p {
        font-size: 15px;
    }
    
    .lead {
        font-size: 16px;
        padding: 0 10px;
        margin: 0 auto 40px !important;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 15px;
    }
    
    .project-card.featured {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        min-height: 250px;
        max-height: 250px;
    }
    
    .project-content {
        padding: 0;
    }
    
    .project-card h3 {
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .project-details p {
        font-size: 14px;
    }
    
    .stats {
        height: 370px;
        padding: 60px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .mission,
    .vision {
        padding: 32px 24px;
    }
    
    .service,
    .value,
    .project-card {
        padding: 28px 20px;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .clients-slider {
        max-width: 100%;
        padding: 0;
        position: relative;
        display: flex;
        align-items: center;
        gap: 0;
    }
    
    .clients-track {
        gap: 30px;
        animation: slideClients 50s linear infinite;
    }
    
    .client-logo {
        min-width: 120px;
        width: 120px;
        max-width: 120px;
        height: 100px;
        padding: 15px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
