/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Montserrat:wght@700&display=swap');

:root {
    --primary-color: #0A2342; /* Deep Navy Blue */
    --primary-hover-color: #1F3A59; /* Lighter Navy */
    --secondary-color: #B8860B; /* Dark Goldenrod */
    --dark-bg: #212529; /* Charcoal Gray */
    --light-text: #f8f9fa;
    --dark-text: #2C3E50;
    --accent-light: #F5DEB3; /* Wheat */
    --body-font: 'Lato', sans-serif;
    --heading-font: 'Montserrat', sans-serif;
}

body {
    font-family: var(--body-font);
    line-height: 1.8;
    color: #333;
}

h1, h2, h3, h4, h5, h6, .section-title, .card-title {
    font-family: var(--heading-font);
    color: var(--primary-color);
    font-weight: 700;
}

.hero-section {
    background: url('https://images.unsplash.com/photo-1555041469-a586c61ea9bc?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 35, 66, 0.7); /* Darker overlay using primary color */
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 4em;
    margin-bottom: 0.5em;
    color: #FFFFFF;
}

.hero-section p {
    font-size: 1.4em;
    margin-bottom: 1.5em;
}

.btn-primary-custom {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #ffffff;
    padding: 15px 35px;
    font-size: 1.1em;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #c99a2e; /* Lighter gold */
    border-color: #c99a2e;
    transform: translateY(-3px);
}

.navbar-custom {
    background-color: #ffffff;
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
    color: var(--dark-text);
    font-weight: 700;
    font-family: var(--body-font);
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--secondary-color);
}

.navbar-brand img {
    max-height: 45px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 3em;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    display: block;
    width: 100px;
    height: 4px;
    background: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    text-align: center;
    color: #555;
    font-size: 1.2em;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#about .card, #services .card, #portfolio .card, #legality .card, #capabilities .card {
    border: none;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    border-radius: 8px;
}

#about .card:hover, #services .card:hover, #portfolio .card:hover, #capabilities .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 35px rgba(0,0,0,0.12);
}

#about .card-body, #services .card-body, #capabilities .card-body {
    padding: 35px;
}

#services .card-icon {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

#portfolio .card .card-img-top {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

#contact {
    background-color: #f8f9fa;
}

#contact .contact-info-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    margin-bottom: 20px;
}

#contact .contact-info-item i {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 3em 0;
    text-align: center;
}

footer a {
    color: #ecf0f1;
    text-decoration: none;
}

footer a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.section-padding {
    padding: 100px 0;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

#legality .legality-card {
    border: 1px solid #e9ecef;
    border-left: 5px solid var(--secondary-color);
    background-color: #fff;
    border-radius: 0 8px 8px 0;
}

#legality .legality-card .card-title {
    color: var(--primary-color);
    font-size: 1.5em;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

#legality .list-group-item {
    background-color: transparent;
    border: none;
    padding: 0.75rem 0;
}

#legality .list-group-item strong {
    color: var(--dark-text);
}

.language-switcher a.btn {
    color: white;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: bold;
    padding: .375rem .75rem;
}
.language-switcher a.btn:hover {
    background-color: var(--primary-hover-color);
    border-color: var(--primary-hover-color);
}

#capabilities .capability-image {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}