/* Base Styles */
* {
    /* outline: 1px solid red !important; */
    position: relative;
    z-index: 1;
    opacity: 1 !important;
    visibility: visible !important;
}


@media (max-width: 991.98px) {
    .hero-img {
        max-width: 250px;
        /* Smaller on tablets/mobile */
    }
    .hero-content { padding-left: 16px; }
    .hero-bg-sub { font-size: 1.1rem; opacity: 0.08; }
    .hero-btns { display: flex; justify-content: center; gap: 12px; margin-top: 1rem; }
}

@media (max-width: 575.98px) {
    .hero-img {
        max-width: 180px;
        /* Even smaller on small phones */
    }
    .hero-title {
        font-size: 2rem !important;
        /* Smaller on small phones */
    }
    
    
}

:root {
    --primary-color: #7e54c8;
    --secondary-color: #a29bfe;
    --dark-clay: #2d3436;
    --dark-clay-light: #636e72;
    --text-primary: #f5f6fa;
    --text-secondary: #dfe6e9;
    --glass-bg: rgba(45, 52, 54, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glow-effect: 0 0 15px var(--primary-color);
}

body.dark-clay-theme {
    background-color: var(--dark-clay);
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

.text-highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

/* Glass Morphism Effect */
.glass-nav,
.glass-card {
    /* background: var(--glass-bg); */
    background: #252c2b;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    box-shadow: var(--glow-effect);
}

.btn-outline-secondary {
    border-color: var(--text-secondary);
    color: var(--text-secondary);
}

.btn-outline-secondary:hover {
    background-color: var(--text-secondary);
    color: var(--dark-clay);
}

.btn-glow {
    animation: pulse 2s infinite;
}

/* Hero Section */



.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.hero-subtitle.small-caps {
    letter-spacing: 1.6px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-color);
    text-transform: uppercase;
}

.hero-illustration {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 6%; /* create space so image & background text don't touch the right edge */
}

.hero-bg-text {
    position: absolute;
    right: 0;
    top: 10%;
    font-size: 10rem;
    font-weight: 800;
    color: rgba(255,255,255,0.06);
    pointer-events: none;
    user-select: none;
    transform: translateX(5%);
    letter-spacing: 6px;
    white-space: nowrap;
}

/* Reveal animation using a sliding gradient mask */
.hero-bg-text {
    -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 25%, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 25%, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
    -webkit-mask-size: 300% 100%;
    mask-size: 300% 100%;
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
    animation: hippoReveal 6s linear infinite;
}

/* wrapper to hold big and small background text together */
.hero-bg-wrap {
    position: absolute;
    right: 6%; /* pull the background word left from the very edge */
    top: 8%;
    transform: translateX(0);
    text-align: right;
    pointer-events: none;
    user-select: none;
    display: inline-block;
}

.hero-bg-sub {
    display: block;
    margin-top: 0.25em; /* place below HIPPO */
    font-size: 1.35rem;
    font-weight: 700;
    color: rgba(255,255,255,0.06);
    letter-spacing: 2px;
    -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 25%, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 25%, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
    -webkit-mask-size: 300% 100%;
    mask-size: 300% 100%;
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
    animation: hippoReveal 6s linear infinite;
}

.hero-img.hero-animate {
    max-width: 80%;
    z-index: 2;
    transform-origin: center bottom;
    animation: floatHippo 6s ease-in-out infinite;
    will-change: transform;
    filter: drop-shadow(0 12px 30px rgba(0,0,0,0.5));
}

@keyframes floatHippo {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.02); }
    100% { transform: translateY(0) scale(1); }
}

@keyframes hippoReveal {
    0% { -webkit-mask-position: 0 0; mask-position: 0 0; }
    50% { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
    100% { -webkit-mask-position: 0 0; mask-position: 0 0; }
}

/* Responsive adjustments for the hero BG text and image */
@media (max-width: 991.98px) {
    .hero-bg-text {
        font-size: 6rem;
        top: 5%;
        transform: translateX(12%);
    }

    .hero-img.hero-animate {
        max-width: 60%;
    }
}

@media (max-width: 575.98px) {
    /* Ensure background HIPPO is visible on mobile and scaled down */
    .hero-bg-text { display: block; font-size: 4.5rem; top: 2%; right: -5%; opacity: 0.08; transform: translateX(0); }
    .hero-bg-sub { font-size: 1.1rem; opacity: 0.08; }
    .hero-img.hero-animate { max-width: 80%; }
    .hero-content { padding-left: 0; padding-right: 0; text-align: center; }
    .hero-content .hero-subtitle { margin-left: 0; margin-right: 0; }
    .hero-title { text-align: center; }
    .hero-btns { display: flex; justify-content: center; gap: 12px; margin-top: 1rem; }
}

/* Add left padding/margin for hero content (desktop and tablet) */
.hero-content { padding-left: 60px; }

@media (max-width: 991.98px) {
    .hero-content { padding-left: 36px; }
}

@media (max-width: 575.98px) {
    .hero-content { padding-left: 0px; }
    .hero-section {
        padding-top: 0px;
    }
}

/* using external css */
.navbar-nav .nav-link {
    color: #fff !important;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--primary-color) !important;
}

/* Navbar toggler (hamburger) - ensure visibility on dark background */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.12);
}
.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Use a light SVG hamburger icon with slight opacity for better contrast */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='%23ffffff' stroke-opacity='0.92' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
}

/* On hover/focus make it fully opaque */
.navbar-toggler:hover .navbar-toggler-icon,
.navbar-toggler:focus .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='%23ffffff' stroke-opacity='1' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>");
}

/* Ensure brand text/logo (if text) and collapsed nav links are readable */
.navbar-brand,
.navbar-brand a {
    color: rgba(255, 255, 255, 0.95);
}

.navbar-collapse .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--dark-clay) 0%, #1a1a1a 100%);
    overflow: hidden;
}

.animated-bg::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: radial-gradient(circle, var(--primary-color) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: moveBackground 100s linear infinite;
    opacity: 0.1;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-clay);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    display: flex;
    gap: 10px;
}

.loader-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    animation: bounce 1.5s infinite ease-in-out;
}

.loader-circle:nth-child(2) {
    animation-delay: 0.2s;
}

.loader-circle:nth-child(3) {
    animation-delay: 0.4s;
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(108, 92, 231, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(108, 92, 231, 0);
    }
}

@keyframes moveBackground {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/*book a call in mobile version*/
@media (max-width: 991.98px) {
    .book-call-btn {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}


/* Services Section */
.services-section {
    position: relative;
    overflow: hidden;
}

.section-header {
    position: relative;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title .text-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.section-title:hover .text-highlight::after {
    transform: scaleX(1);
    transform-origin: left;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.decoration-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.header-decoration i {
    font-size: 0.6rem;
    color: var(--primary-color);
}

/* Service Cards */
.service-card {
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1) 0%, rgba(45, 52, 54, 0.8) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
    position: relative;
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
}

.icon-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 50%;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.service-card:hover .icon-background {
    transform: scale(1);
    background: rgba(108, 92, 231, 0.2);
}

.service-icon i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    color: var(--primary-color);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.service-card:hover .service-title::after {
    width: 80px;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.service-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.service-features i {
    margin-right: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.service-card:hover .service-features li {
    color: var(--text-primary);
}

.service-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price-badge {
    background: rgba(108, 92, 231, 0.2);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.service-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--primary-color);
}

.service-link:hover i {
    transform: translateX(5px);
}


/* Team Section */
.team-section {
    position: relative;
    overflow: hidden;
}

.team-member {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.member-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(45, 52, 54, 0.9) 0%, transparent 50%);
    z-index: 1;
}

.member-social {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.team-member:hover .member-social {
    opacity: 1;
    transform: translateY(0);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(108, 92, 231, 0.2);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.member-info {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.member-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.member-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.team-member:hover .member-name::after {
    width: 80px;
}

.member-position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.skill-badge {
    background: rgba(108, 92, 231, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.member-bio {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.member-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Team CTA */
.team-cta {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 15px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.2);
}

.cta-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
}


/* Contact Section */
.contact-section {
    position: relative;
}

.contact-form-container,
.contact-info-container {
    border-radius: 15px;
    height: 100%;
}



.formlabelcontact div>label::after {
    background-color: transparent !important;

}

.formlabelcontact div>label {
    position: absolute !important;
    top: -5px !important;

}

/* .form-select~label::after {
    background-color: transparent !important;
} */


.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    /* color: var(--dark-clay); */
}

.form-control:focus,
.form-select:focus {
    /* background: rgba(255, 255, 255, 0.1); */
    background: var(--dark-clay);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(108, 92, 231, 0.25);
    color: var(--text-primary);
    /* color: var(--dark-clay); */
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-floating>label {
    color: rgba(255, 255, 255, 0.7);
    background: transparent;

}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label,
.form-floating>.form-select~label {
    color: var(--primary-color);
    background: transparent;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

/* Contact Info */
.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(108, 92, 231, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-details a,
.contact-details p {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-color);
}

.social-links .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(108, 92, 231, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.social-links .social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Form Validation */
.is-invalid {
    border-color: #dc3545 !important;
}

.is-invalid:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Success Message */
.alert {
    border-radius: 10px;
    border: none;
}

.alert-success {
    background: rgba(25, 135, 84, 0.2);
    color: #d1e7dd;
    backdrop-filter: blur(10px);
}

.btn-close {
    filter: invert(1);
}

/* Projects Section */
.projects-section {
    background: linear-gradient(to bottom, rgba(45, 52, 54, 0.9), rgba(45, 52, 54, 1));
    position: relative;
}

/* Project Filters */
.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.btn-filter {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-filter:hover,
.btn-filter.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Project Cards */
.project-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.project-image {
    position: relative;
    height: auto;
    
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(108, 92, 231, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 20px;
}

.project-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-5px);
}

.project-info {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.project-category {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tech span {
    background: rgba(108, 92, 231, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}


/* Footer Section */
.footer-section {
    background: linear-gradient(to bottom, rgba(45, 52, 54, 1), rgba(30, 35, 38, 1));
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, var(--primary-color) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.05;
    pointer-events: none;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-cut {
    color: var(--primary-color);
}

.footer-about-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-heading {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-links i {
    margin-right: 8px;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-contact a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(108, 92, 231, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.footer-social .social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-radius: 30px 0 0 30px;
    border-right: none;
}

.newsletter-form .btn {
    border-radius: 0 30px 30px 0;
    padding: 0 1.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-legals a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legals a:hover {
    color: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}







/* updating code here  ------------------------------------------------------------>>>>>>*/

html,
body {
    width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Hero section image sizing */
.hero-img {
    max-width: 100%;
    /* Adjust as needed for desktop */
    width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Prevent layout shift when scrollbar appears */
html {
    overflow-y: scroll;
}

/* Ensure navbar stays fixed at top */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

/* Add padding to body to account for fixed navbar */
body {
    padding-top: 0px;
    /* Adjust this value to match your navbar height */
}

@media (max-width: 991.98px) {
    body {
        padding-top: 0px;
        /* May need adjustment for mobile */
    }
}

/* Prevent zooming on form inputs in mobile */
@media screen and (max-width: 767px) {

    input,
    select,
    textarea {
        font-size: 16px;
    }
}

/* Ensure viewport meta tag is properly set */
/* (You already have this in your HTML) */





/* Preferred Clients Carousel */
.preferred-clients {
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.clients-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 120px;
    margin: 0 auto;
}

.clients-carousel-track {
    display: flex;
    position: absolute;
    left: 0;
    align-items: center;
    height: 100%;
    gap: 40px;
    animation: scroll 20s linear infinite;
}

.client-logo {
    flex: 0 0 auto;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    transition: transform 0.3s ease;
}

.client-logo img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

/* Updated animation for the carousel (unchanged) */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .clients-carousel-container {
        height: 100px;
    }

    .client-logo {
        height: 50px;
        padding: 0 15px;
    }

    .clients-carousel-track {
        gap: 30px;
    }
}

@media (max-width: 767.98px) {
    .clients-carousel-container {
        height: 80px;
    }

    .client-logo {
        height: 40px;
        padding: 0 10px;
    }

    .clients-carousel-track {
        gap: 20px;
        animation-duration: 15s;
    }
}

@media (max-width: 575.98px) {
    .clients-carousel-container {
        height: 70px;
    }

    .client-logo {
        height: 35px;
        padding: 0 8px;
    }
    .preferred-clients .section-title {
    font-size: 1rem;
  }
  .decoration-line{
    visibility: collapse !important;
  }
  .fa-circle{
    visibility: collapse !important;
  }
}

/* Animation for the carousel */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .clients-carousel-container {
        height: 100px;
    }

    .client-logo {
        height: 50px;
        padding: 0 15px;
    }

    .clients-carousel-track {
        gap: 30px;
    }
}

@media (max-width: 767.98px) {
    .clients-carousel-container {
        height: 80px;
    }

    .client-logo {
        height: 40px;
        padding: 0 10px;
    }

    .clients-carousel-track {
        gap: 20px;
        animation-duration: 15s;
    }
}

@media (max-width: 575.98px) {
    .clients-carousel-container {
        height: 70px;
    }

    .client-logo {
        height: 35px;
        padding: 0 8px;
    }

    .clients-carousel-track {
        gap: 15px;
    }
}




/* Team Section - 2 members per row with proper margins */
@media (min-width: 992px) {
    .team-section .row.justify-content-center {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px; /* Space between cards */
        max-width: 1200px; /* Optional: Limit container width */
        margin-left: auto;
        margin-right: auto;
    }
    
    .team-section .col-lg-5 {
        flex: 0 0 calc(50% - 15px); /* Half width minus half of gap */
        max-width: calc(50% - 15px);
        margin: 0;
    }
    
    .team-member {
        width: 100%;
        max-width: 500px; /* Optional: Set max card width */
        margin: 0 auto; /* Center card in its column */
    }
}
    
/* Two-card section styles */
.two-card-section {
    padding: 3.5rem 0;
    
}

.two-card-section .info-card {
    display: flex;
    border-radius: 20px;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem;
}
.info-card{
    background: #b2aee93b;
}

.two-card-section .card-content {
    flex: 1 1 45%;
}

.two-card-section .card-image {
    flex: 1 1 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.two-card-section .card-heading {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.two-card-section .card-copy {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
    .two-card-section .info-card {
        flex-direction: column-reverse; 
         text-align: center;
        padding: 1rem;
    }
    .card-copy{
        display: none;
    }

    .two-card-section .card-content {
        width: 100%;
    }

    .two-card-section .card-image img {
        max-width: 260px;
        margin: 0 auto 12px;
    }

    .two-card-section .card-heading {
        font-size: 1.6rem;
    }
    .text-will-center{
        text-align: center;
    }
    .button-fixes{
        display: none;
    }
    .bottom-footer{
        text-align: center;
    }

}


/* For larger screens - adjust if needed */
@media (min-width: 1200px) {
    .team-section .row.justify-content-center {
        gap: 40px;
    }
    
    .team-section .col-lg-5 {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}