:root {
    /* Professional Color Palette */
    --navy: #0a2540;
    --slate-gray: #5e6e82;
    --white: #ffffff;
    --teal: #00b4d8;
    --teal-dark: #0096c7;
    --teal-light: #90e0ef;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #343a40;
    --dark: #1e293b; 
    --primary: #2563eb;  /* Royal blue */
    --secondary: #10b981; /* Emerald green */
    
    /* Modern Accents */
    --mustard: #ffd166;
    --coral: #ff6b6b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--slate-gray);
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 15px;
    font-weight: 700;
}

h1 {
    font-size: 2.8rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.2rem;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 1.6rem;
}

p {
    margin-bottom: 15px;
    color: var(--slate-gray);
}

/* Header Styles */
header {
    background-color: var(--white);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(10, 37, 64, 0.08);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
}

.logo i {
    color: var(--teal);
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--teal);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--teal);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu {
    color: var(--navy);
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

/* Hero Section */
.hero {
    background-color: var(--navy);
    color: var(--white);
    padding: 180px 0 420px;
    background-image: 
        linear-gradient(135deg, rgba(10, 37, 64, 0.9) 0%, rgba(0, 180, 216, 0.2) 100%),
        url('https://www.geeky-gadgets.com/wp-content/uploads/2024/02/How-to-become-an-AI-data-analyst-in-2024.webp');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 40px;
    margin-top: 120px;
    font-size: 3.2rem;
    line-height: 1.1;
}

.hero p {
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

/* Horizontal Scrollable Services Section */
.services {
    padding: 100px 0;
    background-color: var(--light-gray);
    position: relative;
}

.services-container {
    position: relative;
}

.services-scroller {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(33.333% - 20px);
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 30px 0;
    margin: 0 50px;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.services-scroller::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

/* Preserve all your existing card styles */
.service-card {
    scroll-snap-align: start;
    min-width: 0; /* Prevent growing beyond grid */
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--teal), var(--mustard));
    transition: height 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    height: 10px;
}

.service-icon {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: #ffd166;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.service-card h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--teal-light);
    bottom: -8px;
    left: 0;
    transition: width 0.3s ease;
}

.service-card:hover h3::after {
    width: 60px;
}

/* Navigation Arrows */
.scroll-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.3s ease;
    border: none;
    color: var(--navy);
    font-size: 1.5rem;
    font-weight: bold;
}

.scroll-nav:hover {
    background-color: var(--teal);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.scroll-nav.prev {
    left: 0;
}

.scroll-nav.next {
    right: 0;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .services-scroller {
        grid-auto-columns: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .services-scroller {
        grid-auto-columns: calc(100% - 10px);
        margin: 0 30px;
    }
    
    .scroll-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}
.about-text p{
    font-size: 20px;
}
.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 20px 20px 0 0 rgba(0, 180, 216, 0.1);
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-features {
    margin-top: 40px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.about-feature i {
    font-size: 1.8rem;
    color: var(--teal);
    margin-right: 20px;
    margin-top: 5px;
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.contact-container {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--teal);
    margin-right: 20px;
    margin-top: 5px;
    flex-shrink: 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.form-group textarea {
    min-height: 180px;
    resize: vertical;
}

/* Button Styles */
.cta-button {
    display: inline-block;
    background-color: var(--teal);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
    z-index: -1;
}

.cta-button:hover {
    background-color: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
}

.cta-button:hover::before {
    left: 100%;
}

/* Footer Styles */
footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--teal-light);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content,
    .contact-container {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 40px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        width: 95%;
    }
    
    .service-card {
        padding: 30px 25px;
    }
}

 .logo-text {
            display: flex;
            flex-direction: column;
        }
        
        .logo-main {
            font-size: 28px;
            font-weight: 800;
            background: linear-gradient(to right, var(--dark) 0%, var(--primary) 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            letter-spacing: -0.5px;
            line-height: 1;
        }

         .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
         .about-card {
            background-color: var(--light-grayht);
            border-radius: 10px;
            padding: 30px;
            transition: transform 0.3s, box-shadow 0.3s;
            text-align: center;
        }