/* Add to base styles */
html, body {
    overflow-x: hidden; /* Prevents horizontal swipe revealing off-screen menu */
}

/* Enhance mobile menu */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px; /* Slightly reduce padding for mobile */
    }
    .nav-links {
        position: fixed; /* Change to fixed for better isolation */
        top: 0; /* Cover full screen from top */
        right: 0;
        width: 80%; /* Narrower for better usability */
        height: 100vh; /* Full height */
        background-color: #1b2838; /* Match navbar */
        flex-direction: column;
        justify-content: flex-start;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 999; /* High z-index */
        padding-top: 60px; /* Space below navbar */
        overflow-y: auto; /* Scroll if too many links */
    }
    .nav-links.active {
        transform: translateX(0);
    }
    .nav-links.active::before {
        display: block;
    }
    /* Lock body scroll when menu open */
    body.menu-open {
        overflow: hidden;
    }
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
	font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #f9f9f9;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #9cd6ff;
}

h2 {
  background: linear-gradient(90deg, #66c0f4, #74e0b5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
}

p, li, span {
	font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}

.btn:active {
    transform: scale(0.97);
}

/* NAVBAR */
.navbar {
    position: relative;
    top: 0;
    width: 100%;
    background: #1b2838;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    z-index: 1500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.navbar .logo {
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
	position: relative;
}

.navbar ul li a:hover {
    color: #4a90e2;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: #4a90e2;
    transition: 0.3s;
}
.navbar ul li a:hover::after {
    width: 100%;
}


/* PARTICLES */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    background: rgba(74,144,226,0.7); /* Steam-inspired blue */
    border-radius: 50%;
    opacity: 0.8;
    pointer-events: none;
	animation: float 10s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0) translateX(0); opacity: 0.5; }
    50% { transform: translateY(-50px) translateX(10px); opacity: 0.8; }
    100% { transform: translateY(0) translateX(-10px); opacity: 0.5; }
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 10px 25px;
    margin-top: 15px;
    background-color: #1b2838;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background-color: #2a475e;
}

.btn.secondary {
    background-color: #4a90e2;
}

.btn.secondary:hover {
    background-color: #3570b0;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 40px;
}

.cta-section .btn {
    padding: 12px 28px;
    font-size: 1.1rem;
}


/* HERO */
.hero {
    position: relative;
    background: url('images/MainPage.webp') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 150px 20px;
    overflow: hidden;
	font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
	font-size: 1.2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
}

.hero-buttons {
    margin-top: 25px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(27,40,56,0.8), rgba(74,144,226,0.6)); /* Steam-inspired gradient */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-buttons .btn {
    transform: translateY(0);
    transition: transform 0.3s, box-shadow 0.3s;
}
.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.testimonials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial {
    background: #f0f0f0;
    padding: 25px;
    border-radius: 8px;
    max-width: 300px;
    transition: transform 0.3s;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial p {
    font-style: italic;
}

/* ===== CAROUSEL - FULLY RESPONSIVE (Mobile + Desktop) ===== */
.trusted {
    padding: 60px 20px;
    text-align: center;
    background: #f9f9f9;
}

.trusted h2 {
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: 600;
    background: linear-gradient(90deg, #66c0f4, #74e0b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.carousel-item p {
    font-size: 18px;
    line-height: 1.5;
    color: #555;
    margin: 0 0 10px;
}

.carousel-item span {
    font-size: 16px;
    font-weight: 500;
    color: #999;
}

/* Carousel Container - Centered on Desktop */
.carousel {
    overflow: hidden;
    max-width: 700px;        /* Desktop max width */
    margin: 30px auto 0;
    padding: 0 8px;
    position: relative;
    border-radius: 12px;
}

/* Track - Auto Scroll */
.carousel-track {
    display: flex;
    animation: scrollCarousel 50s linear infinite;
    gap: 16px;
    padding: 10px 0;
}

.carousel-track:hover {
    animation-play-state: paused;
}

/* Each Item - One per view on desktop */
.carousel-item {
    flex: 0 0 calc(100% - 16px);
    max-width: calc(100% - 16px);
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-item:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0,0,0,0.18);
    z-index: 1;
}

/* ===== Smooth scrolling animation ===== */
@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-550%); /* 6 items → move 5 widths */
    }
}

/* Image - Full visibility, no stretch */
.carousel-item img {
    width: 100%;
    height: auto;
    min-height: 220px;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #f8f8f8;
    padding: 12px;
    box-sizing: border-box;
}

/* ===== MOBILE OPTIMIZATION (≤768px) ===== */
@media (max-width: 768px) {
    .trusted {
        padding: 40px 12px;
    }

    .carousel {
        max-width: 100%;     /* Full width on mobile */
        padding: 0 4px;
        margin: 20px auto 0;
    }

    .carousel-track {
        gap: 12px;
        animation-duration: 40s;
    }

    .carousel-item {
        flex: 0 0 calc(100% - 12px);
        max-width: calc(100% - 12px);
    }

    .carousel-item img {
        min-height: 180px;
        padding: 8px;
    }
}

.review-img {
    width: 50px;
    height: 50px;
    border-radius: 0%;
    object-fit: cover;
    margin-bottom: 10px;
}

.review-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #222;
}


/* Quotation Mark */
.quote-mark {
  font-size: 3rem;
  color: #66c0f4;
  opacity: 0.3;
  margin-bottom: 10px;
}

/* SERVICES */
/* === Services Section (Bright Steam Style) === */
.services {
    position: relative;
    background: linear-gradient(180deg, #e9f4fb 0%, #cde7f7 100%);
    color: #0b1a2a;
    padding: 100px 20px;
    text-align: center;
    overflow: hidden;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #0a3d62;
    text-shadow: 0 0 10px rgba(102, 192, 244, 0.4);
}

/* Animated background glow (much softer now) */
.services-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at 20% 40%, rgba(102,192,244,0.2), transparent 70%),
                radial-gradient(circle at 80% 60%, rgba(46,204,113,0.15), transparent 70%);
    animation: bgMove 10s infinite alternate ease-in-out;
    z-index: 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-gridtwo {
    display: grid;
}


.service-card {
    flex: 0 0 350px;         /* fixed width, prevents wrapping */
    background: #f4f4f4;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}


.service-card ul {
    list-style-type: disc; /* or none if you want no bullets */
    padding-left: 20px;
    margin: 10px 0 0 0;
    color: #333; /* bullet color */
}

.service-card img {
    width: 100%;       /* make image fill card width */
    height: auto;      /* maintain aspect ratio */
    object-fit: cover; /* optional, crops image to fit nicely */
    border-radius: 8px;
}

.service-card:hover {
	transform: translateY(-10px) scale(1.04);
    box-shadow: 0 12px 25px rgba(102,192,244,0.35);
    border: 1px solid rgba(102,192,244,0.5);
    background: linear-gradient(135deg, #e0f7ff, #f4fcff);
    filter: brightness(1.05) saturate(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    color: #0a3d62;
	margin-bottom: 10px;
    font-size: 1.2rem;
}

.service-card p {
    flex-grow: 1;       /* makes description expand to fill card height */
}

.service-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #66c0f4;
    font-weight: bold;
}

.service-card .btn {
    display: inline-block;
    background: linear-gradient(90deg, #66c0f4, #4ab3e2);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.service-card ul {
    list-style: none;
    padding-left: 1em; /* give space for bullet */
    position: relative;
}

.service-card ul li::before {
    content: "•";
    color: #66c0f4;
    position: absolute;
    left: 0;           /* inside the card */
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #007bff;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 10;
}
.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }

.service-card .btn.secondary {
    background: linear-gradient(90deg, #4ecdc4, #3fa7d6);
}

.service-card:first-child {
  border-top: 4px solid #1b9aaa; /* Steam blue */
}
.service-card:last-child {
  border-top: 4px solid #17b978; /* greenish tone */
}

.slider-container {
    overflow: hidden;
    position: relative;
    margin: 2rem 0;
	width: 100%;
}

.slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
}
/* HOW IT WORKS */
.how-it-works {
    background: #e7f0fd;
    padding: 60px 20px;
    text-align: center;
}

.how-it-works ol {
    max-width: 600px;
    margin: 20px auto 0;
    text-align: left;
}

/* Tooltip styling */
#service-tooltip {
    position: absolute;
    background-color: #4a90e2;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateY(-10px);
}

#service-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}



/* PROJECTS */
.projects {
    padding: 60px 20px;
    text-align: center;
}

.project-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.project-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    width: 260px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

/* MEDIA / YOUTUBE & CURATOR */
.media {
    background: #f0f0f0;
    padding: 60px 20px;
    text-align: center;
}

.media-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.media-card iframe {
    max-width: 100%;
    border-radius: 8px;
}

/* CONTACT */
.contact {
    padding: 60px 20px;
    text-align: center;
    background-color: #1b2838;
    color: #fff;
}

.contact-buttons .btn {
    margin: 10px;
	background: linear-gradient(135deg, #4a90e2, #357ab7);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.contact-buttons .btn:hover {
    background: linear-gradient(135deg, #357ab7, #4a90e2);
    transform: translateY(-3px);
}

.contact-form-section, .order-form-section {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-form-section:hover, .order-form-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.contact-form button, .order-form button {
    background: linear-gradient(135deg,#4a90e2,#357ab7);
    color: #fff;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.contact-form button:hover, .order-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}


/* FOOTER */
footer {
    text-align: center;
    padding: 30px 20px;
    background: #222;
    color: #fff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .service-grid, .project-grid, .media-grid, .testimonials, .navbar ul {
        flex-direction: column;
        align-items: center;
    }

    .navbar ul {
        gap: 10px;
        margin-top: 10px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

/* Animate elements */
.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* When visible on scroll */
.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth hover for cards already exists */
.service-card:hover,
.project-card:hover,
.testimonial:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* OPTION SELECT */
.option-select {
    text-align: center;
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.option-select h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.option-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.option-buttons .btn {
    padding: 12px 28px;
    font-size: 1.1rem;
    cursor: pointer;
}

/* CONTACT / ORDER FORM SECTION */
.contact-form-section, .order-form-section {
  max-width: 700px;
  margin: 80px auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 50px 40px;
}

.contact-form-section h2,
.order-form-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
  color: #222;
}

.contact-form label, .order-form label {
  display: block;
  margin-bottom: 8px;
  color: #444;
  font-weight: 500;
}

.contact-form input, .contact-form textarea,
.order-form input, .order-form textarea, .order-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 20px;
  transition: border-color 0.2s;
}

.contact-form input:focus, .contact-form textarea:focus,
.order-form input:focus, .order-form textarea:focus, .order-form select:focus {
  border-color: #5a8dee;
  outline: none;
}

.btn.secondary {
  background: #5a8dee;
  color: white;
}

.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

select {
  width: 100%;
  padding: 12px 40px 12px 14px; /* Same padding as inputs, extra space for arrow */
  font-size: 1rem;
  line-height: 1.4;
  color: #222;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image: url("data:image/svg+xml;utf8,<svg fill='%235a8dee' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  cursor: pointer;
}

select:focus {
  border-color: #5a8dee;
  box-shadow: 0 0 0 3px rgba(90,141,238,0.2);
  outline: none;
}

select option {
  background: #fff;
  color: #222;
  font-size: 1rem;
  padding: 8px;
}

select option:checked,
select option[selected] {
  background-color: #e8f0ff;
  color: #111;
  font-weight: 500;
}



/* Fade effect for service dropdown */
#service {
    transition: background-color 0.3s, opacity 0.3s;
    opacity: 1;
}

#service.fade {
    opacity: 0.4;
}

/* HERO SECTION SPECIFIC FOR ABOUT PAGE */
.about-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/about.webp') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
}

/* STORY SECTION */
.story {
    max-width: 800px;
    margin: 60px auto;
    text-align: center;
}

.story h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* TIMELINE */
.timeline {
    max-width: 800px;
    margin: 60px auto;
}

.timeline h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 25px;
}

.timeline-list {
    list-style: none;
    padding: 0;
    line-height: 1.8;
}

.timeline-list li {
    margin-bottom: 15px;
    font-weight: 500;
}

/* Mobile-specific timeline text centering */
@media (max-width: 768px) {
    .timeline {
        text-align: center; /* centers the whole section content */
    }

    .timeline-list li {
        text-align: center; /* centers each list item */
    }
}

/* SKILLS */
.skills {
    max-width: 900px;
    margin: 60px auto;
}

.skills h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 25px;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.skill-card {
    background-color: #f5f5f5;
    padding: 20px 25px;
    border-radius: 10px;
    min-width: 180px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* CTA SECTION */
.cta {
    text-align: center;
    background-color: #4a90e2;
    color: #fff;
    padding: 60px 20px;
    margin-top: 60px;
    border-radius: 12px;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta a.btn {
    background-color: #fff;
    color: #4a90e2;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta a.btn:hover {
    background-color: #e6e6e6;
}

/* ANIMATION */
.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* HERO SECTION SPECIFIC FOR BLOG */ 
.blog-hero { 
	background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/blog-hero.webp') center/cover no-repeat; 
	color: #fff; 
	text-align: 
	center; padding: 
	120px 20px; 
}

/* BLOG POSTS GRID */ 
.blog-posts { 
	max-width: 1100px; 
	margin: 60px auto; 
	padding: 0 20px; 
}

.blog-posts h2 { 
	text-align: center; 
	font-size: 2rem; 
	margin-bottom: 
	40px; 
}

/* GRID */ 
.posts-grid { 
	display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; 
}

/* POST CARD */ 
.post-card { 
	background-color: #f9f9f9; 
	border-radius: 10px; 
	overflow: hidden; 
	box-shadow: 0 6px 12px rgba(0,0,0,0.1); 
	display: flex; 
	flex-direction: column; 
	transition: transform 0.3s, box-shadow 0.3s; 
}

.post-card:hover { 
	transform: translateY(-8px) rotateZ(-0.5deg);
    box-shadow: 0 12px 20px rgba(0,0,0,0.18);
}

.post-card .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #4a90e2;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
}

.post-card img { 
	width: 100%; 
	height: 180px; 
	object-fit: cover; 
}

.post-content { 
	padding: 20px; 
	flex: 1; 
	display: flex; 
	flex-direction: column; 
}

.post-content h3 { 
	font-size: 1.2rem; 
	margin-bottom: 10px; 
}

.post-content h3 a { 
	text-decoration: none; 
	color: #333; 
	transition: color 0.3s; 
}

.post-content h3 a:hover { 
	color: #4a90e2; 
}

.post-content p { 
	flex: 1; 
	font-size: 0.95rem; 
	margin-bottom: 15px; 
	color: #555; 
}

.post-content .btn { 
	align-self: flex-start; 
	text-decoration: none; 
	background-color: #4a90e2; 
	color: #fff; 
	padding: 8px 20px; 
	border-radius: 6px; 
	font-weight: bold; 
	transition: background-color 0.3s; 
}

.post-content .btn:hover { 
	background-color: #357ab7; 
}

/* HERO FOR INDIVIDUAL POST */ 
.post-hero { 
	background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/post-hero.webp') center/cover no-repeat; 
	color: #fff; 
	text-align: center; 
	padding: 120px 20px; 
}

/* POST CONTENT */ 
.post-content-container { 
	max-width: 800px; 
	margin: 60px auto; 
	padding: 0 20px; 
}

.blog-post p { 
	line-height: 1.8; 
	margin-bottom: 20px; 
	color: #333; 
}

.blog-post h2 { 
	margin-top: 30px; 
	margin-bottom: 15px; 
	font-size: 1.5rem; 
	color: #4a90e2; 
}

.blog-post a.btn { 
	display: inline-block; 
	margin-top: 30px; 
	text-decoration: none; 
	background-color: #4a90e2; 
	color: #fff; 
	padding: 10px 25px; 
	border-radius: 6px; 
	font-weight: bold; 
	transition: background-color 0.3s; 
}

.blog-post a.btn:hover { 
	background-color: #357ab7;
}

.how-it-works {
    position: relative;
    padding: 80px 20px;
    background: #0b1d2b; /* dark Steam-ish background */
    color: #fff;
    overflow: hidden;
}

#particlesCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* allows clicking on buttons */
    z-index: 0;
}

/* Optional subtle pattern or particles in background */
.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
}

.how-it-works h2 {
    font-size: 2rem;
    margin-bottom: 50px;
    font-weight: 700;
    color: #66c0f4; /* Steam blue accent */
    position: relative;
    z-index: 1;
}

.how-it-works .steps,
.how-it-works .cta-btn {
    position: relative;
    z-index: 1; /* above the canvas */
}

.steps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.step {
    background: #1a5175;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 20px;
    width: 220px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.step-icon {
    font-size: 40px;
    margin-bottom: 10px;
    display: block;
    animation: bounce 2s infinite;
}

.step-number {
    position: absolute;
    top: -10px;
    left: -10px;
    background: #ff6b00;
    color: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.subtitle {
    text-align: center;
    font-size: 16px;
    color: #d6e3f0;
    margin-bottom: 30px;
}

.step p {
    font-size: 1rem;
    color: #d6e3f0; /* lighter text for readability */
}

/* Responsive */
@media (max-width: 768px) {
    .steps {
        flex-direction: column;
        align-items: center;
    }
}

.how-it-works .cta-btn {
    display: inline-block;
    margin-top: 40px;
    padding: 15px 30px;
    background: linear-gradient(45deg, #66c0f4, #1b95e0);
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
    position: relative;
}

.how-it-works .cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: auto; /* Allow scrolling if image is large */
}
.modal-content {
    background: #111;
    border-radius: 8px;
    padding: 10px;
    max-width: 90vw; /* Tighter fit on mobile */
    max-height: 90vh;
    overflow: hidden; /* Prevent internal overflow */
    position: relative;
}
.modal img {
    max-width: 100%;
    max-height: 80vh; /* Limit height to avoid vertical overflow */
    height: auto;
    display: block;
    margin: 0 auto;
}
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* Mobile-specific */
@media (max-width: 768px) {
    .modal-content {
        width: 95vw; /* Almost full width */
        height: auto;
        padding: 5px;
    }
    .modal img {
        width: 100%; /* Force full width scaling */
        height: auto;
        object-fit: contain; /* Prevent cropping */
    }
}

/* BTN FOR MODAL*/
/* BTN FOR MODAL */
.openModalBtn {
  background: linear-gradient(180deg, #3b82f6, #1e3a8a);
  color: #fff;
  border: none;
  padding: 10px 22px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.openModalBtn:hover {
  background: linear-gradient(180deg, #2563eb, #1e40af);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.35);
}

.openModalBtn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
/* end */

/*end*/

.faq {
    background-color: #f8f8f8;
    padding: 6rem 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.faq.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 2rem;
}

.faq-group h3 {
    font-size: 24px;
    margin-bottom: 1rem;
    color: #222;
}

.faq-item {
    border-bottom: 1px solid #ccc;
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    padding: 0.75rem 0;
    cursor: pointer;
    color: #111;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 20px;
    transition: transform 0.3s;
}

.faq-question.active::after {
    content: '−';
}

.faq-answer {
    display: none;
    padding: 0.5rem 0 1rem 0;
    color: #444;
    font-size: 16px;
}

.faq-answer p {
    margin: 0;
}

#players .slider-container {
    overflow: visible; /* Remove hidden overflow so all cards can be seen without clipping */
}

#players .slider-track {
    justify-content: center; /* Center the cards horizontally */
    flex-wrap: wrap; /* Allow cards to wrap on smaller screens */
    transition: none; /* Optional: Remove slide transition since we're not sliding */
}


/* DOT INDICATORS */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 2rem;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}
.slider-dot.active {
  background: #66c0f4;
  transform: scale(1.3);
  box-shadow: 0 0 10px #66c0f4;
}
.slider-dot:hover {
  background: #4ab3e2;
}

/* FLASHY NEON BUTTON */
.neon-btn {
  position: relative;
  display: inline-block;
  padding: 16px 44px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  background: #1b2838;
  border: 3px solid #66c0f4;
  border-radius: 12px;
  text-transform: uppercase;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  transition: all 0.4s ease;
  box-shadow: 
    0 0 20px #66c0f4,
    0 0 40px rgba(102,192,244,.6),
    inset 0 0 20px rgba(102,192,244,.2);
  animation: pulseGlow 2s infinite alternate;
}

.neon-btn:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 
    0 0 50px #66c0f4,
    0 0 100px rgba(102,192,244,.8),
    inset 0 0 30px rgba(255,255,255,.3);
}

/* Four moving light streaks */
.neon-btn span {
  position: absolute;
  background: #66c0f4;
  transform: translate(-50%,-50%);
  pointer-events: none;
  border-radius: 50%;
  animation: neonFlow 4s linear infinite;
  box-shadow: 0 0 20px #66c0f4;
}
.neon-btn span:nth-child(1) { width: 100%; height: 4px; top: 0;    left: -100%; animation-duration: 3s; }
.neon-btn span:nth-child(2) { width: 100%; height: 4px; bottom: 0; left: 100%;  animation-duration: 3.5s; }
.neon-btn span:nth-child(3) { width: 4px; height: 100%; left: 0;   top: -100%; animation-duration: 2.8s; }
.neon-btn span:nth-child(4) { width: 4px; height: 100%; right: 0;  top: 100%;  animation-duration: 3.2s; }

/* Pulsing glow */
@keyframes pulseGlow {
  0%   { box-shadow: 0 0 20px #66c0f4, 0 0 40px rgba(102,192,244,.6), inset 0 0 20px rgba(102,192,244,.2); }
  100% { box-shadow: 0 0 30px #66c0f4, 0 0 70px rgba(102,192,244,.9), inset 0 0 30px rgba(255,255,255,.4); }
}

/* Moving light streaks */
@keyframes neonFlow {
  0%   { transform: translate(-50%,-50%) translateX(0); }
  100% { transform: translate(-50%,-50%) translateX(200%); }
}

/* CONTACT PAGE – FULL CYBER-STEAM MODE */
.contact-page { background: #0f0c29; color: #fff; overflow-x:hidden; }
.contact-hero { 
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
@keyframes gradientShift { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }

.glitch {
  font-size: 4.5rem;
  font-weight: 900;
  text-transform: uppercase;
  position: relative;
  animation: glitch 3s infinite;
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.glitch::before { animation: glitch-1 0.5s infinite; clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%); }
.glitch::after  { animation: glitch-2 0.5s infinite; clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%); }
@keyframes glitch { 0%,100%{transform:translate(0)} 20%{transform:translate(-5px,5px)} 40%{transform:translate(5px,-5px)} }
@keyframes glitch-1 { 0%,100%{left:0} 30%{left:-3px} 60%{left:3px} }
@keyframes glitch-2 { 0%,100%{left:0} 30%{left:3px} 60%{left:-3px} }

.typewriter {
  font-size: 1.6rem;
  overflow: hidden;
  border-right: 4px solid #66c0f4;
  white-space: nowrap;
  animation: typing 4s steps(40) forwards, blink 0.7s infinite;
}
@keyframes typing { from{width:0} to{width:100%} }
@keyframes blink { 50%{border-color:transparent} }

.neon-text {
  text-shadow: 0 0 20px #66c0f4, 0 0 40px #66c0f4;
  animation: neonPulse 2s infinite alternate;
}
@keyframes neonPulse { from{ text-shadow:0 0 20px #66c0f4} to{ text-shadow:0 0 40px #66c0f4, 0 0 60px #66c0f4} }

/* MEGA BUTTONS */
.mega-btn {
  padding: 20px 50px;
  font-size: 1.8rem;
  position: relative;
  overflow: hidden;
  border: 4px solid #66c0f4;
}
.mega-btn span { position: relative; z-index: 2; }
.mega-btn .spark {
  position: absolute;
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  animation: sparkMove 2s infinite;
}
@keyframes sparkMove {
  0%   { transform: translate(-50%,-50%) scale(0); opacity: 1; }
  100% { transform: translate(-50%,-50%) translate(200px, -200px) scale(1); opacity: 0; }
}

/* CYBER FORMS */
.form-glow {
  background: rgba(10,20,40,0.7);
  padding: 40px;
  border-radius: 20px;
  border: 2px solid #66c0f4;
  box-shadow: 0 0 40px rgba(102,192,244,0.6);
  max-width: 600px;
  margin: 40px auto;
  animation: float 6s infinite ease-in-out;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-20px)} }

.form-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 30px;
  color: #66c0f4;
  text-shadow: 0 0 20px currentColor;
}

.cyber-form input,
.cyber-form textarea,
.cyber-form select {
  width: 100%;
  padding: 14px;
  margin: 12px 0;
  background: rgba(255,255,255,0.1);
  border: 2px solid #66c0f4;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s;
}
.cyber-form input:focus,
.cyber-form textarea:focus,
.cyber-form select:focus {
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 20px #66c0f4;
  background: rgba(255,255,255,0.2);
}
.price-box {
  background: #1b2838;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #66c0f4;
  margin: 15px 0;
  box-shadow: 0 0 20px #66c0f4;
}

/* ——— CONTACT PAGE UPGRADE ——— */
.contact-page { background:#0f0c29; overflow-x:hidden; }
.contact-hero {
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  min-height: 80vh;
}
@keyframes gradientShift { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }

.glitch { font-size:4.5rem; font-weight:900; position:relative; animation:glitch 3s infinite; }
.glitch::before,.glitch::after { content:attr(data-text); position:absolute; top:0; left:0; width:100%; height:100%; }
.glitch::before { animation:glitch-1 0.5s infinite; clip-path:polygon(0 0,100% 0,100% 33%,0 33%); }
.glitch::after  { animation:glitch-2 0.5s infinite; clip-path:polygon(0 67%,100% 67%,100% 100%,0 100%); }
@keyframes glitch { 0%,100%{transform:translate(0)} 20%{transform:translate(-5px,5px)} 40%{transform:translate(5px,-5px)} }
@keyframes glitch-1 { 0%,100%{left:0} 30%{left:-3px} 60%{left:3px} }
@keyframes glitch-2 { 0%,100%{left:0} 30%{left:3px} 60%{left:-3px} }

.typewriter { font-size:1.6rem; overflow:hidden; border-right:4px solid #66c0f4; white-space:nowrap; animation:typing 4s steps(40) forwards, blink 0.7s infinite; }
@keyframes typing { from{width:0} to{width:100%} }
@keyframes blink { 50%{border-color:transparent} }

.mega-btn { padding:20px 50px; font-size:1.8rem; position:relative; overflow:hidden; border:4px solid #66c0f4; }
.mega-btn .spark { position:absolute; width:8px; height:8px; background:#fff; border-radius:50%; pointer-events:none; animation:sparkMove 2s infinite; left:50%; top:50%; }
@keyframes sparkMove { 0%{transform:scale(0); opacity:1} 100%{transform:translate(100px,-100px) scale(1); opacity:0} }

.form-glow {
  background:rgba(10,20,40,.8);
  padding:40px; border-radius:20px;
  border:2px solid #66c0f4; box-shadow:0 0 40px rgba(102,192,244,.6);
  max-width:600px; margin:40px auto;
  animation:float 6s infinite ease-in-out;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-20px)} }

.form-glow input,
.form-glow textarea,
.form-glow select {
  background:rgba(255,255,255,.1);
  border:2px solid #66c0f4;
  color:#fff; border-radius:10px;
  padding:14px; margin:12px 0; width:100%;
}
.form-glow input:focus,
.form-glow textarea:focus,
.form-glow select:focus {
  outline:none; border-color:#fff; box-shadow:0 0 20px #66c0f4;
}

.price-box {
  background:#1b2838; padding:15px; border-radius:10px;
  text-align:center; font-size:1.5rem; font-weight:bold;
  color:#66c0f4; margin:15px 0; box-shadow:0 0 20px #66c0f4;
}

.typewriter-container {
  text-align: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  max-width: 90vw;
  margin: 2rem auto;
}
.type-line {
  display: block;
  color: #fff;
  font-size: 1.8rem;
  overflow: hidden;
  border-right: 4px solid #66c0f4;
  white-space: nowrap;
  width: 0;
  margin: 0.6rem auto;
  opacity: 1; /* Start visible */
}
.type-line.final {
  font-size: 3.2rem !important;
  color: #66c0f4;
  text-shadow: 0 0 30px #66c0f4;
  font-weight: 900;
  letter-spacing: 2px;
}
@keyframes type {
  from { width: 0 }
  to { width: 100% }
}
@keyframes blink {
  50% { border-color: transparent }
}

/* KEYFRAMES — MUST BE HERE */
@keyframes type { to { width: 100% } }
@keyframes blink { 50% { border-color: transparent } }

/* Hide mobile fallback by default */
.type-line-mobile {
    display: none;
}

/* Only show on mobile screens */
@media (max-width: 768px) {
    .type-line, .type-line-container {
        display: none; /* hide original typing effect */
		margin-bottom:-150px;
    }

    .type-line-mobile {
        display: block; /* show mobile version */
        font-size: 1rem; /* adjust for readability */
        line-height: 1.4; /* spacing between lines */
        width: 100%;
        padding: 0.5rem 1rem; /* optional padding */
        box-sizing: border-box;
        word-break: break-word; /* prevent overflow */
    }

    .type-line-mobile.final {
        font-weight: bold; /* highlight the last line */
    }
}

/* Container tweaks */
    .unified-form-wrapper {
      max-width: 1100px;
      margin: 40px auto;
      padding: 30px;
      background: linear-gradient(180deg, #ffffff 0%, #f3fbff 100%);
      border-radius: 14px;
      box-shadow: 0 12px 30px rgba(10,40,70,0.06);
    }

    .unified-top {
      display:flex;
      gap: 24px;
      align-items: flex-start;
      flex-wrap:wrap;
      margin-bottom: 24px;
    }

    .unified-left {
      flex: 1 1 420px;
      min-width: 280px;
    }

    .unified-right {
      width: 360px;
      min-width: 260px;
    }

    .unified-left h2, .unified-right h3 {
      margin-bottom: 10px;
      color: #0a3d62;
    }

    .note {
      font-size: 0.95rem;
      color:#475b6b;
      margin-bottom: 12px;
    }

    label {
      display:block;
      font-weight:600;
      margin-bottom:8px;
      color:#163445;
    }

    .inline-row {
      display:flex;
      gap:12px;
      align-items:center;
    }

    .small {
      font-size:0.9rem;
      color:#475b6b;
    }

    input[type=text], input[type=email], input[type=number], textarea, select, input[type=date] {
      width:100%;
      padding:10px 12px;
      border-radius:8px;
      border:1px solid #d6e6f6;
      background:#fff;
      font-size:0.95rem;
      margin-bottom:14px;
      box-sizing:border-box;
    }

    textarea { min-height:120px; resize:vertical; }

    .price-badge {
      display:inline-block;
      background:linear-gradient(90deg,#66c0f4,#4ab3e2);
      color:#fff;
      padding:6px 10px;
      border-radius:8px;
      font-weight:700;
      font-size:0.95rem;
    }

    .services-list {
      margin: 8px 0 16px 0;
      display:flex;
      flex-direction:column;
      gap:8px;
    }

    .services-list option { padding:6px; }

    .player-only {
      background:#f7fbff;
      padding:10px;
      border-radius:8px;
      border:1px dashed rgba(74,144,226,0.18);
      margin-bottom:14px;
    }

    .summary {
      background:#fff;
      padding:14px;
      border-radius:8px;
      box-shadow:0 6px 18px rgba(20,50,80,0.04);
      margin-top:8px;
      font-size:0.95rem;
    }

    .submit-row {
      display:flex;
      gap:12px;
      flex-wrap:wrap;
      margin-top:18px;
      align-items:center;
    }

    .btn.primary {
      background:linear-gradient(180deg,#1b2838,#24384a);
      color:white;
      padding:12px 20px;
      border-radius:8px;
      border:none;
      font-weight:700;
      cursor:pointer;
    }

    .btn.ghost {
      background:transparent;
      color:#1b2838;
      padding:10px 16px;
      border-radius:8px;
      border:1px solid #d6e6f6;
      cursor:pointer;
    }

    .hint {
      font-size:0.85rem;
      color:#5b6f80;
    }

    /* Responsive */
    @media (max-width: 900px) {
      .unified-top { flex-direction:column; }
      .unified-right { width:100%; }
    }
	
	
	.form-input {
  width:100%;
  padding:10px 12px;
  border-radius:8px;
  border:1px solid #d6e6f6;
  background:#fff;
  font-size:0.95rem;
  box-sizing:border-box;
  transition: all 0.2s;
}
.form-input:focus {
  outline: none;
  border-color: #66c0f4;
  box-shadow: 0 0 0 3px rgba(102,192,244,0.2);
}
/* Hamburger button */
.hamburger {
    display: none; /* hidden by default */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
	position: relative;
    z-index: 2000;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #fff; /* change to your nav text color */
    border-radius: 2px;
    transition: 0.3s;
}

/* Mobile styles */
@media (max-width: 768px) {
    .nav-links {
        display: flex;              /* <-- Add this line */
        flex-direction: column;
        align-items: center;        /* Centers the items horizontally */
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        height: 100vh;
        background-color: #1b2838;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
        padding-top: 60px;
        overflow-y: auto;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .hamburger {
        display: flex;
    }
}

.hamburger.toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.toggle span:nth-child(2) {
    opacity: 0;
}
.hamburger.toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 15px; /* Shorter */
        font-size: 2rem; /* Smaller h1 */
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 1rem;
    }
}

css@media (max-width: 768px) {
    h2 {
        font-size: 1.5rem;
    }
    p, li {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .services, .how-it-works, .projects, .trusted, .faq {
        padding: 40px 15px;
    }
    .dev-service-grid {
        grid-template-columns: 1fr; /* Stack cards */
    }
}

@media (max-width: 768px) {
    .service-card, .project-card, .testimonial {
        width: 100%;
        max-width: none;
    }
}

/* ====================== DEV SERVICES SECTION - FINAL PREMIUM VERSION ====================== */
.dev-services {
  position: relative;
  background: linear-gradient(180deg, #e9f4fb 0%, #cde7f7 100%);
  color: #0b1a2a;
  padding: 140px 20px 100px;
  text-align: center;
  overflow: hidden;
}

.dev-section-title {
  font-size: 30px;
  margin-bottom: 20px;
}

.dev-intro {
  font-size: 22px;
  max-width: 900px;
  margin: 0 auto 60px;
  line-height: 1.5;
  color: #2c5470;
}

.gradient-text {
  background: linear-gradient(90deg, #66c0f4, #74e0b5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.dev-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 50px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: stretch;
}

/* Card Base */
.dev-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, #ffffff, #f5fbff);
  padding: 50px 35px 40px;
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(10,40,70,0.1);
  transition: all 0.45s ease;
  overflow: hidden;
}

.dev-service-card:hover {
  transform: translateY(-20px) scale(1.04);
  box-shadow: 0 25px 50px rgba(102,192,244,0.35);
}

.dev-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at top right, rgba(102,192,244,0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}

.dev-service-card:hover::before {
  opacity: 1;
}

/* Top colored bar */
.card-top-border {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 10px;
  border-radius: 24px 24px 0 0;
}

.dev-blue { background: linear-gradient(90deg, #66c0f4, #4a90e2); }
.dev-teal { background: linear-gradient(90deg, #4ecdc4, #17b978); }

/* Titles */
.card-title-gradient {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(90deg, #66c0f4, #74e0b5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.dev-card-players .card-title-gradient {
  background: linear-gradient(90deg, #4ecdc4, #3fa7d6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Floating Image */
.dev-service-img {
  width: 240px;
  margin: -45px auto 28px;
  filter: drop-shadow(0 12px 25px rgba(0,0,0,0.18));
  transition: transform 0.4s ease;
  z-index: 2;
}

.dev-service-card:hover .dev-service-img {
  transform: translateY(-10px) scale(1.08);
}

/* Checkmark List */
.service-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 40px;
  text-align: left;
  flex-grow: 1; /* This pushes the button to the bottom */
}

.service-list li {
  position: relative;
  padding-left: 42px;
  margin-bottom: 18px;
  font-size: 1.08rem;
  line-height: 1.5;
  transition: all 0.3s ease;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 1.5em;
  font-weight: 900;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(102,192,244,0.18);
  color: #66c0f4;
}

.dev-card-players .service-list li::before {
  background: rgba(78,205,196,0.18);
  color: #17b978;
}

.service-list li:hover {
  transform: translateX(8px);
  color: #0a3d62;
}

/* Buttons - Premium Neon Style */
.dev-btn {
  align-self: center;
  margin-top: auto;
  padding: 16px 36px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.dev-btn {
  background: linear-gradient(90deg, #66c0f4, #4ab3e2);
  color: white;
}

.dev-btn-secondary {
  background: linear-gradient(90deg, #4ecdc4, #17b978);
}

.dev-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(102,192,244,0.5);
}

.neon-btn::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
  transform: translateX(-100%) rotate(45deg);
  transition: transform 0.7s;
}

.neon-btn:hover::after {
  transform: translateX(100%) rotate(45deg);
}

/* Mobile Fixes */
@media (max-width: 768px) {
  .dev-services {
    padding: 100px 15px 80px;
  }
  .dev-service-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .dev-service-img {
    width: 200px;
    margin: -35px auto 20px;
  }
  .dev-service-card {
    padding: 60px 25px 40px;
  }
  .card-title-gradient {
    font-size: 1.55rem;
  }
}

/* --- Force logo link to inherit navbar styles and remove blue underline --- */
.navbar .logo a {
    color: #fff !important;           /* White text */
    text-decoration: none !important; /* Remove underline */
    display: inline-flex;             /* Align img + text */
    align-items: center;
    gap: 6px;
}

/* Hover effect matching nav links */
.navbar .logo a:hover {
    color: #4a90e2 !important;
    text-decoration: none !important;
}

/* Ensure pseudo-elements are removed */
.navbar .logo a::after,
.navbar .logo a::before {
    content: none !important;
    display: none !important;
}

/* Image inside logo */
.navbar .logo a img {
    display: inline-block;
    border: none !important;
    vertical-align: middle;
    width: 22px;
    height: auto;
}

