/* Base Styles and Variables */
:root {
    /* Primary Colors */
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary: #22c55e;
    --accent: #f97316;

    /* Neutral Colors */
    --neutral-100: #f8fafc;
    --neutral-200: #e2e8f0;
    --neutral-300: #94a3b8;
    --neutral-400: #1e293b;

    /* Font Families */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Other Variables */
    --border-radius: 0.5rem;
    --transition-speed: 0.3s;
    --box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--neutral-400);
    background-color: #e5eeffeb;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

main {
    flex-grow: 1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    /* color: var(--neutral-400); */
    color: #164a9e;
}

.section-header p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--neutral-300);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all var(--transition-speed);
    cursor: pointer;
    text-align: center;
}

.btn-accent {
    /* background-color: var(--accent); */
    background-color: #e79f0f;
    ;
    color: white;
}

.hero-2-btn-accent {
    background-color: #3A6FD8;
}


.btn-accent:hover {
    background-color: #ffaa00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero-2-btn-accent:hover {
    background-color: #0055ff;
    ;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-white {
    background-color: white;
    color: var(--primary);
}

.btn-white:hover {
    background-color: #f9f9f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Header and Navigation */
.header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;

}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.navbar-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    background-color: #0B1A2B;

}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.logo:hover {
    transform: scale(1.05);
}

.logo:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.logo:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.logo-icon {
    position: relative;
    margin-right: 0.5rem;
    color: var(--primary);
    font-size: 1.75rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.00);
    }

    100% {
        transform: scale(1);
    }
}

.logo-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    filter: blur(4px);
    z-index: -1;
}

.logo-text {
    color: #3A6FD8;
    font-weight: bold;
    font-family: "PT Serif", serif;
    text-align: center;
}

.logo-apex {
    /* color: #C69851; */
    color: #F5B942;
    font-weight: bold;
}

.logo-vision {
    /* color: #C69851; */
    color: #F5B942;
    font-weight: bold;
}


.logo-img {
    margin-top: 10px;
    height: 50px;
    width: 50px;
    border-radius: 100%;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    position: relative;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    font-size: 1rem;
    transition: all var(--transition-speed);
    color: #fff;
    border-radius: var(--border-radius);
}

.nav-links a:hover {
    color: var(--primary);
    background-color: rgba(59, 130, 246, 0.05);
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
    background-color: rgba(59, 130, 246, 0.1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 5px;
    height: 2px;
    background-color: var(--primary);
    transition: all 0.3s ease;
    opacity: 0;
}

.nav-links a:hover::after {
    left: 25%;
    right: 25%;
    opacity: 1;
}

.nav-links a.active::after {
    left: 20%;
    right: 20%;
    opacity: 1;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #fff;
    transition: color var(--transition-speed);
}

.mobile-menu-btn:hover {
    color: var(--primary);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: white;
    z-index: 1000;
    transition: right var(--transition-speed);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--neutral-200);
}

.mobile-menu-header span {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
}

.close-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--neutral-400);
    transition: color var(--transition-speed);
}

.close-menu-btn:hover {
    color: var(--primary);
}

.mobile-nav-links {
    padding: 1rem 0;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    transition: all var(--transition-speed);
}

.mobile-nav-links a:hover {
    background-color: rgba(30, 136, 229, 0.05);
    color: var(--primary);
}

.mobile-nav-links a.active {
    background-color: rgba(30, 136, 229, 0.05);
    color: var(--primary);
    font-weight: 600;
}

.mobile-nav-links i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

/* Hero Section */
.hero {
    position: relative;
    background: var(--primary);
    color: white;
    padding: 6rem 0;
    overflow: hidden;
    height: 100vh;
}


.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(20px, 20px) scale(1.05);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

.hero-container {
    width: 100%;
    margin: 0 auto;
    margin-top: 150px;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://ik.imagekit.io/0lhilebw0f/Screenshot%202025-05-29%20200445.png?updatedAt=1748529304202') center/cover;
    opacity: 0.15;
    z-index: 1;
    animation: pulse-bg 15s infinite alternate;
}

@keyframes pulse-bg {
    0% {
        opacity: 0.1;
    }

    100% {
        opacity: 0.2;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    animation: slide-up 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 6rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fade-in 0.8s ease-out 0.2s both;
}

.hero h1 span {
    color: #F5B942;
    ;
}

.hero p {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    animation: fade-in 0.8s ease-out 0.4s both;
    text-align: center;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    animation: fade-in 0.8s ease-out 0.6s both;
}

.hero-buttons .btn {
    padding: 0.85rem 2rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}


/* hero section 2 */

.hero-2 {
    position: relative;
    background: #F5B942;
    color: white;
    padding: 6rem 0;
    overflow: hidden;
    height: 100vh;
}

.hero-2::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-2::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(20px, 20px) scale(1.05);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

.hero-overlay-2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://ik.imagekit.io/0lhilebw0f/accounting-services.png?updatedAt=1748528652113') center/cover;
    opacity: 0.15;
    z-index: 1;
    animation: pulse-bg 15s infinite alternate;
}

@keyframes pulse-bg {
    0% {
        opacity: 0.1;
    }

    100% {
        opacity: 0.2;
    }
}

.hero-content-2 {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    animation: slide-up 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content-2 h1 span {
    color: #3A6FD8;
}

@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-2 h1 {
    font-size: 6rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fade-in 0.8s ease-out 0.2s both;
}

.hero-2 p {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    animation: fade-in 0.8s ease-out 0.4s both;
    text-align: center;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.hero-buttons-2 {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    animation: fade-in 0.8s ease-out 0.6s both;
}

.hero-buttons-2 .btn {
    padding: 0.85rem 2rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-buttons-2 .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Featured Services */

.services-header {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.service-header::before {
    content: "";
    position: absolute;
    top: 10px;
    right: -100px;
    width: 350px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;

}

.service-header-title {
    font-size: 350%;
}

.service-header-title span {
    color: #002f79e9;
}

.featured-services {
    padding: 5rem 0;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.service-item:hover {
    cursor: pointer;
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.368);
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed);
    display: flex;
    flex-direction: row;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 40%;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.1), transparent);
    transition: all 0.3s ease;
}

.service-card:hover .service-image::after {
    background: linear-gradient(to right, rgba(59, 130, 246, 0.2), transparent);
}

.service-content {
    background-color: rgb(255, 251, 251);
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .service-card {
        flex-direction: column;
    }

    .service-image {
        width: 100%;
        height: 200px;
    }
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.healthcare-icon {
    background-color: rgba(30, 136, 229, 0.1);
    color: var(--primary);
}

.accounting-icon {
    background-color: rgba(38, 166, 154, 0.1);
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--neutral-300);
    margin-bottom: 1.5rem;
}

.service-link {
    display: flex;
    align-items: center;
    font-weight: 600;
    transition: all var(--transition-speed);
}

.service-link i {
    margin-left: 0.5rem;
    transition: transform var(--transition-speed);
}

.service-link:hover i {
    transform: translateX(4px);
}

.healthcare-link {
    color: var(--primary);
}

.accounting-link {
    color: var(--primary);
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: rgb(255, 251, 251);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.testimonial-stars {
    color: var(--accent);
    margin-bottom: 1rem;
}

.testimonial-content {
    color: var(--neutral-400);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-weight: 600;
}

.healthcare-avatar {
    background-color: rgba(30, 136, 229, 0.2);
    color: var(--primary);
}

.accounting-avatar {
    background-color: rgba(38, 166, 154, 0.2);
    color: var(--secondary);
}

.testimonial-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--neutral-300);
}

/* Call to Action */
.cta {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* Footer */
.footer {
    background-color: #0B1A2B;
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-container {
    max-width: 1500px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-family: "Roboto Slab", serif;
    ;
    font-weight: 700;
    margin-bottom: 0.75rem;
    transition: transform var(--transition-speed);
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo i {
    font-size: 1.25rem;
    margin-right: 0.5rem;
}



.logo-apex-footer {
    color: #C69851;
}

.logo-vision-footer {
    color: #C69851;
}

.logo-mns-footer {
    color: #3B82F6;
}




.footer-img {
    height: 30px;
    width: 30px;
    border-radius: 100%;
    margin-right: 10px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    color: white;
    transition: all var(--transition-speed);
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--primary);
}

.footer-column h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: all var(--transition-speed);
    display: inline-flex;
    position: relative;
    padding: 0.25rem 0;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.footer-links a:hover::after {
    width: 100%;
}

.contact-header {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.contact-header::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.contact-title {
    font-size: 350%;
}

.contact-title span {
    color: #002f79e9;
}

.contact-info li {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.contact-info i {
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* Responsive Styles */

@media (max-width:1020px) {
    .nav-links a {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 4rem;
    }

    .hero p {
        font-size: 1.5rem;
    }

    .hero-2 h1 {
        font-size: 4rem;
    }

    .hero-2 p {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: 2rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .section-header p {
        font-size: 1.2rem;
    }
}

@media (max-width: 830px) {

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu {
        display: block;
    }

}

@media (max-width: 768px) {

    .hero {
        padding: 4rem 0;
    }

    .hero-2 {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-2 h1 {
        font-size: 3rem;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {



    .section-header h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}