/********** Template CSS **********/

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Button ***/
.btn {
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 3px;
}


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 15px 0;
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 0;
    outline: none;
    color: var(--bs-secondary);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-white);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .sticky-top {
        background: var(--bs-primary);
    }

    .navbar .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Hero Header ***/
.hero-header {
    position: relative;
    margin-top: -100px;
    padding-top: 150px;
    overflow: hidden;
    background: rgb(0, 127, 246, 0.9);
}

.hero-header::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/hero-header-bg.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    animation: animateUpDown 8s ease infinite;
    z-index: -1;
}

@keyframes animateUpDown {
    0% {
        top: 0px;
        left: 0px;
    }

    25% {
        top: -15px;
        left: 15px;
    }

    50% {
        top: 0px;
        left: 30px;
    }

    75% {
        top: 15px;
        left: 15px;
    }

    100% {
        top: 0px;
        left: 0px;
    }
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-light);
}


/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border-radius: 45px 3px 3px 3px;
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
}

.service-item .service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 45px 0;
}

.service-list a.btn-light:hover {
    color: var(--bs-white) !important;
    background: var(--bs-primary);
}

.service-list a.btn-light i {
    color: var(--bs-primary);
    transition: .5s;
}

.service-list a.btn-light:hover i {
    color: var(--bs-secondary);
}

/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    font-weight: normal;
    transition: .3s;
}
.footer {
    margin-top: 0px !important;
}

.footer .btn.btn-link:hover {
    color: var(--bs-white);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: rgba(255, 255, 255, .5);
}

.footer .copyright a:hover {
    color: var(--bs-white);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/*** Consistent Button Styles ***/
.btn-primary,
.btn-secondary {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: white !important;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-secondary:hover {
    background-color: white !important;
    border-color: white !important;
    color: var(--bs-primary) !important;
}

/* Social media buttons in About section */
.btn-secondary.btn-square:hover {
    background-color: white !important;
    border-color: white !important;
    color: var(--bs-primary) !important;
}

/* Social media buttons in Footer */
.footer .btn-primary.btn-square:hover {
    background-color: white !important;
    border-color: white !important;
    color: var(--bs-primary) !important;
}

/* Read More buttons in Services */
.service-item .btn-secondary:hover {
    background-color: white !important;
    border-color: white !important;
    color: var(--bs-primary) !important;
}

/* Newsletter button */
.bg-primary .btn:hover {
    background-color: white !important;
    border-color: white !important;
    color: var(--bs-primary) !important;
}

/* Fix the back to top button */
.back-to-top:hover {
    background-color: white !important;
    border-color: white !important;
    color: var(--bs-primary) !important;
}

/*** Hero CTA Button Styles ***/

/* Primary CTA Button - Now white by default */
.hero-header .hero-cta-primary {
    background-color: white !important;
    border-color: white !important;
    color: var(--bs-primary) !important;
    font-weight: 300;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    border-radius: 15px !important;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-header .hero-cta-primary:hover {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 127, 246, 0.4);
}

.hero-header .hero-cta-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 127, 246, 0.3);
}

/* Outline CTA Button */
.hero-header .btn-outline-light {
    background-color: transparent !important;
    border-color: white !important;
    color: white !important;
    font-weight: 300;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    border-radius: 15px !important;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hero-header .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.92) !important;
    border-color: rgb(255, 255, 255) !important;
    color: var(--bs-primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 255, 255, 0.2);
}

.hero-header .btn-outline-light:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* Button icon colors */
.hero-header .hero-cta-primary i.text-primary {
    color: var(--bs-primary) !important;
    transition: color 0.3s ease;
}

.hero-header .hero-cta-primary:hover i.text-primary {
    color: white !important;
}

/* Optional: Add a subtle animation effect */
.hero-header .hero-cta-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(0, 127, 246, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.hero-header .hero-cta-primary:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* CTA Container */
.hero-header .d-flex.flex-column {
    margin-top: 2rem;
}

@media (max-width: 576px) {
    .hero-header .d-flex.flex-column {
        margin-top: 1.5rem;
    }

    .hero-header .hero-cta-primary,
    .hero-header .btn-outline-light {
        font-size: 1rem;
        padding: 0.8rem 1.5rem !important;
    }
}

/* Trust indicators */
.hero-header .text-white span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-header .text-white .fa-check-circle {
    font-size: 1rem;
}

/* Button icon spacing */
.hero-header .btn i {
    margin-right: 8px;
}

/* Responsive adjustments for hero buttons */
@media (max-width: 768px) {
    .hero-header .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .hero-header .d-flex.flex-column {
        gap: 15px !important;
    }

    .hero-header .text-white {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* Make sure hero text has proper spacing */
.hero-header .mb-3 {
    margin-bottom: 1.5rem !important;
}






/*** Modern Minimalist Navbar - FIXED VERSION ***/

/* Main Navbar Container */
.nav-modern {
    background: #ffffff !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999 !important;
    width: 100%;
}

/* Add body padding to account for fixed navbar */
body {
    padding-top: 80px;
}

/* Brand/Logo Section */
.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo {
    width: 80px;
    height: 80px;
    padding: 3px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.brand-wrapper:hover .brand-logo {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 127, 246, 0.2);
}

.brand-wrapper:hover .brand-logo img {
    transform: scale(1.05);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-main {
    font-size: 35px;
    color: #007ff6;
    font-weight: 300;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.brand-subtitle {
    font-size: 0.9rem;
    color: #1a1a1a;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
    transition: color 0.3s ease;
}

.brand-wrapper:hover .brand-main {
    color: #007ff6;
}

/* Navbar Container */
.navbar {
    padding: 0 !important;
}

.navbar-collapse {
    justify-content: space-between;
}

/* Navigation Links */
.navbar-nav {
    gap: 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    color: #666 !important;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.75rem 1.25rem !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    text-decoration: none;
}

.nav-link:hover {
    color: #007ff6 !important;
    background: rgba(0, 127, 246, 0.05);
    transform: translateY(-1px);
}

.nav-link.active {
    color: #007ff6 !important;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: #007ff6;
    border-radius: 50%;
}

/* CTA Button */
.nav-cta {
    background: #007ff6;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 127, 246, 0.2);
    min-width: 140px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.nav-cta:hover {
    background: white;
    color: #007ff6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 127, 246, 0.3);
    border: 1px solid #007ff6;
}

/* Mobile Toggle Button */
.navbar-toggler {
    border: 1px solid #eaeaea !important;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none !important;
    border-color: #007ff6 !important;
}

.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(26, 26, 26, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 1.25em;
    height: 1.25em;
    transition: all 0.3s ease;
}

.navbar-toggler:hover .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(0, 127, 246, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Menu */
@media (max-width: 991.98px) {
    .nav-modern {
        padding: 0.5rem 0 !important;
    }

    .navbar-collapse {
        background: white;
        padding: 1.5rem;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
    }

    .navbar-nav {
        margin-bottom: 1.5rem;
    }

    .nav-link {
        padding: 1rem 1.25rem !important;
        margin: 0.25rem 0;
        border-bottom: 1px solid #f5f5f5;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-link.active {
        background: rgba(0, 127, 246, 0.08);
    }

    .nav-cta {
        width: 100%;
        text-align: center;
    }

    /* Logo adjustments for mobile */
    .brand-logo {
        width: 70px;
        height: 70px;
    }

    .brand-main {
        font-size: 35px;
    }

    .brand-subtitle {
        font-size: 0.8rem;
    }

    /* Adjust body padding for mobile */
    body {
        padding-top: 70px;
    }
}

/* Desktop Adjustments */
@media (min-width: 992px) {
    .navbar-nav {
        margin-right: 2rem;
    }
}

/* Additional Responsive Breakpoints */
@media (max-width: 576px) {
    .brand-logo {
        width: 60px;
        height: 60px;
    }

    .brand-main {
        font-size: 1rem;
    }

    .brand-subtitle {
        font-size: 0.6rem;
    }

    .nav-cta {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
    }

    body {
        padding-top: 65px;
    }
}

@media (max-width: 400px) {
    .brand-wrapper {
        gap: 8px;
        
    }

    .brand-logo {
        width: 50px;
        height: 50px;
        border-width: 1.5px;
    }

    .brand-main {
        font-size: 20px;
    }

    .brand-subtitle {
        font-size: 0.7rem;
    }

    body {
        padding-top: 60px;
    }

   


    

}

/* Fix horizontal scroll caused by hamburger */
@media (max-width: 400px) {
    .navbar > .container {
        max-width: 100% !important;
        overflow-x: hidden !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
        padding-top: 2px !important;
        padding-bottom: 2px !important;
    }
    
    /* Force no horizontal scroll */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative !important;
    }
    
    /* Hide text on very small devices - only show logo */
    @media (max-width: 360px) {
       
        
        .brand-wrapper {
            gap: 1 !important;
        }
        
        .brand-logo {
            width: 50px !important;
            height: 50px !important;
        }

      
    }
}

/* Extra small devices (320px and below) */
@media (max-width: 320px) {
    .brand-text {
        display: none !important;
    }
    
    .brand-logo {
        width: 60px !important;
        height: 60px !important;
    }
    
    .navbar-toggler {
        width: 35px !important;
        height: 35px !important;
        padding: 0.25rem !important;
    }
    
    .navbar-toggler-icon {
        width: 16px !important;
        height: 16px !important;
    }
}

/* Animation for mobile menu */
.navbar-collapse.collapsing,
.navbar-collapse.collapse.show {
    animation: slideDown 0.1s ;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Active state for links */
.nav-link:active {
    transform: scale(0.98);
}

/* Focus states for accessibility */
.nav-link:focus,
.nav-cta:focus,
.navbar-toggler:focus {
    outline: 2px solid rgba(0, 127, 246, 0.3);
    outline-offset: 2px;
}

/* Remove default Bootstrap navbar padding */
.navbar>.container {
    padding-left: 0;
    padding-right: 0;
}


/* Ensure proper spacing between nav items */
.navbar-nav .nav-item+.nav-item {
    margin-left: 0;
}

/* Fix for the image if it's not loading */
.brand-logo img:not([src]) {
    display: none;
}

.brand-logo img:not([src])+.logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #007ff6, #0066cc);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 50%;
}

/* Ensure the navbar stays on top */
.nav-modern {
    z-index: 1030;
    position: relative;
}

/* Smooth transition for all interactive elements */
.nav-link,
.nav-cta,
.navbar-toggler,
.brand-logo,
.brand-main {
    transition: all 0.1s ease;
}

/* Fix for Bootstrap sticky-top class conflict */
.sticky-top {
    position: fixed !important;
    top: 0 !important;
    z-index: 1020;
}

/* Override any conflicting Bootstrap styles */
.container-fluid.sticky-top {
    position: fixed !important;
    top: 0 !important;
    background: white !important;
}

/* Ensure navbar is visible over all content */
.nav-modern {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}








/*** Modern About Section ***/

.about-section-modern {
    background: #f5f5f5;
}

.about-image-wrapper {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    max-width: 280px;
    z-index: 2;
}

.badge-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-content-modern .section-label {
    font-size: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-content-modern .lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #555;
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    border-radius: 20px !important;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

.feature-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

/* Button Styles */
.about-section-modern .btn-primary {
    background-color: #007ff6;
    border-color: #007ff6;
    color: white;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.about-section-modern .btn-primary:hover {
    background-color: white;
    border-color: #007ff6;
    color: #007ff6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 127, 246, 0.2);
}

.about-section-modern .btn-outline-primary {
    border-color: #007ff6;
    color: #007ff6;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.about-section-modern .btn-outline-primary:hover {
    background-color: #007ff6;
    border-color: #007ff6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 127, 246, 0.2);
}

.btn-instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-instagram:hover {
    background: white;
    color: #E1306C;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.2);
    border: 1px solid #E1306C;
}

/* Rounded elements */
.rounded-4 {
    border-radius: 20px !important;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .experience-badge {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 20px;
        max-width: 100%;
    }

    .about-content-modern .display-5 {
        font-size: 2.5rem;
    }

    .about-section-modern .d-flex.flex-wrap {
        flex-direction: column;
        gap: 15px;
    }

    .about-section-modern .btn,
    .about-section-modern .btn-outline-primary,
    .btn-instagram {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .about-content-modern .display-5 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1.1rem;
    }
}

/*** Modern Services Section with Patterns ***/

.services-section {
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
}

/* Pattern Background */
.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(0, 127, 246, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 80% 20%, rgba(0, 127, 246, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 40% 40%, rgba(0, 127, 246, 0.03) 0%, transparent 20%);
    background-size: 300px 300px;
    opacity: 0.6;
    z-index: 1;
}

.services-section .container {
    position: relative;
    z-index: 2;
}

/* Service Card Modern */
.service-card-modern {
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 127, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #007ff6, #0066cc);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 127, 246, 0.15) !important;
}

.service-card-modern:hover::before {
    transform: scaleX(1);
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-top: -40px;
    margin-bottom: 20px;
    border: 4px solid white;
    box-shadow: 0 10px 20px rgba(0, 127, 246, 0.2);
    transition: all 0.4s ease;
}

.service-card-modern:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: white;
    color: #007ff6;
    border-color: #007ff6;
}

/* Service Content */
.service-content {
    position: relative;
    z-index: 2;
}

.service-features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-features li:last-child {
    border-bottom: none;
}

/* Button Styles */
.service-card-modern .btn-primary {
    background-color: #007ff6;
    border-color: #007ff6;
    color: white;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.service-card-modern .btn-primary:hover {
    background-color: white;
    border-color: #007ff6;
    color: #007ff6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 127, 246, 0.2);
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #007ff6, #0066cc);
    border: none;
}

.cta-box .btn-light {
    background-color: white;
    border-color: white;
    color: #007ff6;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cta-box .btn-light:hover {
    background-color: #007ff6;
    border-color: white;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Utility Classes */
.max-width-600 {
    max-width: 600px;
}

.rounded-4 {
    border-radius: 20px !important;
}

.bg-primary-light {
    background-color: rgba(0, 127, 246, 0.1);
}

/* Section Label */
.section-label {
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Animation Delays for Cards */
.wow.fadeInUp {
    animation-name: fadeInUp;
}

/*** Minimalist Services Section ***/

.services-minimal {
    background-color: #f9fbfe;
}

.service-feature {
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(0, 127, 246, 0.2);
}

.service-minimal .feature-icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.services-minimal .btn-outline-primary {
    border-color: #007ff6;
    color: #007ff6;
    font-weight: 500;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.services-minimal .btn-outline-primary:hover {
    background-color: #007ff6;
    border-color: #007ff6;
    color: white;
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .service-card-modern {
        margin-bottom: 40px;
    }

    .service-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-top: -35px;
    }

    .cta-box {
        padding: 2rem !important;
    }

    .service-feature {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .services-section .display-4 {
        font-size: 2.5rem;
    }

    .services-minimal .display-5 {
        font-size: 2.2rem;
    }

    .service-feature {
        flex-direction: column;
        text-align: center;
    }

    .service-feature .feature-icon {
        margin-right: 0 !important;
        margin-bottom: 20px;
    }
}

/* Additional Pattern Option (Diagonal Lines) */
.services-section.pattern-diagonal {
    background: #f5f5f5;
}

.services-section.pattern-diagonal .pattern-overlay {
    background-image: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(0, 127, 246, 0.02) 10px,
            rgba(0, 127, 246, 0.02) 20px);
}

/* Pattern Option (Dots Grid) */
.services-section.pattern-dots .pattern-overlay {
    background-image:
        radial-gradient(circle at 1px 1px, rgba(0, 127, 246, 0.1) 1px, transparent 0);
    background-size: 30px 30px;
}

/* Pattern Option (Abstract Shapes) */
.services-section.pattern-abstract .pattern-overlay {
    background-image:
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23007ff6' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.4;
}



/*** Modern Contact Section ***/

.contact-section {
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
}

/* Pattern Overlay */
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, rgba(0, 127, 246, 0.08) 0%, transparent 70%);
    z-index: 1;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

/* Contact Info Card */
.contact-info {
    border-left: 4px solid #007ff6;
}

.contact-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.contact-item {
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}



.btn-linkedin {
    background: #0077B5;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-twitter {
    background: #1DA1F2;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-instagram:hover,
.btn-linkedin:hover,
.btn-twitter:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Contact Form Styling */
.contact-form {
    border-right: 4px solid #007ff6;
    background-color:  #f5f5f5 !important;
}

.form-floating>.form-control,
.form-floating>.form-select {
    height: calc(3.5rem + 2px);
    line-height: 1.25;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-floating>.form-control:focus,
.form-floating>.form-select:focus {
    border-color: #007ff6;
    box-shadow: 0 0 0 0.25rem rgba(0, 127, 246, 0.25);
}

.form-floating>label {
    color: #666;
    padding: 1rem 0.75rem;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Form Validation */
.form-control:valid {
    border-color: #198754;
}

.form-control:invalid {
    border-color: #dc3545;
}

/* Submit Button */
.contact-form .btn-primary {
    background-color: #007ff6;
    border-color: #007ff6;
    color: white;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    background-color: white;
    border-color: #007ff6;
    color: #007ff6;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 127, 246, 0.2);
}

/* Success Message */
.alert-success {
    background-color: rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.2);
    color: #0f5132;
    border-radius: 12px;
    border-left: 4px solid #198754;
}

/*** Pattern Background Contact Section ***/

.contact-pattern {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    position: relative;
}

.contact-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
         #f5f5f5;
    z-index: 1;
}

.contact-pattern .container {
    position: relative;
    z-index: 2;
}

/* Contact Cards */
.contact-card {
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 127, 246, 0.1);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 127, 246, 0.15) !important;
    border-color: rgba(0, 127, 246, 0.3);
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.contact-card .btn-outline-primary {
    border-color: #007ff6;
    color: #007ff6;
    font-weight: 500;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.contact-card .btn-outline-primary:hover {
    background-color: #007ff6;
    border-color: #007ff6;
    color: white;
    transform: translateY(-2px);
}

/* Form Styling for Pattern Section */
.input-group-text {
    border-radius: 10px 0 0 10px;
    border: 1px solid #e0e0e0;
    background-color: white;
    transition: all 0.3s ease;
}

.input-group:focus-within .input-group-text {
    background-color: #007ff6;
    color: white;
    border-color: #007ff6;
}

.form-control:focus {
    border-color: #007ff6;
    box-shadow: 0 0 0 0.25rem rgba(0, 127, 246, 0.1);
}

/* Section Label */
.section-label {
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.bg-primary-light {
    background-color: rgba(0, 127, 246, 0.1);
}

/* Rounded Elements */
.rounded-4 {
    border-radius: 20px !important;
}

/* Responsive Design */
@media (max-width: 991.98px) {

    .contact-section,
    .contact-pattern {
        padding: 3rem 0;
    }

    .contact-info,
    .contact-form {
        margin-bottom: 2rem;
        border-left: none;
        border-right: none;
        border-top: 4px solid #007ff6;
    }

    .contact-card {
        margin-bottom: 2rem;
    }

    .contact-pattern .display-4 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-section .display-5 {
        font-size: 2rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin-right: 0 !important;
        margin-bottom: 15px;
    }

    .social-links {
        justify-content: center;
    }
}

/* Animation for form elements */
.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    color: #007ff6;
}

/* Custom scrollbar for textarea */
textarea::-webkit-scrollbar {
    width: 8px;
}

textarea::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

textarea::-webkit-scrollbar-thumb {
    background: #007ff6;
    border-radius: 4px;
}

textarea::-webkit-scrollbar-thumb:hover {
    background: #0066cc;
}

.btn-primary {
    border-radius: 15px !important;
}
