/********** SMART HUB SERVICE-Inspired Theme Variables **********/
:root {
    --bg-dark: #0A0E27;
    --bg-darker: #060918;
    --bg-card: rgba(17, 22, 37, 0.6);
    --accent-blue: #3B82F6;
    --accent-purple: #8B5CF6;
    --text-primary: #FFFFFF;
    --text-secondary: #D1D5DB;
    --text-muted: #9CA3AF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Radial glow background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 10%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body>* {
    position: relative;
    z-index: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: #FFFFFF !important;
}

p {
    color: var(--text-secondary);
    line-height: 1.8;
}

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

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

section {
    padding: 60px 0;
    overflow: hidden;
    /* Prevent AOS child elements from causing overflow */
}

/********** Navigation **********/
.navbar {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.navbar .container-fluid {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 800;
    font-size: 2rem;
    color: var(--text-primary) !important;
}

.logo-img {
    width: 55px;
    height: 55px;
}

/* Mobile Navigation */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%233B82F6' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    background-repeat: no-repeat;
    background-position: center;
}

.navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.99);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    padding: 1rem 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.navbar-collapse.show {
    max-height: 300px;
    padding: 1rem 0;
}

.navbar-nav {
    flex-direction: column;
    padding: 0;
    display: flex;
    margin-left: auto;
}

.nav-item {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.nav-item:last-child {
    border-bottom: none;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 0 !important;
    transition: color 0.3s ease;
    display: block;
}

.nav-link:hover {
    color: var(--accent-blue) !important;
}

/* Desktop navigation alignment */
@media (min-width: 993px) {
    .navbar-nav {
        flex-direction: row;
        gap: 2rem;
    }

    .nav-item {
        padding: 0 !important;
        border-bottom: none !important;
    }

    .nav-link {
        padding: 0 1rem !important;
        color: var(--text-secondary) !important;
    }

    .navbar-collapse {
        position: static !important;
        max-height: none !important;
        padding: 0 !important;
        border-top: none !important;
        background: transparent !important;
    }

    .navbar-toggler {
        display: none !important;
    }
}

.brand-text {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-blue) !important;
}

/********** Buttons **********/
.atlas-cta {
    border-radius: 50px !important;
    padding: 12px 32px !important;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease !important;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    cursor: pointer;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    }
}

.atlas-cta:hover {
    transform: translateY(-3px) scale(1.1) !important;
    animation: none;
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6);
}

.atlas-cta-wide {
    width: 100%;
}

/********** Hero Section **********/
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0 60px;
    position: relative;
    background: var(--bg-dark);
}

.hero-tag {
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* AI Prompt Box */
.ai-prompt-box {
    background: rgba(17, 22, 37, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 60px;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
}

.ai-prompt-box:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.2);
}

.prompt-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    padding: 12px 24px;
    outline: none;
}

.prompt-input::placeholder {
    color: var(--text-muted);
}

.cta-generate {
    padding: 14px 36px !important;
    white-space: nowrap;
}

/* Quick Try Buttons */
.quick-try {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.quick-label {
    color: var(--text-muted);
    font-weight: 600;
}

.quick-btn {
    background: rgba(17, 22, 37, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--text-secondary);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/********** About Section **********/
.about-section {
    background: var(--bg-darker);
    padding: 120px 0;
}

.about-image {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

.section-tag {
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.feature-list li {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-list i {
    color: var(--accent-blue);
    font-size: 1.2rem;
}

/********** Services Section **********/
.services-section {
    background: var(--bg-dark);
    padding: 120px 0;
}

.service-card {
    background: rgba(17, 22, 37, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 2rem;
}

.service-card:hover {
    background: rgba(17, 22, 37, 0.8);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.2);
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/********** Team Section **********/
.team-section {
    background: var(--bg-darker);
    padding: 120px 0;
}

.team-nav-btn {
    background: rgba(17, 22, 37, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.team-nav-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.team-card {
    background: rgba(17, 22, 37, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.team-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.2);
    transform: translateY(-10px);
}

.team-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.team-info {
    padding: 2rem;
    text-align: center;
}

.team-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--accent-blue);
    font-weight: 600;
    margin: 0;
}

/********** Contact Section **********/
.contact-section {
    background: var(--bg-dark);
    padding: 120px 0;
    position: relative;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.contact-info li {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.contact-info i {
    color: var(--accent-blue);
    font-size: 1.3rem;
    width: 30px;
}

.contact-form {
    background: rgba(17, 22, 37, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
}

.contact-form .form-control {
    background: rgba(10, 14, 39, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--text-primary);
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
    background: rgba(10, 14, 39, 0.7);
}

.contact-form .form-control::placeholder {
    color: var(--text-muted);
}

/********** Footer **********/
#footer {
    background: var(--bg-darker);
    padding: 2.5rem 0;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

#footer a {
    color: var(--accent-blue);
    transition: color 0.3s ease;
}

#footer a:hover {
    color: var(--accent-purple);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(17, 22, 37, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--accent-blue) !important;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/********** Scroll to Top Button **********/
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6);
}

/********** Animated Circles Background **********/
.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    animation: animate 25s linear infinite;
    bottom: -150px;
}

.circles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.circles li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

/********** Pricing Section **********/
.pricing-section {
    background: var(--bg-dark);
    padding: 120px 0;
}

.pricing-card {
    background: rgba(17, 22, 37, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
    overflow: hidden;
}

.pricing-card.featured {
    border: 2px solid var(--accent-blue);
    transform: scale(1.05);
    box-shadow: 0 15px 45px rgba(59, 130, 246, 0.2);
    z-index: 1;
}

.pricing-card:hover {
    transform: translateY(-15px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured:hover {
    transform: translateY(-15px) scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--accent-blue);
    color: white;
    padding: 8px 40px;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price span {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li i {
    font-size: 1rem;
}

.pricing-features li i.fa-check {
    color: #10B981;
}

.pricing-features li i.fa-times {
    color: #EF4444;
}

.pricing-features li.disabled {
    opacity: 0.5;
    text-decoration: line-through;
}

/********** Testimonials Section **********/
.testimonials-section {
    background: var(--bg-darker);
    padding: 120px 0;
}

.testimonial-card {
    background: rgba(17, 22, 37, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
    position: relative;
    margin-bottom: 2rem;
}

.testimonial-content i {
    font-size: 2rem;
    color: var(--accent-blue);
    opacity: 0.3;
    margin-bottom: 1rem;
    display: block;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-blue);
}

.author-info h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--accent-blue);
}

/********** AI Result Display **********/
.ai-result-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.result-card {
    background: rgba(17, 22, 37, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 30px;
    padding: 2rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

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

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(59, 130, 246, 0.1);
    border-top: 4px solid var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.result-loader p {
    color: var(--accent-blue);
    font-weight: 600;
    letter-spacing: 1px;
}

.result-image-box {
    width: 100%;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.result-image-box img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.result-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.atlas-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border-radius: 50px !important;
    padding: 12px 32px !important;
    font-weight: 700;
    transition: all 0.3s ease !important;
}

.atlas-secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-3px);
}

/********** Responsive Design **********/
@media (max-width: 992px) {
    .navbar {
        padding: 1rem 0;
    }

    .hero-section h1 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .team-nav-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero-section {
        padding: 140px 0 60px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero-tag {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .ai-prompt-box {
        flex-direction: column;
        border-radius: 20px;
        padding: 10px;
    }

    .prompt-input {
        width: 100%;
        margin-bottom: 10px;
        padding: 12px;
    }

    .cta-generate {
        width: 100%;
    }

    .quick-try {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }


    .about-image {
        margin-bottom: 2rem;
    }

    .contact-form {
        padding: 2rem;
        margin-top: 2rem;
    }

    #footer .col-md-6 {
        text-align: center !important;
        margin-bottom: 1rem;
    }

    #social-media {
        margin-top: 1rem;
    }

    .service-card {
        margin-bottom: 2rem;
    }

    .pricing-card {
        margin-bottom: 2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
        margin: 2rem 0;
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

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

    .brand-text {
        font-size: 1.4rem;
    }

    .hero-section {
        padding: 120px 0 40px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .navbar-brand {
        font-size: 1.4rem;
        gap: 10px;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Platform Features Section */
.features-section {
    padding: 60px 0;
    background: var(--bg-dark);
}

.feature-row {
    margin-bottom: 80px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-img-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease;
}

.feature-row:hover .feature-img-box {
    transform: translateY(-10px);
}

.feature-image {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9;
    transition: opacity 0.5s ease;
}

.feature-row:hover .feature-image {
    opacity: 1;
}

/* Responsive tweaks for features */
@media (max-width: 991px) {
    .feature-row {
        margin-bottom: 60px;
        text-align: center;
    }

    .feature-img-box {
        margin-bottom: 30px;
    }
}

/********** Enhanced Mobile Responsiveness **********/
/* Extra small devices (320px - 575px) */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    /* Navbar Mobile */
    .navbar {
        padding: 0.5rem 0;
    }

    .logo-img {
        width: 35px;
        height: 35px;
        flex-shrink: 0;
    }

    .navbar-brand {
        font-size: 1.1rem;
        gap: 8px;
        margin-right: 0;
        max-width: 80%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Hero Section Mobile */
    .hero-section {
        padding: 100px 0 30px;
        min-height: auto;
    }

    .hero-section h1 {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-tag {
        font-size: 0.75rem;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }

    /* AI Prompt Box Mobile */
    .ai-prompt-box {
        flex-direction: column;
        border-radius: 15px;
        padding: 8px;
        max-width: 100%;
        margin: 0 15px 1.5rem;
    }

    .prompt-input {
        width: 100%;
        padding: 10px;
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .cta-generate {
        width: 100%;
        padding: 12px 24px !important;
        font-size: 0.9rem !important;
    }

    /* Buttons Mobile */
    .atlas-cta {
        padding: 10px 24px !important;
        font-size: 0.9rem !important;
        min-width: auto;
    }

    /* Sections Mobile */
    section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .section-tag {
        font-size: 0.75rem;
        margin-bottom: 0.8rem;
    }

    .section-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* About Section Mobile */
    .about-image {
        margin-bottom: 1.5rem;
        border-radius: 15px;
    }

    .feature-list li {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    /* Services Section Mobile */
    .service-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
        border-radius: 15px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 1.5rem;
        font-size: 1.5rem;
    }

    .service-card h4 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .service-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Team Section Mobile */
    .team-card {
        margin-bottom: 1.5rem;
        border-radius: 15px;
    }

    .team-card img {
        height: 280px;
    }

    .team-info {
        padding: 1.5rem;
    }

    .team-info h4 {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }

    /* Features Section Mobile */
    .feature-row {
        margin-bottom: 50px;
    }

    .feature-img-box {
        border-radius: 15px;
        margin-bottom: 20px;
    }

    .feature-image {
        max-height: 300px;
        object-fit: cover;
    }

    /* Testimonials Mobile */
    .testimonial-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
        border-radius: 15px;
    }

    .testimonial-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .testimonial-author {
        gap: 10px;
    }

    .testimonial-author img {
        width: 50px;
        height: 50px;
    }

    .author-info h5 {
        font-size: 1rem;
    }

    .author-info p {
        font-size: 0.85rem;
    }

    /* Contact Section Mobile */
    .contact-form {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .contact-form .form-control {
        padding: 12px 16px;
        margin-bottom: 1rem;
        font-size: 1rem;
        border-radius: 10px;
    }

    .contact-info {
        margin-top: 1.5rem;
    }

    .contact-info li {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    /* Footer Mobile */
    .footer {
        padding: 1.5rem 0;
    }

    .social-link {
        width: 40px;
        height: 40px;
        margin: 0 6px;
        font-size: 1rem;
    }

    /* Scroll to Top Button Mobile */
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    /* Quick Try Buttons Mobile */
    .quick-try {
        gap: 8px;
    }

    .quick-btn {
        padding: 6px 16px;
        font-size: 0.85rem;
        border-radius: 25px;
    }

    .quick-label {
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }
}

/* Small devices (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .hero-section {
        padding: 120px 0 40px;
    }

    .hero-section h1 {
        font-size: 2rem;
        line-height: 1.1;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 2.5rem 2rem;
        margin-bottom: 1.5rem;
    }

    .team-card img {
        height: 300px;
    }

    .feature-row {
        margin-bottom: 60px;
    }

    .ai-prompt-box {
        flex-direction: column;
        border-radius: 20px;
        padding: 10px;
    }

    .prompt-input {
        width: 100%;
        margin-bottom: 10px;
    }

    .cta-generate {
        width: 100%;
    }

    .contact-form {
        padding: 2rem;
    }
}

/* Medium devices (769px - 992px) */
@media (min-width: 769px) and (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .service-card {
        margin-bottom: 2rem;
    }

    .team-card img {
        height: 320px;
    }
}

/* Large devices (993px+) - Default desktop view */
@media (min-width: 993px) {
    .hero-section h1 {
        font-size: 4rem;
    }

    .section-title {
        font-size: 3rem;
    }

    section {
        padding: 120px 0;
    }
}

/********** Additional Mobile Utilities **********/
.d-none {
    display: none;
}

.d-md-block {
    display: block;
}

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

.text-md-end {
    text-align: right;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.px-3 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.ms-auto {
    margin-left: auto;
}

/* Container fluid for better mobile spacing */
.container-fluid {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-right: auto;
    margin-left: auto;
}

/* Responsive order utilities */
.order-md-1 {
    order: 1;
}

.order-md-2 {
    order: 2;
}

@media (max-width: 767px) {
    .order-md-1 {
        order: initial;
    }

    .order-md-2 {
        order: initial;
    }
}