/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0f172a; /* Dark Blue/Black */
    --accent-color: #9B6DFF; /* Subtle Blue Accent */
    --text-color: #334155; /* Slate Gray */
    --light-gray: #f8fafc;
    --white: #ffffff;
    --black: #000000;
    --font-main: 'Inter', sans-serif;
    --spacing-section: 4rem;
}
::selection {
    background: #9b6dff8f;
    color: #000;
}


h1, h2, h3, h4 {
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    padding: 0 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-padding {
    padding: var(--spacing-section) 0;
}

.text-center {
    text-align: center;
}

.text-white { color: var(--white); }
.text-gray { color: #cbd5e1; }

.bg-dark {
    background-color: var(--primary-color);
    color: var(--white);
}

.bg-light {
    background-color: var(--light-gray);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    padding-top: 0.6rem;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}
/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: auto;
    padding: 1rem 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    transform: translateY(0);
}

.navbar.hide {
    transform: translateY(-100%);
}

body {
    padding-top: 80px;
    background-color: var(--light-gray);
}

.nav-container {
    width: 100%;
    padding: 0 1rem;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: inline-block;
    flex-shrink: 0;
}

.logo img {
    height: 2.5rem;
    width: auto;
    max-width: 100%;
}

.nav-links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex: 1;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 0.25rem;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.lang-selector {
    flex-shrink: 0;
    margin-left: auto;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.4rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.lang-dropdown {
    position: relative;
}

.lang-btn {
    padding: 0.6rem 1.2rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    min-width: 140px;
    display: none;
    z-index: 1000;
    margin-top: 0.75rem;
    overflow: hidden;
}

.lang-menu.active {
    display: block;
}

.lang-option {
    display: block;
    width: 100%;
    padding: 0.8rem 1.2rem;
    background: none;
    border: none;
    text-align: left;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.lang-option:hover {
    background-color: var(--light-gray);
    color: var(--accent-color);
}

.lang-option:first-child {
    border-radius: 6px 6px 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 6px 6px;
}

/* Hero Section */
.highlight {
    background-color: rgba(255, 255, 0, 0.541) ;
}
.hero {
    padding: 6rem 0;
    text-align: center;
    background-color: var(--light-gray);
}
#heroTitle {
    display: inline;
}

.hero-logo {
    height: 120px;
    width: auto;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.hero-logo:hover {
    transform: scale(1.05);
}
.hero-proof {
    font-size: 1.2rem;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
    text-align: left;
    padding: 6%;
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 1rem auto 0;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Why Choose ATLAS */
.feature h3 {
    margin-bottom: 0.5rem;
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Contact Section */
.contact-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-block {
    width: 100%;
}

.contact-info {
    text-align: center;
    margin-top: 2rem;
}

.whatsapp-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: #25D366; /* WhatsApp Green */
    font-weight: 700;
    text-decoration: underline;
}

/* Demo Websites Section */
.demo-scroll {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
    cursor: grab;
}

.demo-scroll:active {
    cursor: grabbing;
}

html[dir="rtl"] .demo-scroll {
    flex-direction: row-reverse;
}

.demo-scroll::-webkit-scrollbar {
    height: 8px;
}

.demo-scroll::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
}

.demo-scroll::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

.demo-card {
    flex: 0 0 430px;
    scroll-snap-align: start;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.demo-card a {
    display: block;
    width: 100%;
    height: 100%;
}

.demo-card:hover {
    transform: scale(1.02);
}

.demo-card img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 430/932;
    object-fit: cover;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .demo-card {
        flex: 0 0 300px;
    }
}

@media (max-width: 480px) {
    .demo-card {
        flex: 0 0 100vw;
    }
    
    .demo-scroll {
        gap: 0;
        margin: 0 calc(-50vw + 50%);
        width: 100vw;
    }
}

@media (max-width: 430px) {
    .demo-card {
        flex: 0 0 100vw;
    }
    
    .demo-scroll {
        gap: 0;
        margin: 0 calc(-50vw + 50%);
        width: 100vw;
    }
}
/* Media Queries */

/* 4K Responsive */
@media (min-width: 2560px) {
    :root {
        --spacing-section: 6rem;
    }
    
    h1 {
        font-size: 4rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    .container {
        max-width: 1600px;
    }
    
    .nav-links {
        gap: 4rem;
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 50px;
    }
    
    .lang-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .hero h1 {
        font-size: 4.5rem;
    }
    
    .hero-sub {
        font-size: 1.5rem;
    }
    
    .hero-proof {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }
    
    .card {
        padding: 3rem;
    }
    
    .card h3 {
        font-size: 1.5rem;
    }
    
    .grid-3 {
        gap: 3rem;
    }
    
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 1.2rem;
        font-size: 1.1rem;
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }
    
    .logo img {
        height: 2rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero img {
        font-size: 2rem;
        height: 1.45rem;
    }
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        gap: 0.5rem;
        padding: 0 0.75rem;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }
    
    .logo img {
        height: 1.8rem;
    }
    
    .lang-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-sub {
        font-size: 1rem;
    }
    
    .hero-proof {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .card h3 {
        font-size: 1.1rem;
    }
    
    .section-padding {
        padding: 2rem 0;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.95rem;
    }
}

/* Small Phone Responsive */
@media (max-width: 480px) {
    body {
        padding-top: 65px;
        
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .nav-container {
        gap: 0.25rem;
        padding: 0 0.5rem;
        
    }
    
    .nav-links {
        gap: 0.5rem;
        font-size: 0.7rem;
    }
    .navbar {
        padding: 0.75rem 0;
    }
    
    .lang-selector {
        flex-shrink: 0;
        
        margin-right: 0.5rem;
    }
    
    .lang-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.65rem;
        /* white-space: nowrap; */
    }
    
    .hero {
        padding: 5rem 2rem;
    }
    
    .hero h1 {
        font-size: rem;
    }
    
    .hero-sub {
        font-size: 0.9rem;
    }
    .hero-content {
        margin-bottom: 6rem ;
    }
    
    .hero-proof {
        font-size: 0.9rem;
        padding: 4%;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .section-title::after {
        width: 40px;
    }
    
    .card {
        padding: 1.2rem;
    }
    
    .card h3 {
        font-size: 1rem;
    }
    
    .section-padding {
        padding: 1.5rem 0;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin: 0 auto 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .contact-wrapper {
        max-width: 100%;
    }
}

/* Extra Small Phone (320px) */
@media (max-width: 320px) {
    .nav-links {
        gap: 0.25rem;
        font-size: 0.65rem;
    }
    
    .lang-btn {
        font-size: 0.55rem;
    }

    .logo img {
        height: 1.5rem;
    }
}