/* Color Variables */
:root {
    --primary-color: #007DFA; /* Same as Brand 600*/
    --brand-50: #E6F0FF;
    --brand-100:#CCE5FF;
    --brand-300:#55AEFF;
    --brand-600:#007DFA;
    --brand-700:#1A58D3;
    --brand-800:#004B8C;
    --brand-900:#0054A8;
    --brand-950:#1F37B4;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E9EAEB;
    --gray-300: #D5D7DA;
    --gray-400: #A4A7AE;
    --gray-500: #717680;
    --gray-600: #535862;
    --gray-700: #414651;
    --gray-800: #2D333B;
    --gray-900: #181D27;
    --bluish-purple-100: #eae7ff;
    --bluish-purple-200: #c6bcff;
    --bluish-purple-300: #b4a8ff;
    --bluish-purple-400: #6952f0;
    --bluish-purple-600: #5137fb;
    --bluish-purple-700: #6200ee;
    --bluish-purple-800: #3700b3;
    --container-max-width: 1200px;
    --container-margin: 0 auto;
    --container-padding: 96px 0;
    --dashboard-border-radius: clamp(4px, calc(1.35vw + 1.4px), 13px);
    --header-min-height: 72px;
    --footer-min-height: 48px;
}
/* Self-hosted Inter Variable Fonts */
@font-face {
    font-family: 'Inter';
    src: url('./fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('./fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 800;
    font-style: italic;
    font-display: swap;
}

/* Global Styles */
* {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Typography */
h1 {
    font-size: 60px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700; /* Make headline bolder */
    color: var(--gray-900);
}
@media screen and (max-width: 1030px) {
    h1 {
        font-size: calc(100vw /18 );
    }
    
}
h2 {
    font-size: 42px; /* Slightly larger for impact */
    line-height: 1.3;
    margin-bottom: 24px;
    font-weight: 600; /* Bolder for section titles */
    color: var(--gray-800);
}

h3 {
    font-size: 28px; /* Slightly larger */
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: 600; /* Bolder */
    color: var(--gray-700);
}

h4 {
    font-size: 20px; /* Slightly larger */
    line-height: 1.5;
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--gray-700);
}

@media (max-width: 768px) {
    h1 {
        font-size: 38px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    h3 {
        font-size: 24px;
    }
    
    h4 {
        font-size: 18px;
    }
}

body {
    line-height: 1.6;
    color: var(--gray-700); /* Slightly lighter body text */
    background-color: var(--gray-50); /* Light background for modern feel */
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Softer, more pronounced shadow */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    min-height: var(--header-min-height);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
    margin-top: auto;
    margin-bottom: auto;
    vertical-align: middle;
}
.logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    margin-bottom: auto;
    vertical-align: middle;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}
.nav-link {
    line-height: 44px;
    transition: color 0.3s ease; /* Smooth transition for hover */
}
.nav-link:hover {
    color: var(--primary-color); /* Highlight on hover */
}

/* Mobile Menu Styles */
.menu-button {
    display: none;
    padding: 10px;
    z-index: 1001;
}

@media (max-width: 830px) {
    .menu-button {
        display: block;
        order: 2;
    }

    .nav-container {
        padding: 15px 5%;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links.active a {
        display: block !important;
    }
    
    .logo {
        display: flex;
        margin-right: 0;
        order: 1;
    }

    .language-selector {
        margin-top: 10px;
    }

    /* Move language selector inside nav-links in mobile */
    .nav-container > .language-selector {
        display: none;
    }

    .nav-links .language-selector {
        display: flex;
    }
}

@media (max-width: 830px) {
    .nav-links a:not(:first-child) {
        display: none;
    }
    
    .nav-links.active a {
        display: block;
    }
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-900);
    font-weight: 500;
    font-size: 15px; /* Slightly larger font size */
}

/* Main content */
main {
    margin-top: var(--header-min-height);
    min-height: calc(92vh - var(--header-min-height) - var(--footer-min-height));
}

hr {
    border: 0;
    border-top: 1px solid var(--gray-300); /* Lighter border */
}


/* Base Section */
.basic-section{
    padding: 72px 5%;
    margin: 0 auto;
}

.gray-section {
    background-color: var(--gray-100);
    background: linear-gradient(to top, var(--gray-200), var(--gray-100));
}
/*Internal Pages*/
internal-page-main{
    /* padding: 72px 5%; */
    margin: 0 auto;
    /* min-height: calc(92vh - var(--header-min-height) - var(--footer-min-height)); */
}
.internal-page-container {
    max-width: var(--container-max-width);
    margin: var(--container-margin);
    padding: var(--container-padding);
}
.internal-page-container .content h2 {
    margin-top: 48px;
    margin-bottom: 12px;
}
.internal-page-container .content ul {
    padding-left: 24px;
}

/* Hero Section */
.hero {
    max-width: var(--container-max-width);
    margin: var(--container-margin);
    padding: 96px 0 60px;
    position: relative;
    overflow: hidden;
    text-align: center; /* Center align hero content */
}
.polka {
  background-color: #fefefe;
  background-image: radial-gradient(var(--brand-100) 1.2px, #fefefe 1.2px);
  background-size: 24px 24px;
}
#hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-image: url('./img/background-pattern.svg');
    background-repeat: repeat;
    background-position: center;
    background-size: auto;
    z-index: -1;
    opacity: 0.1; /* Reduced opacity for subtlety */
}

.hero h1 {
    max-width: 1000px; /* Limit width for better readability */
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    color: var(--gray-600);
    font-size: 18px; /* Slightly larger font size */
    max-width: 600px; /* Wider for better readability */
    margin: 60px auto 60px; /* Center and add more bottom margin */
}

.hero-buttons {
    display: flex;
    gap: 20px; /* More space between buttons */
    margin-bottom: 60px; /* More bottom margin */
    justify-content: center; /* Center buttons */
}


.primary-btn {
    background-color: var(--brand-700);
    color: white;
    padding: 12px 25px; /* Larger padding */
    border-radius: 8px; /* More rounded corners */
    text-decoration: none;
    font-weight: 600; /* Bolder text */
    font-size: 16px; /* Larger font size */
    transition: all 0.3s ease; /* Smooth transition */
}

.secondary-btn {
    background-color: white;
    color: var(--gray-900); /* Darker text for better contrast */
    padding: 12px 25px; /* Larger padding */
    border-radius: 8px; /* More rounded corners */
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--gray-300); /* Lighter border */
    font-size: 16px;
    transition: all 0.3s ease;
}
.primary-btn:hover {
    box-shadow: var(--brand-600) 0px 10px 30px -10px; /* More pronounced shadow on hover */
    transform: translateY(-3px); /* Slight lift effect */
}
.secondary-btn:hover {
    box-shadow: var(--gray-400) 0px 10px 30px -10px; /* Softer shadow */
    transform: translateY(-3px);
}
.primary-btn, .secondary-btn {
    display: flex;
    align-items: center;
    gap: 10px; /* More space for icon */
}

.button-icon {
    width: 20px; /* Larger icon */
    height: 20px;
}

/* Wall Section */
.bluish-gradient-bg {
    background: linear-gradient(to bottom, var(--brand-100), white);
}

.wall-container {
    max-width: var(--container-max-width);
    margin: var(--container-margin);
    padding: var(--container-padding);
    text-align: center;
}

.wall-container h2 {
    font-size: 36px; /* Larger for impact */
    margin-bottom: 25px;
}

.wall-container p {
    max-width: 700px; /* Wider for better readability */
    margin: 0 auto 40px;
    color: var(--gray-600);
    font-size: 18px;
}

.dashboard-img {
    max-width: 900px; /* Larger dashboard image */
    margin: 0 auto;
    border-radius: var(--dashboard-border-radius);
    box-shadow: rgba(0, 0, 0, 0.25) 0 30px 90px -20px ;
    overflow: hidden;
    display: flex;
    justify-content: center;
    margin: 80px auto; /* More margin */
    transition: transform 0.5s ease; /* Add transition for hover effect */
}

.dashboard-img:hover {
    transform: translateY(-5px); /* Slight lift on hover */
}

.dashboard-img img {
    max-width: 100%;
    height: auto;
    border-radius: var(--dashboard-border-radius);
}

/* Problems Section */
.problems {
    display: flex;
    justify-content: center; /* Center the problem boxes */
    flex-wrap: wrap;
    gap: 30px; /* More space between boxes */
    margin-top: 60px; /* More top margin */
}

.problem-box {
    flex: 1;
    min-width: 300px;
    max-width: 380px; /* Limit max width for better layout */
    padding: 30px; /* More padding */
    margin: 0; /* Remove individual margin */
    background-color: white;
    border-radius: 10px; /* Rounded corners */
    box-shadow: rgba(0, 0, 0, 0.05) 0px 5px 15px; /* Subtle shadow */
    transition: transform 0.3s ease; /* Smooth transition */
}

.problem-box:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: rgba(0, 0, 0, 0.1) 0px 8px 20px; /* More pronounced shadow */
}

.problem-box h3 {
    font-size: 22px; /* Larger font size */
    margin-bottom: 15px;
    font-weight: 700; /* Bolder */
    color: var(--bluish-purple-700); /* Highlight with primary color */
}

.problem-box p {
    color: var(--gray-600);
    font-size: 16px; /* Larger font size */
    line-height: 1.6;
    margin-bottom: 0;
}

/* Solution Overview Section */

.solution-container {
    max-width: var(--container-max-width);
    margin: var(--container-margin);
    padding: var(--container-padding);
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 48px; /* More space */
}

.solution-header {
    align-content: center;
}

@media (max-width: 968px) {
    .solution-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .solution-header h2 {
        position: static;
    }
}


.solution-header h2 {
    position: sticky;
    margin: auto;
}

.strategy-items {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.strategy-item {
    display: flex;
    align-items: flex-start;
    gap: 20px; /* More space for icon */
}

.strategy-icon {
    width: 56px; /* Larger icon container */
    height: 56px;
    background-color: var(--primary-color); /* Primary color background */
    border-radius: 12px; /* More rounded */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: none; /* Remove border */
    box-shadow: var(--brand-600) 0px 8px 20px -5px; /* Stronger shadow */
}

.strategy-icon img {
    width: 28px; /* Larger icon */
    height: 28px;
    filter: brightness(0) invert(1); /* Make icons white */
}

.strategy-content h3 {
    font-size: 24px; /* Larger font size */
    font-weight: 700;
    margin-bottom: 10px;
}

.strategy-content p {
    font-size: 16px;
    color: var(--gray-600);
}

/* Process Section */
.process-section {
    padding: var(--container-padding);
    max-width: 1200px;
    margin: 0 auto;
}

.process-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
}

.process-section p {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    color: var(--gray-600);
}

/* Clients Section */
#track-record{
    background-color: white;
}

.clients-container {
    max-width: var(--container-max-width);
    margin: var(--container-margin);
    padding: var(--container-padding);
    text-align: center;
}

.clients-info {
    margin-bottom: 88px;
    width: 100%;
    color: var(--gray-900);
}
.clients-info .title {
    font-weight: 300;
    display: inline-block;
    margin-bottom: 32px;
}
.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin: 0 auto;
}

.client-logo {
    max-width: 180px; /* Larger logo size */
    height: 50px; /* Larger height */
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(80%); /* Slightly less grayscale */
    opacity: 0.8; /* Slightly more opaque */
    transition: all 0.4s ease; /* Slower transition */
}

.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05); /* Slight zoom on hover */
}

.client-logo img {
    max-width: 150px;
    object-fit: contain;
}

/* Services Section */
.services-container {
    padding: var(--container-padding);
    max-width: 1200px;
    margin: 0 auto;
}

.service-info {
    margin-bottom: 64px;
    font-size: 22px; /* Larger font size */
    text-align: center; /* Center align service info */
}
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px;
    max-width: 900px; /* Limit max width to control layout */
    margin: 0 auto; /* Center the grid */
}

.service-card {
    flex: 0 1 calc(50% - 18px); /* 50% width minus half of the gap */
    min-width: 280px; /* Minimum width before wrapping */
    max-width: 100%; /* Allow full width on mobile */
    background-color: white;
    border-radius: 12px; /* More rounded */
    padding: 36px; /* More padding */
    box-shadow: rgba(0, 0, 0, 0.08) 0px 6px 18px -4px, rgba(0, 0, 0, 0.05) 0px 0px 0px 1px; /* Softer, more spread out shadow */
    transition: all 0.3s ease; /* Smooth transition */
}

@media (max-width: 768px) {
    .service-card {
        flex: 1 1 100%; /* Full width on mobile */
    }
}

.service-icon {
    width: 60px; /* Larger icon container */
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 10px; /* Slightly less rounded for a modern look */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px; /* More margin */
    font-size: 24px; /* Larger icon text */
}

.service-card h3 {
    font-size: 24px; /* Larger font size */
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 16px; /* Larger font size */
    color: var(--gray-600);
}

/* CTA Section */

.cta-container {
    max-width: 900px; /* Wider CTA section */
    margin: var(--container-margin);
    padding: var(--container-padding);
}
.cta-header{
    margin-bottom: 60px; /* More margin */
    text-align: center;
}

.cta-header h2 {
    font-size: 42px; /* Larger font size */
    color: white;
}

.cta-header p {
    font-size: 22px; /* Larger font size */
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* Footer */
footer {
    padding: 50px 0px;
    background-color: var(--gray-800);
    border-top: 1px solid var(--gray-500);
    color: white; 
    min-height: var(--footer-min-height);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-container > div {
    padding: 0 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    filter: brightness(0) invert(1); /* Make logo white */
}

.footer-links {
    display: flex;
    gap: 24px;
    margin:auto;
}

.footer-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    text-decoration: underline;
    display: block;
}

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

.copyright {
    font-size: 13px;
    line-height: 40px;
    color: rgba(255, 255, 255, 0.8);
    padding: 0px 10px;
    margin:auto
}
.copyright span{
    display: inline-block;
    margin:auto;
    /* padding: 0px 5px; */
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .stats-section {
        flex-direction: column;
    }
    
    .strategy-items {
        flex-direction: column;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 20px;
    }
}

/* Language Selector Styles */
.language-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    overflow: hidden;
}
  
.lang-btn {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    text-decoration: none;
    color: var(--gray-900);
    font-size: 14px;
    transition: background-color 0.2s;
    border: none;
    background-color: var(--gray-50);
    cursor: pointer;
}

.lang-btn:hover {
    background-color: var(--brand-100);
    font-weight: bold;
}

.lang-selected {
    font-weight: normal;
    background-color: var(--gray-200);
    color: var(--gray-700);
    cursor:default;
}
.lang-selected:hover {
    background-color: var(--gray-200);
    font-weight:normal
}

.flag-icon {
    width: 18px;
    height: 12px;
    margin-right: 6px;
    border-radius: 2px;
}

.underlined-text {
    display: inline;
    position: relative;
}

.underlined-text span {
    position: relative;
    z-index: 1;
    white-space: nowrap;
    display: inline-block;
}

.underlined-text::after {
    content: '';
    position: absolute;
    left: -1%;
    bottom: calc(-5px - ( 2vw / 5));
    width: 100%;
    height: 0;
    padding-bottom: 8%;
    background-image: url('./img/underline-light-blue.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    z-index: 0;
}

.dark-blue-gradient-bg {
    background: linear-gradient(135deg, var(--brand-300) 0%, var(--brand-900) 100%);
}

/* Subtle animation for hero section text (kinetic typography idea) */
.hero h1 span {
    display: inline-block;
    animation: fadeInScale 1s ease-out forwards;
    opacity: 0;
    transform: scale(0.9);
}

.hero h1 span:nth-child(1) { animation-delay: 0.2s; }
.hero h1 span:nth-child(2) { animation-delay: 0.4s; }
.hero h1 span:nth-child(3) { animation-delay: 0.6s; }
.hero h1 span:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hover effects for problem boxes */
.problem-box {
    transition: all 0.3s ease;
}

.problem-box:hover {
    transform: translateY(-10px); /* More pronounced lift */
    box-shadow: rgba(0, 0, 0, 0.2) 0px 15px 30px -10px; /* Stronger shadow */
}

/* Hover effects for strategy items */
.strategy-item {
    transition: all 0.3s ease;
}

.strategy-item:hover .strategy-icon {
    transform: scale(1.1); /* Zoom icon on hover */
    box-shadow: var(--brand-600) 0px 10px 25px -5px; /* Stronger shadow */
}

/* Hover effects for client logos */
.client-logo {
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.1); /* Zoom on hover */
    filter: grayscale(0%); /* Full color on hover */
    opacity: 1;
}

/* Hover effects for service cards */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px); /* More pronounced lift */
    box-shadow: rgba(0, 0, 0, 0.2) 0px 15px 30px -10px; /* Stronger shadow */
}

/* Subtle animation for dashboard image */
.dashboard-img {
    animation: float 3s ease-in-out infinite alternate;
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

/* Adjustments for the underlined text to ensure visibility with new typography */
.underlined-text::after {
    bottom: calc(-8px - ( 2vw / 5)); /* Adjust position */
    height: 0;
    padding-bottom: 10%; /* Make underline thicker */
}


