/* RESET */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:Inter,sans-serif;
color:#14213d;
background:#ffffff;
line-height:1.6;
max-width: 1200px;
margin: auto;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
}


/* TYPOGRAPHY */

h1,h2,h3{
font-family:"Space Grotesk",sans-serif;
}

h1{
font-size:52px;
margin-bottom:20px;
line-height:1.2;
}

h2{
font-size:34px;
margin-bottom:20px;
text-align:center;
}

.section-subtitle{
text-align:center;
max-width:700px;
margin:auto;
margin-bottom:40px;
color:#6b7280;
}


/* HEADER */

.header{
background:#0b132b;
padding:18px 0;
color:white;
position:sticky;
top:0;
z-index:1000;
}

.nav-container{
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:nowrap;
}

.nav{
display:flex;
gap:24px;
flex-wrap:nowrap;
white-space:nowrap;
}

.nav a{
color:white;
text-decoration:none;
font-weight:500;
position:relative;
padding:6px 0;
transition:0.3s;
}

.nav a::after{
content:"";
position:absolute;
left:0;
bottom:-4px;
width:0%;
height:2px;
background:#3b82f6;
transition:width 0.3s ease;
}

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


.nav a.active{
color:#3b82f6;
}

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



.logo{
font-weight:700;
font-size:22px;
}

.nav-right{
display:flex;
gap:12px;
align-items:center;
flex-shrink:0;
}



/* HERO */

.hero{
background:linear-gradient(135deg,#0b132b,#1c3d7a);
color:white;
padding:110px 0 90px;
text-align:center;
}

.hero p{
max-width:650px;
margin:auto;
margin-bottom:30px;
color:#dbeafe;
}

.hero-buttons{
display:flex;
justify-content:center;
gap:20px;
margin-bottom:40px;
}

.hero-buttons a{
display: inline-block;
text-decoration: none;
}

.hero-stats{
display:flex;
justify-content:center;
gap:60px;
margin-top:30px;
}

.hero-stats strong{
display:block;
font-size:26px;
}


/* BUTTONS */

.btn-primary{
background:#2563eb;
border:none;
padding:12px 26px;
color:white;
border-radius:10px;
cursor:pointer;
font-weight:600;
}

.btn-secondary{
background:white;
border:none;
padding:12px 26px;
border-radius:10px;
cursor:pointer;
font-weight:600;
}


/* ABOUT */

.about-premium{
background:#f4f7fb;
padding:80px 0;
}

.about-grid{
display:grid;
grid-template-columns:1.1fr 1fr;
gap:60px;
align-items:center;
}

.about-left h2{
font-size:40px;
margin-bottom:20px;
text-align:left;
}

.about-left span{
color:#2563eb;
}

.about-left p{
margin-bottom:18px;
color:#4b5563;
}

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

.about-highlights li{
margin-bottom:14px;
padding-left:18px;
position:relative;
}

.about-highlights li::before{
content:"✔";
position:absolute;
left:0;
color:#2563eb;
}

.about-right{
display:flex;
flex-direction: column;
justify-content: center;
gap:22px;
}

.about-card{
background:white;
padding:24px;
border-radius:10px;
border:1px solid #e5e7eb;
}

.about-card h3{
margin-bottom:10px;
}

.about-card p{
font-size:15px;
color:#6b7280;
}


/* SERVICES */

.services-premium{
padding:30px 0;
background:#f7f9fc;
}

.services-premium h2{
text-align:center;
margin-bottom:60px;
}

.services-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
}

.service-card{
background:white;
padding:35px;
border-radius:14px;
border:1px solid #e5e7eb;
transition:all .3s ease;
}

.service-card:hover{
transform:translateY(-8px);
box-shadow:0 20px 40px rgba(0,0,0,0.08);
}

.service-icon{
width:50px;
height:50px;
display:flex;
align-items:center;
justify-content:center;
background:#eef3ff;
border-radius:12px;
font-size:24px;
margin-bottom:18px;
}

.service-card h3{
font-size:18px;
margin-bottom:10px;
}

.service-card p{
font-size:14px;
color:#6b7280;
line-height:1.6;
}

.service-link{
display:inline-block;
margin-top:10px;
font-weight:600;
color:#2563eb;
text-decoration:none;
transition:all .2s ease;
}

.service-link:hover{
transform:translateX(4px);
}

/* CLIENTS */


.clients-silicon{
padding:110px 0;
background:#f4f7fb;
text-align:center;
}


.clients{
background:#f4f7fb;
padding:90px 0;
}

.client-logos{
display:flex;
gap:20px;
margin-top:30px;
}

.client-box{
background:white;
padding:18px;
border-radius:10px;
border:1px solid #e5e7eb;
flex:1;
text-align:center;
}


.clients-premium{
padding:30px 0;
background:#f7f9fc;
text-align:center;
}

.client-grid{
display:grid;
grid-template-columns:repeat(5,1fr);
gap:30px;
margin-top:60px;
}

.client-card{
background:white;
padding:35px 25px;
border-radius:14px;
box-shadow:0 10px 25px rgba(0,0,0,0.05);
transition:all .3s ease;
}

.client-card:hover{
transform:translateY(-8px);
box-shadow:0 18px 40px rgba(0,0,0,0.08);
}

.client-icon{
font-size:34px;
margin-bottom:15px;
}

.client-card h3{
font-size:18px;
margin-bottom:8px;
}

.client-card p{
font-size:14px;
color:#6b7280;
}


/* CAPABILITIES */

.capabilities-premium{
padding:30px 0;
background:#f8fafc;
}

.capabilities-wrapper{
display:grid;
grid-template-columns:1fr 1fr;
gap:70px;
align-items:center;
}

.cap-left h2{
font-size:42px;
margin-bottom:20px;
line-height:1.2;
}

.cap-left p{
font-size:16px;
color:#6b7280;
margin-bottom:25px;
max-width:520px;
}

.cap-list{
list-style:none;
padding:0;
}

.cap-list li{
margin-bottom:12px;
font-size:16px;
color:#1f2937;
position:relative;
padding-left:22px;
}

.cap-list li::before{
content:"✔";
position:absolute;
left:0;
color:#2563eb;
font-weight:bold;
}

.cap-right{
display:flex;
justify-content:center;
}

.cap-right img{
width:100%;
max-width:480px;
border-radius:14px;
box-shadow:0 20px 40px rgba(0,0,0,0.08);
}


.visual-box{
height:240px;
background:#eef3ff;
display:flex;
align-items:center;
justify-content:center;
border-radius:10px;
}


/* PRODUCTS */

.products{
background:#f4f7fb;
padding:30px 0;
}

.product-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
margin-top:50px;
}

.product-card{
background:white;
padding:28px;
border-radius:12px;
border:1px solid #e5e7eb;
transition:all .25s ease;
}

.product-card:hover{
transform:translateY(-6px);
box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.product-card h3{
margin-bottom:12px;
}

.product-card p{
color:#6b7280;
margin-bottom:15px;
}

.product-card a{
font-weight:600;
color:#2563eb;
text-decoration:none;
}


/* Why Us */

.case-studies{
background:#ffffff;
padding:30px 0;
}

.case-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:30px;
margin-top:40px;
}

.case-card{
background:white;
padding:26px;
border-radius:10px;
border:1px solid #e5e7eb;
}


/* CTA */

.cta{
background:linear-gradient(135deg,#0f172a,#1e3a8a);
color:white;
text-align:center;
padding:80px 20px;
margin-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cta p{
margin:15px 0 30px;
}



/* EXPERTISE */

.expertise{
background:#f4f7fb;
padding:30px 0;
}

.expertise-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:50px;
align-items: center;
}

.expertise-left p{
margin-bottom:16px;
}

.expertise-right{
  margin-top: 50px;
}

.expertise-right ul li{
margin-bottom:10px;

}


/* FOOTER */
.footer-social a:hover{
background:#3b82f6;
}

.footer-links a:hover{
color:white;
}
.footer-column ul li a:hover{
color:#3b82f6;
}

.footer-premium{
background:#0c1f4a;
color:white;
padding-top:60px;
font-size:14px;
}

.footer-container{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:2fr 1fr 1fr 1.5fr;
gap:50px;
padding:0 20px;
}

.footer-logo{
width:150px;
margin-bottom:15px;
}

.footer-social a{
display:inline-flex;
align-items:center;
justify-content:center;
width:36px;
height:36px;
background:#1c3b7a;
border-radius:50%;
margin-right:8px;
color:white;
font-size:14px;
}

.footer-column h4{
margin-bottom:15px;
font-weight:600;
}

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

.footer-column ul li{
margin-bottom:8px;
}

.footer-column ul li a{
color:white;
text-decoration:none;
}

.footer-column p{
margin-bottom:12px;
line-height:1.6;
}


/* Bottom Bar */

.footer-bottom{
border-top:1px solid rgba(255,255,255,0.15);
margin-top:40px;
padding:20px;
display:flex;
justify-content:space-between;
align-items:center;
max-width:1200px;
margin-left:auto;
margin-right:auto;
}

.footer-links a{
margin-left:20px;
color:white;
text-decoration:none;
}



@media(max-width:768px){

.footer-container{
grid-template-columns:1fr;
text-align:left;
}

.footer-bottom{
flex-direction:column;
gap:10px;
}

}


.logo img{
height:40px;
width:auto;
}

.footer-logo{
height:45px;
margin-bottom:10px;
}


/* RESPONSIVE */

@media (max-width:900px){

.about-grid,
.capabilities-grid,
.expertise-grid{
grid-template-columns:1fr;
}

.services-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}

.case-grid{
grid-template-columns:1fr;
}

.hero-stats{
flex-direction:column;
gap:20px;
}

}

@media (max-width:600px){

.service-grid{
grid-template-columns:1fr;
}


}



@media (max-width: 900px){

.nav{
display:none;
}

.nav-container{
justify-content:space-between;
}

.nav-right{
gap:8px;
}

}

body{
overflow-x:hidden;
}

.menu-toggle{
display:none;
font-size:22px;
color:white;
cursor:pointer;
margin-left: auto;
margin-right: 20px;
}

/* MOBILE NAV */

@media (max-width:900px){

.nav{
position:absolute;
top:70px;
left:0;
width:100%;
background:#0b132b;
flex-direction:column;
align-items:center;
gap:20px;
padding:25px 0;
display:none;
}

.nav.active{
display:flex;
}

.menu-toggle{
display:block;
}

}
/* GLOBAL CARD HOVER EFFECT */

.service-card,
.about-card,
.case-card,
.client-box,
.product-card{

transition:all .25s ease;

}

/* SECTION DIVIDER */

section{
position:relative;
}

section:not(.hero)::before{
content:"";
position:absolute;
top:0;
left:50%;
transform:translateX(-50%);
width:90%;
height:1px;
background:linear-gradient(
to right,
transparent,
rgba(0,0,0,0.08),
transparent
);
}


.service-card:hover,
.about-card:hover,
.case-card:hover,
.client-box:hover,
.product-card:hover{

transform:translateY(-6px);

box-shadow:
0 20px 40px rgba(0,0,0,0.08),
0 2px 6px rgba(0,0,0,0.05);

}


.hero{
position:relative;
overflow:hidden;
}

.hero::after{
content:"";
position:absolute;
width:600px;
height:600px;
background:radial-gradient(circle,#3b82f633,transparent);
top:-200px;
left:50%;
transform:translateX(-50%);
}


.stat-item{
text-align:center;
}

.stat-item strong{
display:block;
font-size:48px;
font-weight:700;
color:#ffffff;
line-height:1;
margin-bottom:10px;
}

.stat-item span{
display:block;
font-size:16px;
font-weight:500;
color:#dbeafe;
}

.hero{
    padding: 100px 0;
}

a.link-arrow{
color:#2563eb;
text-decoration:none;
font-weight:500;
display:inline-flex;
align-items:center;
gap:6px;
transition:all 0.3s ease;
}

a.link-arrow:hover{
color:#1d4ed8;
transform:translateX(4px);
}

a{
cursor:pointer;
}



@media (max-width:1024px){
.services-grid{
grid-template-columns:repeat(2,1fr);
}
}

@media (max-width:768px){
.services-grid{
grid-template-columns:1fr;
}
}

@media (max-width:1024px){
.client-grid{
grid-template-columns:repeat(3,1fr);
}
}

@media (max-width:768px){
.client-grid{
grid-template-columns:repeat(2,1fr);
}
}

@media (max-width:1024px){
.product-grid{
grid-template-columns:repeat(2,1fr);
}
}

@media (max-width:768px){
.product-grid{
grid-template-columns:1fr;
}
}



.service-card,
.client-card,
.product-card{
width:100%;
box-sizing:border-box;
}


.service-card p,
.product-card p{
word-wrap:break-word;
}

#backToTop{
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg,#3b82f6,#06b6d4);
  color: white;
  font-size: 20px;
  cursor: pointer;
  display: none; /* hidden until scroll */
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: transform .2s ease, opacity .2s ease;
  z-index: 999;
}

#backToTop:hover{
  transform: translateY(-3px);
}




.theme{
background: transparent;
border: 1px solid rgba(255,255,255,0.3);
color: white;
padding: 6px 10px;
border-radius: 6px;
font-size: 16px;
cursor: pointer;
display:flex;
align-items:center;
justify-content:center;
}

.theme:hover{
background: rgba(255,255,255,0.1);
border-color: rgba(255,255,255,0.6);
}

.lang-btn, .theme{
height:36px;
}


.lang-dropdown{
position:relative;
}

.lang-btn{
background:transparent;
border:1px solid rgba(255,255,255,0.3);
color:white;
padding:6px 12px;
border-radius:6px;
cursor:pointer;
font-size:14px;
}

.lang-menu{
position:absolute;
top:40px;
right:0;
background:#0b1c34;
border-radius:8px;
box-shadow:0 10px 25px rgba(0,0,0,0.2);
display:none;
flex-direction:column;
min-width:120px;
}

.lang-menu a{
padding:10px 14px;
color:white;
text-decoration:none;
display:block;
}

.lang-menu a:hover{
background:#1e3a5f;
}

.lang-dropdown:hover .lang-menu{
display:flex;
}




/* =========================
   DARK MODE
========================= */

body.dark-mode{
background:#0b1220;
color:#e5e7eb;
}



/* SECTION BACKGROUNDS */

body.dark-mode .about-premium,
body.dark-mode .clients-premium,
body.dark-mode .clients,
body.dark-mode .capabilities-premium,
body.dark-mode .products,
body.dark-mode .expertise,
body.dark-mode .case-studies,
body.dark-mode .services-premium{
background:#0f172a;
}

/* CARDS */

body.dark-mode .service-card,
body.dark-mode .about-card,
body.dark-mode .client-card,
body.dark-mode .product-card,
body.dark-mode .case-card{

background:#12163a ;
border:1px solid #1f2937;
color:#e5e7eb;

box-shadow:
0 10px 30px rgba(0,0,0,0.4);
}

/* TEXT COLORS */

body.dark-mode p{
color:#9ca3af;
}

body.dark-mode .section-subtitle{
color:#9ca3af;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3{
color:#f3f4f6;
}

/* LINKS */

body.dark-mode a{
color:white;
}

body.dark-mode a.link-arrow:hover{
color:#3b82f6;
}

/* BUTTONS */

body.dark-mode .btn-primary{
background:#2563eb;
}

body.dark-mode .btn-secondary{
background:#1f2937;
color:white;
}

/* SERVICE ICON BG */

body.dark-mode .service-icon{
background:#1f2937;
}

/* CLIENT BOX */

body.dark-mode .client-box{
background:#111827;
border:1px solid #1f2937;
}

/* HERO adjustment */

body.dark-mode .hero{
background:linear-gradient(135deg,#020617,#1e293b);
}

/* CTA */

body.dark-mode .cta{
background:linear-gradient(135deg,#020617,#1e293b);
}

/* FOOTER */

body.dark-mode .footer-premium{
  background: #0b132b;
}

body.dark-mode .footer-column a{
color:#9ca3af;
}

body.dark-mode .footer-column a:hover{
color:white;
}

/* SECTION DIVIDER */

body.dark-mode section:not(.hero)::before{
background:linear-gradient(
to right,
transparent,
rgba(255,255,255,0.08),
transparent
);
}

body.dark-mode .cap-list li{
  color: white;
}

@media(max-width:900px){
  .btn-primary{
    display: none;
  }
}

/* darkmode about page*/

/* DARK MODE */

body.dark-mode{
background:#0b132b;
color:#e2e8f0;
}

/* sections */

body.dark-mode .about-story,
body.dark-mode .why-mindpros,
body.dark-mode .culture-grid,
body.dark-mode .about-culture,
body.dark-mode .about-stats,
body.dark-mode .clients-section{
background:#0b132b;
}

/* cards */

body.dark-mode .story-card,
body.dark-mode .culture-card,
body.dark-mode .why-card{
background:#12163a;
color:#e2e8f0;
border:1px solid #334155;
}

/* text */

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3{
color:white;
}

body.dark-mode p{
color:#cbd5f5;
}

/* stats */

body.dark-mode .stat-box{
background:#12163a;
}

/* clients section */

body.dark-mode .clients-section{
background:#020617;
}




body{
font-family:'Inter',sans-serif;
}

h1,h2,h3,h4{
font-weight:600;
}

p{
font-weight:400;
line-height:1.7;
}

body{
overflow-x:hidden;
}