@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pinnacle-blue: #0B7FB5;
    --pinnacle-blue-dark: #0A5A8A;
    --pinnacle-blue-light: #2D9CDB;
    --pinnacle-blue-bg: #F0F8FF;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    --gray-dark: #6c757d;
    --text-dark: #1A2B3C;
    --success: #27ae60;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    font-weight: 300;
}

/* JS Fallback: force visibility if JS is disabled */
body:not(.js-enabled) .animate-up {
    opacity: 1 !important;
    transform: none !important;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--pinnacle-blue-dark);
}

h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.text-light {
    color: var(--gray-dark);
    font-weight: 300;
}

.text-center {
    text-align: center;
}

.lead {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    font-size: 1rem;
    gap: 10px;
}

.btn-primary {
    background-color: var(--pinnacle-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--pinnacle-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 127, 181, 0.25);
}

.btn-secondary {
    background-color: var(--pinnacle-blue-light);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--pinnacle-blue);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--pinnacle-blue);
    color: var(--pinnacle-blue);
}

.btn-outline:hover {
    background-color: var(--pinnacle-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 1000;
    padding: 14px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 55px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--pinnacle-blue);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--pinnacle-blue-bg) 0%, var(--white) 100%);
    padding: 120px 0 100px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 35px;
    flex-wrap: wrap;
}

/* Image Placeholders */
.image-placeholder {
    background: linear-gradient(135deg, var(--gray-medium) 0%, var(--gray-light) 100%);
    border: 2px dashed var(--gray-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-dark);
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    padding: 20px;
}

.placeholder-hero {
    width: 100%;
    height: 450px;
}

.placeholder-large {
    width: 100%;
    height: 400px;
}

.placeholder-medium {
    width: 100%;
    height: 300px;
}

.placeholder-team {
    width: 100%;
    height: 350px;
}

/* Stats Section */
.stats-banner {
    background: var(--pinnacle-blue);
    color: var(--white);
    padding: 60px 0;
}

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

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 300;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-dark);
    font-weight: 300;
    margin-top: 15px;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.portfolio-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(11, 127, 181, 0.15);
}

.portfolio-image {
    height: 200px;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

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

.portfolio-content {
    padding: 35px;
}

.portfolio-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--pinnacle-blue-bg);
    color: var(--pinnacle-blue);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(11, 127, 181, 0.12);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--pinnacle-blue-bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--pinnacle-blue);
    font-size: 1.8rem;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.team-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 35px 24px;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(11, 127, 181, 0.05);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(11, 127, 181, 0.12);
}

.team-image-container {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid var(--pinnacle-blue-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.team-card:hover .team-image-container {
    transform: scale(1.05);
    border-color: var(--pinnacle-blue-light);
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    margin-top: 15px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
}

.team-role {
    color: var(--pinnacle-blue);
    font-size: 0.95rem;
    margin-top: 5px;
    font-weight: 500;
}

.team-bio {
    font-size: 0.95rem;
    color: var(--gray-dark);
    margin-top: 15px;
    line-height: 1.6;
    font-weight: 300;
}

/* Image Utilities */
.hero-image-media {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(11, 127, 181, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.featured-image-media {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

/* Contact Section & Form */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--pinnacle-blue-bg) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

.contact-info {
    padding-right: 20px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-description {
    color: var(--gray-dark);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icon {
    width: 55px;
    height: 55px;
    background: var(--white);
    color: var(--pinnacle-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(11, 127, 181, 0.08);
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.85rem;
    color: var(--gray-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.info-value {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

a.info-value:hover {
    color: var(--pinnacle-blue);
}

.contact-form-container {
    background: var(--white);
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(11, 127, 181, 0.05);
    border: 1px solid rgba(11, 127, 181, 0.03);
}

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

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid var(--gray-medium);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: var(--gray-light);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--pinnacle-blue);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(11, 127, 181, 0.1);
}

.btn-block {
    width: 100%;
}

.form-status {
    margin-top: 10px;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    display: none;
    text-align: center;
    font-weight: 500;
}

.form-status.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 80px 0 40px;
}

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

.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--pinnacle-blue-light);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.contact-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pinnacle-blue-light);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}



/* Operations Gallery Grid */
.operations-gallery {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 25px;
    margin-bottom: 60px;
    height: 480px;
}

.gallery-main-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    min-height: 0;
}

.gallery-side-cards {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 25px;
    height: 100%;
    min-height: 0;
}

.gallery-side-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    min-height: 0;
}

.gallery-img-main,
.gallery-img-side {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-main-card:hover .gallery-img-main,
.gallery-side-card:hover .gallery-img-side {
    transform: scale(1.03);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 90, 138, 0.85) 0%, rgba(10, 90, 138, 0) 100%);
    padding: 30px 20px 20px;
    color: var(--white);
    display: flex;
    align-items: flex-end;
}

.gallery-overlay span {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 0 20px;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateY(-10px);
    }
    
    .nav-links.active {
        padding: 30px 20px;
        max-height: 450px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-image-media {
        height: 300px;
    }
    
    .featured-image-media {
        height: 250px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .operations-gallery {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .gallery-main-card {
        height: 250px;
    }
    
    .gallery-side-cards {
        grid-template-rows: 150px 150px;
        gap: 20px;
    }

    h1 {
        font-size: 2.5rem;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
}
