/* ========================================
   Services Page 
   ======================================== */

/* Hero Section */
.services-hero {
    padding: 120px 5% 60px;
    background: linear-gradient(135deg, #f5f7fa, white);
    text-align: center;
}

.services-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #0A1929;
}

.services-hero h1 span {
    background: linear-gradient(135deg, #0066FF, #FF6B35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-hero p {
    color: #64748B;
    font-size: 1.1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Intro Section */
.services-intro {
    padding: 2rem 5% 3rem;
    text-align: center;
    background: white;
}

.services-intro h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0A1929;
}

.services-intro h2 span {
    background: linear-gradient(135deg, #0066FF, #FF6B35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-intro p {
    color: #64748B;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Grid */
.services-grid-section {
    padding: 3rem 5% 5rem;
    background: #f8f9fa;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-box {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,102,255,0.1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0A1929;
}

.service-box h3 span {
    color: #0066FF;
}

.service-box p {
    color: #64748B;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.service-list {
    list-style: none;
    margin-bottom: 2rem;
}

.service-list li {
    margin: 0.5rem 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-list li::before {
    content: '✓';
    color: #FF6B35;
    font-weight: bold;
}

.service-btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, #0066FF, #0052cc);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s;
}

.service-btn:hover {
    transform: translateY(-2px);
}

/* Features Section */
.features-section {
    padding: 4rem 5%;
    background: white;
    text-align: center;
}

.features-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.features-section h2 span {
    background: linear-gradient(135deg, #0066FF, #FF6B35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-box {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-box h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #0A1929;
}

.feature-box p {
    color: #64748B;
    font-size: 0.9rem;
}

/* ========================================
   CTA Section Styles
   ======================================== */
.cta-section {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #0066FF, #FF6B35);
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Animated Background Effect */
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s ease;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background: white;
    color: #0066FF;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1.2s ease;
    border: 2px solid transparent;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    background: transparent;
    color: white;
    border-color: white;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:active {
    transform: translateY(0) scale(0.95);
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .cta-content h2 {
        font-size: 2.3rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 1rem 2.8rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 4rem 5%;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-button {
        padding: 0.9rem 2.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 3rem 5%;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
    }
}

/* Dark Mode Support (if any) */
@media (prefers-color-scheme: dark) {
    .cta-section {
        background: linear-gradient(135deg, #0052cc, #e55a2b);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .cta-section::before,
    .cta-button,
    .cta-button::before {
        animation: none;
        transition: none;
    }
    
    .cta-content h2,
    .cta-content p,
    .cta-button {
        animation: none;
    }
    
    .cta-button:hover {
        transform: none;
    }
}
/* Mobile Responsive - Only for content */
@media (max-width: 768px) {
    /* Services grid */
    .services-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Features grid */
    .features-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Hero Section */
    .services-hero {
        padding: 100px 5% 40px;
    }
    
    .services-hero h1 {
        font-size: 2.5rem;
    }
    
    .services-intro h2 {
        font-size: 1.8rem;
    }
    
    .services-intro p {
        font-size: 1rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .services-hero h1 {
        font-size: 2rem;
    }
    
    .services-intro h2 {
        font-size: 1.5rem;
    }
    
    .features-container {
        grid-template-columns: 1fr;
    }
    
    
    .service-box {
        padding: 1.5rem;
    }
    
    .service-box h3 {
        font-size: 1.3rem;
    }
}
/* ========================================
   Technology Stack Section - Fully Responsive
   ======================================== */

.tech-stack-section {
    padding: 5rem 5%;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    background: rgba(0, 102, 255, 0.1);
    color: #0066FF;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0A1929;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #64748B;
    font-size: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, #0066FF, #FF6B35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Tech Categories Grid */
.tech-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Individual Category Card */
.tech-category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0, 102, 255, 0.1);
}

/* Category Header */
.category-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #eee;
}

.category-header i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #0066FF, #FF6B35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category-header h3 {
    font-size: 1.3rem;
    color: #0A1929;
}

/* Tech Items Grid */
.tech-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 1rem;
}

/* Individual Tech Item (Icon + Name) */
.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 0.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.tech-item:hover {
    background: linear-gradient(135deg, #0066FF, #FF6B35);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

.tech-item i {
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.tech-item:hover i {
    color: white !important;
}

.tech-item span {
    font-size: 0.8rem;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

.tech-item:hover span {
    color: white;
}

/* Brand Colors for Icons */
.tech-item .fa-react { color: #61DAFB; }
.tech-item .fa-angular { color: #DD0031; }
.tech-item .fa-vuejs { color: #42B883; }
.tech-item .fa-js { color: #F7DF1E; }
.tech-item .fa-node-js { color: #339933; }
.tech-item .fa-python { color: #3776AB; }
.tech-item .fa-java { color: #007396; }
.tech-item .fa-php { color: #777BB4; }
.tech-item .fa-aws { color: #FF9900; }
.tech-item .fa-docker { color: #2496ED; }
.tech-item .fa-github { color: #181717; }
.tech-item .fa-git-alt { color: #F05032; }
.tech-item .fa-figma { color: #F24E1E; }
.tech-item .fa-apple { color: #999999; }
.tech-item .fa-android { color: #3DDC84; }
.tech-item .fa-microsoft { color: #00A4EF; }
.tech-item .fa-google { color: #4285F4; }
.tech-item .fa-css3-alt { color: #2965F1; }
.tech-item .fa-database { color: #4479A1; }
.tech-item .fa-fire { color: #FF8C00; }
.tech-item .fa-cubes { color: #326CE5; }
.tech-item .fa-chart-line { color: #4CAF50; }
.tech-item .fa-tasks { color: #0052CC; }
.tech-item .fa-vial { color: #FF6B6B; }
.tech-item .fa-plug { color: #9B59B6; }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet (768px - 992px) */
@media (max-width: 992px) {
    .tech-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .tech-items {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
    
    .tech-item i {
        font-size: 1.6rem;
    }
    
    .tech-item span {
        font-size: 0.75rem;
    }
}

/* Mobile (576px - 768px) */
@media (max-width: 768px) {
    .tech-stack-section {
        padding: 3rem 5%;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tech-category {
        padding: 1.5rem;
    }
    
    .category-header h3 {
        font-size: 1.2rem;
    }
    
    .category-header i {
        font-size: 1.5rem;
    }
    
    .tech-items {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 0.8rem;
    }
    
    .tech-item {
        padding: 0.6rem 0.3rem;
    }
    
    .tech-item i {
        font-size: 1.4rem;
    }
    
    .tech-item span {
        font-size: 0.7rem;
    }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .tech-items {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 0.6rem;
    }
    
    .tech-item {
        padding: 0.5rem 0.2rem;
    }
    
    .tech-item i {
        font-size: 1.2rem;
    }
    
    .tech-item span {
        font-size: 0.65rem;
    }
    
    .category-header h3 {
        font-size: 1rem;
    }
}

/* Landscape Mode for Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .tech-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-items {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
}