
:root {
    --primary-color: #007bff; /* Bright Blue */
    --secondary-color: #0056b3; /* Darker Blue */
    --light-bg: #f8f9fa; /* Light Grey Background */
    --text-color: #333;
    --white: #fff;
    --shadow-light: 0 4px 8px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.15);
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    margin-top: 0;
    font-weight: 700;
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 900;
}

.subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 40px;
}


.header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    cursor: pointer;
}

.logo strong {
    color: var(--secondary-color);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

nav li {
    margin-left: 25px;
}

nav a:not(.btn) {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

nav a:not(.btn):hover {
    color: var(--primary-color);
}

nav a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease-in-out;
}

nav a:not(.btn):hover::after {
    width: 100%;
}


.btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.primary-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    margin-top: 20px;
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}


.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}


.cards {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s, box-shadow 0.3s;
    flex-basis: calc(33.333% - 20px);
    min-width: 280px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}


.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.feature-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}


.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    text-align: center;
    border: 1px solid #e0e0e0;
}

.service-card .service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.25rem;
}


.projects-section {
    text-align: center;
}

.project-list {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 30px auto;
}

.project-list li {
    font-size: 1.1rem;
    padding: 15px 0;
    border-bottom: 1px dashed #ced4da;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.project-list li:last-child {
    border-bottom: none;
}

.project-list i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

.footer {
    background-color: #1e2a38; 
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
}

.logo-footer {
    color: var(--white);
    margin-bottom: 15px;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--white);
}

.social-links {
    margin: 20px 0;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

.copyright {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #adb5bd;
}

.scroll-to-top-btn {
    display: none; 
    position: fixed;
    bottom: 30px;
    right: 30px; 
    z-index: 999; 
    width: 50px;
    height: 50px;
    border: none;
    outline: none;
    background-color: var(--primary-color);
    color: var(--white);
    cursor: pointer;
    padding: 0;
    border-radius: 50%; 
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, opacity 0.3s;
}

.scroll-to-top-btn:hover {
    background-color: var(--secondary-color);
    opacity: 0.9;
}


@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 15px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .cards {
        flex-direction: column;
        gap: 20px;
    }

    .card {
        flex-basis: 100%;
    }

    nav li:last-child {
        margin-left: 15px;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-wrap: wrap;
    }

    nav li {
        margin: 5px 10px;
    }

    .primary-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}