/* Consulting Theme - Enhanced */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary: #0D47A1; /* Navy Blue */
    --primary-dark: #002171;
    --primary-light: #5472d3;
    --secondary: #1976D2; /* Lighter Blue */
    --accent: #FFC107; /* Amber */
    --accent-hover: #FFD54F;
    --bg-light: #F8F9FA;
    --text-dark: #2C3E50;
    --text-light: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.top-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.9);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    gap: 25px;
}

.top-bar i {
    margin-right: 8px;
    color: var(--accent);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
}

.logo i {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-links a:not(.btn-quote)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a:not(.btn-quote):hover::after,
.nav-links a:not(.btn-quote).active::after {
    width: 100%;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

.btn-quote {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
    border: 2px solid transparent;
}

.btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.4);
    color: var(--accent);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* Hero Slider */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: center;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: -1;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Stats Section */
.stats-section {
    background: var(--primary-dark);
    color: #fff;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent);
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background: #fff;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    flex-wrap: wrap;
    gap: 30px;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    min-width: 250px;
}

.process-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
    border: 2px solid var(--primary-light);
}

.process-step:hover .process-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.process-step h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Testimonials */
.testimonials-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    position: relative;
}

.testimonial-card i {
    font-size: 2rem;
    color: var(--secondary);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 20px;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
    padding-left: 20px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Logo Banner */
.logo-banner {
    padding: 40px 0;
    background: #fff;
    border-top: 1px solid #eee;
}

.logo-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    opacity: 0.6;
}

.logo-grid img {
    max-height: 40px;
    filter: grayscale(100%);
    transition: var(--transition);
}

.logo-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ... (previous styles) */

/* Team Section */
.team-section {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    margin-bottom: 5px;
    color: var(--primary);
}

.team-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    color: var(--secondary);
    font-size: 1.2rem;
    transition: var(--transition);
}

.team-social a:hover {
    color: var(--primary);
}

/* History Timeline */
.history-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: #fff;
    border: 4px solid var(--accent);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: #fff;
    position: relative;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Responsive Timeline */
@media (max-width: 600px) {
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item.right {
        left: 0%;
    }
    .timeline-item.left::after, .timeline-item.right::after {
        left: 21px;
    }
}

/* Responsive fixes */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .process-steps {
        flex-direction: column;
    }
}


.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
}

/* Sections Common */
.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 2.8rem;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
    margin-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Grid - Enhanced */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-bottom: 4px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--bg-light);
    z-index: -1;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--secondary);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    font-size: 3.5rem;
    color: var(--secondary);
    margin-bottom: 25px;
    transition: var(--transition);
    display: inline-block;
    background: rgba(25, 118, 210, 0.1);
    padding: 20px;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    line-height: 60px;
}

.service-card:hover .service-icon {
    background: var(--secondary);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* About Section - Enhanced */
.about-flex {
    display: flex;
    gap: 80px;
    align-items: center;
}

.about-text, .about-img {
    flex: 1;
}

.about-img {
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.about-img::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--accent);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.5;
}

.about-img::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    background: var(--secondary);
    border-radius: 15px;
    z-index: -1;
    opacity: 0.1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #555;
}

.about-text ul li {
    font-size: 1.05rem;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.about-text ul li:last-child {
    border-bottom: none;
}

/* Footer - Enhanced */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 80px 0 30px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 30px;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-col ul li {
    margin-bottom: 15px;
    list-style: none;
}

.footer-col a {
    transition: var(--transition);
    display: inline-block;
}

.footer-col a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: #f9f9f9;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(25, 118, 210, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    .about-flex {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile menu to be implemented if needed */
    }
    .top-bar .container {
        justify-content: center;
    }
    .hero {
        height: auto;
        padding: 150px 0 100px;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .section-title h2 {
        font-size: 2.2rem;
    }
}
