@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #9f4bee;
    /* Purple/Violet */
    --primary-dark: #8b3dd6;
    --secondary: #ad8400;
    /* Gold/Yellow */
    --accent: #ad8400;
    --text-main: #334155;
    /* Slate 700 */
    --text-light: #64748B;
    /* Slate 500 */
    --bg-body: #fdfaff;
    /* Ultra-light Purple-White */
    --bg-white: #FFFFFF;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --font-sans: 'Inter', sans-serif;
}

/* Global Reset & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background: linear-gradient(135deg, #ffffff 0%, #f8f4ff 100%);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 9999;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #000000;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.125rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Global Theme Overrides */
.text-primary,
.section-header .sub-title,
.about-content h4,
.feature-card a.text-primary,
.service-pro-list li i,
.testi-body .rating-pro i {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.bg-primary,
.btn-primary,
.lab-btn.style-4,
.skills,
.scrollToTop {
    background-color: var(--primary) !important;
}

.bg-secondary,
.btn-secondary {
    background-color: var(--secondary) !important;
}

.btn-primary:hover,
.lab-btn.style-4:hover,
.scrollToTop:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

/* Override legacy style.css classes */
.bg-light {
    background-color: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.bg-gr1 {
    background: linear-gradient(135deg, #ffffff 0%, #f3ebff 100%) !important;
}

.lab-btn span {
    background: var(--primary) !important;
}

.lab-btn:hover span {
    background: var(--primary-dark) !important;
}

.primary-menu .lab-ul>li>a:hover,
.primary-menu .lab-ul>li.active>a {
    color: var(--primary) !important;
}

.primary-menu .lab-ul>li>ul>li>a:hover {
    color: var(--primary) !important;
    padding-left: 15px;
}

.preloader-icon span {
    background: var(--primary) !important;
}

.service-tab-top .nav-link.active {
    background: var(--primary) !important;
    color: white !important;
}

.service-tab-top .nav-link:hover {
    color: var(--primary) !important;
}

.service-tab-top .nav-link.active p {
    color: white !important;
}

.contact-input-pro:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(159, 75, 238, 0.1) !important;
}

/* Layout Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(37, 99, 235, 0.3);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Header */
.header-top {
    background: var(--secondary) !important;
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.header-top a,
.header-top h6,
.header-top p {
    color: white !important;
}

.header-bottom {
    background: #ffffff !important;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 991px) {
    .header-section .primary-menu .main-area {
        background: var(--primary) !important;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 2000;
    padding: 2rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-links a {
    font-size: 1.25rem;
    color: var(--secondary);
    font-weight: 600;
}

.mobile-nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero-modern {
    padding: 5rem 0 8rem;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    /* Clean fallback */
}

/* Background gradient blob */
.hero-bg-shape {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px !important;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    color: var(--secondary);
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    min-width: 200px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services / Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #EFF6FF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    margin: 1rem;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
    border: 3px solid #EFF6FF;
}

/* Footer */
/* Footer */
footer.footer-modern {
    background: #020617 !important;
    /* Rich Darker Blue/Black */
    color: #cbd5e1 !important;
    /* Light Slate text */
    padding: 5rem 0 2rem !important;
    display: block !important;
    font-family: 'Inter', sans-serif !important;
}

.footer-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 4rem !important;
    margin-bottom: 4rem !important;
}

.footer-col h5 {
    color: #ffffff !important;
    margin-bottom: 1.5rem !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-link {
    display: block !important;
    color: #94a3b8 !important;
    margin-bottom: 0.875rem !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    font-size: 1rem !important;
}

.footer-link:hover {
    color: #60a5fa !important;
    /* Lighter blue on hover */
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding-top: 2rem !important;
    text-align: center !important;
    color: #64748b !important;
    font-size: 0.875rem !important;
}

/* Utility Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Service Tabs Pro */
.service-pro-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-pro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
}

.service-pro-thumb {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-pro-thumb img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.service-pro-card:hover .service-pro-thumb img {
    transform: scale(1.05);
}

.service-pro-content h3 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.service-pro-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-pro-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.service-pro-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.95rem;
}

.service-pro-list li i {
    color: var(--primary);
    font-size: 1.25rem;
    background: rgba(37, 99, 235, 0.1);
    padding: 0.25rem;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* About Section Pro */
.about-modern {
    padding: 8rem 0;
    background: #ffffff;
}

.about-img-frame {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-img-frame img {
    border-radius: 1rem;
    transition: transform 0.5s ease;
}

.about-img-frame:hover img {
    transform: scale(1.03);
}

/* Skills / Clients Range Pro */
.skills-modern {
    padding: 6rem 0;
    background: #F8FAFC;
}

.skill-item {
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.skill-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: var(--secondary);
}

.skill-track {
    height: 10px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.skill-bar {
    height: 100%;
    border-radius: 10px;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.skill-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
}

/* Testimonials Pro */
.testimonial-modern {
    padding: 8rem 0;
    background: white;
}

.testi-card-pro {
    background: #F8FAFC;
    padding: 3rem;
    border-radius: 1.5rem;
    text-align: left;
    margin: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
}

.testi-card-pro::before {
    content: '\efcd';
    font-family: 'IcoFont';
    font-size: 4rem;
    color: rgba(159, 75, 238, 0.1);
    position: absolute;
    top: 2rem;
    right: 2rem;
}

.testi-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testi-thumb-pro {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testi-info h5 {
    margin: 0 !important;
    font-size: 1.1rem !important;
}

.testi-info p {
    margin: 0;
    font-size: 0.875rem;
    color: #64748B;
}

.rating-pro {
    color: var(--secondary);
    margin-top: 1rem;
}

/* Consultation Pro */
.consultation-modern {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.consultation-modern h3 {
    color: white !important;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Contact Form Pro */
.contact-modern {
    padding: 8rem 0;
    background: #F8FAFC;
}

.contact-card-pro {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
}

.contact-input-pro {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-sans);
    transition: all 0.2s;
}

.contact-input-pro:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(159, 75, 238, 0.1);
}

textarea.contact-input-pro {
    min-height: 150px;
    resize: vertical;
}

/* Maps Pro */
.maps-modern {
    padding-bottom: 0;
}

.location-card-pro {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.loc-icon-pro {
    width: 50px;
    height: 50px;
    background: #f3ebff;
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Hero Background Animation */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.5;
    border-radius: 50%;
    animation: float 20s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(159, 75, 238, 0.15);
    /* Primary */
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: rgba(173, 132, 0, 0.12);
    /* Secondary */
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
    animation-duration: 25s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: rgba(159, 75, 238, 0.1);
    top: 40%;
    left: 20%;
    animation-delay: -10s;
    animation-duration: 30s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Ensure hero content stays on top */
.hero-content {
    position: relative;
    z-index: 5;
}

