
:root {
    --primary: #1a3a6c;
    --secondary: #2c6fbb;
    --accent: #f8c42f;
    --light: #f8f9fa;
    --dark: #212529;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4,
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.top-bar {
    background-color: var(--primary);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 1020;
}

.social-media a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    margin-right: 12px;
}

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

.navbar-brand img {
    transition: var(--transition);
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1020;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 5px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}


.nav-link {
    font-weight: 500;
    color: var(--dark);
    padding: 0.5rem 1rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link:hover:before, .nav-link.active:before {
    width: 100%;
}

.btn-primary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 30px;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(44, 111, 187, 0.3);
}

.btn-outline-primary {
    border-color: var(--secondary);
    color: var(--secondary);
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 30px;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(44, 111, 187, 0.3);
}

.hero {
    background: linear-gradient(120deg, rgba(26, 58, 108, 0.9) 0%, rgba(44, 111, 187, 0.85) 100%), url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    color: white;
    padding: 150px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="white"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="white"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="white"/></svg>') bottom no-repeat;
    background-size: cover;
    z-index: 1;
}

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

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 50px;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-title {
    color: var(--primary);
    font-weight: 700;
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.card:hover .service-icon {
    transform: scale(1.1);
    color: var(--accent);
}

.cta-section {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,128L48,138.7C96,149,192,171,288,165.3C384,160,480,128,576,128C672,128,768,160,864,181.3C960,203,1056,213,1152,208C1248,203,1344,181,1392,170.7L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom no-repeat;
    background-size: cover;
}

.footer {
    background-color: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 20px;
    position: relative;
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
}

.footer h5 {
    color: white;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: white;
    padding-left: 5px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    margin-right: 10px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    margin-top: 20px;
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    font-family: Georgia, serif;
    color: var(--secondary);
    opacity: 0.2;
    line-height: 1;
}

.client-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
}

.stats-counter {
    background: rgba(248, 196, 47, 0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.stats-counter:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.counter-label {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.industry-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.industry-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: var(--accent);
}

.industry-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.industry-item:hover .industry-icon {
    transform: scale(1.1);
    color: var(--accent);
}

.industry-item h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.industry-item p {
    margin-bottom: 20px;
    text-align: justify;
}

.industry-services {
    background: rgba(44, 111, 187, 0.05);
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
    text-align: left;
}

.industry-services h5 {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 10px;
    font-weight: 600;
}

.industry-services ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.industry-services li {
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

.industry-services li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--accent);
    font-weight: bold;
}

.appointment-form {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.form-control {
    padding: 12px 15px;
    border: 1px solid #e1e5eb;
    border-radius: 8px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.25rem rgba(44, 111, 187, 0.25);
}

.industry-hero {
    background: linear-gradient(120deg, rgba(26, 58, 108, 0.9) 0%, rgba(44, 111, 187, 0.85) 100%), url('https://images.unsplash.com/photo-1533750349088-cd871a92f312?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    padding: 120px 0 80px;
    color: white;
    text-align: center;
}

.industry-stats {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(rgba(248, 249, 250, 0.9), rgba(248, 249, 250, 0.9)), url('https://images.unsplash.com/photo-1506784983877-45594efa4cbe?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover fixed;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--accent);
}

.testimonial-author h5 {
    margin-bottom: 5px;
    color: var(--primary);
}

.testimonial-author p {
    margin-bottom: 0;
    color: var(--secondary);
    font-size: 0.9rem;
}

.industry-cta {
    background: linear-gradient(120deg, var(--secondary), var(--primary));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.industry-cta .btn {
    margin-top: 20px;
    padding: 12px 40px;
    font-size: 1.1rem;
}

.industry-banner {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    padding: 20px;
    border-radius: 10px;
    color: white;
    margin: 40px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 80px;
    }
    
    .top-bar .col-lg-3,
    .top-bar .col-lg-9 {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}
