
/* ===== CSS Variables ===== */
:root {
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --secondary: #8b5cf6;
    --background: #ffffff;
    --foreground: #0f172a;
    --muted: #f1f5f9;
    --muted-foreground: #64748b;
    --border: #e2e8f0;
    --card: #ffffff;
    --card-hover: #f8fafc;
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== Header Styles ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.desktop-nav {
    display: none;
    gap: 2rem;
}

.nav-link {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.cta-button-wrapper {
    display: none;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger {
    width: 30px;
    height: 3px;
    background-color: var(--foreground);
    transition: all 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--foreground);
    transition: all 0.3s;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(5px);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background-color: var(--background);
    border-top: 1px solid var(--border);
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav .nav-link {
    display: block;
    padding: 0.75rem;
    font-size: 1rem;
}

.mobile-nav .btn {
    margin-top: 1rem;
    width: 100%;
}

/* ===== Button Styles ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.icon-arrow,
.icon-play {
    width: 20px;
    height: 20px;
}

/* ===== Hero Section ===== */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.hero-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.75;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

/* ===== Services Section ===== */
.services {
    padding: 5rem 0;
    background-color: rgba(241, 245, 249, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.section-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 2rem;
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.service-icon svg {
    color: var(--primary);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.service-description {
    line-height: 1.75;
    color: var(--muted-foreground);
}

/* ===== Portfolio Section ===== */
.portfolio {
    padding: 5rem 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.portfolio-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s;
}

.portfolio-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}
.portfolio-image {
  width: 100%;
  aspect-ratio: 16/10;         /* Modern equal grid look; removes fixed px issues */
  background-color: #e5e7eb;   /* Light BG, jab tak image load ho */
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;   /* Soft border; color apni theme ke hisaab se set karo */
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* Sabhi images perfect crop/grid mein aayenge */
  border-radius: 12px;         /* Corner round ho jaayenge */
  display: block;
  background: #e5e7eb;
  transition: transform 0.27s ease;
}

.portfolio-image img:hover {
  transform: scale(1.028);     /* Zoom hover effect; optional */
}



.portfolio-content {
    padding: 1.5rem;
}

.portfolio-category {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.portfolio-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.portfolio-description {
    line-height: 1.75;
    color: var(--muted-foreground);
}

.portfolio-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ===== About Section ===== */
.about {
    padding: 5rem 0;
    background-color: rgba(241, 245, 249, 0.3);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
}

.about-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.about-text {
    margin-bottom: 1rem;
    line-height: 1.75;
    color: var(--muted-foreground);
}

.about-story .btn {
    margin-top: 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

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

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  box-shadow: 0 4px 16px rgba(52, 64, 84, .07);
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 600px) {
  .team-avatar {
    width: 60px;
    height: 60px;
  }
}


.team-name {
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ===== Testimonials ===== */
.testimonials {
    margin-top: 5rem;
}

.testimonials-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--foreground);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.rating {
    margin-bottom: 1rem;
}

.star {
    color: var(--primary);
    font-size: 1.25rem;
}

.testimonial-text {
    line-height: 1.75;
    color: var(--foreground);
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.author-name {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.author-company {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ===== Contact Section ===== */
.contact {
    padding: 5rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 500;
    color: var(--foreground);
}

.form-input,
.form-textarea {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-textarea {
    resize: vertical;
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 0.5rem;
}

.contact-icon svg {
    color: var(--primary);
}

.contact-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.contact-value {
    color: var(--muted-foreground);
}

.social-links {
    margin-top: 2rem;
}

.social-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.social-buttons {
    display: flex;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    color: var(--foreground);
    text-decoration: none;
    transition: all 0.3s;
}

.social-btn:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--card);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    grid-column: span 1;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-description {
    max-width: 28rem;
    line-height: 1.75;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-heading {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-list a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-list a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.copyright {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--primary);
}

/* ===== Responsive Design ===== */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .desktop-nav {
        display: flex;
    }

    .cta-button-wrapper {
        display: block;
    }

    .mobile-menu-btn {
        display: none;
    }

    .mobile-nav {
        display: none !important;
    }

    .hero-title {
        font-size: 3.5rem;
    }

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

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .hero {
        padding: 8rem 0;
    }

    .hero-title {
        font-size: 4rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}




.portfolio-image img {
    width: 100%;       /* Image container ke width ke hisab se adjust */
    height: 250px;     /* Fixed height, aap change kar sakte hain */
    object-fit: cover; /* Image ko crop karke perfect fit banata hai without distortion */
    border-radius: 8px; /* Optional rounded corners */
}

.logo-icon img {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
}
@media (max-width: 768px) {
    .logo-icon img {
        max-width: 120px;
        height: auto;
    }
}

.footer-content {
  display: flex; flex-wrap: wrap; justify-content: flex-start;
  gap: 40px; align-items: flex-start;
}
.footer-brand { flex: 1 1 260px; min-width: 200px; max-width: 340px; }
.footer-links { flex: 1 1 160px; min-width: 120px; max-width: 210px; }
@media (max-width: 1024px) {.footer-content{gap:24px;}
  .footer-brand, .footer-links{min-width: 140px;max-width:unset;}
}
@media (max-width: 768px) {
  .footer-content{flex-direction:column;gap:32px;}
  .footer-brand, .footer-links{width:100%;min-width:unset;max-width:unset;}
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
.contact-map iframe {
  width: 100%;
  min-height: 250px;
  max-height: 400px;
  border-radius: 15px;
  border: 0;
  display: block;
}

.tools-section {
  background: #f7fafc;
  padding: 64px 0 48px 0;
}
.section-header { text-align: center; margin-bottom: 32px; }
.tools-categories-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  margin-top: 38px;
}
.tool-category-group {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(37, 99, 235, 0.09);
  padding: 26px 20px 20px 20px;
}
.category-heading {
  color: #2563eb;
  font-size: 22px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  font-weight: 700;
}
.tools-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.tools-list li {
  margin-bottom: 10px;
}
.tools-list a {
  color: #0f172a;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  transition: color 0.2s;
  padding-left: 4px;
}
.tools-list a:hover {
  color: #10b981;
  text-decoration: underline;
}
@media (max-width: 650px) {
  .tools-categories-list { grid-template-columns: 1fr; }
  .tool-category-group { padding: 18px 11px 11px 11px; }
}



#apex-ny-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.apex-popup-card {
  position: relative;
}

.close-icon {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  z-index: 10;
}


        /* --- CSS DESIGN SAME AS BEFORE --- */
        #apex-ny-overlay {
            display: flex;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.85);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(5px);
        }

        .apex-popup-card {
            background: radial-gradient(circle at center, #ffffff 0%, #f0f4f8 100%);
            width: 90%;
            max-width: 600px;
            border-radius: 30px;
            padding: 40px 20px;
            text-align: center;
            position: relative;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.8);
            border: 1px solid #e1e1e1;
            overflow: hidden;
            animation: popUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .bg-watermark {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-family: 'Playfair Display', serif;
            font-size: 5rem;
            color: rgba(0, 0, 0, 0.03);
            z-index: 0;
            white-space: nowrap;
            pointer-events: none;
        }

        .content-wrapper {
            position: relative;
            z-index: 2;
        }

        .welcome-text {
            font-family: 'Poppins', sans-serif;
            font-size: 0.9rem;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: #555;
            margin-bottom: 5px;
        }

        .cursive-text {
            font-family: 'Playfair Display', serif;
            font-style: italic;
            font-size: 2.5rem;
            color: #333;
            margin: 0;
            line-height: 1.2;
        }

        .big-3d-text {
            font-family: 'Poppins', sans-serif;
            font-size: 6rem;
            font-weight: 900;
            line-height: 1;
            margin: 10px 0;
            color: #2563eb;
            text-shadow:
                0 1px 0 #1d4ed8, 0 2px 0 #1d4ed8, 0 3px 0 #1d4ed8,
                0 4px 0 #1d4ed8, 0 5px 0 #1d4ed8,
                0 6px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1),
                0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2),
                0 5px 10px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.2),
                0 20px 20px rgba(0, 0, 0, 0.15);
            background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            -webkit-text-stroke: 1px rgba(212, 175, 55, 0.4);
        }

        .brand-name {
            font-family: 'Poppins', sans-serif;
            font-size: 1.1rem;
            font-weight: 700;
            color: #333;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-top: -10px;
            margin-bottom: 25px;
        }

        .timer-container {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 30px;
        }

        .timer-box {
            background: rgba(255, 255, 255, 0.9);
            border: 2px solid #e0e0e0;
            padding: 10px;
            border-radius: 12px;
            min-width: 60px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        }

        .timer-num {
            display: block;
            font-family: 'Poppins', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: #2563eb;
        }

        .timer-label {
            font-size: 0.7rem;
            text-transform: uppercase;
            color: #777;
        }

        .action-btn {
            background: linear-gradient(90deg, #2563eb, #1d4ed8);
            color: white;
            border: none;
            padding: 12px 40px;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
            transition: transform 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .action-btn:hover {
            transform: scale(1.05);
        }

        .close-icon {
            position: absolute;
            top: 20px;
            right: 25px;
            font-size: 24px;
            color: #999;
            cursor: pointer;
            z-index: 10;
        }

.star {
    position: absolute;
    color: #d4af37;
    font-size: 28px;
    opacity: 0.7;
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}

.s1 {
    top: 15%;
    right: 10%;
    animation-delay: 0s;
    font-size: 32px;
}

.s2 {
    bottom: 20%;
    left: 10%;
    animation-delay: 1.5s;
    font-size: 22px;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

        @media (max-width: 480px) {
            .big-3d-text {
                font-size: 3.5rem;
            }

            .cursive-text {
                font-size: 1.8rem;
            }

            .timer-box {
                min-width: 50px;
                padding: 5px;
            }

            .timer-num {
                font-size: 1.2rem;
            }
        }


/* TITLE */
#portfolio .portfolio-title {
  margin-top: 16px;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
}

/* DESCRIPTION */
#portfolio .portfolio-description {
  margin-top: 10px;
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
}

/* CTA */
#portfolio .portfolio-cta {
  margin-top: 80px;
  text-align: center;
}

#portfolio .btn-portfolio {
  padding: 16px 52px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  border-radius: 60px;
  background:
    linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow:
    0 12px 40px rgba(99,102,241,.55);
  text-decoration: none;
  transition: all .35s ease;
}

#portfolio .btn-portfolio:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 20px 60px rgba(99,102,241,.75);
}


        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f4f6f9;
            margin: 0;
            padding: 0;
            user-select: none;
        }

        .blog-section {
            padding: 60px 0;
            max-width: 100%;
            overflow: hidden;
        }

        .section-header {
            text-align: center;
            margin-bottom: 40px;
            padding: 0 20px;
        }

        .section-header h2 {
            font-size: 36px;
            color: #333;
            margin-bottom: 10px;
        }

        .blog-scroller {
            display: flex;
            overflow-x: auto;
            gap: 30px;
            padding: 20px 5%;
            cursor: grab;
            scrollbar-width: none;
            scroll-behavior: smooth;
            /* Smooth scrolling styling */
        }

        .blog-scroller::-webkit-scrollbar {
            display: none;
        }

        .blog-scroller.active {
            cursor: grabbing;
            cursor: -webkit-grabbing;
            scroll-behavior: auto;
        }

        .blog-card {
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            min-width: 320px;
            max-width: 320px;
            display: flex;
            flex-direction: column;
            transition: transform 0.3s;
            cursor: pointer;
        }

        .blog-card:hover {
            transform: translateY(-5px);
        }

        .blog-scroller.active .blog-card {
            transform: scale(0.98);
        }

        .blog-img-box {
            position: relative;
            height: 180px;
            width: 100%;
            pointer-events: none;
        }

        .blog-img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 12px 12px 0 0;
        }

        .category-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background: #007bff;
            color: #fff;
            padding: 4px 10px;
            border-radius: 4px;
            font-size: 11px;
            font-weight: bold;
        }

        .blog-content {
            padding: 20px;
            pointer-events: none;
        }

        .meta-info {
            font-size: 12px;
            color: #888;
            margin-bottom: 8px;
        }

        .blog-title {
            font-size: 18px;
            margin: 0 0 10px;
            color: #222;
        }

        .blog-excerpt {
            font-size: 14px;
            color: #555;
            margin-bottom: 15px;
        }

        .read-more-btn {
            color: #007bff;
            font-weight: 600;
            font-size: 14px;
            text-decoration: none;
        }

        /* --- New View All Button Styling --- */
        .view-all-container {
            text-align: center;
            margin-top: 40px;
            padding-bottom: 20px;
        }

        .view-all-btn {
            display: inline-block;
            background-color: #222;
            /* Dark button */
            color: #fff;
            padding: 12px 35px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }

        .view-all-btn:hover {
            background-color: #007bff;
            /* Hover par blue */
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(0, 123, 255, 0.3);
        }