/* 
======================================================
  REGNOVA MARINE CONSULTANTS - SECTIONS & FOOTER
====================================================== 
*/

/* --- Utilities --- */
.bg-light { background-color: var(--color-gray-100); }
.bg-navy { background-color: var(--color-navy); }
.bg-gold { background-color: var(--color-gold); }
.text-navy { color: var(--color-navy) !important; }
.text-teal { color: var(--color-teal) !important; }
.text-gold { color: var(--color-gold) !important; }
.text-white { color: var(--color-white) !important; }

.pt-100 { padding-top: 100px; }
.pb-100 { padding-bottom: 100px; }
.pt-80 { padding-top: 80px; }
.pb-80 { padding-bottom: 80px; }

@media (max-width: 768px) {
    .pt-100 { padding-top: 50px; }
    .pb-100 { padding-bottom: 50px; }
    .pt-80 { padding-top: 40px; }
    .pb-80 { padding-bottom: 40px; }
    .mt-5 { margin-top: 30px; }
    .mb-5 { margin-bottom: 30px; }
    .mt-4 { margin-top: 16px; }
    .mb-4 { margin-bottom: 16px; }
}

.mt-3 { margin-top: 15px; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 48px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.mb-5 { margin-bottom: 48px; }
.my-5 { margin-top: 48px; margin-bottom: 48px; }
.p-3 { padding: 16px; }
.p-4 { padding: 24px; }

.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.font-weight-bold { font-weight: 700; }
.d-block { display: block; }
.rounded { border-radius: 8px; }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.border-gray-200 { border-color: var(--color-gray-200); }
.border-left-teal { border-left: 4px solid var(--color-teal); }

.img-fluid { max-width: 100%; height: auto; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.object-fit-cover { object-fit: cover !important; }

.max-w-700 { max-width: 700px; }
.max-w-800 { max-width: 800px; }

/* --- Simple Grid System --- */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
.row > [class*="col-"] {
    padding-right: 15px;
    padding-left: 15px;
    width: 100%;
}
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.gap-4 { gap: 24px; }

@media (min-width: 768px) {
    .col-md-5 { flex: 0 0 calc(41.666667% - 24px); max-width: calc(41.666667% - 24px); }
}

@media (min-width: 992px) {
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
    .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
    .pr-lg-4 { padding-right: 24px; }
    .pl-lg-4 { padding-left: 24px; }
}

/* --- Section Titles --- */
.section-title { margin-bottom: 30px; }
.section-title h2 {
    font-family: var(--font-secondary);
    font-size: 36px;
    color: var(--color-navy);
    margin-top: 10px;
    margin-bottom: 20px;
}
.subtitle {
    display: inline-block;
    color: var(--color-teal);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-left: 40px;
}
.subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--color-gold);
}

/* --- About Preview Snippet --- */
.lead-text {
    font-size: 18px;
    color: var(--color-navy);
    margin-bottom: 20px;
    line-height: 1.6;
}
.feature-list li {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
}
.feature-list li i {
    margin-right: 10px;
    font-size: 18px;
}

/* Image Grid */
.image-grid {
    display: flex;
    gap: 20px;
    position: relative;
}
.image-grid-col {
    flex: 1;
}
.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    z-index: 2;
    border: 4px solid var(--color-white);
}

/* --- Services Highlight (Homepage) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.service-card {
    background-color: var(--color-white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border-bottom: 3px solid transparent;
}
.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--color-gold);
    box-shadow: 0 15px 40px rgba(11, 37, 69, 0.1);
}
.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--color-gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--color-teal);
    margin-bottom: 25px;
    transition: all var(--transition-normal);
}
.service-card:hover .service-icon {
    background-color: var(--color-teal);
    color: var(--color-white);
}
.service-card h3 {
    font-size: 20px;
    color: var(--color-navy);
    margin-bottom: 15px;
}
.service-card p {
    color: var(--color-gray-800);
    margin-bottom: 25px;
    font-size: 14px;
}
.read-more {
    color: var(--color-teal);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}
.read-more i {
    transition: transform var(--transition-fast);
}
.read-more:hover i {
    transform: translateX(5px);
}

/* --- About Page Specific --- */
.services-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.service-list-item {
    background: var(--color-white);
    padding: 20px;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    color: var(--color-navy);
    border-left: 3px solid var(--color-teal);
    transition: transform var(--transition-fast);
}
.service-list-item:hover {
    transform: translateX(5px);
}
.service-list-item i {
    font-size: 20px;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--color-navy-dark);
    color: var(--color-gray-200);
    padding-top: 80px;
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-col h4 {
    color: var(--color-white);
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-gold);
}
.footer-logo {
    margin-bottom: 20px;
}
.footer-desc {
    font-size: 14px;
    margin-bottom: 25px;
    color: rgba(255,255,255,0.7);
}
.social-links {
    display: flex;
    gap: 15px;
}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: var(--color-white);
    transition: all var(--transition-normal);
}
.social-links a:hover {
    background-color: var(--color-teal);
    transform: translateY(-3px);
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}
.footer-col ul li a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}
.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}
.contact-info li i {
    color: var(--color-teal);
    margin-top: 4px;
}
.footer-bottom {
    background-color: #051121;
    padding: 20px 0;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}
.footer-legal a {
    color: rgba(255,255,255,0.5);
    margin-left: 20px;
}
.footer-legal a:hover {
    color: var(--color-gold);
}

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-bottom-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .image-grid {
        flex-direction: column;
    }
    .experience-badge {
        position: static;
        margin-top: -30px;
        margin-bottom: 30px;
    }
}
