:root {
    /* Color Palette */
    --primary-color: #4361ee;
    --primary-dark: #3a56d4;
    --secondary-color: #3f37c9;
    --accent-color: #4cc9f0;
    --text-color: #2b2d42;
    --text-light: #8d99ae;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --success: #4caf50;
    --warning: #ff9800;
    --error: #f44336;

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;
    --card-padding: 30px;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Header Height */
    --header-height: 80px;
}

/* Base Styles */
/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
    scroll-behavior: smooth
}

.include-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}


h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Buttons */
.free-consultation {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.free-consultation:hover {
    background-color: var(--primary-dark);
    color: #ffffff;
    /* Brighter text on hover */
    transform: translateY(-2px);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /*height: var(--header-height);*/
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Safari support */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo a {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 5px 0;
}

.logo a:hover {
    transform: translateY(-2px);
    color: var(--secondary-color);
}

.logo-img {
    height: 44px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: drop-shadow(0 2px 4px rgba(67, 97, 238, 0.2));
}

.logo a:hover .logo-img {
    animation: breathe 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(67, 97, 238, 0.3));
}

@keyframes breathe {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}



/* Footer */
.footer {
    background-color: #1a1f37;
    color: #a0a8c3;
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 10px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 36px;
    width: auto;
    will-change: transform, opacity;
}


.footer-about h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0;
    transition: color 0.3s ease;
}



.footer-about p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
}

.social-links a.animate {
    opacity: 1;
    transform: translateY(0);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Footer logo container */
.footer-about {
    margin-bottom: 1.5rem;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo-container h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.footer-links ul li,
.footer-services ul li,
.footer-contact ul li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-services a {
    color: #a0a8c3;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-contact ul li i {
    margin-right: 15px;
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 0px;
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    flex-direction: column;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 15px;
}

.legal-links {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.legal-links a {
    color: #a0a8c3;
    transition: var(--transition);
    font-size: 0.9rem;
}

.legal-links a:hover {
    color: var(--white);
}

.legal-links span {
    color: #a0a8c3;
    user-select: none;
    -webkit-user-select: none;
    /* Safari support */
}

.footer-legal a {
    color: #a0a8c3;
    font-size: 0.9rem;
    transition: var(--transition);
}

/* Footer Links Enhancement */
.footer-links {
    padding: 0 20px;
    position: relative;
}

.footer-links::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(67, 97, 238, 0.3),
            transparent);
}

.footer-links h4 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-links:hover h4::after {
    width: 70px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
    transition: all 0.3s ease;
}

.footer-links li::before {
    content: '→';
    position: absolute;
    left: -5px;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.footer-links li:hover {
    padding-left: 20px;
}

.footer-links li:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-links a {
    color: #a0a8c3;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    padding: 5px 0;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Contact Section Enhancement */
.footer-contact {
    padding: 0 20px;
    position: relative;
}

.footer-contact::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(67, 97, 238, 0.3),
            transparent);
}

.footer-contact h4 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-contact:hover h4::after {
    width: 70px;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Email Link Styles */
.email-link {
    color: var(--text-color);
    text-decoration: none !important;
    /* Force no underline */
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.email-link:hover {
    color: var(--primary-color);
    text-decoration: none !important;
    /* Ensure no underline on hover */
}

.email-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.email-link:hover::after {
    width: 100%;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 8px 0;
    transition: all 0.3s ease;
}



.footer-contact li i {
    color: var(--primary-color);
    font-size: 1.1rem;
    min-width: 20px;
    text-align: center;
    margin-top: 4px;
    transition: all 0.3s ease;
}

.footer-contact li:hover i {
    transform: scale(1.2);
    color: #fff;
}

.footer-contact a,
.footer-contact span {
    color: #a0a8c3;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .footer-links,
    .footer-contact {
        padding: 20px 0;
    }

    .legal-links {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        text-align: center;
    }

    .legal-links span {
        display: none;
        /* Hide the | separators on mobile */
    }

    .footer-links::before,
    .footer-contact::before {
        display: none;
    }

    .footer-links h4,
    .footer-contact h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .footer-links li,
    .footer-contact li {
        margin-bottom: 10px;
    }
}

.footer-legal a:hover {
    color: var(--white);
}

@media (max-width: 991px) {
    :root {
        --section-padding: 70px 0;
    }

    h3 {
        font-size: 1.6rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 30px;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        padding: 12px 0;
        font-size: 1.1rem;
    }

    .hamburger {
        display: flex;
    }

    .navbar .free-consultation {
        display: none;
    }

}

@media (max-width: 767px) {
    :root {
        --section-padding: 60px 0;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .scroll-indicator {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 10px 0 0;
    }

}

/* Mobile styles for contact section */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-item {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }


    .contact-item h4 {
        margin-bottom: 0.2rem;
        font-size: 1rem;
        text-align: left;
    }

    .contact-item p {
        font-size: 0.9rem;
        text-align: left;
    }
}

@media (max-width: 575px) {

    .footer-content {
        grid-template-columns: 1fr;
    }


    .footer-legal {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        width: 100%;
    }
}