:root {
    --primary-color: #263238;
    /* Blue Grey 900 */
    --accent-color: #2962FF;
    /* Blue A700 */
    --accent-hover: #1565C0;
    --surface-color: #ffffff;
    --background-color: #F5F7FA;
    --text-primary: #212529;
    --text-secondary: #5f6368;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-primary);
    background-color: var(--background-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Navbar */
.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
}

.navbar-brand img {
    width: 150px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #fff !important;
}

.btn-nav-contact {
    background-color: var(--accent-color);
    color: white !important;
    border-radius: 24px;
    padding: 0.5rem 1.5rem !important;
    transition: all 0.3s ease;
}

.btn-nav-contact:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 4px 8px rgba(41, 98, 255, 0.3);
}

/* Hero Section */
.hero-wrap {
    background: linear-gradient(135deg, var(--primary-color) 0%, #37474F 100%);
    color: white;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-wrap h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-wrap p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.typed-cursor {
    color: var(--accent-color);
}

.btn-hero {
    background-color: var(--accent-color);
    color: white;
    font-weight: 600;
    border-radius: 30px;
    padding: 0.75rem 2rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: white;
    color: var(--accent-color);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Particles bg */
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

/* Sections General */
.site-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Cards (Expertise & Services) */
.material-card {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-top: 4px solid transparent;
}

.material-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--accent-color);
}

.material-card h3 {
    font-size: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.material-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: rgba(41, 98, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-wrapper .material-icons {
    font-size: 32px;
    color: var(--accent-color);
}

/* Lists in expertise */
.ul-check {
    padding-left: 0;
}

.ul-check li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.ul-check li::before {
    content: '\e876';
    font-family: 'Material Icons';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
}

/* Footer / Contact */
.footer-section {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
}

.contact-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-top: -150px;
    /* Overlap effect */
    position: relative;
    z-index: 10;
    margin-bottom: 50px;
}

.contact-card h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.form-control {
    border: none;
    border-bottom: 2px solid #eee;
    border-radius: 0;
    padding: 1rem 0.5rem;
    background: transparent;
    transition: border-color 0.3s;
}

.form-control:focus {
    box-shadow: none;
    border-bottom-color: var(--accent-color);
    background: transparent;
}

.btn-submit {
    background-color: var(--accent-color);
    color: white;
    border-radius: 30px;
    padding: 0.75rem 2.5rem;
    font-weight: 600;
    border: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(41, 98, 255, 0.2);
}

.contact-info-block h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.contact-info-block p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.footer-widget h2 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

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

.footer-widget a:hover {
    color: white;
}

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

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

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

/* Responsiveness adjustments */
@media (max-width: 991.98px) {
    .hero-wrap {
        padding: 100px 0 80px;
    }

    .hero-wrap h1 {
        font-size: 2.5rem;
    }

    .contact-card {
        margin-top: -100px;
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {
    .site-section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .footer-section {
        padding: 60px 0 30px;
    }
}