/* General Body Styles */
:root {
    --primary-color: #002244;
    /* Deep Navy */
    --secondary-color: #C0995F;
    /* Muted Gold */
    --accent-color: #E63946;
    /* Vibrant Accent */
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
    margin: 0;
    padding: 0;
}

/* Header and Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}



header .logo {
    position: absolute;
    left: 3rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    display: flex;
    align-items: center;
}

header .logo img {
    height: auto;
    width: 250px;
    object-fit: contain;
    transition: var(--transition);
}

header nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
    position: relative;
    min-height: 60px;
    /* Ensure header has height even if empty */
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 2rem;
}

header nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

header nav ul li a:hover::after,
header nav ul li a:focus::after,
header nav ul li a.active::after {
    width: 100%;
}

header nav ul li a:hover,
header nav ul li a:focus,
header nav ul li a.active {
    color: var(--secondary-color);
}

/* Mobile nav toggle - hidden on desktop */
.mobile-nav-toggle {
    display: none;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Updated Hero Section Styling */
.hero {
    background: linear-gradient(rgba(0, 34, 68, 0.85), rgba(0, 34, 68, 0.7));
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 8rem 2rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.7;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Styling for Features, Services & Industries on Homepage */
.features,
.services,
.industries {
    background-color: transparent;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.features h2,
.services h2,
.industries h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
}

.features h2::after,
.services h2::after,
.industries h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 1rem auto;
    border-radius: 2px;
}

.features .row,
.services .row,
.industries .row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Responsive: 2 columns on tablets, 1 on mobile */
@media (max-width: 991px) {

    .features .row,
    .services .row,
    .industries .row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {

    .features .row,
    .services .row,
    .industries .row {
        grid-template-columns: 1fr;
    }
}

/* Card Styling */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Common Column Styling */
.col-md-4,
.col-md-6 {
    padding: 0 15px;
    margin-bottom: 20px;
}

.service-card,
.industry-card,
.feature-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: none;
    display: flex;
    flex-direction: column;
}

.service-card:hover,
.industry-card:hover,
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Card Images */
.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 4px solid var(--secondary-color);
}

.card-body {
    padding: 2rem;
    flex-grow: 1;
}

.service-card h3,
.industry-card h3,
.feature-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-card p,
.industry-card p,
.feature-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.service-card ul,
.industry-card ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.service-card ul li,
.industry-card ul li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    /* Add padding-left for the bullet */
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    /* For absolute positioning of bullet */
    display: block;
    /* Ensure natural text flow */
}

.service-card ul li::before,
.industry-card ul li::before {
    content: '•';
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0.5rem;
    /* Align with first line of text */
    line-height: 1;
}

/* Call to Action */
.call-to-action {
    background: linear-gradient(rgba(0, 34, 68, 0.9), rgba(0, 34, 68, 0.8)), url('../Images/contact_hero.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 6rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.call-to-action h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.cta-buttons .btn-cta-primary,
a.btn-cta-primary,
.btn.btn-cta-primary {
    background-color: #C0995F !important;
    color: #002244 !important;
    border: none !important;
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none !important;
    display: inline-block;
}

.cta-buttons .btn-cta-primary:hover,
a.btn-cta-primary:hover,
.btn.btn-cta-primary:hover {
    background-color: #a3824b !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    text-decoration: none !important;
}

.cta-buttons .btn-cta-secondary,
a.btn-cta-secondary,
.btn.btn-cta-secondary {
    background-color: transparent !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    padding: 0.9rem 2.5rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none !important;
    display: inline-block;
}

.cta-buttons .btn-cta-secondary:hover,
a.btn-cta-secondary:hover,
.btn.btn-cta-secondary:hover {
    background-color: #ffffff !important;
    color: #002244 !important;
    text-decoration: none !important;
}

.cta-buttons .btn-cta-tertiary,
a.btn-cta-tertiary,
.btn.btn-cta-tertiary {
    background-color: transparent !important;
    border: 2px solid #C0995F !important;
    color: #ffffff !important;
    padding: 0.9rem 2.5rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none !important;
    display: inline-block;
}

.cta-buttons .btn-cta-tertiary:hover,
a.btn-cta-tertiary:hover,
.btn.btn-cta-tertiary:hover {
    background-color: #96661e !important;
    color: #C0995F !important;
    text-decoration: none !important;
}

/* Page Heroes */
.page-hero {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 6rem 2rem;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 3rem;
    color: var(--white);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 34, 68, 0.85);
    /* Navy Overlay */
    border-radius: 12px;
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

/* Specific Page Hero Backgrounds */
/* Specific Page Hero Backgrounds - Now handled inline in HTML */

/* Footer */
footer {
    background-color: #333;
    color: var(--white);
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
}

footer p {
    opacity: 0.8;
    margin-bottom: 1rem;
}

footer .social-media {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

footer .social-media li {
    display: inline-block;
}

footer .social-media a {
    color: var(--white);
    font-size: 1.5rem;
    opacity: 0.8;
    transition: var(--transition);
    text-decoration: none;
}

footer .social-media a:hover {
    opacity: 1;
    color: #1DA1F2;
}

/* ========== ABOUT PAGE STYLES ========== */
.about-content-section {
    padding: 3rem 0;
    text-align: center;
}

.about-content-section p {
    max-width: 900px;
    margin: 0 auto 1.5rem auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Values Section */
.values-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.values-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 700;
}

.values-section .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.values-section .col-md-4 {
    flex: 0 0 calc(33.333% - 2rem);
    max-width: calc(33.333% - 2rem);
}

.value-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #3498db;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.value-card i {
    font-size: 2.5rem;
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.value-card h3 {
    font-size: 1.4rem;
    color: #3498db;
    font-weight: 700;
    margin-bottom: 1rem;
}

.value-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Process Section */
.process-section {
    padding: 4rem 0;
    background: #fff;
}

.process-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.process-section .subtitle {
    text-align: center;
    color: #777;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.process-number {
    background: var(--primary-color);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.process-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.process-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive for About Page */
@media (max-width: 991px) {
    .values-section .col-md-4 {
        flex: 0 0 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
}

@media (max-width: 575px) {
    .values-section .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ========== CONTACT PAGE STYLES ========== */
.contact-section {
    padding: 4rem 0;
}

.contact-section .row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-section .col-md-5 {
    flex: 0 0 calc(40% - 1rem);
    max-width: calc(40% - 1rem);
}

.contact-section .col-md-7 {
    flex: 0 0 calc(60% - 1rem);
    max-width: calc(60% - 1rem);
}

.contact-details {
    background: linear-gradient(135deg, #002244 0%, #003366 100%);
    color: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    height: 100%;
}

.contact-details h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.contact-details>p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    background: rgba(255, 255, 255, 0.1);
    color: #3498db;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-item span,
.contact-info-item a {
    color: #fff;
    font-size: 1rem;
    line-height: 1.5;
    text-decoration: none;
}

.contact-info-item a:hover {
    color: #3498db;
}

/* Contact Form */
.contact-form-container {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-container h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-form-container .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.contact-form-container .form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.contact-form-container .btn-primary {
    background-color: #3498db;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    width: 100%;
}

.contact-form-container .btn-primary:hover {
    background-color: #2980b9;
}

/* Map Section */
.map-section {
    padding: 2rem 0 4rem 0;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Responsive for Contact Page */
@media (max-width: 991px) {

    .contact-section .col-md-5,
    .contact-section .col-md-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Responsive */
/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
    margin-left: auto;
}

.mobile-nav-toggle i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.mobile-nav-toggle:hover i {
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    header .logo {
        left: 1.5rem;
        /* Adjust logic for smaller screens */
        width: 180px;
    }

    header .logo img {
        width: 100%;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .primary-navigation {
        position: fixed;
        inset: 0 0 0 30%;
        /* Drawer taking up 70% of width */
        background: var(--primary-color);
        flex-direction: column;
        padding: min(20vh, 10rem) 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-out;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    .primary-navigation[data-visible] {
        transform: translateX(0%);
    }

    /* Change burger icon to 'X' when open (optional, handled by JS toggling class usually, but we keep it simple or use aria check) */
    .mobile-nav-toggle[aria-expanded="true"] i::before {
        content: "\f00d";
        /* FontAwesome 'times' (X) icon code */
    }

    .mobile-nav-toggle[aria-expanded="true"] {
        position: fixed;
        right: 2rem;
        top: 2rem;
    }

    .mobile-nav-toggle[aria-expanded="true"] i {
        color: var(--white);
    }

    header nav ul {
        flex-direction: column;
        gap: 2rem;
    }

    header nav ul li {
        margin-left: 0;
        text-align: left;
    }

    header nav ul li a {
        color: var(--white);
        font-size: 1.25rem;
    }

    header nav ul li a::after {
        background-color: var(--secondary-color);
    }

    header nav ul li a:hover,
    header nav ul li a:focus,
    header nav ul li a.active {
        color: var(--secondary-color);
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
}
/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 8px;
    top: 100%;
    left: 0;
    padding: 0.5rem 0;
}

.dropdown-content a {
    color: var(--text-color) !important;
    padding: 12px 16px !important;
    text-decoration: none;
    display: block !important;
    font-size: 0.95rem;
    margin-left: 0 !important;
}

.dropdown-content a::after {
    display: none !important;
}

.dropdown-content a:hover {
    background-color: var(--light-bg);
    color: var(--secondary-color) !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown .dropbtn i {
    font-size: 0.8em;
    margin-left: 5px;
}

@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        background-color: transparent;
        padding-left: 1rem;
    }
    .dropdown:hover .dropdown-content {
        display: block;
    }
}
