:root {
    --primary: #0066ff;
    --primary-dark: #0044cc;
    --secondary: #00f2ff;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --accent: #8b5cf6;
    --tech-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --success: #10b981;
    --warning: #f59e0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 20%);
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 44px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title span {
    color: var(--secondary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--tech-gradient);
    border-radius: 2px;
}

/* ===== Header Styles ===== */
header {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(100, 116, 139, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--secondary);
}

.logo .tech {
    color: var(--secondary);
}

.logo i {
    margin-right: 10px;
    color: var(--secondary);
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    color: var(--light);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary);
}

.cta-button {
    background: var(--tech-gradient);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

/* Services Hero Section */
.services-hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
}

.services-hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: var(--tech-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Add these font declarations at the top of your CSS */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Overview Section */
.services-overview {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.services-intro {
    flex: 1;
}

.section-subtitle {
    color: var(--gray);
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    margin-bottom: 40px;
    font-size: 1.1rem;
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.services-intro h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: var(--tech-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-intro p {
    color: #cbd5e1;
    margin-bottom: 20px;
    line-height: 1.7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(100, 116, 139, 0.2);
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
}

.stat-label {
    color: #94a3b8;
    font-size: 0.9rem;
}

.services-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    position: relative;
}

.services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.image-placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* What We Bring Section */
.advantage-content {
    /* background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 242, 255, 0.05)); */
    border-radius: 20px;
    padding: 50px 60px;
    border: 1px solid var(--card-border);
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.advantage-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.advantage-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    font-size: 1.15rem;
    color: var(--light);
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
    transition: all 0.3s ease;
}

.advantage-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
    border-left-color: var(--primary);
}

.advantage-list i {
    color: var(--secondary);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 242, 255, 0.1);
    border-radius: 50%;
}

/* Flashcard Services Section */
.flashcards-section {
    margin-bottom: 0px;
}

.flashcards-title {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 60px;
    background: var(--tech-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.flashcards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.flashcard {
    height: 350px;
    perspective: 1000px;
    cursor: pointer;
}

.flashcard-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.flashcard:hover .flashcard-inner {
    transform: rotateY(180deg);
}

.flashcard-front,
.flashcard-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.flashcard-front {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(100, 116, 139, 0.2);
}

.flashcard-back {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(37, 99, 235, 0.3);
    transform: rotateY(180deg);
    text-align: left;
    justify-content: flex-start;
    align-items: flex-start;
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.service-icon img {
    width: 164px;
    height: 168px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-desc {
    color: #94a3b8;
    line-height: 1.7;
}

.service-cta {
    background: var(--tech-gradient);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.service-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.feature-card {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(100, 116, 139, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--tech-gradient);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-desc {
    color: #94a3b8;
    line-height: 1.7;
}

/* Challenges Section */
.challenges-section {
    position: relative;
    padding: 35px 0;
    margin-bottom: 8px;
}

.challenges-container {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 20px;
    padding: 13px;
    border: 1px solid rgba(100, 116, 139, 0.2);
}

.challenges-title {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.challenges-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.challenge-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.challenge-icon {
    color: #ef4444;
    margin-right: 15px;
    font-size: 1.2rem;
    margin-top: 3px;
}

.challenge-text {
    color: #94a3b8;
    line-height: 1.7;
}

/* Process Section */
.process-section {
    margin-bottom: 80px;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 0 15px;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    position: relative;
}

.step-title {
    font-size: 1.2rem;
    color: var(--light);
    margin-bottom: 10px;
    font-weight: 600;
}

.step-description {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Technology Stack Section - Exact match to Web Design page */
.tech-section {
    background: rgba(10, 10, 26, 0.7);
    border-radius: 10px;
    padding: 60px;
    margin-bottom: 17px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-section h2 {
    text-align: center;
    color: var(--secondary);
    margin-bottom: 40px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.tech-category {
    text-align: center;
}

.tech-category h3 {
    color: var(--light);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    border-radius: 8px;
    color: var(--gray);
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--light);
    transform: translateY(-3px);
}

/* CTA Section */
.cta-section {
    background: var(--tech-gradient);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 80px;
}

.cta-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-subtitle {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.cta-button-large {
    background: var(--dark);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: inline-block;
}

.cta-button-large:hover {
    transform: translateY(-3px);
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}



.form-group {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
}

.form-control {
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid rgba(100, 116, 139, 0.3);
    background: rgba(15, 23, 42, 0.5);
    color: var(--light);
    font-size: 1rem;
    margin-bottom: 10px;
}

.form-control::placeholder {
    color: #94a3b8;
}



.submit-btn {
    background: var(--tech-gradient);
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}



/* Get Start Button */
.cta-buttons {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--dark);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-buttons:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);
}

.nav-links a:not(.cta-button):hover::after {
    width: 100%;
}

.sett {
    margin: 7px;
}

@keyframes slideIn {
    from {
        transform: scaleX(0);
        opacity: 0;
    }

    to {
        transform: scaleX(1);
        opacity: 1;
    }
}

.nav-links.active {
    right: 0;
}

.overview-section {
    background: rgba(10, 10, 26, 0.7);
    border-radius: 10px;
    padding: 60px;
    margin-bottom: 60px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.overview-section h2 {
    text-align: center;
    color: var(--secondary);
    margin-bottom: 40px;
    font-size: 2.2rem;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.overview-text {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    text-align: left;
}

.overview-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.overview-highlight-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.overview-highlight {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    text-align: center;
    padding: 30px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(0, 102, 255, 0.3);
    line-height: 1.4;
}

/* Impact Section */
.impact-section {
    margin-bottom: 60px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.impact-item {
    background: rgba(10, 10, 26, 0.7);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.impact-item:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
}

.impact-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.impact-item h3 {
    color: var(--light);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.impact-item p {
    color: var(--gray);
    margin: 0;
}

/* Features Section */
.features-section {
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.feature-item {
    background: rgba(10, 10, 26, 0.7);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--success);
    transform: translateY(-5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(39, 174, 96, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-content h3 {
    color: var(--light);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-content p {
    color: var(--gray);
    margin: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styles */
@media (max-width: 992px) {
    .services-overview {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .process-step {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .services-hero-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 40px 20px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0;
        padding-top: 80px;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-links a {
        width: 100%;
        padding: 15px 30px;
        border-bottom: 1px solid rgba(100, 116, 139, 0.1);
    }

    .nav-links a.active::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--secondary);
    }

    /* Mobile dropdown styles */
    .dropdown {
        width: 100%;
    }

    /* Dropdown styles handled by allDropdown.css */

    .overview-section,
    .tech-section,
    .faq-section {
        padding: 40px 20px;
    }
}

@media (max-width: 576px) {
    .services-hero-title {
        font-size: 2.2rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .flashcards-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .overview-content {
        grid-template-columns: 1fr;
    }
}



/* ===== MOBILE RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    /* General Mobile Adjustments */
    .container {
        padding: 0 15px;
    }
    
    .section-padding {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    /* Hero Section Mobile */
    .services-hero {
        padding: 120px 0 60px;
    }
    
    .services-hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Overview Section Mobile */
    .overview-section {
        padding: 30px 20px;
        margin-bottom: 40px;
    }
    
    .overview-section h2 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .overview-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .overview-text {
        font-size: 1rem;
        text-align: left;
    }
    
    .overview-highlight-container img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }
    
    /* Flashcards Mobile */
    .flashcards-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .flashcards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .flashcard {
        height: 300px;
    }
    
    .flashcard-front,
    .flashcard-back {
        padding: 20px;
    }
    
    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    /* Features Section Mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .feature-icon {
        margin: 0 auto;
    }
    
    /* Challenges Section Mobile */
    .challenges-container {
        padding: 25px 20px;
    }
    
    .challenges-title {
        font-size: 1.4rem;
        margin-bottom: 30px;
    }
    
    .challenges-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .challenge-item {
        margin-bottom: 12px;
    }
    
    /* Advantage Section Mobile */
    .advantage-content {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;  /* vertical center */
    align-items: center;      /* horizontal center */
    text-align: center;
}

    
    .advantage-list {
        gap: 15px;
    }
    
    .advantage-list li {
        font-size: 1rem;
        padding: 15px;
        gap: 15px;
    }
    
    .advantage-list i {
        font-size: 1.2rem;
        width: 25px;
        height: 25px;
    }
    
    .advantage-list li {
        justify-content: center;
        text-align: left;
        width: 100%;
        max-width: 300px;
    }
    
    /* Process Section Mobile */
    .process-steps {
        flex-direction: column;
        gap: 30px;
        margin-top: 30px;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-step {
        text-align: center;
        padding: 0;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .step-title {
        font-size: 1.1rem;
    }
    
    .step-description {
        font-size: 0.9rem;
    }
    
    /* Technology Stack Mobile */
    .tech-section {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .tech-section h2 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .tech-items {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .tech-item {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    /* Impact Section Mobile */
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .impact-item {
        padding: 25px 20px;
    }
    
    .impact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* FAQ Section Mobile */
    .faq-section {
        margin-bottom: 50px;
    }
    
    .faq-question {
        padding: 15px;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0 15px;
        font-size: 0.9rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 15px 15px;
        max-height: 500px;
    }
    
    /* CTA Section Mobile */
    .cta-section {
        padding: 40px 25px;
        margin-bottom: 50px;
    }
    
    .cta-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .cta-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .cta-button-large {
        padding: 12px 30px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }
    
    
    /* Navigation Mobile Fixes */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 300px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 20px 30px;
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid rgba(100, 116, 139, 0.2);
        font-size: 1.1rem;
    }
    
    .nav-links a.cta-buttons {
        margin-top: 20px;
        text-align: center;
        justify-content: center;
    }


    
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .services-hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .flashcard {
        height: 280px;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
    
    .cta-title {
        font-size: 1.4rem;
    }
    
    .tech-item {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    
}

/* ===== iPad Specific Responsive Styles ===== */

/* iPad Mini (768px - 819px) */
@media (min-width: 768px) and (max-width: 819px) {
    .container {
        padding: 0 30px;
        max-width: 100%;
    }
    
    /* Hero Section */
    .services-hero {
        padding: 150px 0 80px;
    }
    
    .services-hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        max-width: 90%;
    }
    
    /* Overview Section */
    .overview-section {
        padding: 40px 30px;
        margin-bottom: 50px;
    }
    
    .overview-section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .overview-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .overview-text {
        font-size: 1.05rem;
        text-align: left;
    }
    
    .overview-highlight-container img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }
    
    /* Flashcards */
    .flashcards-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .flashcards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .flashcard {
        height: 320px;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    /* Features Section */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .feature-item {
        padding: 22px;
        gap: 15px;
    }
    
    .feature-content h3 {
        font-size: 1.15rem;
    }
    
    /* Challenges Section */
    .challenges-container {
        padding: 30px 25px;
    }
    
    .challenges-title {
        font-size: 1.6rem;
        margin-bottom: 35px;
    }
    
    .challenges-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    /* Advantage Section */
    .advantage-content {
        padding: 40px 35px;
    }
    
    .advantage-list li {
        font-size: 1.05rem;
        padding: 18px;
    }
    
    /* Process Section */
    .process-steps {
        flex-wrap: wrap;
        gap: 25px;
        justify-content: center;
    }
    
    .process-step {
        flex: 0 0 calc(50% - 15px);
        max-width: 300px;
    }
    
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.6rem;
    }
    
    /* Technology Stack */
    .tech-stack-section {
        padding: 50px 30px;
    }
    
    .orbital-container {
        max-width: 100%;
    }
    
    /* Impact Section */
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
    
    .impact-item {
        padding: 28px 22px;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 50px 35px;
        margin-bottom: 60px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1.05rem;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
}

/* iPad Air (820px - 1023px) */
@media (min-width: 820px) and (max-width: 1023px) {
    .container {
        padding: 0 40px;
        max-width: 100%;
    }
    
    /* Hero Section */
    .services-hero {
        padding: 160px 0 90px;
    }
    
    .services-hero-title {
        font-size: 3.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
        max-width: 85%;
    }
    
    /* Overview Section */
    .overview-section {
        padding: 50px 40px;
        margin-bottom: 55px;
    }
    
    .overview-section h2 {
        font-size: 2.1rem;
        margin-bottom: 35px;
    }
    
    .overview-content {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
        align-items: center;
    }
    
    .overview-text {
        font-size: 1.1rem;
    }
    
    /* Flashcards */
    .flashcards-title {
        font-size: 2.2rem;
        margin-bottom: 45px;
    }
    
    .flashcards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    
    .flashcard {
        height: 340px;
    }
    
    /* Features Section */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
    
    .feature-item {
        padding: 25px;
    }
    
    /* Challenges Section */
    .challenges-container {
        padding: 35px 30px;
    }
    
    .challenges-title {
        font-size: 1.7rem;
        margin-bottom: 40px;
    }
    
    .challenges-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Advantage Section */
    .advantage-content {
        padding: 45px 40px;
    }
    
    .advantage-list li {
        font-size: 1.1rem;
        padding: 20px;
    }
    
    /* Process Section */
    .process-steps {
        gap: 20px;
        flex-wrap: nowrap;
    }
    
    /* Hide horizontal line on iPad Air */
    .process-steps::before {
        display: none;
    }
    
    .process-step {
        flex: 1;
        padding: 0 10px;
    }
    
    .step-number {
        width: 75px;
        height: 75px;
        font-size: 1.7rem;
    }
    
    .step-title {
        font-size: 1.15rem;
    }
    
    /* Technology Stack */
    .tech-stack-section {
        padding: 55px 40px;
    }
    
    /* Impact Section */
    .impact-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 55px 40px;
        margin-bottom: 65px;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 2.3rem;
        margin-bottom: 2.8rem;
    }
}

/* iPad Pro 11" (834px - 1023px) - Portrait */
@media (min-width: 834px) and (max-width: 1023px) and (orientation: portrait) {
    .container {
        padding: 0 45px;
    }
    
    .services-hero {
        padding: 165px 0 95px;
    }
    
    .services-hero-title {
        font-size: 3.3rem;
    }
    
    .overview-content {
        gap: 40px;
    }
    
    /* Overview Image - Make smaller for iPad Pro 11" */
    .overview-highlight-container img {
        width: 80%;
        max-width: 400px;
        height: auto;
        object-fit: cover;
        border-radius: 10px;
    }
    
    .flashcards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .impact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* iPad Pro 12.9" (1024px - 1366px) */
@media (min-width: 1024px) and (max-width: 1366px) {
    .container {
        padding: 0 50px;
        max-width: 1200px;
    }
    
    /* Hero Section */
    .services-hero {
        padding: 170px 0 100px;
    }
    
    .services-hero-title {
        font-size: 3.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        max-width: 80%;
    }
    
    /* Header/Navigation */
    header {
        padding: 0;
    }
    
    nav {
        padding: 15px 0;
    }
    
    .nav-links {
        gap: 22px;
    }
    
    .nav-links a {
        font-size: 0.95rem;
    }
    
    .cta-buttons {
        font-size: 0.9rem;
        padding: 10px 18px;
    }
    
    /* Overview Section */
    .overview-section {
        padding: 55px 50px;
        margin-bottom: 60px;
    }
    
    .overview-section h2 {
        font-size: 2.3rem;
        margin-bottom: 40px;
    }
    
    .overview-content {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
    }
    
    .overview-text {
        font-size: 1.15rem;
    }
    
    /* Overview Image - Make smaller for iPad Pro */
    .overview-highlight-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .overview-highlight-container img {
        width: 85%;
        max-width: 450px;
        height: auto;
        object-fit: cover;
        border-radius: 10px;
    }
    
    /* Flashcards */
    .flashcards-title {
        font-size: 2.4rem;
        margin-bottom: 50px;
    }
    
    .flashcards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .flashcard {
        height: 360px;
    }
    
    /* Features Section */
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    /* Challenges Section */
    .challenges-container {
        padding: 40px 35px;
    }
    
    .challenges-title {
        font-size: 1.8rem;
        margin-bottom: 45px;
    }
    
    .challenges-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }
    
    /* Advantage Section */
    .advantage-content {
        padding: 50px 45px;
        max-width: 950px;
    }
    
    .advantage-list li {
        font-size: 1.15rem;
        padding: 22px;
    }
    
    /* Process Section */
    .process-steps {
        gap: 15px;
    }
    
    .process-step {
        padding: 0 12px;
    }
    
    .step-number {
        width: 80px;
        height: 80px;
        font-size: 1.8rem;
    }
    
    .step-title {
        font-size: 1.2rem;
    }
    
    /* Technology Stack */
    .tech-stack-section {
        padding: 60px 50px;
    }
    
    /* Impact Section */
    .impact-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .impact-item {
        padding: 30px 25px;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 60px 50px;
        margin-bottom: 70px;
    }
    
    .cta-title {
        font-size: 2.4rem;
    }
    
    .cta-subtitle {
        font-size: 1.15rem;
        max-width: 750px;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 2.4rem;
        margin-bottom: 3rem;
    }
}

/* iPad Pro 12.9" Landscape (1024px - 1366px) */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    .services-hero {
        padding: 140px 0 80px;
    }
    
    .overview-content {
        gap: 40px;
    }
    
    /* Overview Image - Make smaller for iPad Pro Landscape */
    .overview-highlight-container img {
        width: 80%;
        max-width: 420px;
        height: auto;
        object-fit: cover;
        border-radius: 10px;
    }
    
    .flashcards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .process-steps {
        gap: 10px;
    }
    
    .process-step {
        padding: 0 8px;
    }
}

/* General Tablet Adjustments (768px - 1024px) - Fallback */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 35px;
    }
    
    .services-hero-title {
        font-size: 3rem;
    }
    
    .flashcards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Utility Classes for Mobile */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
}

/* Touch Device Improvements */
@media (hover: none) and (pointer: coarse) {
    .flashcard:hover .flashcard-inner {
        transform: none;
    }
    
    .flashcard:active .flashcard-inner {
        transform: rotateY(180deg);
    }
    
    .feature-item:active {
        transform: translateY(-2px);
    }
    
    .service-cta:active {
        transform: translateY(-1px);
    }
}

/* High DPI Mobile Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .service-icon i {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Mobile Landscape Orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .services-hero {
        padding: 100px 0 40px;
    }
    
    .nav-links {
        padding-top: 60px;
    }
    
    .nav-links a {
        padding: 12px 0;
    }
    
    .flashcard {
        height: 250px;
    }
}

/* Prevent horizontal scrolling on mobile */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        position: relative;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
}

/* ===== Additional iPad Alignment & Layout Fixes ===== */

/* iPad - Fix for orbital tech stack section */
@media (min-width: 768px) and (max-width: 1366px) {
    .tech-stack-section {
        padding: 60px 0;
    }
    
    .orbital-container {
        position: relative;
        width: 100%;
        max-width: 650px;
        height: 650px;
        margin: 50px auto;
        padding: 20px;
    }
    
    .outer-orbit {
        width: 600px;
        height: 600px;
    }
    
    .middle-orbit {
        width: 430px;
        height: 430px;
    }
    
    .inner-orbit {
        width: 260px;
        height: 260px;
    }
    
    .tech-icon {
        width: 65px;
        height: 65px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .tech-icon i {
        font-size: 1.8rem;
    }
    
    .tech-label {
        font-size: 0.8rem;
        margin-top: 8px;
    }
    
    .center-text h3 {
        font-size: 1.2rem;
    }
}

/* iPad Pro - Larger orbital container */
@media (min-width: 1024px) and (max-width: 1366px) {
    .orbital-container {
        max-width: 700px;
        height: 700px;
    }
    
    .outer-orbit {
        width: 650px;
        height: 650px;
    }
    
    .middle-orbit {
        width: 470px;
        height: 470px;
    }
    
    .inner-orbit {
        width: 290px;
        height: 290px;
    }
    
    .tech-icon {
        width: 70px;
        height: 70px;
    }
    
    .tech-icon i {
        font-size: 1.9rem;
    }
    
    .center-text h3 {
        font-size: 1.3rem;
    }
}

/* iPad - Fix section padding consistency */
@media (min-width: 768px) and (max-width: 1366px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .challenges-section {
        padding: 40px 0;
    }
    
    .process-section {
        margin-bottom: 60px;
    }
}

/* iPad - Fix overview image alignment */
@media (min-width: 768px) and (max-width: 1023px) {
    .overview-highlight-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .overview-highlight-container img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 10px;
    }
}

/* iPad - Fix flashcard text alignment */
@media (min-width: 768px) and (max-width: 1366px) {
    .flashcard-back {
        padding: 25px;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .service-desc {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* iPad - Fix feature items alignment */
@media (min-width: 768px) and (max-width: 1366px) {
    .feature-item {
        align-items: flex-start;
    }
    
    .feature-content {
        flex: 1;
    }
    
    .feature-content p {
        line-height: 1.7;
    }
}

/* iPad - Fix process steps connector line */
@media (min-width: 820px) and (max-width: 1023px) {
    /* Hide horizontal line on iPad Air */
    .process-steps::before {
        display: none;
    }
}

/* iPad - Fix CTA button alignment */
@media (min-width: 768px) and (max-width: 1366px) {
    .cta-button-large {
        padding: 14px 35px;
        font-size: 1.05rem;
    }
}

/* iPad - Fix FAQ section spacing */
@media (min-width: 768px) and (max-width: 1366px) {
    .faq-section {
        padding: 50px 0;
    }
    
    .faq-container {
        max-width: 900px;
        margin: 0 auto;
    }
    
    .faq-question {
        padding: 18px 20px;
        font-size: 1.05rem;
    }
    
    .faq-answer {
        padding: 0 20px;
        font-size: 1rem;
        line-height: 1.7;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 18px;
        max-height: 500px;
    }
}

/* iPad - Fix impact items spacing */
@media (min-width: 768px) and (max-width: 1366px) {
    .impact-item h3 {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }
    
    .impact-item p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* iPad - Fix hero button alignment */
@media (min-width: 768px) and (max-width: 1366px) {
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* iPad - Ensure proper text wrapping */
@media (min-width: 768px) and (max-width: 1366px) {
    .hero-subtitle,
    .section-subtitle,
    .cta-subtitle {
        word-wrap: break-word;
        hyphens: auto;
    }
}

/* iPad - Fix grid gaps for better spacing */
@media (min-width: 768px) and (max-width: 1023px) {
    .flashcards-grid,
    .features-grid,
    .impact-grid,
    .challenges-list {
        gap: 25px;
    }
}

/* iPad Pro - Optimize for larger screens */
@media (min-width: 1024px) and (max-width: 1366px) {
    .flashcards-grid,
    .features-grid,
    .impact-grid,
    .challenges-list {
        gap: 30px;
    }
}

/* ===== iPad Header & Navigation Fixes ===== */

/* iPad - Header adjustments */
@media (min-width: 768px) and (max-width: 1366px) {
    header {
        padding: 0;
    }
    
    nav {
        padding: 12px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo img {
        height: 38px;
        width: auto;
    }
    
    .nav-links {
        gap: 20px;
        display: flex;
        align-items: center;
    }
    
    .nav-links a {
        font-size: 0.92rem;
        padding: 8px 12px;
    }
    
    .cta-buttons {
        font-size: 0.88rem;
        padding: 9px 18px;
        white-space: nowrap;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

/* iPad - Ensure proper container width */
@media (min-width: 768px) and (max-width: 1366px) {
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* iPad - Fix section spacing consistency */
@media (min-width: 768px) and (max-width: 1366px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .services-hero {
        padding-top: 150px;
    }
}