/* ----- ROOT VARIABLES (Navy & Orange) ----- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #ff6b00;
    --primary-dark: #e05e00;
    --primary-light: #ff944d;
    --white: #ffffff;
    --dark: #0f172a;
    --darker: #0b1120;
    --light-bg: #f8f9fb;
    --gray: #64748b;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(255, 107, 0, 0.15);
    --glow: 0 0 20px rgba(255, 107, 0, 0.4);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-light));
    --gradient-reverse: linear-gradient(135deg, var(--primary-light), var(--primary));
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* ----- CUSTOM SCROLLBAR ----- */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}


/* ----- TYPOGRAPHY & UTILITIES ----- */

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding: 0 15px;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}


/* ----- SECTION TITLE with gradient animation ----- */

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
    transition: transform var(--transition-smooth);
}

.section-title:hover {
    transform: scale(1.02);
}

.section-title span {
    color: var(--primary);
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 107, 0, 0.2);
    z-index: -1;
    transition: height 0.3s;
}

.section-title:hover span::after {
    height: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.section-subtitle:hover {
    color: var(--dark);
}


/* ----- BUTTONS with gradient animation & pulse ----- */

.btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    background: var(--gradient-reverse);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 107, 0, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: none;
    animation: none;
}

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

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}


/* ----- TOP BAR ----- */

.top-bar {
    background: var(--darker);
    color: #ccc;
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 3px solid var(--primary);
    animation: slideDown 0.8s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-info {
    display: flex;
    gap: 20px;
}

.top-info i {
    color: var(--primary);
    margin-right: 5px;
    transition: transform 0.3s;
}

.top-info span:hover i {
    transform: scale(1.2) rotate(5deg);
}

.social-links a {
    margin-left: 15px;
    color: #ccc;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.social-links a:hover {
    color: var(--primary);
    transform: scale(1.2) rotate(5deg);
}


/* ----- HEADER / NAVBAR ----- */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background: var(--dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s;
}

.header:hover {
    box-shadow: 0 4px 30px rgba(255, 107, 0, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}


/* ----- LOGO (bigger, snug white background) ----- */

.logo {
    display: flex;
    align-items: center;
    background: none;
    /* remove white background */
    padding: 0;
    /* remove padding so no extra space */
    border-radius: 0;
    /* optional: remove rounded corners */
    box-shadow: none;
    /* optional: remove shadow if unwanted */
    transition: var(--transition-smooth);
}

.logo:hover {
    background: none;
    /* keep transparent on hover */
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.3);
    /* keep orange glow on hover if desired */
}

.logo img {
    height: 100px;
    width: auto;
    max-width: 100%;
    display: block;
    transition: transform 0.3s;
}

.logo:hover img {
    transform: scale(1.02);
}

.nav-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary);
    transition: transform 0.3s;
}

.nav-toggle:hover {
    transform: rotate(90deg);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    position: relative;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.95rem;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9);
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: width 0.4s ease;
}

.nav-menu a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-menu a:hover::after {
    width: 100%;
}


/* Pay Online special link (exclude underline) */

.pay-online-link::after {
    display: none;
}

.pay-online-link {
    background: var(--primary) !important;
    color: var(--dark) !important;
    padding: 8px 16px !important;
    border-radius: 30px;
    border-bottom: none !important;
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
    transition: var(--transition-smooth);
    font-weight: 600;
}

.pay-online-link i {
    font-size: 1rem;
    color: var(--dark);
    transition: transform 0.3s;
}

.pay-online-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.5);
    background: #ff944d !important;
}

.pay-online-link:hover i {
    transform: rotate(15deg);
}


/* ----- DROPDOWN (Two‑column layout) ----- */

.dropdown {
    position: relative;
}

.dropdown>a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown>a i {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.dropdown:hover>a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px) perspective(1000px) rotateX(-10deg);
    background: white;
    min-width: 480px;
    /* Wide enough for two columns */
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1000;
    border-top: 4px solid var(--primary);
    list-style: none;
    transform-origin: top;
    display: grid;
    /* Activate grid */
    grid-template-columns: repeat(2, 1fr);
    /* Two equal columns */
    column-gap: 20px;
    row-gap: 5px;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--primary);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) perspective(1000px) rotateX(0);
}

.dropdown-menu li {
    display: block;
    width: 100%;
    break-inside: avoid;
    /* Prevent items from splitting across columns */
}

.dropdown-menu a {
    padding: 10px 20px !important;
    font-size: 0.95rem;
    color: var(--dark) !important;
    border-bottom: none !important;
    white-space: nowrap;
    display: block;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 0, 0.1), transparent);
    transition: left 0.5s;
}

.dropdown-menu a:hover::before {
    left: 100%;
}

.dropdown-menu a:hover {
    color: var(--primary) !important;
    transform: translateX(8px);
    background: rgba(255, 107, 0, 0.05);
}


/* ----- HERO SECTION ----- */


/* ----- SERVICES SECTION ----- */

.services {
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

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

@media (max-width: 1100px) {
    .index-services .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .index-services .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light), var(--primary));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card::after {
    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.6s;
}

.service-card:hover::after {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02) rotateX(2deg) rotateY(2deg);
    background: white;
    color: inherit;
    border-color: transparent;
    box-shadow: var(--shadow-hover);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition-smooth);
    display: inline-block;
}

.service-card:hover i {
    color: var(--primary);
    transform: scale(1.1) rotate(5deg);
    animation: iconPulse 1s infinite;
}

@keyframes iconPulse {
    0% {
        text-shadow: 0 0 0 var(--primary);
    }
    50% {
        text-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary-light);
    }
    100% {
        text-shadow: 0 0 0 var(--primary);
    }
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
    transition: 0.4s;
}

.service-card:hover p {
    color: var(--dark);
}


/* ----- ABOUT SECTION ----- */

.about .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    position: relative;
    animation: float 6s infinite ease-in-out;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 107, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.about-image:hover .about-image-overlay {
    opacity: 1;
}

.about-image-overlay i {
    font-size: 3rem;
    color: white;
    background: rgba(0, 0, 0, 0.3);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
}

.about-image-overlay i:hover {
    transform: scale(1.1);
    background: var(--primary);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.about-content h2:hover {
    transform: translateX(5px);
}

.about-content h2 span {
    color: var(--primary);
}

.about-content p {
    color: var(--gray);
    margin-bottom: 20px;
    transition: color 0.3s;
}

.about-content p:hover {
    color: var(--dark);
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat {
    transition: transform 0.3s, text-shadow 0.3s;
}

.stat:hover {
    transform: translateY(-5px) scale(1.1);
    text-shadow: var(--glow);
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary);
}


/* ----- WHY CHOOSE US ----- */

.why-us {
    background: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--gradient-primary);
    transition: width 0.4s;
}

.feature:hover::after {
    width: 100%;
}

.feature:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.feature i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: transform 0.3s;
    display: inline-block;
}

.feature:hover i {
    transform: scale(1.2) rotate(5deg);
    animation: iconPulse 1s infinite;
}


/* ----- OUR FEATURED PRODUCTS (with images) ----- */

.featured-products {
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light), var(--primary));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.9), rgba(255, 107, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-content {
    padding: 20px;
    text-align: center;
}

.product-content h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.product-content p {
    color: var(--gray);
    margin-bottom: 0;
    line-height: 1.5;
}


/* ----- YOUR VISION OUR TEMPLATES (with image) ----- */

.templates-intro {
    background: var(--light-bg);
}

.template-showcase {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.template-info {
    flex: 1;
}

.template-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.template-info p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.template-features {
    list-style: none;
    margin-bottom: 30px;
}

.template-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--dark);
}

.template-features i {
    color: var(--primary);
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.template-features li:hover i {
    transform: scale(1.2);
}

.template-preview {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.template-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.3), rgba(255, 107, 0, 0.1));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
    pointer-events: none;
}

.template-preview:hover::before {
    opacity: 1;
}

.template-preview:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.template-preview img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.template-preview:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .template-showcase {
        flex-direction: column;
    }
}


/* ============= CHOOSE YOUR PERFECT TEMPLATE (with filter) ============= */

.template-section {
    background: var(--white);
    padding: 80px 0;
}

.tmpl-header .tmpl-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(255, 107, 0, 0.08);
    padding: 5px 18px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 14px;
}

.tmpl-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.tmpl-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tmpl-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--gray);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}


/* Filter Tabs */

.tmpl-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.tmpl-tab {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 9px 22px;
    border-radius: 50px;
    border: 2px solid #dde4f0;
    background: #fff;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tmpl-tab:hover,
.tmpl-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}


/* Template Grid */

.tmpl-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}


/* Template Card */

.tmpl-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f8;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tmpl-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255, 107, 0, 0.15);
    border-color: rgba(255, 107, 0, 0.2);
}

.tmpl-card.hidden {
    display: none;
}


/* Image Box */

.tmpl-img-box {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.tmpl-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.tmpl-card:hover .tmpl-img {
    transform: scale(1.1);
}


/* Overlay */

.tmpl-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 20, 50, 0.97) 0%, rgba(5, 20, 50, 0.8) 40%, rgba(5, 20, 50, 0.3) 100%);
    display: flex;
    align-items: flex-end;
    padding: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tmpl-card:hover .tmpl-overlay {
    opacity: 1;
}

.tmpl-overlay-inner {
    padding: 18px;
    width: 100%;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.tmpl-card:hover .tmpl-overlay-inner {
    transform: translateY(0);
}

.tmpl-badges-row {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.tmpl-badge-cat {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-light);
    background: rgba(255, 107, 0, 0.18);
    padding: 3px 10px;
    border-radius: 50px;
}

.tmpl-badge-hot {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    color: #ff9f1c;
    background: rgba(255, 159, 28, 0.15);
    padding: 3px 10px;
    border-radius: 50px;
}

.tmpl-badge-new {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(255, 107, 0, 0.15);
    padding: 3px 10px;
    border-radius: 50px;
}

.tmpl-ov-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 5px;
}

.tmpl-ov-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tmpl-ov-features {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 12px;
}

.tmpl-ov-features span {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 5px;
}

.tmpl-ov-features i {
    color: var(--primary-light);
    font-size: 0.75rem;
}


/* Overlay Action Buttons */

.tmpl-ov-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tmpl-ov-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.73rem;
    font-weight: 700;
    padding: 7px 15px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.tmpl-customize {
    background: var(--gradient-primary);
    color: #fff;
    flex: 1;
    justify-content: center;
}

.tmpl-customize:hover {
    color: #fff;
    transform: scale(1.03);
}

.tmpl-preview {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.tmpl-preview:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}


/* Card Footer */

.tmpl-foot {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tmpl-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.tmpl-type {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: var(--gray);
    display: block;
    margin-top: 2px;
}

.tmpl-quick-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 50px;
    background: rgba(255, 107, 0, 0.08);
    color: var(--primary);
    border: 1.5px solid rgba(255, 107, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tmpl-quick-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}


/* Bottom CTA Strip */

.tmpl-cta-strip {
    background: linear-gradient(135deg, var(--darker), var(--dark));
    border-radius: 20px;
    padding: 32px 40px;
    position: relative;
    overflow: hidden;
}

.tmpl-cta-strip::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.15), transparent 70%);
    border-radius: 50%;
}

.tmpl-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.tmpl-cta-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 5px;
}

.tmpl-cta-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.tmpl-cta-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 50px;
    background: var(--gradient-primary);
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.4);
}

.tmpl-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.5);
    color: #fff;
}


/* Credit Line */

.tmpl-credit {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: var(--gray);
    padding: 8px;
}

.tmpl-credit strong {
    color: var(--primary);
}


/* ============= OUR WORK BANNER ============= */

.our-work-banner {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 40%, #1a2a4a 70%, var(--darker) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}


/* Noise texture */

.owb-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}


/* Grid overlay */

.owb-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 107, 0, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 107, 0, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}


/* Animated floating shapes */

.owb-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: owbFloat 8s ease-in-out infinite;
}

.owb-shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 107, 0, 0.18);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.owb-shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(255, 148, 77, 0.14);
    bottom: -80px;
    right: -80px;
    animation-delay: -3s;
}

.owb-shape-3 {
    width: 200px;
    height: 200px;
    background: rgba(255, 200, 0, 0.1);
    top: 50%;
    left: 55%;
    animation-delay: -5s;
}

@keyframes owbFloat {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.05);
    }
}


/* Banner inner content */

.owb-inner {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 820px;
    padding: 0 24px;
}

.owb-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 0, 0.18);
    border: 1px solid rgba(255, 107, 0, 0.4);
    color: var(--primary-light);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.owb-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-light);
    border-radius: 50%;
    animation: owbPulse 1.5s ease-in-out infinite;
}

@keyframes owbPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.6);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 107, 0, 0);
    }
}

.owb-heading {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.owb-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.owb-accent-green {
    background: linear-gradient(90deg, var(--primary-light), #ffbb33);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.owb-sub {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.7;
}


/* Stats Row */

.owb-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px 24px;
    backdrop-filter: blur(10px);
}

.owb-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
}

.owb-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.owb-stat span:not(.owb-stat-label) {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-light);
}

.owb-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.owb-stat-div {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}


/* CTA Row */

.owb-cta-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.owb-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.owb-btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
}

.owb-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 0, 0.6);
    color: #fff;
}

.owb-btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.owb-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transform: translateY(-3px);
}


/* ============= OUR WORK PORTFOLIO GRID ============= */

.our-work-portfolio {
    background: var(--light-bg);
}

.owp-header .owp-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(255, 107, 0, 0.08);
    display: inline-block;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.owp-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.owp-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.owp-desc {
    font-family: 'Inter', sans-serif;
    color: var(--gray);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}


/* Portfolio Grid */

.owp-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 220px;
    gap: 18px;
}


/* Card sizes */

.owp-large {
    grid-column: span 7;
    grid-row: span 2;
}

.owp-medium {
    grid-column: span 5;
    grid-row: span 2;
}

.owp-small {
    grid-column: span 5;
    grid-row: span 1;
}


/* Layout arrangement (customized) */

.owp-card:nth-child(1) {
    grid-column: 1 / span 7;
}

.owp-card:nth-child(2) {
    grid-column: 8 / span 5;
}

.owp-card:nth-child(3) {
    grid-column: 8 / span 5;
}

.owp-card:nth-child(4) {
    grid-column: 1 / span 4;
}

.owp-card:nth-child(5) {
    grid-column: 5 / span 5;
    grid-row: span 2;
}

.owp-card:nth-child(6) {
    grid-column: 10 / span 3;
    grid-row: span 2;
}

.owp-card:nth-child(7) {
    grid-column: 1 / span 4;
}

.owp-card:nth-child(8) {
    grid-column: 1 / span 5;
}

.owp-card:nth-child(9) {
    grid-column: 6 / span 4;
}

.owp-card:nth-child(10) {
    grid-column: 10 / span 3;
}


/* Card base */

.owp-card {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.owp-img-wrap {
    position: relative;
    width: 100%;
    height: calc(100% - 44px);
    overflow: hidden;
}

.owp-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

.owp-card:hover .owp-img {
    transform: scale(1.12);
}


/* Shine sweep effect */

.owp-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.7s ease;
    pointer-events: none;
}

.owp-card:hover .owp-shine {
    transform: translateX(200%);
}


/* Overlay */

.owp-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 15, 35, 0.97) 0%, rgba(5, 15, 35, 0.7) 50%, rgba(5, 15, 35, 0.15) 100%);
    display: flex;
    align-items: flex-end;
    padding: 22px;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.owp-card:hover .owp-overlay {
    transform: translateY(0);
}

.owp-overlay-content {
    width: 100%;
}

.owp-cat-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-light);
    background: rgba(255, 107, 0, 0.15);
    padding: 3px 10px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 8px;
}

.owp-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.3;
}

.owp-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* Action Buttons */

.owp-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.owp-action-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    transform: translateY(10px);
    opacity: 0;
}

.owp-card:hover .owp-action-btn {
    transform: translateY(0);
    opacity: 1;
}

.owp-card:hover .owp-action-btn:nth-child(2) {
    transition-delay: 0.08s;
}

.owp-live {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

.owp-live:hover {
    transform: translateY(-2px) !important;
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.6);
}

.owp-portfolio {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    backdrop-filter: blur(5px);
}

.owp-portfolio:hover {
    background: rgba(255, 107, 0, 0.25);
    border-color: var(--primary);
    color: var(--primary-light);
    transform: translateY(-2px) !important;
}


/* Card Footer */

.owp-card-footer {
    height: 44px;
    background: #fff;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    border-top: 1px solid #eef2f8;
    transition: background 0.3s;
}

.owp-card:hover .owp-card-footer {
    background: #f0f6ff;
}

.owp-tech-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(255, 107, 0, 0.08);
    padding: 3px 10px;
    border-radius: 50px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.owp-card:hover .owp-tech-tag {
    background: rgba(255, 107, 0, 0.15);
}


/* View All Button */

.owp-view-all-btn {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    border-radius: 50px;
    background: var(--gradient-primary);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(255, 107, 0, 0.3);
}

.owp-view-all-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(255, 107, 0, 0.45);
    color: #fff;
}

.owp-view-all-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.owp-view-all-btn:hover i {
    transform: translateX(4px);
}


/* ----- TECHNOLOGIES & TOOLS (expanded) ----- */

.technologies {
    background: var(--light-bg);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.tech-item {
    background: white;
    padding: 20px 10px;
    text-align: center;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    animation: fadeInUp 0.8s ease backwards;
    position: relative;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light), var(--primary));
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.tech-item:hover::before {
    opacity: 1;
}

.tech-item:nth-child(1) {
    animation-delay: 0.1s;
}

.tech-item:nth-child(2) {
    animation-delay: 0.2s;
}

.tech-item:nth-child(3) {
    animation-delay: 0.3s;
}

.tech-item:nth-child(4) {
    animation-delay: 0.4s;
}

.tech-item:nth-child(5) {
    animation-delay: 0.5s;
}

.tech-item:nth-child(6) {
    animation-delay: 0.6s;
}

.tech-item:nth-child(7) {
    animation-delay: 0.7s;
}

.tech-item:nth-child(8) {
    animation-delay: 0.8s;
}

.tech-item:nth-child(9) {
    animation-delay: 0.9s;
}

.tech-item:nth-child(10) {
    animation-delay: 1s;
}

.tech-item:nth-child(11) {
    animation-delay: 1.1s;
}

.tech-item:nth-child(12) {
    animation-delay: 1.2s;
}

.tech-item:hover {
    transform: scale(1.08) translateY(-5px) rotateY(5deg);
    box-shadow: var(--shadow-hover);
    background: white;
}

.tech-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 10px;
    transition: transform 0.5s;
}

.tech-item:hover i {
    transform: rotate(360deg) scale(1.2);
    animation: iconPulse 1s infinite;
}

.tech-item h4 {
    font-weight: 600;
}


/* ----- PARTNERS SECTION ----- */

.partners {
    background: white;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-item {
    background: white;
    padding: 25px 15px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    text-align: center;
    transform-style: preserve-3d;
    position: relative;
}

.partner-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light), var(--primary));
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.partner-item:hover::before {
    opacity: 1;
}

.partner-item:hover {
    transform: scale(1.05) translateY(-5px) rotateY(5deg);
    box-shadow: var(--shadow-hover);
}

.partner-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 10px;
    transition: transform 0.5s;
}

.partner-item:hover i {
    transform: rotate(360deg) scale(1.2);
    animation: iconPulse 1s infinite;
}

.partner-item span {
    font-weight: 600;
    color: var(--dark);
    transition: color 0.3s;
}

.partner-item:hover span {
    color: var(--primary);
}


/* ----- TESTIMONIALS ----- */

.testimonials {
    background: var(--light-bg);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.testimonial-card i {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.testimonial-card:hover i {
    transform: scale(1.2);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s, border 0.3s;
    border: 2px solid transparent;
}

.testimonial-card:hover .client-info img {
    transform: scale(1.1);
    border-color: var(--primary);
}

.client-info h4 {
    transition: color 0.3s;
}

.testimonial-card:hover .client-info h4 {
    color: var(--primary);
}


/* ----- CONTACT CTA ----- */

.cta {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    padding: 80px 0;
    transition: background 0.3s, transform 0.3s;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}

.cta:hover {
    background: var(--gradient-reverse);
    transform: scale(1.01);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.cta .btn {
    background: white;
    color: var(--primary);
    border-color: white;
    margin-top: 20px;
    animation: none;
}

.cta .btn:hover {
    background: transparent;
    color: white;
    border-color: white;
}


/* ----- FOOTER ----- */

.footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 40px;
    border-top: 1px solid #1e293b;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    transition: transform 0.3s;
}

.footer-col:hover {
    transform: translateY(-5px);
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    font-weight: 600;
}

.footer-col h4::after {
    content: '';
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    position: absolute;
    bottom: -10px;
    left: 0;
    transition: width 0.3s;
}

.footer-col:hover h4::after {
    width: 80px;
}

.footer-logo {
    margin-bottom: 20px;
    background: none;
    padding: 5px;
    border-radius: 30px;
    display: inline-block;
    transition: var(--transition-smooth);
}

.footer-logo:hover {
    background: none;
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.3);
}

.footer-logo img {
    max-height: 90px;
    width: auto;
    display: block;
}

.company-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.contact-info i {
    color: var(--primary);
    width: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.contact-info p:hover i {
    transform: scale(1.2);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-smooth);
    display: inline-block;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 15px;
    color: white;
    font-size: 0.95rem;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    background: var(--primary);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    background: #ff944d;
    transform: scale(1.1) rotate(10deg);
}

.footer-social {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.4rem;
    transition: var(--transition-smooth);
    display: inline-block;
}

.footer-social a:hover {
    color: var(--primary);
    transform: translateY(-3px) scale(1.2);
}

.footer-bottom-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-weather {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-weather i {
    color: var(--primary);
    transition: transform 0.3s;
}

.footer-weather:hover i {
    transform: rotate(15deg) scale(1.2);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    text-align: right;
}

.footer-copyright i {
    transition: transform 0.3s;
    display: inline-block;
}

.footer-copyright:hover i {
    transform: scale(1.2);
}


/* ============ EXTRA EFFECTIVE HOVER ANIMATIONS ============ */


/* 1. 3D Tilt + Glow for all cards */

.service-card,
.product-card,
.tmpl-card,
.owp-card,
.tech-item,
.partner-item,
.feature,
.testimonial-card {
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.1), box-shadow 0.4s ease, border-color 0.3s ease;
    will-change: transform;
}

.service-card:hover,
.product-card:hover,
.tmpl-card:hover,
.owp-card:hover,
.tech-item:hover,
.partner-item:hover,
.feature:hover,
.testimonial-card:hover {
    transform: perspective(800px) rotateX(2deg) rotateY(2deg) translateY(-8px) scale(1.02);
    box-shadow: 0 30px 40px -10px rgba(255, 107, 0, 0.4), 0 0 0 2px rgba(255, 107, 0, 0.2);
}


/* 2. Icon shake on hover */

.service-card:hover i,
.product-card:hover i,
.feature:hover i,
.tech-item:hover i,
.partner-item:hover i,
.tmpl-card:hover .tmpl-ov-title i,
.owp-card:hover .owp-card-title i {
    animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shake {
    10%,
    90% {
        transform: translate3d(-1px, 0, 0) rotate(-1deg);
    }
    20%,
    80% {
        transform: translate3d(2px, 0, 0) rotate(2deg);
    }
    30%,
    50%,
    70% {
        transform: translate3d(-3px, 0, 0) rotate(-3deg);
    }
    40%,
    60% {
        transform: translate3d(3px, 0, 0) rotate(3deg);
    }
}


/* 3. Image zoom + subtle rotation */

.tmpl-card:hover .tmpl-img,
.owp-card:hover .owp-img,
.product-card:hover .product-image img {
    transform: scale(1.15) rotate(1deg);
    transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}


/* 4. Button ripple effect on hover */

.btn,
.tmpl-quick-btn,
.tmpl-ov-btn,
.owp-action-btn,
.owb-btn,
.tmpl-cta-btn {
    position: relative;
    overflow: hidden;
}

.btn::after,
.tmpl-quick-btn::after,
.tmpl-ov-btn::after,
.owp-action-btn::after,
.owb-btn::after,
.tmpl-cta-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.btn:hover::after,
.tmpl-quick-btn:hover::after,
.tmpl-ov-btn:hover::after,
.owp-action-btn:hover::after,
.owb-btn:hover::after,
.tmpl-cta-btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn span,
.tmpl-quick-btn span,
.tmpl-ov-btn span,
.owp-action-btn span,
.owb-btn span,
.tmpl-cta-btn span {
    position: relative;
    z-index: 1;
}


/* 5. Overlay slide-up with bounce (already defined for .owp-overlay) */

.owp-overlay {
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* 6. Glowing border pulse on template cards */

.tmpl-card {
    position: relative;
}

.tmpl-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff6b00, #ff944d, #ff6b00);
    opacity: 0;
    z-index: -2;
    transition: opacity 0.4s;
    animation: borderGlow 2s linear infinite;
}

.tmpl-card:hover::after {
    opacity: 1;
}

@keyframes borderGlow {
    0% {
        filter: blur(2px);
    }
    50% {
        filter: blur(4px);
    }
    100% {
        filter: blur(2px);
    }
}


/* 7. Floating badges bounce more */

.owb-badge {
    animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}


/* 8. Stat numbers count with pulse */

.owb-stat-num {
    display: inline-block;
    transition: transform 0.3s;
}

.owb-stat:hover .owb-stat-num {
    transform: scale(1.1);
    color: #ff944d;
}


/* 9. Section title underline grows with gradient */

.section-title span::after {
    background: linear-gradient(90deg, #ff6b00, #ff944d, #ff6b00);
    height: 4px;
    bottom: 0;
    transition: height 0.3s, opacity 0.3s;
}

.section-title:hover span::after {
    height: 10px;
    opacity: 0.8;
}


/* 10. Social icons spin and glow */

.social-links a {
    transition: transform 0.3s, color 0.3s, text-shadow 0.3s;
}

.social-links a:hover {
    transform: rotate(360deg) scale(1.2);
    text-shadow: 0 0 10px #ff6b00;
}


/* ----- RESPONSIVE ----- */

@media (max-width: 992px) {
    .nav-menu {
        gap: 15px;
    }
    .about .container {
        flex-direction: column;
    }
    .tmpl-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .owp-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: 200px;
    }
    .owp-card:nth-child(1) {
        grid-column: 1 / span 6;
        grid-row: span 2;
    }
    .owp-card:nth-child(2) {
        grid-column: 1 / span 3;
        grid-row: span 1;
    }
    .owp-card:nth-child(3) {
        grid-column: 4 / span 3;
        grid-row: span 1;
    }
    .owp-card:nth-child(4) {
        grid-column: 1 / span 3;
        grid-row: span 1;
    }
    .owp-card:nth-child(5) {
        grid-column: 4 / span 3;
        grid-row: span 2;
    }
    .owp-card:nth-child(6) {
        grid-column: 1 / span 3;
        grid-row: span 1;
    }
    .owp-card:nth-child(7) {
        grid-column: 1 / span 3;
        grid-row: span 1;
    }
    .owp-card:nth-child(8) {
        grid-column: 1 / span 6;
        grid-row: span 2;
    }
    .owp-card:nth-child(9) {
        grid-column: 1 / span 3;
        grid-row: span 1;
    }
    .owp-card:nth-child(10) {
        grid-column: 4 / span 3;
        grid-row: span 1;
    }
    .owb-stats {
        gap: 0;
        flex-wrap: wrap;
    }
    .owb-stat {
        padding: 8px 16px;
    }
    .owb-stat-div {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--dark);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: left 0.3s;
        z-index: 999;
        overflow-y: auto;
        gap: 10px;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    .nav-menu a {
        font-size: 1rem;
        padding: 15px 0;
        justify-content: center;
        white-space: normal;
        color: rgba(255, 255, 255, 0.9);
    }
    .pay-online-link {
        background: var(--primary) !important;
        color: var(--dark) !important;
        padding: 12px 20px !important;
        border-radius: 30px;
        width: auto;
        margin: 0 auto;
        display: inline-block;
    }
    /* Mobile dropdown: single column */
    .dropdown-menu {
        min-width: 240px;
        grid-template-columns: 1fr;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        background: #1e293b;
        padding: 0;
        margin: 5px 0;
        min-width: 100%;
        display: none;
    }
    .dropdown-menu a {
        color: white !important;
    }
    .dropdown-menu a:hover {
        color: var(--primary) !important;
    }
    .dropdown.active .dropdown-menu {
        display: block;
    }
    .dropdown>a i {
        transition: transform 0.3s;
    }
    .dropdown.active>a i {
        transform: rotate(180deg);
    }
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom-row {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .footer-copyright {
        text-align: center;
    }
    .newsletter-form {
        max-width: 100%;
    }
    .logo img {
        max-height: 55px;
    }
    .tmpl-grid {
        grid-template-columns: 1fr;
    }
    .tmpl-cta-content {
        flex-direction: column;
        text-align: center;
    }
    .owp-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 180px;
    }
    .owp-card {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
    .owp-card:nth-child(1),
    .owp-card:nth-child(8) {
        grid-column: span 2 !important;
        grid-row: span 1 !important;
    }
    .owb-heading {
        font-size: 1.6rem;
    }
    .owb-sub {
        font-size: 0.88rem;
    }
    .owb-stats {
        padding: 12px;
    }
    .owb-stat-num {
        font-size: 1.5rem;
    }
    .owb-stat {
        padding: 6px 12px;
    }
    .owp-overlay {
        transform: translateY(0);
        padding: 14px;
    }
    .owp-action-btn {
        opacity: 1;
        transform: translateY(0);
        font-size: 0.7rem;
        padding: 6px 12px;
    }
    .owp-card-desc {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .section-title {
        font-size: 2rem;
    }
}


/* ----- ADDITIONAL MICRO-INTERACTIONS ----- */

a,
button,
.service-card,
.tech-item,
.partner-item,
.feature,
.testimonial-card,
.tmpl-card,
.owp-card {
    cursor: pointer;
}

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

@keyframes tmplFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Floating WhatsApp Button */

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
    background: #128C7E;
    transform: scale(1.1) rotate(5deg);
    color: white;
}


/* ----- CERTIFICATIONS SECTION ----- */

.certifications {
    background: var(--white);
}

.cert-slider {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.cert-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    will-change: transform;
}

.cert-card {
    flex: 0 0 auto;
    width: 280px;
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid #eef2f8;
    transition: var(--transition-smooth);
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.cert-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.cert-card:hover i {
    transform: scale(1.1);
}

.cert-card h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.cert-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .cert-card {
        width: 220px;
        padding: 20px;
    }
    .cert-track {
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .cert-card {
        width: 180px;
        padding: 15px;
    }
}


/* ----- DROPDOWN (Two‑column) – MUST BE LAST ----- */

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px) perspective(1000px) rotateX(-10deg);
    background: white;
    min-width: 480px;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1000;
    border-top: 4px solid var(--primary);
    list-style: none;
    transform-origin: top;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 5px;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--primary);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) perspective(1000px) rotateX(0);
}

.dropdown-menu li {
    display: block;
    width: 100%;
    break-inside: avoid;
}

.dropdown-menu a {
    padding: 10px 20px !important;
    font-size: 0.95rem;
    color: var(--dark) !important;
    border-bottom: none !important;
    white-space: nowrap;
    display: block;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 0, 0.1), transparent);
    transition: left 0.5s;
}

.dropdown-menu a:hover::before {
    left: 100%;
}

.dropdown-menu a:hover {
    color: var(--primary) !important;
    transform: translateX(8px);
    background: rgba(255, 107, 0, 0.05);
}


/* Mobile override – single column */

@media (max-width: 768px) {
    .dropdown-menu {
        min-width: 240px;
        grid-template-columns: 1fr;
    }
}


/* ----- DROPDOWN (Two‑column with scroll) ----- */

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px) perspective(1000px) rotateX(-10deg);
    background: white;
    min-width: 480px;
    max-width: 90vw;
    /* optional: large screens par width limit */
    max-height: 70vh;
    /* viewport height ka 70% tak menu */
    overflow-y: auto;
    /* vertical scroll agar items zyada ho */
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 1000;
    border-top: 4px solid var(--primary);
    list-style: none;
    transform-origin: top;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 5px;
}


/* Mobile ke liye single column aur full width scroll */

@media (max-width: 768px) {
    .dropdown-menu {
        min-width: 100%;
        max-height: 50vh;
        /* mobile mein thoda chhota rakh sakte hain */
        grid-template-columns: 1fr;
    }
}


/* ----- OUR BEST SERVICES (from image) — 4 columns, 8 cards ----- */

.best-services {
    background: var(--light-bg);
    padding: 80px 0;
}

.best-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.best-service-card {
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: var(--shadow);
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.best-service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.best-service-card i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 12px;
    transition: transform 0.3s;
}

.best-service-card:hover i {
    transform: scale(1.1) rotate(3deg);
}

.best-service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
    line-height: 1.3;
}

.best-service-card p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.9rem;
    flex-grow: 1;
}

.best-service-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 5px;
}

.best-service-card ul li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--dark);
}

.best-service-card ul li i {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0;
    width: 18px;
    text-align: center;
}


/* Responsive */

@media (max-width: 1100px) {
    .best-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .best-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .best-services-grid {
        grid-template-columns: 1fr;
    }
}

.section-title span:not(.full-title) {
    display: inline;
    background: none;
    -webkit-text-fill-color: initial;
    color: orange;
}

.section-title span.full-title {
    color: orange;
    background: none;
    -webkit-text-fill-color: initial;
}


/* ===== CERTIFICATIONS SECTION – image only, no boxes ===== */

.certifications {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff8f2 0%, #fff3e8 50%, #ffe8cc 100%);
    overflow: hidden;
    position: relative;
}

.certifications::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.certifications::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.10) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.certifications .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 10px;
}

.certifications .section-title span {
    color: #ff6b00;
    position: relative;
}

.certifications .section-title span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff6b00, #ffa500);
    border-radius: 3px;
    opacity: 0.3;
}

.certifications .section-subtitle {
    text-align: center;
    color: #7a6a5a;
    font-size: 1rem;
    margin-bottom: 50px;
}


/* ----- slider container ----- */

.cert-slider {
    position: relative;
    overflow: hidden;
    padding: 16px 0;
}

.cert-slider::before,
.cert-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 3;
    pointer-events: none;
}

.cert-slider::before {
    left: 0;
    background: linear-gradient(to right, #fff8f2, transparent);
}

.cert-slider::after {
    right: 0;
    background: linear-gradient(to left, #fff8f2, transparent);
}

.cert-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: certScroll 35s linear infinite;
    align-items: center;
}

.cert-track:hover {
    animation-play-state: paused;
}

@keyframes certScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* ----- certificate card – image only, no box ----- */

.cert-card {
    flex: 0 0 220px;
    width: 220px;
    height: 300px;
    position: relative;
    cursor: default;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    transition: transform 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-6px);
}

.cert-img-wrap {
    width: 100%;
    height: 100%;
    display: block;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    pointer-events: none;
    line-height: 0;
    font-size: 0;
}

.cert-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* ensures the whole certificate is visible without cropping */
    object-position: center;
    display: block;
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
    margin: 0;
    padding: 0;
    border: none;
    vertical-align: top;
}


/* transparent overlay to block right‑click / save (kept) */

.cert-protect-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    background: transparent;
    cursor: default;
}