/* Color Variables */
:root {
    --primary-light-blue: #4FC3F7; /* Main light blue color */
    --primary-dark-blue: #0288D1;  /* Darker blue for contrast */
    --accent-color: #FFA726;       /* Orange accent color */
    --light-gray: #f5f7f9;         /* Light background */
    --text-dark: #333333;          /* Dark text */
    --text-light: #ffffff;         /* Light text */
    --footer-bg: #0277BD;          /* Darker blue for footer */
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
}

/* Top Bar Styles */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background-color: var(--primary-dark-blue);
    color: var(--text-light);
    font-size: 14px;
}

.top-bar .left span {
    margin-right: 20px;
}

.top-bar .left i {
    margin-right: 5px;
}

.top-bar .left a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar .left a:hover {
    color: var(--accent-color);
}

.social-media a {
    color: var(--text-light);
    margin-left: 15px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: var(--accent-color);
}

/* Header and Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-dark-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.contact {
    display: flex;
    align-items: center;
    list-style: none;
}

.contact-btn {
    background-color: var(--primary-light-blue);
    color: var(--text-light);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: var(--primary-dark-blue);
}

/* Services Hero Section */
.services-hero {
    background: linear-gradient(rgba(2, 136, 209, 0.85), rgba(2, 136, 209, 0.85)), url('/static/images/export-hero.jpg') no-repeat center;
    background-size: cover;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 20px;
}

.services-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.services-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Services Container */
.services-container {
    padding: 50px 5%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-box {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-box h3 {
    color: var(--primary-dark-blue);
    margin-bottom: 15px;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 10px;
}

.service-box h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-light-blue);
}

.service-box p {
    color: var(--text-dark);
}
/* 5th and 2nd*/
.service-box.highlight {
    background-color: #017abb; /* Changed from var(#0288D1) to #0288D1 */
    color: var(--text-light);
}

.service-box.highlight h3 {
    color: var(--text-light);
}

.service-box.highlight h3::after {
    background-color: #FFFFFF; /* Changed from var(#0288D1) to #FFFFFF for better contrast */
}

.service-box.highlight p {
    color: var(--text-light);
}

/* Footer Styles */
.footer {
    background-color: var(--footer-bg);
    color: var(--text-light);
    padding: 50px 5% 30px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-column p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer .social-media {
    margin-top: 20px;
}

.footer .social-media a {
    color: var(--text-light);
    margin-right: 15px;
    font-size: 18px;
    transition: color 0.3s ease;
}

.footer .social-media a:hover {
    color: var(--accent-color);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .services-hero h1 {
        font-size: 2.3rem;
    }
    
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        gap: 10px;
    }
    
    
    header {
        flex-direction: column;
        padding: 15px;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .nav-links {
        margin: 15px 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .services-hero h1 {
        font-size: 2rem;
    }
    
    .services-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    
    .nav-links li {
        margin: 5px 10px;
    }
    
    .services-hero {
        height: 300px;
    }
    
    .services-hero h1 {
        font-size: 1.8rem;
    }
    
    .services-hero p {
        font-size: 1rem;
    }
}