/* Main Website Styles */

/* Reset and Base Styles */
a {
    text-decoration: none;
    color: inherit;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(43, 120, 255, 0.9), rgba(43, 120, 255, 0.7)), url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.icon-wrapper i {
    color: #fff;
    font-size: 28px;
}

.service-item h4 {
    color: var(--heading-color);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-item p {
    color: var(--body-color);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.service-link:hover {
    color: var(--primary-color-dark);
    gap: 15px;
}

.service-link i {
    font-size: 14px;
    transition: all 0.3s ease;
}

.title-style-one .subtitle {
    color: var(--body-color);
    font-size: 18px;
    margin-top: 10px;
    opacity: 0.8;
}

/* Feature Cards */
.feature-card {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: 100%;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(43, 120, 255, 0.1), rgba(43, 120, 255, 0.05));
}

/* Footer */
.footer-wrapper {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 0;
}

.footer-widget h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #2b78ff;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: #fff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2b78ff;
    transform: translateY(-3px);
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
    margin-right: 10px;
    color: #2b78ff;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
}

/* Service Detail Pages */
.service-detail-wrapper {
    padding: 80px 0;
}

.service-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* FAQ Accordion */
.accordion-button:not(.collapsed) {
    background-color: rgba(43, 120, 255, 0.1);
    color: #2b78ff;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(43, 120, 255, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .service-detail-wrapper {
        padding: 40px 0;
    }
}

/* Navigation */
.navbar {
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-scrolled .nav-link {
    color: #333 !important;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
}

.nav-link:hover {
    color: #2b78ff !important;
}

/* Buttons */
@media (max-width: 991px) {
    .btn-primary {
        padding: 0.75rem 1.5rem;
        font-weight: 500;
    }
}

/* Global link styles */
.animated-link {
    text-decoration: none !important;
    position: relative;
    display: inline-block;
}

.animated-link:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #2b78ff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.animated-link:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Modal styles */
.modal-content {
    border-radius: 20px;
}

.modal-header {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: #f8f9fa;
}

.modal-footer {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.modal-title {
    color: #2b78ff;
    font-weight: 600;
}

/* Form styles */
.form-control {
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: #2b78ff;
    box-shadow: 0 0 0 0.2rem rgba(43, 120, 255, 0.25);
}

.input-group-text {
    border-radius: 10px;
}

/* Agreement styles */
.agreement-content {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.agreement-content::-webkit-scrollbar {
    width: 8px;
}

.agreement-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.agreement-content::-webkit-scrollbar-thumb {
    background: #2b78ff;
    border-radius: 4px;
}

.agreement-content::-webkit-scrollbar-thumb:hover {
    background: #1a5fd9;
}

/* Header styles */
.header-one a,
.header-top-one-wrapper a,
.mainmenu-nav a {
    text-decoration: none !important;
}

/* Navigation menu */
.mainmenu-nav .nav-item a {
    text-decoration: none !important;
    position: relative;
}

.mainmenu-nav .nav-item a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2b78ff;
    transition: width 0.3s ease;
}

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

/* Footer links */
.footer-wrapper a {
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.footer-wrapper a:hover {
    color: #2b78ff;
}

/* Button links */
.rts-btn {
    text-decoration: none !important;
}

/* Social media links */
.social-area-one ul li a {
    text-decoration: none !important;
}

/* Service links */
.service-one-inner a,
.case-studies-area a,
.blog-one-area a {
    text-decoration: none !important;
}

/* Header top bar links */
.header-top-one-wrapper .left a,
.header-top-one-wrapper .right a {
    text-decoration: none !important;
    color: inherit;
}

/* Mobile menu links */
.rts-offcanvas-area a {
    text-decoration: none !important;
}

/* Override any Bootstrap link styles */
.nav-link,
.dropdown-item,
.navbar-brand {
    text-decoration: none !important;
}

/* Consultancy Area */
.consultancy-thumbnail-area {
    position: relative;
    margin: 40px 0;
    display: flex;
    justify-content: flex-end;
    padding-left: 125px; /* Half of small circle width */
    padding-bottom: 125px; /* Half of small circle height */
}

.consultancy-thumbnail-area .large-image {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.consultancy-thumbnail-area .large-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.consultancy-thumbnail-area .small-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    left: 0;
    bottom: -30px;
    border: 10px solid #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

@media (max-width: 991px) {
    .consultancy-thumbnail-area .small-image {
        width: 200px;
        height: 200px;
        bottom: -40px;
        left: 20px;
    }
}

.consultancy-thumbnail-area .small-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Hover effects */
.consultancy-thumbnail-area .large-image:hover img,
.consultancy-thumbnail-area .small-image:hover img {
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .consultancy-thumbnail-area .large-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 1;
        border-radius: 50%;
        margin: 0;
        padding: 0;
        position: relative;
    }
    
    .consultancy-thumbnail-area .large-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }
    
    .consultancy-thumbnail-area {
        padding: 0;
        margin: 0;
        width: 100%;
    }
}

/* Statistics Section */
.signle-fun-facts-one {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.signle-fun-facts-one:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.signle-fun-facts-one .icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.signle-fun-facts-one .icon i {
    color: #fff;
    font-size: 36px;
}

.signle-fun-facts-one .title {
    font-size: 42px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 10px;
}

.signle-fun-facts-one .bototm {
    font-size: 18px;
    color: var(--body-color);
    font-weight: 500;
}

/* Process Section */
.working-process-one {
    padding: 100px 0;
    background: #f8fafc;
}

.title-style-one {
    text-align: center;
    margin-bottom: 60px;
}

.title-style-one .pre {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 20px;
}

.title-style-one .title {
    font-size: 42px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
    line-height: 1.2;
}

.working-process-main-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.single-working-process-one {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 35px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.single-working-process-one::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.single-working-process-one:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.single-working-process-one:hover::before {
    opacity: 1;
}

.single-working-process-one .left .icon {
    width: 70px;
    height: 70px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.single-working-process-one:hover .left .icon {
    background: var(--primary-color);
}

.single-working-process-one .left .icon img {
    width: 35px;
    height: 35px;
    transition: all 0.3s ease;
}

.single-working-process-one:hover .left .icon img {
    filter: brightness(0) invert(1);
}

.single-working-process-one .inner-content {
    flex: 1;
}

.single-working-process-one .number-main {
    margin-bottom: 10px;
}

.single-working-process-one .number-main .number {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.1);
    padding: 5px 15px;
    border-radius: 20px;
}

.single-working-process-one .title {
    font-size: 24px;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 15px;
}

.single-working-process-one .disc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--body-color);
    margin: 0;
}

.thumbnail-working-procss-one {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.thumbnail-working-procss-one img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.thumbnail-working-procss-one:hover img {
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .working-process-one {
        padding: 60px 0;
    }
    
    .title-style-one .title {
        font-size: 36px;
    }
    
    .single-working-process-one {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .title-style-one .title {
        font-size: 32px;
    }
    
    .single-working-process-one {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 20px;
    }
    
    .single-working-process-one .left .icon {
        width: 60px;
        height: 60px;
    }
    
    .single-working-process-one .left .icon img {
        width: 30px;
        height: 30px;
    }
}

/* Modern Stats Section */
.stats-section {
    padding: 80px 0;
    background: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2563eb 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-card:hover::before {
    opacity: 0.03;
}

.stat-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.stat-label {
    font-size: 18px;
    color: var(--body-color);
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* Modern Process Section */
.process-section {
    padding: 100px 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 20px;
}

.section-header p {
    font-size: 18px;
    color: var(--body-color);
    max-width: 600px;
    margin: 0 auto;
}

.process-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.process-step {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.step-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
}

.step-content {
    flex: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step-icon i {
    font-size: 24px;
    color: #fff;
}

.step-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 15px;
}

.step-content p {
    font-size: 16px;
    color: var(--body-color);
    line-height: 1.6;
    margin: 0;
}

.process-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.process-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

@media (max-width: 991px) {
    .process-container {
        grid-template-columns: 1fr;
    }
    
    .process-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .step-number {
        font-size: 36px;
    }
    
    .step-icon {
        margin: 0 auto 20px;
    }
}

/* Password Toggle Button */
.toggle-password {
    border-left: none;
}

.toggle-password:hover {
    background-color: transparent;
}

.toggle-password i {
    color: #6c757d;
}

/* Mobile Menu Button */
#menu-btn {
    display: none; /* Hide by default */
}

@media (max-width: 991px) {
    #menu-btn {
        display: flex; /* Show only on mobile */
        background: #F2F2F2;
        height: 55px;
        min-width: 55px;
        align-items: center;
        justify-content: center;
        border-radius: 15px;
        border: none;
    }
}

/* Mobile Menu */
.mobile-menu-wrapper {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 1040;
    transition: 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    overflow-y: auto;
    padding: 20px;
}

.mobile-menu-wrapper.active {
    right: 0;
}

.mobile-menu {
    padding-top: 50px;
}

.mobile-menu .mainmenu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu .mainmenu li {
    border-bottom: 1px solid #eee;
}

.mobile-menu .mainmenu li a {
    display: block;
    padding: 12px 0;
    color: #1a2a6c;
    text-decoration: none;
    font-weight: 500;
}

.mobile-menu .mainmenu li.has-dropdown {
    position: relative;
}

.mobile-menu .mainmenu li.has-dropdown:after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 12px;
    transition: 0.3s;
}

.mobile-menu .mainmenu li.has-dropdown.active:after {
    transform: rotate(180deg);
}

.mobile-menu .mainmenu .submenu {
    display: none;
    list-style: none;
    padding: 0 0 0 15px;
    margin: 0;
}

.mobile-menu .mainmenu .submenu.active {
    display: block;
}

.menu-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #1a2a6c;
    cursor: pointer;
}

@media (min-width: 992px) {
    .menu-btn, .mobile-menu-wrapper {
        display: none;
    }
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1039;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 991px) {
    #search, #menu-btn {
        background: #F2F2F2;
        height: 55px;
        min-width: 55px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 15px;
        border: none;
    }
}

@media (min-width: 992px) {
    .menu-btn, .mobile-menu-wrapper {
        display: none;
    }
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #1a2a6c;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: #f2f2f2;
}
