/* Dropdown menu styles */
.navbar-nav .dropdown-menu {
    border: 1px solid rgba(255, 109, 0, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

/* Hover to open dropdown on desktop */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        animation: dropdownFadeIn 0.25s ease;
    }
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-nav .dropdown-item {
    padding: 0.75rem 1.5rem;
    color: var(--dark-text);
    transition: all 0.3s ease;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item.active {
    background-color: rgba(255, 109, 0, 0.1);
    color: var(--primary-color);
    padding-left: 2rem;
}

.navbar-nav .dropdown-divider {
    margin: 0.5rem 0;
    border-color: rgba(255, 109, 0, 0.1);
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s;
}

#preloader.preloader-hide {
    opacity: 0;
    pointer-events: none;
}

#preloader .spinner-border {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 600px) {
    .zoom-modal-content-athistam {
        max-width: 98vw;
        max-height: 80vh;
    }

    #zoomedImgAthistam {
        max-width: 98vw;
        max-height: 60vh;
    }

    #customZoomCloseAthistam {
        font-size: 2.2rem;
        top: 6px;
        right: 6px;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 600px) {
    .zoom-modal-content-athistam {
        max-width: 98vw;
        max-height: 80vh;
    }

    #zoomedImgAthistam {
        max-width: 98vw;
        max-height: 60vh;
    }

    #customZoomCloseAthistam {
        font-size: 2.2rem;
        top: 6px;
        right: 6px;
        width: 36px;
        height: 36px;
    }
}

/* Athistam & co Logo Zoom Modal Styles */
#customZoomModalAthistam {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

#customZoomModalAthistam.active {
    display: flex;
}

.zoom-modal-content-athistam {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#zoomedImgAthistam {
    max-width: 80vw;
    max-height: 80vh;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

#customZoomCloseAthistam {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    font-size: 2rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

#customZoomCloseAthistam:hover {
    background: #d32f2f;
}

/* Custom Zoom Modal Styles */
#customZoomModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    overflow: auto;
}

#customZoomModal .zoom-modal-content {
    position: relative;
    display: inline-block;
    max-width: 96vw;
    max-height: 90vh;
    margin: 2vw auto;
}

#customZoomModal img {
    max-width: 96vw;
    max-height: 80vh;
    border-radius: 12px;
    display: block;
    margin: auto;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

#customZoomClose {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    z-index: 2;
    padding: 0 0.5rem;
    line-height: 1;
}

@media (max-width: 600px) {
    #customZoomModal .zoom-modal-content {
        max-width: 98vw;
        max-height: 80vh;
    }

    #customZoomModal img {
        max-width: 98vw;
        max-height: 60vh;
    }

    #customZoomClose {
        font-size: 2.2rem;
        top: 6px;
        right: 6px;
    }
}

/* Custom CSS for Hooks Tech */

:root {
    --primary-color: #FF6D00;
    --secondary-color: #FF8C33;
    --dark-text: #1A1A1A;
    --light-bg: #FFFFFF;
    --soft-gray: #F5F5F7;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --error-color: #dc3545;
    --border-radius: 16px;
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shining Button Animation */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-20deg);
    animation: shine-effect 3s infinite;
}

@keyframes shine-effect {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* Add to your assets/css/styles.css */
#preloader {
    transition: opacity 0.5s;
}

#preloader.preloader-hide {
    opacity: 0;
    pointer-events: none;
}

/* Typography */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-text);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #666;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2.2rem;
    }
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 109, 0, 0.1);
}

.navbar.scrolled {
    background: var(--light-bg);
    box-shadow: var(--shadow-soft);
}

.navbar-brand {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-text) !important;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
}

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

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(255, 109, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 109, 0, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 60px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

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

    100% {
        transform: translateX(100%);
    }
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    margin-bottom: 3rem;
}

.hero-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.hero-stats .stat-number::after,
.about-stats .stat-number::after {
    content: "+";
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

/* Coming Soon Page */
.coming-soon-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fff5f0 0%, #fff 100%);
    padding: 120px 0 2rem 0;
    /* Added top padding for fixed navbar */
    position: relative;
    overflow: hidden;
}

.floating-emojis {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.emoji {
    position: absolute;
    font-size: 2.5rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.7;
}

/* Specific positions and delays for emojis */
.emoji:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    font-size: 3rem;
}

.emoji:nth-child(2) {
    top: 15%;
    right: 15%;
    animation-delay: 1s;
    font-size: 2rem;
}

.emoji:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
    font-size: 2.5rem;
}

.emoji:nth-child(4) {
    bottom: 15%;
    right: 10%;
    animation-delay: 1.5s;
    font-size: 3rem;
}

.emoji:nth-child(5) {
    top: 50%;
    left: 5%;
    animation-delay: 3s;
    font-size: 2rem;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(255, 109, 0, 0.1);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.service-card p {
    color: #666;
    margin-bottom: 0;
}

/* Service Detail Cards */
.service-detail-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(255, 109, 0, 0.1);
}

.service-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-detail-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: #666;
}

.service-features i {
    color: var(--primary-color);
    margin-right: 0.75rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

/* Area Cards */
.area-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(255, 109, 0, 0.1);
}

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

.area-card h5 {
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.area-card p {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

/* Value Cards */
.value-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(255, 109, 0, 0.1);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.team-image {
    height: 250px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.team-info {
    padding: 1.5rem;
}

.team-info h5 {
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.team-info p {
    color: #666;
    margin-bottom: 1rem;
}

.team-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--soft-gray);
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
    color: var(--dark-text);
    margin: 0 0.25rem;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Testimonials */
/* Testimonials */
.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
    /* Add padding for shadow space */
}

/* Ensure track has height for absolute slides, OR use grid for overlapping */
.testimonial-track {
    position: relative;
    /* We need a minimum height or JS to set height, but for simplicity let's use a grid stack approach */
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
}

.testimonial-slide {
    grid-area: 1 / 1;
    /* Stack all slides on top of each other */
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    /* Simple slide in effect */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    /* Prevent clicking hidden slides */
    z-index: 0;
    display: block;
    /* Ensure they are part of layout but hidden */
    visibility: hidden;
    /* Fully hide from screen readers/tabs when not active */
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 2;
    visibility: visible;
}

/* Simple exit animations if needed, or just rely on the entry of the new one covering it */
.testimonial-slide.prev {
    transform: translateX(-20px);
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Softer, modern shadow */
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 109, 0, 0.1);
    border-color: rgba(255, 109, 0, 0.2);
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    perspective: 100px;
}

.stars i {
    animation: starTwinkle 2.5s ease-in-out infinite, starFloat 4s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.15s);
    transform-origin: center center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes starTwinkle {

    0%,
    100% {
        transform: scale(1) rotateZ(0deg);
        opacity: 1;
        filter: brightness(1);
    }

    25% {
        transform: scale(1.3) rotateZ(5deg);
        opacity: 0.9;
        filter: brightness(1.2);
    }

    50% {
        transform: scale(1.4) rotateZ(0deg);
        opacity: 0.8;
        filter: brightness(1.4);
    }

    75% {
        transform: scale(1.2) rotateZ(-5deg);
        opacity: 0.9;
        filter: brightness(1.1);
    }
}

@keyframes starFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-3px);
    }
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin: 1.5rem 0;
    color: #555;
    line-height: 1.8;
    position: relative;
    z-index: 2;
    animation: textReveal 1s ease-out 0.5s both;
}

@keyframes textReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(2px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 4rem;
    color: rgba(255, 109, 0, 0.3);
    font-family: serif;
    position: absolute;
    opacity: 0.4;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: quoteFloat 6s ease-in-out infinite;
}

.testimonial-content p::before {
    top: -1.5rem;
    left: -1.5rem;
    animation-delay: 0s;
}

.testimonial-content p::after {
    bottom: -2.5rem;
    right: -1.5rem;
    transform: rotate(180deg);
    animation-delay: 3s;
}

@keyframes quoteFloat {

    0%,
    100% {
        transform: translateY(0px) scale(1);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-5px) scale(1.1);
        opacity: 0.6;
    }
}

.testimonial-author {
    position: relative;
    z-index: 2;
    margin-top: 2rem;
    animation: authorSlideUp 1s ease-out 0.8s both;
}

@keyframes authorSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-author strong {
    color: var(--dark-text);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    position: relative;
}

.testimonial-author strong::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
}

.testimonial-slide.active .testimonial-author strong::after {
    width: 60%;
    animation: underlineExpand 1s ease-out 1.2s both;
}

@keyframes underlineExpand {
    0% {
        width: 0;
        opacity: 0;
    }

    100% {
        width: 60%;
        opacity: 1;
    }
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.testimonial-controls {
    text-align: center;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    position: relative;
}

.testimonial-controls button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(255, 109, 0, 0.3);
    backdrop-filter: blur(10px);
}

.testimonial-controls button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.testimonial-controls button i {
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-controls button:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 109, 0, 0.4);
}

.testimonial-controls button:hover i {
    transform: scale(1.1);
}

.testimonial-controls button:hover::before {
    width: 120%;
    height: 120%;
}

.testimonial-controls button:active {
    transform: scale(1.05) translateY(0px);
    transition: all 0.1s ease;
}

.testimonial-dots {
    text-align: center;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    z-index: 10;
    position: relative;
}

.dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 109, 0, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.dot.active,
.dot:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scale(1.4);
    box-shadow: 0 4px 15px rgba(255, 109, 0, 0.4);
}

.dot.active::before,
.dot:hover::before {
    width: 120%;
    height: 120%;
}

.dot.active {
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(255, 109, 0, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(255, 109, 0, 0.6), 0 0 20px rgba(255, 109, 0, 0.3);
    }
}

/* Mobile Testimonial Enhancements */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-content p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .testimonial-content p::before,
    .testimonial-content p::after {
        font-size: 2.5rem;
    }

    .testimonial-content p::before {
        top: -1rem;
        left: -1rem;
    }

    .testimonial-content p::after {
        bottom: -2rem;
        right: -1rem;
    }

    .testimonial-controls {
        margin-top: 1.5rem;
        gap: 0.5rem;
    }

    .testimonial-controls button {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .stars {
        font-size: 1rem;
        gap: 0.2rem;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 1.5rem 1rem;
    }

    .testimonial-content p::before,
    .testimonial-content p::after {
        font-size: 2rem;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .testimonial-slide {
        transition: opacity 0.5s ease;
        transform: none !important;
    }

    .stars i,
    .testimonial-content p::before,
    .testimonial-content p::after,
    .testimonial-author strong::after {
        animation: none;
    }
}

/* Pricing Cards */
.pricing-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    height: 100%;
    position: relative;
    border: 1px solid rgba(255, 109, 0, 0.1);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.pricing-featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
    margin: 2rem 0;
    z-index: 1;
}



.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h4 {
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.price span {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--primary-color);
    margin-right: 0.75rem;
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(255, 109, 0, 0.1);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.blog-category {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-date {
    color: #666;
    font-size: 0.9rem;
}

.blog-content h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.blog-content h3 a {
    color: var(--dark-text);
    text-decoration: none;
    transition: var(--transition);
}

.blog-content h3 a:hover {
    color: var(--primary-color);
}

.blog-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.blog-read-more:hover {
    color: var(--secondary-color);
}

/* Contact Form */
.contact-form-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 109, 0, 0.1);
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: 12px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 109, 0, 0.25);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.contact-info-section {
    background: var(--soft-gray);
    border-radius: var(--border-radius);
    padding: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h5 {
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.contact-details p {
    color: #666;
    margin: 0;
}

/* Map */
.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin: 2rem 0;
}

/* Newsletter */
.newsletter-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 109, 0, 0.1);
}

.newsletter-form .form-control {
    border-radius: 12px 0 0 12px;
    border: 2px solid #e9ecef;
    border-right: none;
}

.newsletter-form .btn {
    border-radius: 0 12px 12px 0;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.cta-banner p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-banner .btn {
    /* Animation removed to prevent blinking */
    animation: none !important;
}

@media (max-width: 768px) {
    .cta-banner h2 {
        font-size: 2rem;
    }

    .cta-banner p {
        font-size: 1rem;
    }
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer h5,
.footer h6 {
    color: white;
    margin-bottom: 1.5rem;
}

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

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-contact a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--secondary-color);
}

.footer-contact li {
    margin-bottom: 0.75rem;
    color: #ccc;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
    color: white;
    margin-right: 0.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.contact-info p {
    color: #ccc;
    margin-bottom: 0.75rem;
}

.contact-info i {
    color: var(--primary-color);
}

.contact-info a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--primary-color);
}

/* Accordion */
.accordion-item {
    border: 1px solid rgba(255, 109, 0, 0.1);
    border-radius: var(--border-radius) !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: white;
    color: var(--dark-text);
    font-weight: 600;
    border: none;
    padding: 1.5rem;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background: var(--soft-gray);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 109, 0, 0.25);
}

.accordion-body {
    padding: 1.5rem;
    background: white;
    color: #666;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Counter Animation */
.stat-number,
.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

/* Mobile Optimization for Blog Pages */
@media (max-width: 768px) {
    .blog-header {
        padding: 50px 0 40px;
        /* Reduced from 120px 0 60px */
    }

    .blog-header h1.display-4 {
        font-size: 2rem;
        /* Reduced for better mobile fit */
        font-weight: 800;
    }

    .blog-header .lead {
        font-size: 1rem;
    }

    .blog-content {
        padding: 0 1rem;
    }

    .blog-content h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }

    .blog-content h3 {
        font-size: 1.25rem;
    }

    .blog-content img {
        margin-bottom: 2rem !important;
        border-radius: 12px !important;
    }

    /* Better stacking for sidebar */
    .col-lg-4.mt-5.mt-lg-0 {
        margin-top: 3rem !important;
    }

    /* Author Box Mobile Fix */
    .author-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }

    .author-img {
        margin-bottom: 0.5rem;
    }
}

.stat-label,
.stat-item .stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.hero-stats .stat-number {
    color: white;
}

.hero-stats .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.2rem;
    }

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

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 50px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .page-title {
        font-size: 2rem;
    }

    .service-card,
    .service-detail-card,
    .value-card {
        margin-bottom: 1.5rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .pricing-featured {
        transform: none;
        margin-top: 1rem;
    }

    .contact-form-section,
    .contact-info-section {
        padding: 2rem;
    }

    .cta-banner {
        padding: 3rem 0;
    }

    .footer {
        padding: 2rem 0 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

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

    .page-title {
        font-size: 1.8rem;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

    .service-card,
    .contact-form-section,
    .contact-info-section,
    .newsletter-section {
        padding: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Utility Classes */
.bg-light {
    background-color: var(--soft-gray) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Form Validation */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--error-color);
}

.invalid-feedback {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Success Messages */
.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    border-color: var(--success-color);
    color: var(--success-color);
    border-radius: var(--border-radius);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: var(--error-color);
    color: var(--error-color);
    border-radius: var(--border-radius);
}


/* landing page  */

/* WhatsApp Floating Icon Styles */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 32px;
    z-index: 9999;
    background: #ff6d00;
    /* Hooks Tech brand orange */
    color: #fff;
    /* WhatsApp icon in white */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    text-decoration: none;
    /* remove underline */
    box-shadow: 0 0 24px 8px #ff6d0099, 0 0 8px 2px #ff6d00cc;
    animation: whatsappFloat 2s infinite ease-in-out,
        whatsappGlow 2.5s infinite alternate ease-in-out;
    transition: box-shadow 0.3s, background 0.3s;
}

.whatsapp-float:hover {
    box-shadow: 0 0 32px 12px #ff6d00cc, 0 0 16px 4px #ff6d00ee;
    background: #e65c00;
    /* darker orange on hover */
}

@keyframes whatsappFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-12px) scale(1.05);
    }
}

@keyframes whatsappGlow {
    0% {
        box-shadow: 0 0 24px 8px #ff6d0099, 0 0 8px 2px #ff6d00cc;
    }

    100% {
        box-shadow: 0 0 40px 16px #ff6d00cc, 0 0 24px 8px #ff6d00ee;
    }
}


/* athistam and co zoom  */


/* === MOBILE NAVBAR RESPONSIVE FIXES (Added to fix mobile view) === */
@media (max-width: 991.98px) {

    /* Style the container for the collapsed menu */
    .navbar .navbar-collapse {
        background-color: #ffffff;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
        padding: 1rem;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    /* Align nav items for mobile view */
    .navbar .navbar-nav {
        text-align: left;
    }

    /* Add some space between nav links */
    .navbar .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }

    .navbar .navbar-nav .nav-item:last-child {
        margin-bottom: 0;
    }

    /* Style the "Get Free Audit" button to be full-width on mobile */
    .navbar .navbar-nav .nav-item .btn-primary {
        width: 100%;
        margin-left: 0 !important;
        /* Override existing margin */
        margin-top: 0.5rem;
        text-align: center;
    }

    /* Ensure the dropdown menu inside the mobile nav looks right */
    .navbar-nav .dropdown-menu {
        background: #f8f9fa;
        /* Lighter background for contrast */
        border: 1px solid #eee;
        box-shadow: none;
        padding: .5rem;
    }

    .navbar-nav .dropdown-item {
        padding: 0.5rem 1.5rem;
    }

    /* Style the hamburger menu icon with brand color */
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 109, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    /* Improve focus style for accessibility */
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.25rem rgba(255, 109, 0, 0.5);
    }

    /* Change toggler border color to match brand */
    .navbar-toggler {
        border-color: rgba(255, 109, 0, 0.2);
    }
}




/* CONTACT FORM POPUP */
.contact-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.popup-content {
    background: #fff;
    padding: 30px;
    width: 90%;
    max-width: 420px;
    border-radius: 14px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: popupScale 0.35s ease;
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 18px;
    background: transparent;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #333;
}

@keyframes popupScale {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

#contactPopup input:not([type="checkbox"]),
#contactPopup textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
}

/* Thank You & 404 Page Styles */
.thank-you-section,
.error-404-section {
    background-color: var(--soft-gray);
    padding: 80px 0;
}

.thank-you-card,
.error-card {
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(255, 109, 0, 0.1);
}

.thank-you-card:hover,
.error-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.icon-wrapper {
    margin-bottom: 2rem;
}

.error-code {
    font-size: 6rem;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* === MOBILE RESPONSIVENESS ENHANCEMENTS === */
@media (max-width: 576px) {

    /* 1. Global Typography & Spacing */
    body {
        font-size: 15px;
        /* Slightly smaller body text */
    }

    h1,
    .hero-title,
    .page-title {
        font-size: 2rem !important;
        /* Force smaller headings */
        line-height: 1.2;
    }

    h2,
    .section-title {
        font-size: 1.75rem !important;
    }

    h3,
    .h2 {
        font-size: 1.5rem !important;
    }

    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .mb-5 {
        margin-bottom: 2rem !important;
    }

    /* 2. Hero Section */
    .hero-section {
        min-height: auto !important;
        /* Remove fixed height constraint */
        padding-top: 100px;
        padding-bottom: 40px;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons .btn {
        width: 100%;
        margin: 0.5rem 0;
        /* Stack buttons */
        display: block;
    }

    .hero-image {
        margin-top: 1rem;
    }

    /* 3. Services & Cards */
    .service-card,
    .value-card,
    .team-card,
    .blog-card {
        margin-bottom: 1.5rem;
        /* Better spacing between stacked cards */
        padding: 1.5rem;
    }

    /* 4. Testimonials */
    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-content p {
        font-size: 1rem;
    }

    .testimonial-controls {
        gap: 0.5rem;
    }

    /* 5. Footer */
    .footer {
        text-align: center;
    }

    .footer .col-lg-2,
    .footer .col-lg-3,
    .footer .col-lg-4 {
        margin-bottom: 2rem;
    }

    .social-links {
        justify-content: center;
        display: flex;
        gap: 0.5rem;
        margin-top: 1rem;
        /* Space top */
    }

    /* 6. Why Choose/Trust Section Alignment */
    .d-flex.align-items-center {
        align-items: flex-start !important;
        /* Ensure icons align with top of text */
    }

    .d-flex.align-items-center i {
        margin-top: 5px;
        /* visual alignment */
    }

    /* 7. Stats */
    .hero-stats .row,
    .about-stats .row {
        justify-content: center;
    }

    .hero-stats .col-4,
    .about-stats .col-4 {
        /* Keep side-by-side but ensure spacing matches */
        width: 33.33% !important;
        /* Force side by side */
        padding-left: 2px;
        padding-right: 2px;
        margin-bottom: 0;
        border-bottom: none;
    }

    .stat-number,
    .stat-item .stat-number {
        font-size: 1.5rem !important;
        /* Decrease size */
    }

    .stat-label,
    .stat-item .stat-label {
        font-size: 0.7rem;
        line-height: 1.1;
    }
}

/* Pricing Card Styles - Added for Web Development Page */
.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #eee;
    height: auto !important;
    /* Force auto height */
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.pricing-featured {
    border: 2px solid var(--primary-color);
    position: relative;
}



.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.pricing-header .price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.pricing-header .price span {
    font-size: 0.9rem;
    color: #888;
    font-weight: 500;
}

.pricing-features {
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style: none;
}

.pricing-features li {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.pricing-features li i {
    color: var(--success-color);
    margin-right: 10px;
    font-size: 0.8rem;
}

/* Brand Color Utility */
.text-brand {
    color: var(--primary-color) !important;
}

/* Mobile stack for hero buttons and CTA buttons */
@media (max-width: 767.98px) {
    .hero-buttons, .cta-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }
    .hero-buttons .btn, .cta-buttons .btn {
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        width: 100% !important;
    }
}

/* =========================================
   SERVICE BUNDLES & VALUE PACKS PAGE STYLES
   ========================================= */
.pricing-card {
    background: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(255, 109, 0, 0.1);
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 1;
    overflow: hidden;
}
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}
.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 2;
}
@media (max-width: 991px) {
    .pricing-card.popular {
        transform: scale(1);
    }
}
.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}
@media (max-width: 991px) {
    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }
}

.pricing-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}
.pricing-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}
.pricing-period {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}
.pricing-target {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}
.pricing-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    color: var(--dark-text);
    font-size: 0.95rem;
}
.pricing-features li i {
    color: var(--success-color);
    margin-top: 0.25rem;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}
.pricing-features li.pro-feature i {
    color: var(--primary-color);
}
.pricing-features li.disabled {
    color: #999;
    text-decoration: line-through;
}
.pricing-features li.disabled i {
    color: #ccc;
}
/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 109, 0, 0.1);
}
.comparison-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    background: #fff;
}
.comparison-table th {
    position: sticky;
    top: 0;
    background: var(--light-bg);
    padding: 1.5rem;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark-text);
    border-bottom: 2px solid rgba(255,109,0,0.1);
    z-index: 10;
}
.comparison-table th.popular-col {
    background: rgba(255,109,0,0.03);
    border-top: 3px solid var(--primary-color);
}
.comparison-table td {
    padding: 1rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid #eee;
    color: var(--dark-text);
}
.comparison-table td.feature-name {
    text-align: left;
    font-weight: 600;
}
.comparison-table td.popular-col {
    background: rgba(255,109,0,0.03);
    font-weight: 600;
}
.comparison-table tr:hover td {
    background-color: #fcfcfc;
}
.comparison-table tr:hover td.popular-col {
    background-color: rgba(255,109,0,0.06);
}
.comparison-table i.fa-check {
    color: var(--success-color);
    font-size: 1.2rem;
}
.comparison-table i.fa-times {
    color: #ccc;
    font-size: 1.2rem;
}
/* Business Growth Roadmap */
.roadmap-container {
    position: relative;
    padding: 3rem 0;
}
.roadmap-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
    border-radius: 4px;
}
.roadmap-item {
    position: relative;
    width: 50%;
    padding: 1.5rem 3rem;
}
.roadmap-item:nth-child(odd) {
    left: 0;
    text-align: right;
}
.roadmap-item:nth-child(even) {
    left: 50%;
    text-align: left;
}
.roadmap-content {
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    position: relative;
    display: inline-block;
    border: 1px solid rgba(255, 109, 0, 0.1);
    transition: var(--transition);
}
.roadmap-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.roadmap-item::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 24px;
    height: 24px;
    background: var(--light-bg);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 2;
}
.roadmap-item:nth-child(odd)::after {
    right: -12px;
}
.roadmap-item:nth-child(even)::after {
    left: -12px;
}
.roadmap-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}
@media (max-width: 768px) {
    .roadmap-container::before {
        left: 30px;
    }
    .roadmap-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
        text-align: left !important;
        left: 0 !important;
    }
    .roadmap-item::after {
        left: 18px !important;
    }
}
/* Important Notes Section */
.important-notes {
    background: rgba(220, 53, 69, 0.05);
    border-left: 4px solid var(--error-color);
    padding: 2rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}
.important-notes ul li {
    margin-bottom: 1rem;
    color: var(--dark-text);
}
.important-notes ul li strong {
    color: var(--error-color);
}


/* Premium Nav Button Animation */
.btn-nav-premium {
    background: var(--primary-color) !important;
    color: #FFFFFF !important;
    border-radius: 30px;
    padding: 6px 18px !important;
    font-weight: 700 !important;
    position: relative;
    z-index: 1;
    overflow: hidden;
    /* Adding the continuous glowing animation */
    animation: premium-glow-pulse 2s infinite !important;
    transition: all 0.3s ease !important;
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--primary-color) !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

@keyframes premium-glow-pulse {
    0% { box-shadow: 0 0 10px rgba(255, 109, 0, 0.5); }
    50% { box-shadow: 0 0 25px rgba(255, 109, 0, 1), 0 0 5px rgba(255, 109, 0, 0.8) inset; }
    100% { box-shadow: 0 0 10px rgba(255, 109, 0, 0.5); }
}

.btn-nav-premium::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: nav-shine 3s infinite;
    z-index: -1;
}

.btn-nav-premium:hover {
    background: #FFFFFF !important;
    color: var(--primary-color) !important;
    /* Keep it glowing bright when hovered */
    box-shadow: 0 0 25px rgba(255, 109, 0, 1), 0 0 5px rgba(255, 255, 255, 0.5) inset !important;
    transform: translateY(-2px);
    animation: none !important; /* Stop pulse to maintain bright hover state */
}

.btn-nav-premium:hover i {
    color: var(--primary-color) !important;
}

@keyframes nav-shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Growth Roadmap Timeline */
.roadmap-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
    border-radius: 4px;
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    width: 50%;
    margin-bottom: 2rem;
    padding: 0 40px;
}

@media (min-width: 769px) {
    .timeline-item {
        margin-top: -2.5rem;
    }
    .timeline-item:nth-of-type(1) {
        margin-top: 0;
    }
}

.timeline-item.left {
    align-self: flex-start;
    text-align: right;
}

.timeline-item.right {
    align-self: flex-end;
    text-align: left;
}

.timeline-icon {
    position: absolute;
    top: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: 4px solid var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: var(--shadow-soft);
    z-index: 2;
    transition: var(--transition);
}

.timeline-item.left .timeline-icon {
    right: -25px;
}

.timeline-item.right .timeline-icon {
    left: -25px;
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 0 15px var(--primary-color);
}

.timeline-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 109, 0, 0.1);
    transition: var(--transition);
    position: relative;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.timeline-title {
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .timeline-line {
        left: 30px;
    }
    .timeline-item, .timeline-item.left, .timeline-item.right {
        width: 100%;
        padding-left: 80px;
        padding-right: 15px;
        text-align: left;
        align-self: center;
        margin-top: 0;
        margin-bottom: 2rem;
    }
    .timeline-icon {
        left: 5px !important;
    }
    .timeline-item.left .timeline-icon,
    .timeline-item.right .timeline-icon {
        left: 5px;
        right: auto;
    }
}

/* =========================================
   BRANDS WE WORKED WITH (UNEVEN GRID)
   ========================================= */
.brands-section {
    position: relative;
    overflow: hidden;
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.brand-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    flex: 1 1 30%; /* Default mobile fallback */
    min-height: 140px;
}

/* Uneven Flex Sizing for Desktop */
@media (min-width: 768px) {
    .brand-item:nth-child(1) { flex: 1 1 45%; }
    .brand-item:nth-child(2) { flex: 1 1 20%; }
    .brand-item:nth-child(3) { flex: 1 1 20%; }
    .brand-item:nth-child(4) { flex: 1 1 20%; }
    .brand-item:nth-child(5) { flex: 1 1 45%; }
    .brand-item:nth-child(6) { flex: 1 1 20%; }
}

@media (max-width: 767px) {
    .brand-item {
        flex: 1 1 45%; /* 2 items per row on mobile */
        padding: 20px;
        min-height: 120px;
    }
}

@media (max-width: 480px) {
    .brand-item {
        flex: 1 1 100%; /* 1 item per row on very small screens */
    }
}

.brand-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255, 109, 0, 0.05), transparent);
    opacity: 0;
    transition: 0.4s ease;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 109, 0, 0.1);
    border-color: rgba(255, 109, 0, 0.2);
}

.brand-item:hover::before {
    opacity: 1;
}

.brand-item img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
    
    transition: all 0.4s ease;
    z-index: 1;
}

.brand-item:hover img {
    
    transform: scale(1.05);
}


/* =========================================
   NESTED DROPDOWN (SUBMENU)
   ========================================= */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    border-radius: 0.25rem;
    display: none;
}

.dropdown-submenu > a::after {
    display: inline-block;
    margin-left: 0.5rem;
    content: "\f105"; /* FontAwesome right angle */
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free";
    font-weight: 900;
    float: right;
    transition: transform 0.2s ease;
}

/* Desktop Hover */
@media (min-width: 992px) {
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}

/* Mobile Stacking & Click Behavior */
@media (max-width: 991px) {
    .dropdown-submenu > .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
        padding-left: 1rem;
    }
    
    .dropdown-submenu.open > .dropdown-menu {
        display: block;
    }
    
    .dropdown-submenu > a::after {
        content: "\f107"; /* FontAwesome down angle */
    }
}



@media (max-width: 576px) {
    .pricing-badge {
        padding: 0.4rem 1rem !important;
        font-size: 0.75rem !important;
    }
}
/* Premium Right-Aligned Pricing Badge */
.pricing-badge {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    transform: none !important;
    background: linear-gradient(135deg, var(--primary-color, #ff6b00), var(--secondary-color, #ff8c00)) !important;
    color: white !important;
    padding: 0.4rem 1.5rem !important;
    border-radius: 0 15px 0 15px !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    box-shadow: -4px 4px 15px rgba(255, 109, 0, 0.25) !important;
    z-index: 10 !important;
    letter-spacing: 0.5px !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-left: 2px solid rgba(255, 255, 255, 0.3) !important;
    text-transform: uppercase !important;
}

.pricing-badge ~ h3,
.pricing-badge ~ h4 {
    margin-top: 2rem !important;
}

@media (max-width: 576px) {
    .pricing-badge {
        padding: 0.3rem 1rem !important;
        font-size: 0.75rem !important;
    }
}
