/* =========================================
   1. GLOBAL VARIABLES & DESIGN SYSTEM
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@500;700;800&display=swap');

:root {
    --bg-color: #030712;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.06);
    --primary-glow: rgba(139, 92, 246, 0.2);
    --secondary-glow: rgba(6, 182, 212, 0.1);
    --accent: #8b5cf6;
    --accent-light: #c4b5fd;
    --accent-deep: #7c3aed;
    --text-main: #f9fafb;
    --text-muted: #94a3b8;
    --text-meta: #6b7280;
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Global Form Select Styling */
select, option {
    background-color: #0d1117; /* Solid dark color for theme consistency */
    color: var(--text-main);
}

select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1.1em;
    padding-right: 3rem !important;
}

select option {
    padding: 1rem;
    background-color: #0d1117;
}

h1,
 h2,
 h3,
 h4,
 h5,
 h6 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.04em;
    font-weight: 800;
}

/* Gallery Utility Classes (Dark Edition) */
.text-gallery {
    font-size: clamp(3rem, 12vw, 7rem);
    line-height: 0.9;
    font-weight: 800;
    color: #fff;
    margin-bottom: 3rem;
}

.gallery-card {
    background: transparent;
    border: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 6rem 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.divider-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: var(--bg-color);
    padding-right: 2rem;
}

.pill-filter {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.pill-btn {
    padding: 0.7rem 1.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s;
}

.pill-btn:hover,
.pill-btn.active {
    background: white;
    color: black;
}

/* Standardized Container & Padding */
.section-padding {
    padding: 8rem 1.5rem;
}

.container-max {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1.5rem;
}

/* Enhanced Responsive Gallery Grid */
.projects-web {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1200px) {
    .projects-web {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1199px) and (min-width: 901px) {
    .projects-web {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) and (min-width: 601px) {
    .projects-web {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .text-gallery {
        font-size: 4rem;
    }
}

@media (max-width: 600px) {
    .projects-web {
        grid-template-columns: 1fr;
    }

    .text-gallery {
        font-size: 3rem;
    }
}

/* Asymmetric Grid (Growth Section) */
.grid-asymmetric {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 3rem;
}

.feature-card {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    overflow: hidden;
}

.feature-img {
    flex: 1.2;
    min-height: 450px;
}

.feature-content {
    flex: 1;
    padding: 4.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 991px) {
    .grid-asymmetric {
        grid-template-columns: 1fr;
    }

    .feature-card {
        flex-direction: column;
    }

    .feature-img {
        min-height: 300px;
    }

    .feature-content {
        padding: 3rem 1.5rem;
    }
}

/* =========================================
   2. SHARED COMPONENTS (NAVBAR & FOOTER)
   ========================================= */

/* Navbar Styles Restored */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1200px;
    height: 70px;
    background: rgba(3, 7, 18, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2.5rem;
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar .logo img {
    height: 35px;
    width: auto;
}

.nav-list ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-list ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding: 5px 0;
}

.nav-list ul li a:hover,
.nav-list ul li a.active {
    color: white;
}

.nav-list ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-list ul li a:hover::after,
.nav-list ul li a.active::after {
    width: 100%;
}

.qtbtn {
    padding: 0.8rem 2rem;
    background: var(--accent);
    border: none;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -5px var(--primary-glow);
}

.qtbtn a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.qtbtn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -10px var(--primary-glow);
}

/* Footer Styles Restored */
.footer-cta{
    text-decoration: none;
    color: white;
}
.main-footer {
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8rem 5% 4rem;
    margin-top: 10rem;
}

.footer-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 6rem;
}

.footer-brand .footer-logo {
    height: 40px;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 350px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 1.8rem;
}

.footer-social a {
    color: var(--text-muted);
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent-light);
    transform: translateY(-5px);
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.footer-links ul li {
    list-style: none;
    margin-bottom: 1.2rem;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 8px;
}

.footer-bottom {
    max-width: 1300px;
    margin: 6rem auto 0;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================
   3. HOMEPAGE SPECIFIC STYLES
   ========================================= */

/* Hero Section */
.home-part {
    min-height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: calc(var(--nav-height) + 2rem);
    max-width: 1300px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.sitename {
    font-size: clamp(2.2rem, 8vw, 6.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Button & Call to Action Styles (Premium) */
.hero-btns {
    display: inline-flex;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: white !important;
    text-decoration: none;
    font-weight: 800;
    border-radius: 10px;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px -10px var(--accent);
    border: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
}

.hero-btns:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px -15px var(--accent);
    filter: brightness(1.1);
}

.hero-btns i {
    transition: transform 0.3s ease;
}

.hero-btns:hover i {
    transform: translateX(5px);
}

.pricingbtn {
    width: 100%;
    margin-top: auto;
    padding: 1.3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    color: white;
    font-weight: 800;
    letter-spacing: 0.1em;
    border-radius: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
}

.pricingbtn:hover {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 15px 30px -10px var(--primary-glow);
    transform: translateY(-3px);
}

/* =========================================

   4. ABOUT PAGE STYLES (RESTORED)
   ========================================= */
.abt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12rem 2rem 6rem;
}

.abttitle {
    font-size: clamp(2.5rem, 6vw, 4rem);
    text-align: center;
    margin-bottom: 5rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, var(--accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 4rem;
    border-radius: 2.5rem;
    backdrop-filter: blur(20px);
    margin-bottom: 4rem;
    transition: all 0.4s ease;
}

.section:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.section-title {
    font-size: 2.2rem;
    color: var(--accent-light);
    margin-bottom: 2rem;
}

.section p {
    color: var(--text-muted);
    font-size: 1.15rem;
}

/* =========================================
   5. SERVICE PAGE STYLES (RESTORED)
   ========================================= */
.service-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 12rem 2rem 6rem;
}

.serviceh {
    text-align: center;
    font-size: clamp(2rem, 6vw, 4rem);
    margin-bottom: 4rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
}

.service-part {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 4rem 3rem;
    border-radius: 3rem;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-part:hover {
    transform: translateY(-15px);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

.service-part h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

/* Popup Modernized (Restored) */
.popup {
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(15px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.popup-container {
    background: var(--bg-color);
    border: 1px solid var(--card-border);
    padding: 5rem 4rem;
    border-radius: 4rem;
    width: 90%;
    max-width: 550px;
    position: relative;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
}

.popup-container .close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
}

.popup-container .close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
    border-color: var(--accent);
}

.popup-container form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.popup-container label {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: -0.5rem;
}

.popup-container label span {
    color: var(--accent);
}

.popup-container input,
.popup-container select {
    width: 100%;
    padding: 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.popup-container input:focus,
.popup-container select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}

.popup-container .submitbtn {
    margin-top: 1.5rem;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: white;
    border: none;
    border-radius: 1rem;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-container .submitbtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -10px var(--primary-glow);
    filter: brightness(1.1);
}

/* =========================================
   6. PROJECT PAGE STYLES (RESTORED)
   ========================================= */
.project-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 12rem 2rem 6rem;
}

.subpro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 3.5rem;
    padding: 4rem;
    margin-bottom: 5rem;
    align-items: center;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
}

.subpro:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-8px);
}

.imagepart {
    border-radius: 2rem;
    overflow: hidden;
    height: 400px;
    border: 1px solid var(--card-border);
}

.imagepart img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Projects & Showcase Layouts */
.project-page {
    padding-top: 10rem;
}

.projects-web {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 4rem;
}

.subpro {
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.imagepart {
    height: 350px;
    overflow: hidden;
}

.imagepart img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.subpro:hover .imagepart img {
    transform: scale(1.08);
}

.titlew {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 4rem;
    color: white;
    font-weight: 800;
    line-height: 1.1;
}

/* SEO & SMM Sections Overhaul */
.project-seo,
.project-smm {
    display: grid;
    align-items: stretch;
}

@media (max-width: 968px) {

    .project-seo,
    .project-smm,
    .projects-web {
        grid-template-columns: 1fr !important;
    }

    .projects-web {
        grid-template-columns: 1fr;
    }
}

/* About Page Specifics */
.abt-hero {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 8rem;
}

.abt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.abt-card {
    padding: 3.5rem;
}

.founder-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: center;
    margin: 10rem 0;
}

@media (max-width: 768px) {
    .founder-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
}

/* =========================================
   7. BLOG PAGE STYLES (RESTORED)
   ========================================= */
.blog_grid_container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 12rem 2rem 6rem;
}

.hero {
    text-align: center;
    margin-bottom: 6rem;
    padding: 4rem 2rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Blog Cards Grid */
.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 4rem 3rem;
    border-radius: 3rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
}

.blog-card h3 a {
    font-size: 2rem;
    color: #fff;
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.blog-card h3 a:hover {
    color: var(--accent-light);
}

.blog-card p a {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-decoration: none;
}

.blog-card .read-more {
    margin-top: auto;
    padding-top: 2.5rem;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.blog-card:hover .read-more {
    gap: 1.2rem;
    color: var(--accent-light);
}

/* =========================================
   8. QUOTE PAGE STYLES (RESTORED)
   ========================================= */
.quot-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 12rem 2rem 6rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
    min-height: calc(100vh - 100px);
}

.lefthero {
    text-align: center;
}

.lefthero img {
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 0 50px var(--primary-glow));
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-25px);
    }
}

.quotatio-container {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2rem 3rem;
    border-radius: 2rem;
    backdrop-filter: blur(25px);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6);
}

.qtitle {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.quotatio-container form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.quotatio-container label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.quotatio-container input,
.quotatio-container select {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    border-radius: 1.2rem;
    color: white;
    font-family: inherit;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.quotatio-container input:focus,
.quotatio-container select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px -10px var(--primary-glow);
}

.qsub {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 1.2rem;
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qsub:hover {
    background: var(--accent-light);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px var(--primary-glow);
}

/* =========================================
   9. UTILITY PAGES (THANK YOU & 404)
   ========================================= */

.thank-you-container {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 12rem 2rem 6rem;
}

.thank-you-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 6rem 4rem;
    border-radius: 4rem;
    max-width: 800px;
    backdrop-filter: blur(25px);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.error-page-body {
    background: #021526;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    font-size: 10px;
}

.error-page-content {
    text-align: center;
    z-index: 10;
    padding-top: 12rem;
}

.error-page-content h1 {
    font-size: 15rem;
    margin: 0;
    line-height: 1;
    background: linear-gradient(to right, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.planet {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 45rem;
    height: 45rem;
    background: #ddd;
    border-radius: 50%;
    box-shadow: inset -1.6em 0 0 0 #ccc, 0 0 1em 0 #ccc;
    opacity: 0.1;
    pointer-events: none;
}

/* =========================================
   10. ANIMATIONS & RELEVANT MEDIA QUERIES
   ========================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

/* Global Responsive Fixes */
@media (max-width: 1024px) {
    .navbar {
        width: calc(100% - 2rem);
        padding: 0 1.5rem;
    }

    .nav-list {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto 2rem;
    }

    .footer-social {
        justify-content: center;
    }

    .quot-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .lefthero {
        order: -1;
    }

    .subpro,
    .project-seo,
    .project-smm {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
    }
}

@media (max-width: 640px) {
    .sitename {
        font-size: 3.5rem;
    }

    .service-part,
    .project-card,
    .blog-card,
    .quotatio-container {
        padding: 3rem 1.5rem;
    }

    .error-page-content h1 {
        font-size: 10rem;
    }
}

/* =========================================
   11. MOBILE NAVBAR & DROPDOWN MENU
   ========================================= */
.toggle_btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.dropdown-menu {
    position: fixed;
    top: calc(var(--nav-height) + 1.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    width: calc(100% - 4rem);
    max-width: 1200px;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 1.5rem;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 999;
}

.dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.dropdown-menu a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.dropdown-menu a:hover {
    color: var(--accent);
}

@media (max-width: 1024px) {
    .toggle_btn {
        display: block;
    }

    .qtbtn {
        display: none;
    }
}

/* =========================================
   12. HOMEPAGE MISSING SECTIONS
   ========================================= */

/* Clients Marquee */
.clients-marquee {
    overflow: hidden;
    white-space: nowrap;
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 6rem;
}

.marquee-container {
    display: inline-flex;
    gap: 4rem;
    animation: scroll 20s linear infinite;
}

.client-item {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.client-item i {
    font-size: 1.5rem;
    color: var(--accent);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Why Choose Us & Expertise */
.about h2,
.abtibfo h2,
.workflow-section h2,
.tech-stack h2,
.project-slider-section h2,
.faq-section h2,
.contact-header h2 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.why,
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.reason {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 3rem;
    border-radius: 2rem;
    backdrop-filter: blur(10px);
}

.rtitle {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.rtitle i {
    font-size: 2rem;
    color: var(--accent);
}

.reason ul {
    list-style: none;
    color: var(--text-muted);
    line-height: 1.8;
}

.reason ul li::before {
    content: '❯';
    color: var(--accent);
    margin-right: 8px;
    font-size: 0.8em;
}

/* Workflow Section */
.workflow-section .timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
}

.step {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 3rem 2rem;
    border-radius: 2rem;
    position: relative;
}

.step-num {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
}

.step i {
    font-size: 2.5rem;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
}

.step h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Tech Stack */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    justify-content: center;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
}

.tech-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 0.8rem 1.2rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

@media (max-width: 480px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 0 1rem;
    }

    .tech-badge {
        padding: 0.7rem 0.5rem;
        font-size: 0.85rem;
        flex-direction: column;
        gap: 0.4rem;
        text-align: center;
    }

    .tech-badge i {
        font-size: 1.2rem;
    }
}

.tech-badge:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

.tech-badge i {
    font-size: 1.5rem;
    color: var(--accent);
}

/* Slider Section */
.project-slider-section {
    max-width: 1300px;
    margin: 0 auto 6rem;
    text-align: center;
}

.slider-wrapper {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 3rem;
    border: 1px solid var(--card-border);
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-item {
    min-width: 100%;
}

.slider-card {
    display: flex;
    background: var(--bg-color);
    text-align: left;
}

.slider-image-box {
    flex: 1.5;
    height: 400px;
}

.slider-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-info {
    flex: 1;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slider-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.slider-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--card-border);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--accent);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

/* FAQ Section */
.faq-section {
    max-width: 800px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    overflow: hidden;
}

.faq-question {
    background: var(--card-bg);
    padding: 1.5rem 2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 1.5rem 2rem;
    color: var(--text-muted);
    border-top: 1px solid var(--card-border);
}

/* Contact Us */
.contactus {
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
}

.contact-header p {
    text-align: center;
    color: var(--text-muted);
    margin-top: -3rem;
    margin-bottom: 4rem;
}

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 4rem;
    border-radius: 3rem;
    backdrop-filter: blur(20px);
}

.formpart form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.formpart input,
.formpart textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    color: white;
    font-family: inherit;
}

.formpart input:focus,
.formpart textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.formpart textarea {
    height: 150px;
    resize: vertical;
}

.subbtn {
    padding: 1.2rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subbtn:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
}

.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent);
}

.map-modern iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 2rem;
    filter: invert(90%) hue-rotate(180deg);
}

@media (max-width: 1024px) {
    .home-part {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: calc(var(--nav-height) + 4rem);
    }

    .home-part .logo {
        margin-top: 3rem;
    }

    .home-part .logo img {
        max-width: 80%;
        height: auto;
    }

    .slider-card {
        flex-direction: column;
    }

    .slider-image-box {
        height: 180px;
    }

    .slider-info {
        padding: 1.5rem;
    }

    .slider-wrapper {
        border-radius: 1.5rem;
    }

    .project-slider-section {
        margin-bottom: 4rem;
    }

    .contact {
        grid-template-columns: 1fr;
    }

    .map-modern iframe {
        height: 300px;
    }
}

@media (max-width: 400px) {
    .navbar {
        padding: 0 0.8rem;
    }

    .navbar .logo img {
        height: 28px;
    }

    .toggle_btn {
        font-size: 1.3rem;
    }

    .sitename {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 640px) {

    /* Hard reset all critical grids to 1 column to avoid horizontal overflow */
    .services,
    .blog-container,
    .why,
    .expertise-grid,
    .workflow-section .timeline,
    .subpro,
    .project-seo,
    .project-smm,
    .footer-grid,
    .quot-container {
        grid-template-columns: 1fr !important;
    }

    /* Global Padding Reduction for mobile */
    .abt-container,
    .service-container,
    .project-container,
    .blog_grid_container,
    .quot-container,
    .thank-you-container {
        padding: 8rem 1rem 4rem !important;
    }

    .main-footer {
        padding: 4rem 1.5rem 2rem !important;
        margin-top: 5rem !important;
    }

    /* Shrink Inner Card Paddings */
    .service-part,
    .section,
    .subpro,
    .project-seo,
    .project-smm,
    .blog-card,
    .quotatio-container,
    .contact,
    .step {
        padding: 1.5rem 1.2rem !important;
    }

    .slider-info {
        padding: 1.2rem !important;
    }

    .slider-info h3 {
        font-size: 1.3rem !important;
        margin-bottom: 0.5rem !important;
    }

    .slider-info p {
        font-size: 0.85rem !important;
        margin-bottom: 1rem !important;
    }

    .slider-info .hero-btns {
        padding: 0.8rem 1.8rem !important;
        font-size: 0.9rem !important;
    }

    /* Workflow adjustment */
    .step-num {
        font-size: 2.5rem;
        top: -10px;
        right: 10px;
    }

    .step h3 {
        font-size: 1.1rem;
    }

    .step p {
        font-size: 0.85rem;
    }

    /* Global Elements Sizing */
    .sitename {
        font-size: 2rem !important;
        margin-top: 2rem;
    }

    .abttitle,
    .serviceh,
    .qtitle,
    .about h2,
    .abtibfo h2,
    .workflow-section h2,
    .tech-stack h2,
    .project-slider-section h2,
    .faq-section h2,
    .contact-header h2 {
        font-size: 1.8rem !important;
        margin-bottom: 2.5rem !important;
    }

    /* Navbar specific */
    .navbar {
        width: calc(100% - 1rem);
        padding: 0 1rem;
    }

    .dropdown-menu {
        width: calc(100% - 2rem);
    }

    /* Chat widget mitigation */
    body {
        padding-bottom: 80px;
    }
}