/* Custom Properties */
:root {
    --primary-color: #004d80;
    /* Dark blue from 'ZENO' text */
    --secondary-color: #0087cb;
    /* Bright blue from the icon */
    --accent-color: #8b9eb5;
    /* Gray from subtext */
    --text-color: #333333;
    --text-light: #555555;
    --bg-light: #f4f7f9;
    --bg-white: #ffffff;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.flex-between {
    display: flex;
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

/* Header */
.top-bar {
    background: linear-gradient(90deg, #001f33 0%, var(--primary-color) 100%);
    color: #e0e6ed;
    padding: 12px 0;
    font-size: 0.85rem;
    font-weight: 400;
    border-bottom: 2px solid var(--secondary-color);
}

.top-bar .contact-info span,
.top-bar .certifications span {
    margin-right: 20px;
}

.top-bar i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.navbar {
    background: var(--bg-white);
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0, 31, 51, 0.08);
    /* Deep blue shadow */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar>.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    display: block;
    width: 280px;
    /* Wide enough for the logo */
    height: 75px;
    /* Fixed height to crop the white space top/bottom */
    overflow: hidden;
    position: relative;
}

.navbar .logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* This will cleanly crop the excess white space */
    object-position: center;
    transform: scale(1.15);
    /* Slightly enlarge the core logo */
    transform-origin: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 0;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 10px 18px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.05rem;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    background-color: var(--bg-light);
    box-shadow: inset 0 -3px 0 var(--secondary-color);
}

.navbar .btn {
    border-radius: 50px;
    padding: 12px 24px;
    box-shadow: 0 4px 15px rgba(0, 77, 128, 0.2);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(rgba(0, 48, 80, 0.85), rgba(0, 48, 80, 0.85)), url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&q=80&w=1920') center/cover;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--bg-white);
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1.5s ease;
}

.hero h1 {
    color: var(--bg-white);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 35px;
    font-weight: 300;
    color: #e0e6ed;
}

/* Inner Page Header */
.page-header {
    background: linear-gradient(rgba(0, 48, 80, 0.9), rgba(0, 48, 80, 0.9)), url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&q=80') center/cover;
    padding: 100px 0 60px;
    text-align: center;
    color: var(--bg-white);
}

.page-header h1 {
    color: var(--bg-white);
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 500;
    text-transform: uppercase;
}

/* Sections */
.section {
    padding: 90px 0;
}

.section-bg-light {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-inline: auto;
}

.section-header h2 {
    font-size: 2.8rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

/* Services Cards */
.service-card {
    background: var(--bg-white);
    padding: 50px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: var(--transition);
    border-bottom: 5px solid var(--bg-light);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--secondary-color);
    box-shadow: 0 20px 40px rgba(0, 135, 203, 0.15);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Feature Section */
.feature-box {
    display: flex;
    align-items: center;
    gap: 60px;
}

.feature-img img {
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-list {
    list-style: none;
    margin-top: 25px;
}

.feature-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 18px;
    font-weight: 500;
}

.feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Content Blocks for Services Page */
.service-detail {
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid #e0e0e0;
}

.service-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-detail img {
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-detail.reverse {
    flex-direction: row-reverse;
}

/* Forms */
.contact-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 135, 203, 0.1);
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #001f33 100%);
    color: var(--bg-white);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M10 10l80 80M90 10L10 90" stroke="rgba(255,255,255,0.03)" stroke-width="2"/></svg>') repeat;
    opacity: 0.5;
}

.cta-section>* {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: var(--bg-white);
    font-size: 2.5rem;
}

/* Footer */
.main-footer {
    background-color: #0b1a26;
    color: #a0aec0;
    padding: 70px 0 20px;
}

.main-footer h3 {
    color: var(--bg-white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.main-footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #a0aec0;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 8px;
}

.footer-logo {
    margin-bottom: 25px;
    height: 80px;
    width: 280px;
    object-fit: cover;
    object-position: center;
    background-color: var(--bg-white);
    padding: 10px;
    border-radius: 8px;
}

.footer-col.contact-col p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer-col.contact-col i {
    color: var(--secondary-color);
    margin-top: 5px;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 992px) {

    .feature-box,
    .service-detail,
    .service-detail.reverse {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 30px 20px;
        text-align: center;
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .navbar .btn {
        display: none;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero {
        min-height: 500px;
        height: 60vh;
    }

    .section {
        padding: 60px 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}