/* Global Styles */
:root {
    /* Updated color palette from the Bepro logo */
    --primary-color: #154c79; /* Dark blue from logo */
    --secondary-color: #ff7f27; /* Orange from logo */
    --accent-color: #ffffff; /* White from logo */
    --light-color: #ecf0f1;
    --dark-color: #0c2e49; /* Darker shade of blue */
    --highlight-color: #ff9b5a; /* Lighter orange */
    
    --primary-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --heading-font: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--primary-font);
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color); /* Orange underline */
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: #fff;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 0; /* Remove border radius for square logo */
    overflow: hidden;
    margin-right: 10px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-wrapper.small {
    width: 60px;
    height: 60px;
}

#logo-img, #footer-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo h1 {
    font-family: var(--heading-font);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo h1 span {
    font-weight: 400;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    font-size: 1.1rem;
    padding: 5px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: #fff;
    padding: 180px 0 100px;
    text-align: center;
}

.hero-content h2 {
    font-family: var(--heading-font);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hero-content h3 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.8;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.about-stats {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 20px;
    margin: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    min-width: 150px;
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-10px);
}

.stat .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat .label {
    font-size: 1rem;
    color: var(--primary-color);
}

/* Services Section */
.services {
    padding: 100px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

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

.service-card.highlight {
    border-top: 4px solid var(--secondary-color);
    position: relative;
    z-index: 10;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-family: var(--heading-font);
}

.service-card p {
    color: #666;
}

/* Expertise Section */
.expertise {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.expertise-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.expertise-d365, .expertise-devops, .expertise-software {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.expertise-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.expertise-header i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-right: 15px;
}

.expertise-header h3 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    font-size: 1.5rem;
}

.expertise-d365 p, .expertise-devops p, .expertise-software p {
    margin-bottom: 20px;
    color: #555;
}

.expertise-d365 ul, .expertise-devops ul, .expertise-software ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.expertise-d365 ul li, .expertise-devops ul li, .expertise-software ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.expertise-d365 ul li:before, .expertise-devops ul li:before, .expertise-software ul li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background-color: #fff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.project-img {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-img i {
    font-size: 2rem;
    color: #fff;
}

.project-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-family: var(--heading-font);
}

.project-card p {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-link {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: auto;
    position: relative;
    padding-bottom: 2px;
}

.project-link:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.project-link:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

.projects-cta {
    margin-top: 40px;
    text-align: center;
    font-size: 1.1rem;
    color: #555;
}

.projects-cta a {
    color: var(--secondary-color);
    font-weight: 600;
}

.projects-cta a:hover {
    text-decoration: underline;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: var(--heading-font);
}

.cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta .btn {
    background-color: #fff;
    color: var(--primary-color);
}

.cta .btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.contact-info h3 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    color: #555;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item span {
    color: #555;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--primary-font);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-logo h3 {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.footer-logo h3 span {
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.footer-links h4, .footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.social-icons {
    display: flex;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 10px;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .about-text {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .expertise-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1100;
    }

    .menu-toggle span {
        width: 100%;
        height: 3px;
        background-color: var(--primary-color);
        transition: all 0.3s ease;
        transform-origin: left;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
    }

    header .container {
        justify-content: space-between;
        align-items: center;
    }

    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        transition: left 0.3s ease;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
    }

    nav ul li {
        margin: 20px 0;
    }

    nav ul li a {
        font-size: 1.5rem;
    }

    body.menu-open {
        overflow: hidden;
    }

    header {
        padding: 15px 0;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    nav ul li {
        margin-left: 15px;
    }
    
    nav ul li a {
        font-size: 0.9rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content h3 {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .logo-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .logo h1 span {
        font-size: 1rem;
    }
    
    nav ul li {
        margin-left: 10px;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content h3 {
        font-size: 1.2rem;
    }
    
    .stat {
        min-width: 120px;
    }
    
    .project-card {
        padding: 20px;
    }
    
    .project-img {
        width: 60px;
        height: 60px;
    }
}

/* Footer download section */
.footer-download {
    text-align: center;
    margin-top: 20px;
}

.footer-download a {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

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

.footer-download a i {
    margin-left: 10px;
}