:root {
    --primary-color: #1a365d;
    --secondary-color: #2d6a4f;
    --accent-color: #e63946;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.section-heading {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-heading:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin-top: 10px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

header {
    background: linear-gradient(rgba(26, 54, 93, 0.8), rgba(26, 54, 93, 0.9)), url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.intro-text {
    padding-top: 150px;
}

.intro-lead-in {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 25px;
}

.intro-heading {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.navbar {
    background-color: var(--primary-color);
    transition: all 0.3s;
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    color: white !important;
    font-size: 1.5rem;
}

.navbar-nav li a {
    color: white !important;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar-nav li a:hover {
    color: var(--accent-color) !important;
}

section {
    padding: 100px 0;
}

#about {
    background-color: white;
}

#portfolio {
    background-color: var(--light-color);
}

#services {
    background-color: white;
}

#clients {
    background-color: var(--light-color);
}

#contact {
    background: linear-gradient(rgba(26, 54, 93, 0.9), rgba(26, 54, 93, 0.9)), url('https://images.unsplash.com/photo-1558618666-fcd25856cd63?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: white;
}

.portfolio-item {
    margin-bottom: 30px;
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-caption {
    padding: 20px 0;
    text-align: center;
}

.portfolio-caption h4 {
    margin-top: 15px;
    font-weight: 600;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.form-control {
    padding: 12px 15px;
    border-radius: 5px;
    border: none;
    margin-bottom: 20px;
}

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 30px 0;
}

.top-margin-lg {
    margin-top: 60px;
}

.top-margin-md {
    margin-top: 40px;
}

.bottom-margin-sm {
    margin-bottom: 20px;
}

.before-header {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.client-logo {
    filter: grayscale(100%);
    transition: filter 0.3s;
    max-height: 80px;
    margin: 0 auto;
}

.client-logo:hover {
    filter: grayscale(0%);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    transition: all 0.3s;
    height: 100%;
}

.feature-box:hover {
    background-color: var(--light-color);
    transform: translateY(-10px);
}

@media (max-width: 768px) {
    .intro-heading {
    font-size: 2.5rem;
    }
    
    .section-heading {
    font-size: 2rem;
    }
}