
:root {
    --navy: hsl(215, 55%, 24%);
    --slate: #435675;
    --teal: #008080;
    --gold: #FFB81C;
    --light-gray: #F5F7FA;
    --dark-gray: #2C3E50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}


body {
    background: #fff;
    color: var(--dark-gray);
    line-height: 1.6;
}

.gradient-text {
    background: linear-gradient(120deg, var(--teal), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

nav {
    background: rgba(27, 54, 93, 0.98);
    padding: 1.2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-content {
    max-width: 1700px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon {
    color: var(--gold);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover .logo-icon {
    transform: scale(1.15) rotate(-10deg);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: var(--gold);
}

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

/* Highlight active menu item */
.nav-links a.active {
    color: var(--gold);
}

.nav-links a.active::after {
    width: 100%;
}

.hero {
    background: linear-gradient(135deg, rgba(27, 54, 93, 0.95) 0%, rgba(21, 40, 71, 0.95) 100%);
    color: white;
    padding: 12rem 1rem 8rem;
    position: relative;
    overflow: hidden;
}

#financeCanvas {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0.2;
z-index: 1;
}


/* Remove the old hero::before if it exists */
.hero::before {
    display: none;
}
@keyframes heroScale {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    animation: fadeInUp 1s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.hero p {
    font-size: 1.6rem;
    margin-bottom: 3rem;
    color: var(--light-gray);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.2s backwards;
    opacity: 0.9;
}

.cta-button {
    background: linear-gradient(135deg, var(--teal), #006666);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,128,128,0.3);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 30px rgba(0,128,128,0.4);
}

.cta-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: 0.6s;
}

.cta-button:hover::after {
    left: 100%;
}

.features {
    padding: 8rem 1rem;
    background: white;
    position: relative;
}

.features-content h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--dark-gray);
    font-weight: 700;
}

.service-subsection {
    margin-bottom: 6rem;
}

.service-subsection h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--teal);
    text-align: center;
    position: relative;
}

.service-subsection h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold);
}

.feature-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* Hide scrollbar in IE and Edge */
    scrollbar-width: none;  /* Hide scrollbar in Firefox */
    padding-bottom: 1rem;
    position: relative;
}

.feature-grid::-webkit-scrollbar {
    display: none;  /* Hide scrollbar in Chrome, Safari, and Opera */
}

.feature-card {
    min-width: 220px;
    max-width: 240px;
    flex: 0 0 auto;
    margin-right: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:last-child {
    margin-right: 0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--teal);
}

.feature-card i {
    font-size: 1.8rem;
    background: linear-gradient(120deg, var(--teal), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover i {
    transform: scale(1.15);
}

.feature-card h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--dark-gray);
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--dark-gray);
    line-height: 1.4;
}

/* Center alignment for feature grids with fewer items */
.feature-grid.center {
    justify-content: center;
}

.stats {
    background: linear-gradient(135deg, var(--slate) 0%, var(--navy) 100%);
    color: white;
    padding: 8rem 1rem;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
text-align: center;
padding: 2.5rem 1.5rem;
border-radius: 15px;
background: rgba(255,255,255,0.05);
backdrop-filter: blur(10px);
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
border: 1px solid rgba(255,255,255,0.1);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 0.5rem;
}

.stat-item p {
font-size: 1.1rem;  /* Slightly larger font */
line-height: 1.4;   /* Better line height */
margin-top: 1rem;   /* Space after number */
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255,255,255,0.08);
}

.stat-item h4 {
color: var(--gold);
font-size: 3.5rem;
font-weight: 800;
line-height: 1;
margin: 0.5rem 0;
}
.stat-prefix {
color: white;
font-size: 1.1rem;
margin: 0;
opacity: 0.9;
}

.stat-suffix {
color: white;
font-size: 1.1rem;
margin: 0;
opacity: 0.9;
}

.testimonials {
    padding: 8rem 1rem;
    background: white;
}

.testimonials-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-content h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
    color: var(--dark-gray);
}

.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    margin: 3rem auto;
    max-width: 800px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.testimonial-text {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author {
    font-size: 1.2rem;
    color: var(--dark-gray);
    font-weight: 600;
}

footer {
    background: var(--navy);
    color: white;
    padding: 6rem 1rem 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.footer-section h3 {
    color: var(--gold);
    margin-bottom: 2rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    opacity: 1;
    transform: translateX(5px);
    color: var(--gold);
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.fixed-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column; /* Changed from row to column */
    gap: 1rem;
    z-index: 1000;
}

.scroll-to-top,
.whatsapp-button {
    width: 45px;  /* Slightly smaller button size */
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    padding-top: 2px;  /* Move icons slightly down */
    padding-right: 1px;  /* Move icons slightly right */
}

.scroll-to-top {
    background: linear-gradient(135deg, var(--teal), #006666);
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 4px 20px rgba(0,128,128,0.3);
}

.whatsapp-button {
    /* Changed to match scroll-to-top button color */
    background: linear-gradient(135deg, var(--teal), #006666);
    box-shadow: 0 4px 20px rgba(0,128,128,0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover,
.whatsapp-button:hover {
    transform: translateY(-5px) scale(1.05);
}

.scroll-to-top:hover {
    box-shadow: 0 6px 30px rgba(0,128,128,0.4);
}

.whatsapp-button:hover {
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-button i {
    font-size: 1rem;
}

.typing-text {
    border-right: 3px solid var(--gold);
    width: max-content;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: middle;
    animation: typing 8s steps(17, end) infinite, blink .5s step-end infinite alternate;
}

.typing-text::before {
    content: "";
    animation: textChange 8s infinite;
}
.client-process {
    padding: 8rem 1rem;
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.process-content {
    max-width: min(90%, 1800px);
    margin: 0 auto;
}

.client-process h2 {
    font-size: clamp(2.5rem, 3vw, 3.5rem);
    text-align: center;
    margin-bottom: clamp(3rem, 4vw, 5rem);
    color: var(--dark-gray);
    font-weight: 700;
    position: relative;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 2rem 0;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.step-icon {
    width: clamp(80px, 6vw, 120px);
    height: clamp(80px, 6vw, 120px);
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 2px solid var(--teal);
}

.step-icon i {
    font-size: clamp(2rem, 2vw, 3rem);
    background: linear-gradient(120deg, var(--teal), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-content {
    position: relative;
    z-index: 2;
}

.step-content h3 {
    color: var(--teal);
    font-size: clamp(1.2rem, 1.3vw, 1.8rem);
    margin-bottom: clamp(0.5rem, 1vw, 1rem);
    font-weight: 600;
}

.step-content p {
    color: var(--dark-gray);
    font-size: clamp(0.9rem, 1vw, 1.4rem);
    line-height: 1.6;
    margin: 0;
}

.step-connector {
    position: absolute;
    top: 40px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--gold));
    z-index: 1;
}

.process-step:last-child .step-connector {
    display: none;
}

.process-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0,128,128,0.2);
}

.process-step:hover .step-icon i {
    transform: scale(1.1);
}
/* Tab Buttons Styling */
.services-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: #f5f7fa;
    color: #435675;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background-color: #e2e8f0;
}

.tab-button.active {
    background-color: #008080;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 128, 128, 0.3);
}

/* Services Grid Styling */
.services-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.services-grid {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.services-grid.active {
    display: grid;
    opacity: 1;
    transform: translateY(0);
}

.service-card {
    background: white;
    border-radius: 15px;
    font-size: clamp(0.9rem, 1vw, 1.2rem);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    border-color: #008080;
}

.service-card i {
    font-size: clamp(2.5rem, 2.5vw, 3.5rem);
    background: linear-gradient(120deg, #008080, #FFB81C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

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

.service-card h4 {
    color: #2C3E50;
    font-size: clamp(1.2rem, 1.3vw, 1.8rem);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #435675;
    font-size: clamp(0.9rem, 1vw, 1.4rem);
    line-height: 1.6;
}
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.pricing-section {
        background: linear-gradient(180deg, white, var(--light-gray));
        padding: 80px 0;
        position: relative;
        overflow: hidden;
    }

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.pricing-container::before,
.pricing-container::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--teal), transparent);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

.pricing-container::before {
    top: -100px;
    left: -100px;
}

.pricing-container::after {
    bottom: -100px;
    right: -100px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.pricing-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.pricing-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--gold));
    border-radius: 2px;
}

.pricing-header p {
    color: var(--slate);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 25px auto 0;
}

/* Category Styles */
.service-category {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

/* Pricing Tables */
.pricing-tables {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    margin-bottom: 40px;
}

.pricing-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.pricing-table:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Badges */
.service-badge {
    position: absolute;
    left: 0;
    top: 0;
    background: var(--teal);
    color: white;
    font-size: 0.8rem;
    padding: 5px 15px;
    border-radius: 0 0 10px 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popular-badge {
    background: var(--gold);
    color: white;
    padding: 8px 40px;
    position: absolute;
    right: -40px;
    top: 20px;
    transform: rotate(45deg);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(255,184,28,0.3);
    z-index: 1;
}

/* Table Headers */
.table-header {
    padding: 30px;
    text-align: center;
    position: relative;
}

.table-header .subtitle {
    background: linear-gradient(120deg, var(--gold), #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 10px 0 20px;
    text-shadow: 0 0 10px rgba(255, 184, 28, 0.3);
    position: relative;
    padding: 5px 0;
}

.table-header .subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.pricing-table:hover .table-header .subtitle {
    text-shadow: 0 0 15px rgba(255, 184, 28, 0.5);
}

.professional .table-header {
    background: var(--teal);
}

.comprehensive .table-header {
    background: var(--navy);
}

.ifrs .table-header {
    background: linear-gradient(135deg, var(--navy), var(--slate));
}

.table-header h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.price {
    color: white;
    margin-bottom: 10px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
}

.price-period {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    margin-top: 5px;
}

/* Features */
.features {
    padding: 30px;
}

.feature-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(67,86,117,0.1);
    color: var(--slate);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item i {
    color: var(--teal);
    font-size: 1.1rem;
}

/* Custom Services */
.custom-services {
    background: linear-gradient(135deg, rgba(27, 54, 93, 0.03) 0%, rgba(0, 128, 128, 0.03) 100%);
    border-radius: 15px;
    padding: 40px;
    margin-top: 60px;
    border: 1px solid rgba(0, 128, 128, 0.1);
    position: relative;
    z-index: 1;
}

.custom-services h3 {
    color: var(--navy);
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

.custom-services p {
    color: var(--slate);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

/* CTA Button */
.pricing-cta-button {
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.pricing-contact-btn {
    background: linear-gradient(135deg, var(--teal), #006666);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0,128,128,0.3);
}

.custom-services .pricing-contact-btn {
background: linear-gradient(135deg, var(--navy), var(--slate));
box-shadow: 0 4px 15px rgba(27,54,93,0.3);
}

.pricing-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,128,128,0.4);
}

.about-section {
        max-width: 1200px;
        margin: 40px auto;
        padding: 0 20px;
        position: relative;
}

.about-header {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(27, 54, 93, 0.05) 0%, rgba(0, 128, 128, 0.05) 100%);
    border-radius: 15px 15px 0 0;
    border-bottom: 3px solid var(--teal);
}

.about-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(120deg, var(--teal), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.about-header p {
    color: var(--slate);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: white;
    min-height: 600px;
}

.about-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.about-slide {
    min-width: 100%;
    padding: 40px;
}

.about-slide h2 {
    color: var(--navy);
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.about-slide h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--gold));
    border-radius: 2px;
}

/* Different layout styles */
.about-slide-content {
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 0 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-layout-standard .about-slide-content {
    flex-direction: row;
}

.about-layout-reverse .about-slide-content {
    flex-direction: row-reverse;
}

.about-layout-top .about-slide-content {
    flex-direction: column;
}

.about-layout-bottom .about-slide-content {
    flex-direction: column-reverse;
}

.about-slide-text {
    flex: 1;
    color: var(--slate);
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-slide-text p {
    margin-bottom: 20px;
}

.about-slide-image {
    flex: 0 0 400px;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-layout-top .about-slide-image,
.about-layout-bottom .about-slide-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.about-slide-image:hover {
    transform: scale(1.02);
}

.about-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-values-list {
    list-style: none;
    margin: 20px 0;
}

.about-values-list li {
    margin: 15px 0;
    padding-left: 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-values-list li::before {
    content: '';
    width: 12px;
    height: 2px;
    background: var(--teal);
    position: absolute;
    left: 0;
    top: 12px;
}

.about-values-list li strong {
    color: var(--navy);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 4px;
}

.about-values-list li span {
    display: block;
    padding-left: 0;
}

.about-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--navy);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.about-slider-arrow:hover {
    background: var(--teal);
}

.about-prev {
    left: 20px;
}

.about-next {
    right: 20px;
}

.about-slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.about-indicator {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background: var(--light-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.about-indicator.active {
    background: var(--teal);
    width: 40px;
}

.about-team-card {
    animation: fadeInUp 0.5s ease forwards;
}

.about-team-card:nth-child(1) { animation-delay: 0.1s; }
.about-team-card:nth-child(2) { animation-delay: 0.2s; }
.about-team-card:nth-child(3) { animation-delay: 0.3s; }
.about-team-card:nth-child(4) { animation-delay: 0.4s; }

.about-layout-team .about-slide-content {
    padding: 0;
}

.about-team-split {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    padding: 20px 40px;
    align-items: start;
}

.about-team-stats {
    background: linear-gradient(135deg, rgba(27, 54, 93, 0.03) 0%, rgba(0, 128, 128, 0.03) 100%);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--teal);
}

.about-stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 128, 128, 0.1);
}

.about-stat-item:last-child {
    border-bottom: none;
}

.about-stat-item i {
    font-size: 24px;
    color: var(--teal);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 128, 128, 0.1);
}

.about-stat-content h3 {
    color: var(--navy);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.about-stat-content .highlight {
    color: var(--teal);
    font-weight: 600;
    font-size: 0.95rem;
}

.about-team-desc {
    padding: 20px 0;
}

.about-team-desc p {
    color: var(--slate);
    line-height: 1.6;
    margin-bottom: 25px;
}

.contact-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(27, 54, 93, 0.97) 0%, rgba(0, 128, 128, 0.97) 100%),
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80') center/cover;
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Changed to equal columns */
    gap: 3rem;
    position: relative;
    z-index: 2;
}

/* Rest of the styles remain the same */
.contact-form-section,
.contact-details-section {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    animation: slideUp 0.8s ease-out;
    width: 100%; /* Added to ensure equal width */
    transition: all 0.3s ease-in-out;
}

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

.section-title {
    color: var(--navy);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title span {
    background: linear-gradient(120deg, var(--teal), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--gold));
    border-radius: 2px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    position: relative;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: var(--light-gray);
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--dark-gray);
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: -0.8rem;
    background: white;
    padding: 0 0.5rem;
    color: var(--slate);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    background: white;
    box-shadow: 0 5px 15px rgba(0, 128, 128, 0.1);
}

.submit-button {
    background: linear-gradient(135deg, var(--teal), var(--navy));
    color: white;
    padding: 1.3rem 3rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.submit-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 128, 128, 0.3);
}

.submit-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.submit-button:hover::after {
    left: 100%;
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 4px solid white;
    position: relative;
}

.map-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(0,128,128,0.1);
    border-radius: 16px;
    pointer-events: none;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.info-item:hover {
    transform: translateX(10px);
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.info-item i {
    font-size: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--teal), var(--navy));
    color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,128,128,0.2);
}

.info-content {
    flex: 1;
}

.info-label {
    color: var(--navy);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: block;
}

.info-text {
    color: var(--slate);
    font-size: 1rem;
    line-height: 1.6;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 50%;
    animation: float 20s infinite;
}

.shape-1 {
    width: 500px;
    height: 500px;
    top: -250px;
    left: -250px;
    animation-delay: -2s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    bottom: -200px;
    right: -200px;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% {
    transform: translate(0, 0) rotate(0deg);
    }
    25% {
    transform: translate(50px, 50px) rotate(90deg);
    }
    50% {
    transform: translate(0, 100px) rotate(180deg);
    }
    75% {
    transform: translate(-50px, 50px) rotate(270deg);
    }
}


@keyframes typing {
        0%, 45% {
        width: 0;
        }
        10%, 35% {
        width: 12.7ch;  /* For "Свои Финансы" */
        }
        50%, 95% {
        width: 0;
        visibility: visible;
        }
        60%, 85% {
        width: 12.7ch;  /* For "Свое Будущее" */
        visibility: visible;
        }
    }

    @keyframes textChange {
    0%, 45% {
        content: "Свои Финансы";
    }
    45.1%, 95% {
        content: "Свое Будущее";
    }
    95.1%, 100% {
        content: "Свои Финансы";
    }
    }
@keyframes blink {
    50% {
    border-color: transparent;
    }
    100% {
border-color: var(--gold); /* Or whatever color your cursor is */
}
}

@keyframes fadeInUp {
    from {
    opacity: 0;
    transform: translateY(30px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
}
.form-message {
padding: 1rem;
border-radius: 12px;
margin-top: 1rem;
text-align: center;
font-weight: 500;
animation: slideIn 0.3s ease-out;
width: 100%;
}

.success-message {
    background-color: rgba(0, 128, 128, 0.1);
    color: var(--teal);
    border: 1px solid var(--teal);
}

.error-message {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid #dc3545;
}
.pricing-disclaimer {
    background: rgba(0, 128, 128, 0.08);
    border-left: 4px solid var(--teal);
    border-radius: 8px;
    padding: 15px 20px;
    margin: 25px auto 10px;
    max-width: 800px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.6s ease-out;
}

.pricing-disclaimer i {
    color: var(--teal);
    font-size: 1.8rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.pricing-disclaimer p {
    color: var(--slate);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    text-align: left;
    font-style: italic;
}
/* Testimonial slider styling */
.testimonial-slider-container {
    position: relative;
    overflow: hidden;
    padding: 30px 0;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .testimonial-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
  }
  
  .testimonial-slide {
    min-width: 100%;
    padding: 10px 20px;
  }
  
  .testimonial-card {
    position: relative;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
    text-align: left;
  }
  
  .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
  }
  
  .testimonial-icon {
    position: absolute;
    top: -25px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--teal), var(--navy));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .testimonial-text {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
  }
  
  .testimonial-author {
    font-size: 1.1rem;
    color: var(--teal);
    font-weight: 600;
    text-align: right;
  }
  
  .testimonial-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--teal), var(--navy));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  }
  
  .testimonial-slider-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  }
  
  .testimonial-prev {
    left: 10px;
  }
  
  .testimonial-next {
    right: 10px;
  }
  
  .testimonial-slide-indicators {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 10px;
  }
  
  .testimonial-indicator {
    width: 35px;
    height: 4px;
    border-radius: 2px;
    background: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .testimonial-indicator.active {
    background: var(--teal);
    width: 45px;
  }

/* Language Switcher Styles */
.language-switcher {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
  }
  
  .language-btn {
    background: none;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem 0.7rem;
    border-radius: 50px;
    transition: all 0.3s ease;
  }
  
  .language-btn:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .language-btn .fa-globe {
    font-size: 1rem;
  }
  
  .current-lang {
    font-weight: 500;
    font-size: 0.9rem;
  }
  
  .language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--navy);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 100px;
    display: none;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
  }
  
  .language-switcher:hover .language-dropdown {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }
  
  .lang-option {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
  }
  
  .lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold);
  }
  
  .lang-option.active {
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
  }

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

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

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


@media (min-width: 1440px) {
    .pricing-container {
    max-width: 1400px;
}
    .process-timeline {
    gap: clamp(2rem, 3vw, 4rem);
    }
    .features-content h2 {
    font-size: clamp(2.5rem, 3vw, 3.5rem);
    }
    .services-container {
    max-width: 1800px;
    margin: 0 auto;
    }
    .service-card {
    padding: clamp(2rem, 2vw, 3rem);
    }
}
    /* Stats Responsive Design */
@media (max-width: 1200px) {
    .contact-container {
        grid-template-columns: 1fr;
        max-width: 800px;
    }
    .pricing-tables {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
    }
    .nav-content {
    gap: 2rem; /* Add gap between logo and nav links */
    }
    .stats-grid {
        gap: 2rem;
        padding: 0 1rem;
    }
    .logo {
        flex-shrink: 0; /* Prevent logo from shrinking */
    }
    .stat-item h4 {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    .testimonial-card {
        padding: 2.5rem;
      }
      
      .testimonial-text {
        font-size: 1.1rem;
      }
    
    .about-slider-arrow {
            background: rgba(27, 54, 93, 0.6);
    }
    
    .about-team-split {
        grid-template-columns: 300px 1fr;
        gap: 30px;
        padding: 20px;
    }

    .about-slide-content {
        padding: 0 20px;
    }

    .about-slide-image {
        flex: 0 0 300px;
    }

    .about-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-header h1 {
        font-size: 2rem;
    }
    .pricing-section {
        padding: 60px 0;
    }
    .custom-services {
        margin-top: 40px;
    }
    .mobile-menu-button {
        display: block;
    }
    .nav-links {
    display: none; /* Hide by default on mobile */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(27, 54, 93, 0.98);
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    z-index: 1000; 
    }

    .nav-links.active {
    display: flex; /* Show when active */
    }

    .nav-links a {
    padding: 0.5rem 1rem;
    width: 100%;
    text-align: center;
    }
    .hero h1 {
    font-size: 2.85rem;
    }
    .hero p {
    font-size: 1.4rem; /* Adjusted for better readability on tablets */
    }
    .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    

    .stat-item {
        padding: 2rem 1.5rem;
    }

    .stat-item h4 {
        font-size: 2.8rem;
    }
    
    .process-timeline {
    max-width: 600px;
    flex-direction: column;
    margin: 0 auto;
    align-items: center;
    gap: 3rem;
    }

    .process-step {
    width: 100%;
    max-width: 300px;
    }

    .step-connector {
    top: auto;
    bottom: -50px;
    left: 50%;
    width: 2px;
    height: clamp(40px, 4vw, 70px);
    transform: translateX(-50%);
    }
}
.nav-content, .hero-content, .features-content, 
    .testimonials-content {
    width: 100%;
    padding: 0 1.5rem; /* Slightly larger padding for tablets */
}

@media (max-width: 768px) {
    .language-switcher {
        margin-left: 0;
        margin-top: 0.5rem;
      }
      
      .nav-links.active .language-switcher {
        align-self: center;
        margin-top: 1rem;
      }
      
      .language-dropdown {
        right: 50%;
        transform: translateX(50%) translateY(10px);
      }
      
      .language-switcher:hover .language-dropdown {
        transform: translateX(50%) translateY(0);
      }
    .testimonial-slider-arrow {
        width: 40px;
        height: 40px;
        background: rgba(0, 128, 128, 0.7);
      }
      
      .testimonial-card {
        padding: 2rem;
      }
      
      .testimonial-text {
        font-size: 1rem;
      }
      
      .testimonial-author {
        font-size: 0.95rem;
      }
    .pricing-disclaimer {
        padding: 12px 15px;
        margin: 20px 15px;
    }
    
    .pricing-disclaimer i {
        font-size: 1.5rem;
    }
    
    .pricing-disclaimer p {
        font-size: 0.85rem;
    }
    .scroll-to-top,
    .whatsapp-button {
    width: 45px;
    height: 45px;
    }

    .contact-wrapper {
    padding: 2rem 1rem;
    }

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

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

    .info-item {
    padding: 1.2rem;
    }

    .about-header h1 {
        font-size: 2rem;
    }

    .about-slide {
        padding: 30px 15px;
    }

    .about-slide-text {
        margin-top: 15px;
    }

    .about-slide h2 {
        font-size: 1.5rem;
    }

    .about-slide-content {
        flex-direction: column !important;
        padding: 0;
    }

    .about-slide-image {
        flex: 0 0 200px;
        width: 100%;
        height: 250px;
        margin: 0 auto 20px;
        max-width: none;
        order: -1;
        overflow: hidden;
    }

    .about-slide-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .about-values-list li {
        flex-direction: column;
        gap: 5px;
    }

    .about-slider-arrow {
        width: 35px;
        height: 35px;
    }

    .about-layout-custom-team .about-slide-content {
        flex-direction: column;
        gap: 2rem;
        padding: 0 20px;
    }

    .about-layout-standard .about-slide-image img {
        object-position: center 30%;
    }
    
    .about-layout-top .about-slide-content {
        flex-direction: column !important;
    }

    .about-team-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        margin: 0 auto;
        width: 100%;
        max-width: 1000px;
    }

    .about-team-card {
        background: white;
        padding: 25px;
        border-radius: 10px;
        text-align: center;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        border: 1px solid rgba(0,128,128,0.1);
    }

    .about-team-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,128,128,0.15);
    }

    .about-team-card i {
        font-size: 2.5rem;
        color: var(--teal);
        margin-bottom: 15px;
    }

    .about-team-card h3 {
        color: var(--navy);
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .about-team-card p {
        color: var(--slate);
        font-size: 0.9rem;
    }

    .about-team-desc {
        max-width: 800px;
        margin: 0 auto;
        text-align: left;
    }
    
    .about-team-desc .about-values-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
    }

    .about-team-desc .about-values-list li {
        margin: 0;
        padding-left: 30px;
        position: relative;
    }

    .about-team-desc .about-values-list li i {
        position: absolute;
        left: 0;
        top: 3px;
        color: var(--teal);
    }

    .about-team-desc .about-values-list li::before {
        display: none;
    }

    .about-team-split {
        grid-template-columns: 1fr;
    }

    .about-team-stats {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-team-desc .about-values-list {
        display: none;
    }
    .pricing-tables {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    .popular-badge {
        transform: rotate(0);
        right: 0;
        top: 0;
        width: auto;
        padding: 8px 20px;
    }
    .custom-services {
        padding: 30px 20px;
    }
    /* Hero section adjustments */
    .hero h1 {
    font-size: 2.5rem;
    flex-direction: column;
    }

    .hero p {
    font-size: 1.2rem;
    }

    /* Make content sections full width on mobile */
    .nav-content, .hero-content, .features-content, 
    .testimonials-content {
    /* width: 100%; */
    padding: 0 1rem;
    }
    .stats {
        padding: 6rem 1rem;
    }

    .stats-grid {
        gap: 1.5rem;
    }

    .stat-item {
        padding: 1.8rem 1rem;
    }

    .stat-item h4 {
        font-size: 2.5rem;
    }

    .stat-item p {
        font-size: 0.9rem;
    }
    .services-tabs {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    }
    
    .tab-button {
    width: 100%;
    max-width: 300px;
    }
    
    .services-grid {
    grid-template-columns: 1fr;
    }
    
    .service-card {
    padding: 1.5rem;
    }
}
@media (max-width: 480px) {
    .testimonial-slider-arrow {
        width: 35px;
        height: 35px;
        top: auto;
        bottom: 30px;
      }
      
      .testimonial-prev {
        left: 30%;
      }
      
      .testimonial-next {
        right: 30%;
      }
      
      .testimonial-slide-indicators {
        bottom: 10px;
      }
      
      .testimonial-card {
        padding: 1.5rem;
        margin-bottom: 30px;
      }
      
      .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.6;
      }
      
      .testimonial-icon {
        top: -20px;
        left: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
      }
    .fixed-buttons {
        bottom: 1.5rem;
        right: 1.5rem;
        gap: 0.5rem;
    }

    .scroll-to-top,
    .whatsapp-button {
        width: 40px;
        height: 40px;
    }
    
    .scroll-to-top i,
    .whatsapp-button i {
        font-size: 1rem;
    }

    nav {
    padding: 0.8rem;  /* Reduced from 1.2rem */
    }
    .nav-content {
        padding: 0 0.5rem;  /* Added padding for better spacing */
    }

    .logo {
        font-size: 1.4rem;  /* Reduced from 1.8rem */
        gap: 0.5rem;  /* Reduced from 0.8rem */
    }

    .logo-icon {
        font-size: 1.2rem;  /* Added explicit size for the icon */
    }

    .mobile-menu-button {
        font-size: 1.2rem;  /* Reduced from 1.5rem */
        padding: 0.3rem;    /* Added padding for better touch target */
    }

    /* Adjust the navigation link sizes when menu is open */
    .nav-links.active {
        padding: 0.8rem;  /* Reduced padding */
    }

    .nav-links.active a {
        font-size: 0.9rem;  /* Smaller font size for menu items */
        padding: 0.4rem 0.8rem;  /* Reduced padding */
    }

    .contact-form-section,
    .contact-details-section {
        padding: 1.5rem;
    }

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

    .submit-button {
        padding: 1rem 2rem;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 1rem;
    }
    .about-team-grid {
        grid-template-columns: 1fr;
    }
    /* General slide improvements */
    .about-slide {
        position: relative;
        min-height: 400px;
    }
    
    /* Image handling - making images background */
    .about-slide-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        opacity: 0.1;
        margin: 0;
    }

    .about-slide-image img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
    
    /* Content adjustments */
    .about-slide-content {
        min-height: 100%;
        position: relative;
        z-index: 2;
    }
    
    .about-slide-text {
        background: rgba(255, 255, 255, 0.9);
        padding: 15px;
        border-radius: 8px;
        font-size: 0.95rem;
    }
    
    /* Headers */
    .about-slide h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
        position: relative;
        z-index: 2;
    }
    
    /* Navigation improvements */
    .about-slider-arrow {
        width: 35px;
        height: 35px;
        background: rgba(27, 54, 93, 0.6); /* Make transparent like 768px */
        top: 50%; /* Position in middle */
        bottom: auto; /* Remove bottom positioning */
        transform: translateY(-50%); /* Center vertically */
    }
    
    .about-prev {
        left: 10px;
    }
    
    .about-next {
        right: 10px;
    }
    
    .about-slide-indicators {
        display: none;
    }
    
    .about-stat-item i {
        font-size: 16px;
        width: 28px;
        height: 28px;
    }
    .pricing-section {
    padding: 40px 0;
    }
    .pricing-header h1 {
        font-size: 1.8rem;
    }
    .price-amount {
        font-size: 2rem;
    }
    .custom-services {
        padding: 20px;
    }
    .contact-btn {
        width: 100%;
        padding: 12px 20px;
    }
    .body {
        min-width: 320px; /* Minimum width for smallest screens */
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
    .stats-grid {
        display: flex; /* Change from grid to flex */
        overflow-x: auto; /* Enable horizontal scroll */
        grid-template-columns: unset; /* Remove grid columns */
        gap: 1rem;
        padding: 0.5rem 1rem;
        scroll-snap-type: x mandatory; /* Smooth snap scrolling */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }

    .stat-item {
        flex: 0 0 85%; /* Each item takes 85% of viewport width */
        scroll-snap-align: center; /* Snap to center */
        margin-right: 1rem;
    }
    .stat-item:last-child {
        margin-right: 0;
    }
    .stats-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .stats-grid::-webkit-scrollbar {
    display: none;
    }

    .stat-item h4 {
        font-size: 2.3rem;
    }
    /* Make all sections take full width */
    .hero-content,
    .features-content,
    .testimonials-content,
    .process-content,
    .footer-content {
        width: 100%;
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
    }

    /* Ensure cards and grids are full width */
    .service-card,
    .testimonial-card,
    .feature-card {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

