.no-select {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/* --- ASO4TECH --- */
body {
    -webkit-user-select: none;
    user-select: none;
    background-color: var(--bg-color);
    color: var(--text-main);
    transition: background-color var(--transition), color var(--transition);
    overflow-x: hidden;
    line-height: 1.6;
}
/* --- ASO4TECH --- */
model-viewer {
    margin-top: -130px;
    margin-bottom: -150px;
    width: 75%;
    height: 100vh;
    outline: none;
}
@media (max-width: 600px) {
    model-viewer { 
        height: 80vh;
        margin-top: -120px;
        margin-bottom: -150px;
    }
}
@media (max-width: 1024px) {
    model-viewer { height: 600px; }
}
@media screen and (max-width: 600px) {
    model-viewer { height: 350px; }
}

.map-container {
    border-radius: 20px;
    height: 300px !important; 
    border: 3px solid #000000;
    overflow: hidden;
}
.dark-map {
    filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.social-container {
    display: flex;
    justify-content: center; 
    gap: 15px; 
    margin-bottom: 20px; 
    margin-top: 20px; 
}
/* --- ASO4TECH --- */
.social-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border: 2px solid #ffba00;
    border-radius: 50px;
    text-decoration: none;
    color: #ffba00; 
    font-size: 20px;
    transition: all 0.3s ease;
}
@media screen and (max-width: 600px) {
    .social-btn {
        width: 30px;  
        height: 30px; 
        font-size: 13px;
        border-radius: 25px;
    }
    .social-container {
        gap: 5px;
    }
}

.social-btn:hover {
    background-color: #ffba00;
    color: #000000; 
    box-shadow: 0 0 10px rgba(252, 226, 5, 0.5);
    transform: translateY(-3px);
}
/* --- ASO4TECH --- */
::-webkit-scrollbar{
    width: 0.7vw;
    background: #000000;
}
::-webkit-scrollbar-thumb{
    background:#ffba00; border-radius: 60px; 
}
:root {
    --primary: #ffba00;
    --primary-hover: #e0a300;
    --bg-color: #000000;
    --surface-color: #111111;
    --surface-alt: #1a1a1a;
    --text-main: #ffffff;
    --text-muted: #b3b3b3;
    --nav-bg: rgba(0, 0, 0, 0.95);
    --border-color: #333;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}
/* --- AS04TECH --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 50px;
    color: #ffba00;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    width: 100%;  
}
/* --- AS04TECH --- */
.section-title span {
    position: relative;
    display: inline-block;
    padding-bottom: 10px; 
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;   
    transform: translateX(-50%);
    width: 50px;
    height: 4px; 
    background-color: #ffba00;
    border-radius: 5px;
    transition: width 1s
}
/* --- AS04TECH --- */
section:hover .section-title span::after {
    width: 100%; 
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background-color: var(--primary);
    z-index: 9999;
    transition: width 0.1s;
}
@media (max-width: 768px) {
    #scroll-progress {
        height: 2.5px !important; 
    }
}
/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    box-shadow: none;
    transition: all 0.4s ease-in-out;
}

header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

/* --- AS04TECH --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 5%;
    max-width: 1400px;
    margin: 0 auto;
    transition: all 0.4s ease-in-out;
}

header.scrolled nav {
    padding: 10px 5%;
}
@media (max-width: 768px) {
    header.scrolled nav {
        padding: 5px 5%;
    }
    header.scrolled .main-logo {
        width: 100px; 
    }
    .nav-links li a {
        padding: 10px 0; 
    }
}
.main-logo {
    width: 200px;
    height: auto;
    display: block;
    transition: all 0.4s ease-in-out;
}

header.scrolled .main-logo {
    width: 130px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-size: 1rem;
    font-weight: 600;
    text-transform: capitalize;
    position: relative;
    padding: 5px 0;
}
/* --- AS04TECH --- */
.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-links li a.active {
    color: var(--primary);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--text-main);
}
/* --- AS04TECH --- */
/* Home Section */
#home {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.home-content {
    position: relative;
    z-index: 2;
    pointer-events: none;
}
/* --- AS04TECH --- */
.home-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
}

.home-subtitle {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 600;
    min-height: 60px;
}

.typing-text {
    border-right: 3px solid var(--primary);
    animation: blink 0.9s step-end infinite;
    color: var(--text-muted);
}

@keyframes blink {
    from, to { border-color: transparent }
    50% { border-color: var(--primary); }
}

/* About Us Section */
#about {
    border-radius: 20px;
}

.about-text {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}
/* --- AS04TECH --- */
.services-list span {
    background-color: var(--surface-alt);
    padding: 15px 20px;
    border-radius: 12px;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: default;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60px;
}

.services-list span:hover {
    transform: translateY(-5px);
    background-color: var(--primary);
    color: #000000;
    box-shadow: 0 10px 20px rgba(255, 186, 0, 0.3);
}

/* Erbil Agency Section */
.agency-info {
    padding: 80px 0;
}

.agency-content {
    max-width: 1000px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.agency-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
}
/* --- AS04TECH --- */
.stats-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    background-color: var(--surface-color);
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    width: 100%;
    flex-wrap: nowrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.stat-number span {
    font-size: 1.5rem;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
}

#works {
    background-color: var(--surface-alt);
    border-radius: 20px;
    padding: 20px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
/* --- AS04TECH --- */
.work-item {
    background-color: var(--surface-color);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
}
/* --- AS04TECH --- */
.work-image {
    width: 100%; 
    height: 160px; 
    object-fit: cover; 
    object-position: center; 
    border-radius: 12px; 
    margin-bottom: 15px;
}

.work-title {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-top: auto; 
}

.work-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 186, 0, 0.2);
    color: var(--primary);
}

#virtual-tour {
    background-color: var(--bg-color);
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tour-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background-color: var(--surface-color);
    padding: 10px;
    border-radius: 20px;
}

.tour-item iframe {
    width: 100%;
    height: 500px;
    border-radius: 25px;
}

/* Tools Section */
#tools {
    background-color: var(--surface-color);
    border-radius: 20px;
}
/* --- AS04TECH --- */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.tool-card {
    background-color: var(--surface-alt);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.tool-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(255, 186, 0, 0.15);
}

.tool-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.tool-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
}

.tool-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Our Services Section */
#services {
    background-color: var(--bg-color);
}
/* --- AS04TECH --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background-color: var(--surface-color);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border-bottom: 4px solid transparent;
    transition: var(--transition);
}

.service-card:hover {
    border-bottom-color: var(--primary);
    transform: translateY(-10px);
    background-color: var(--surface-alt);
}

.service-card i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-main);
}
/* --- AS04TECH --- */
.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

.detailed-service {
    background: linear-gradient(145deg, var(--surface-color), var(--surface-alt));
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    border-left: 5px solid var(--primary);
    box-shadow: var(--shadow);
}

.detailed-service h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.detailed-service p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Contact Section */
#contact {
    background-color: var(--surface-color);
    border-radius: 20px;
}
/* --- AS04TECH --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: var(--surface-alt);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 186, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background-color: var(--primary);
    color: #000000;
    transform: scale(1.1);
}

.contact-details h4 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 15px;
    border: none;
}

/* Footer */
footer {
    background-color: #0a0a0a;
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

/* --- AS04TECH --- */
.call-btn {
    position: fixed;
    bottom: 75px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.0rem;
    cursor: pointer;
    z-index: 999;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.call-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-5px);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.0rem;
    cursor: pointer;
    z-index: 999;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    box-shadow: var(--shadow);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .contact-container { grid-template-columns: 1fr; }
    .works-grid { grid-template-columns: repeat(3, 1fr); }
    .tools-grid { grid-template-columns: repeat(3, 1fr); }
    .stat-number { font-size: 2.2rem; }
    .stat-label { font-size: 0.9rem; }
    .home-title { font-size: 3rem; }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--nav-bg);
        flex-direction: column;
        align-items: center;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        max-height: 400px;
    }
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    .nav-links li a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
    }
    .hamburger { display: block; }
    .works-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .work-item { font-size: 0.8rem; padding: 10px; min-height: 60px; }
    
    .tools-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .tool-card { padding: 15px 10px; }
    .tool-icon { font-size: 2rem; margin-bottom: 10px;}
    .tool-title { font-size: 0.9rem; }
    .tool-desc { font-size: 0.75rem; }

    .stats-container { padding: 20px 10px; }
    .stat-number { font-size: 1.8rem; }
    .stat-label { font-size: 0.8rem; }
    
    .tour-item iframe { height: 150px; }
    
    .home-title { font-size: 2.5rem; }
    .home-subtitle { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .works-grid { grid-template-columns: repeat(2, 1fr); }
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .services-list { grid-template-columns: 1fr; }
    .stat-number { font-size: 1.5rem; }
    .stat-label { font-size: 0.7rem; }
    .tour-item iframe { height: 120px; }
}

/* --- 3d services Aso4Tech --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card-container {
    perspective: 1000px;
    height: 300px; 
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.service-card-container:hover .service-card-inner {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.card-front {
    background-color: #141414;
    color: #ffba00;
}

.card-front i {
    font-size: 50px;
    color: #ffba00;
    margin-bottom: 15px;
}

.card-back {
    background-color: #ffba00;
    color: #000000;
    transform: rotateY(180deg);
}

.card-back h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card-back p {
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
    }
    .service-card-container {
        height: 210px;
    }
    .card-face h3 {
        font-size: 1rem;
    }
    .card-face p {
        font-size: 0.80rem;
    }
    .card-face i {
        font-size: 35px;
    }
}
