:root{
  --brand-blue:#4169E1;
  --brand-magenta:#D6006D;
  --brand-50:#f0f3fd;
  --brand-100:#dae2fb;
  --brand-200:#bacbf6;
  --brand-300:#8faaf0;
  --brand-400:#5f81e8;
  --brand-500:var(--brand-blue);
  --brand-600:#3654cf;
  --brand-700:#2c41b4;
  --brand-800:#283993;
  --brand-900:#243177;

  --magenta-50:#fef2f7;
  --magenta-100:#ffe4f0;
  --magenta-200:#ffc9e2;
  --magenta-300:#ff9dc9;
  --magenta-400:#ff60a5;
  --magenta-500:var(--brand-magenta);
  --magenta-600:#d6005e;
  --magenta-700:#b8004f;
  --magenta-800:#980042;
  --magenta-900:#7d0039;

  --bg:#ffffff;
  --ink:#0e1b2a;
  --ink-2:#3a4b5c;
  --muted:#637a8e;
  --line:#e7ecef;
  --card:#ffffff;
  --alt:#f6f8fa;

  --radius:14px;
  --radius-sm:10px;
  --shadow:0 10px 40px rgba(65,105,225,.30);

  --container: min(1400px, 92vw);

  --step--1: clamp(.84rem, .76rem + .25vw, .95rem);
  --step-0: clamp(1rem, .95rem + .3vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.15rem + .6vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.35rem + 1vw, 2rem);
  --step-3: clamp(1.9rem, 1.6rem + 1.8vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.9rem + 2.6vw, 3.2rem);
}

/* 2) Base */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{height:100%}
body{
  margin:0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  color:var(--ink);
  background:var(--bg);
  font-size:var(--step-0);
  line-height:1.65;
}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none;transition:.2s color}
.wrapper{width:var(--container);margin-inline:auto}

/* 3) Utilities */
.section{padding:clamp(48px,6vw,92px) 0}
.section.alt{background:var(--alt)}
.section-head{margin-bottom:36px;text-align:center}
.sub-title{color:var(--brand-magenta);font-weight:700;letter-spacing:.05em;text-transform:uppercase;font-size:.9rem}
h1{font-size:var(--step-4);line-height:1.1;margin:.4rem 0 1rem;background:linear-gradient(135deg,var(--brand-blue),var(--brand-magenta));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
h2{font-size:var(--step-3);line-height:1.15;margin:0 0 .75rem}
h3{font-size:var(--step-1);margin:.25rem 0 .25rem}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: 0 1.4rem;
    border-radius: 10px;
    border: 2px solid var(--line);
    transition: .3s all ease;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    line-height: 45px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-magenta));
    color: #fff;
    border-color: none;
    box-shadow: 0 8px 20px rgba(65, 105, 225, .25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(65, 105, 225, .35);
}
.btn-ghost {
    background: transparent;
    color: var(--brand-blue);
    border-color: var(--brand-blue);
}
.btn-ghost:hover {
    background: var(--brand-500);
    border-color: var(--brand-500);
    color: var(--brand-50)
}

.head-grid{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    height: 80px;
}
.header-section{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 50;
    background-color: #ffffffb0;
    width: 100%;
    transition: all ease-in 0.3s;
}
.header-section.sticky{
    position: fixed;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.logo img{
    width: 280px;
}
nav{
    display: flex;
    justify-self: end;
}
nav ul {
    list-style: none;
    margin: 0 15px 0 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 20px;
}
nav ul li a{
    display: block;
    padding: 0 15px;
    line-height: 45px;
}
nav ul li a:hover{
    background-color: var(--magenta-500);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    color: var(--magenta-100);
    transition: background ease-in-out 0.3s;
}
nav ul li.active a{
    background-color: var(--magenta-500);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    color: var(--magenta-100);
}
nav a{
    border-radius: var(--radius-sm);
}
.hero-section{
    background: #DAE2FB;
    background: linear-gradient(180deg, rgba(218, 226, 251, 1) 0%, rgba(255, 255, 255, 0.55) 100%);
    padding-top: 70px;
    overflow: hidden;
}
.hero-section .actions {
    display: flex;
    gap: 14px;
    margin: 20px 0 30px;
    flex-wrap: wrap;
}
.grid-col-2{
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    align-items: center;
    height: 90vh;
    gap: 35px;
}

img.img-border-radius{
    border-radius: 30px;
    box-shadow: var(--shadow);
}
img.img-width{
    width: 75%
}

.services{
    display: grid;
    justify-content: center;
    align-items: center;
    gap: 30px;
    grid-template-columns: repeat(3, 1fr);
    padding-top: 10px;
}
.sub-box{
    /* background: var(--bg); */
    background-color: var(--brand-100);
    border-radius: var(--radius);
    padding: 24px;
    transition: all ease-in 0.3s;
    transform: translateY(0);
}
.sub-box:hover{
    transform: translateY(-15px);
    box-shadow: var(--shadow);
}
.linkBtn{
    background-color: var(--bg);
    border: 1px solid var(--bg);
    border-radius: 6px;
    padding: 0 20px;
    line-height: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 180px;
    transition: all ease-in-out 0.4s;
}
.linkBtn:hover{
    background-color: var(--brand-500);
    color: #fff;
    border-color: var(--brand-400);
}
.about-bg{
    background-color: var(--alt);
    overflow: hidden;
}
.work-section, .about-section, .section{
    overflow: hidden;
}
.about-gird{
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    gap: 50px;
    align-items: center;
}
.full-round{
    border-radius: 150px;
}
.work-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.icon.circle {
    display: grid;
    margin-bottom: 12px;
}
.icon.circle img{
    height: 60px;
    display: block;
}
.checks{
    list-style: none;
    margin: 0 0 35px;
    padding: 0;
}
.checks li{
    background: url("../img/check.png") no-repeat 0 5px;
    background-size: 18px;
    padding-left: 27px;
}

.stats{
    background: #D6006D;
    background: linear-gradient(110deg,rgba(83, 109, 237, 1) 0%, rgba(214, 0, 109, 1) 84%);
    padding: 60px 0;
}
.stats-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.stat{
    display: grid;
    grid-template-rows: 1fr;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}
.stat strong {
    font-size: var(--step-4);
    line-height: 1;
    display: block;
    margin-bottom: 6px;
}

/* masonery filter list */
.filter-buttons {
  text-align: center;
  margin-bottom: 40px;
}

.filter-buttons .btn {
  padding: 0 15px;
  border: none;
  background: var(--brand-100);
  cursor: pointer;
  margin: 0 5px;
  border-radius: 5px;
  transition: 0.3s;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
}

.filter-buttons .btn.active,
.filter-buttons .btn:hover {
  background: var(--brand-500);
  color: #fff;
}

.masonry {
  columns: 3 200px; /* Masonry effect */
  column-gap: 1.8rem;
}

.item {
  break-inside: avoid;
  margin-bottom: 1.8rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
  height: 350px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border-radius: 10px;
  border: 2px solid var(--line);
}

.item img {
  width: 100%;
  display: block;
}

.item.hide {
  transform: scale(0.9);
  opacity: 0;
  display: none;
}

.brands-grid{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px
}
.brand{
    padding: 20px 35px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background-color: var(--brand-200);
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-footer {
    background: linear-gradient(135deg, #1a2332, #0e1b2a);
    color: #d8e8f0;
    padding: 40px 0 30px;
}
.foot-bottom{
    border-top: 1px solid #3a475c;
    margin-top: 35px;
    font-size: 0.88rem;
}
.foot-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0 0;
}
.foot-row p{
    margin: 0;
}
.social{
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}
.social li{
    width: 50px;
    height: 50px;
    border-radius: 50px;
    border: 1px solid #1a2332;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.foot-block ul{
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-rows: 1fr;
    gap: 15px;
}
.logo-text span{
    color: var(--brand-magenta);
}
.foot-block.address p{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.foot-block.address a i{
    top: 5px;
    position: relative;
}

.skills .skill {
    margin: 18px 0;
}
.skill-head {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 8px;
}
.bar {
    height: 12px;
    background: var(--alt);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--line);
}
.bar-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-magenta));
    width: 0;
    transition: width 1.2s ease;
}

/* FAQ */
.faq-section{
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    padding-top: 35px
}
.faq{
    background: var(--brand-100);
    padding: 0 25px;
    border: 1px solid var(--brand-200);
    border-radius: 6px;
    margin-bottom: 20px;
}
.faq h4{
    margin: 15px 0;
    cursor: pointer;
    position: relative;
}
.faq h4:after{
    content: "";
    position: absolute;
    top: 0;
    right: -24px;
    width: 30px;
    height: 30px;
    background: url(../img/chevron.png) no-repeat center center;
    background-size: 80%;
}
.faq.active h4:after{
    background-image: url(../img/down-arrow.png);
}
.faq .faq-content{
    display: none;
    padding-bottom: 20px;
}
.faq.active .faq-content{
    display: block;
}
.breadcrumbs{
    background: #D6006D;
    background: linear-gradient(110deg, rgba(83, 109, 237, 1) 0%, rgba(214, 0, 109, 1) 84%);
    padding: 100px 0 15px;
    display: flex;
    justify-content: start;
    align-items: end;
    color: #fff
}
.breadcrumbs h2{
    margin-top: 15px
}
.grid-two-cols{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}
.img-border-radius.box-shadow{
    box-shadow: 0 0 50px rgba(65,105,225,0.3);
}
.checks li p{
    margin-top: 0;
}
.experience{
    padding-right: 80px;
}
/* === Contact Section Layout === */
.contactSection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 2rem;
  padding: 35px 0;
}

/* === Left Image === */
.contact-img img {
  width: 100%;
}

/* === Right Form === */
.contactForm {
  display: grid;
  grid-template-columns: 1fr 1fr; /* two-column form layout */
  gap: 1.5rem;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* Each input-label pair */
.inputLabel {
  display: flex;
  flex-direction: column;
}

.inputLabel label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}
.inputLabel.textareaBox{
    grid-column: span 2
}
.inputLabel input,
.inputLabel textarea {
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.inputLabel input:focus,
.inputLabel textarea:focus {
  border-color: #007bff;
  outline: none;
}

/* Make message field and button span full width */
#message,
.inputLabel:last-child {
  grid-column: span 2;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* === Submit Button === */
.inputLabel button {
  background: var(--brand-600);
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  width: 130px;
}

.inputLabel button:hover {
  background: var(--brand-800);
}
.info-box{
    display: flex;
    flex-direction: column;
    font-weight: 600;
    font-size: 1.6rem;
    gap: 15px;
    max-width: 350px;
    margin-bottom: 60px;
}
.info-box a i{
    color: var(--brand-500)
}
.info-box i{
    position: relative;
    top: 5px;
    font-size: 2rem;
}
.web-services .grid-two-cols{
    margin-bottom: 50px;
    gap: 50px;
}
.web-services .grid-two-cols .about-img{
    display: flex;
    justify-content: center;
}
.web-services .grid-two-cols:nth-child(even) {
  direction: rtl;
}
.web-services .grid-two-cols > div{
    direction: ltr;
}
.about-company{
    color: var(--ink);
    font-weight: 600;
    font-size: 1.9rem;
}
.mb-menu{display: none;}
.themeChange input{
    display: none;
}
.themeChange label{
    background-color: #0e1b2a;
    height: 30px;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 70px;
    position: relative;
    cursor: pointer;
}
.themeChange label i{
    font-style: normal;
    line-height: 26px;
    color: #fff;
    display: block;
    padding: 0 4px;
}
.themeChange label span{
    background-color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 50px;
    display: block;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: all ease-in-out 0.3s;
}

.themeChange input:checked + label span{
    transform: translateX(42px);
}
.ft-links a{display: inline-block; padding: 0 15px;}
.error{color: red;font-size: 0.75rem;}
.success-msg{color: rgb(30, 202, 30);font-size: 0.85rem;}
.dots{
    display: flex;
    gap: 6px;
    background-color: #4e4e4e;
    padding: 10px 10px;
    position: relative;
}
.dots span{
    width: 15px;
    height: 15px;
    background-color: #555;
    border-radius: 50%;
    display: block;
}
.center-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 35px;
}

/* === Dark Theme === */
body.dark-theme{
    --bg: #0e1b2a;
    --ink: #d8e8f0;
    --ink-2: #a0b0c0;
    --muted: #7a8a9e;
    --line: #3a475c;
    --card: #1a2332;
    --alt: #16202b;
    --textWhite: #ffffff;
    --textBlack: #000000;
}
body.dark-theme{
    color: var(--textWhite)
}
body.dark-theme .sub-box{
    background-color: var(--alt);
}
body.dark-theme img{
    border-radius: var(--radius);
}
body.dark-theme .logo img{
    border-radius: 0;
}
.faq-list{
    color: var(--textBlack)
}
body.dark-theme header.header-section{
    background-color: #0e1b2ab0;
}
body.dark-theme .hero-section{
    background: #0E1B2A;
}
body.dark-theme .contactForm{
    background: rgba(255,255,255,0.2);
    color:#fff
}
body.dark-theme .contactForm label{
    color:#fff
}
body.dark-theme .breadcrumbs{
background: #0E1B2A;
background: linear-gradient(262deg, rgba(14, 27, 42, 1) 0%, rgba(102, 102, 176, 1) 100%);
}
body.dark-theme .themeChange label{
    background-color: #2c415a;
}
body.dark-theme .sub-box:nth-child(2) .icon.circle img{
    filter: invert(100%);
}
.mb-menu{
    position: absolute;
    top: 5px;
    right: 15px;
}
body.dark-theme .mb-menu{
    background-color: #fff;
    border-radius: 5px;
}
body.dark-theme .masonry .item img{
    border-radius: 0;
}
/* === Responsive Design === */
@media (max-width: 1300px) {
    .wrapper{
        width: auto;
        padding: 0 15px
    }
}
@media (max-width: 1200px){
    h1{ font-size: var(--step-3); }
    nav ul{ gap: 10px; }
    nav ul li{font-size: 14px;}
    nav .btn-primary{font-size: 14px;}
    .logo img{ width: 220px; }
    .head-grid{ height: 70px; }
    .breadcrumbs br{display: none;}
}
@media (max-width: 979px){
    nav{display: none;}
    .themeChange{
        position: absolute;
        top: 11px;
        right: 76px;
    }
    .mb-menu{
        display: block;
        background: url(../img/menu.png) no-repeat center center;
        width: 40px;
        height: 40px;
        border: none;
        padding: 0;
        cursor: pointer;
        text-indent: -9999px;
        z-index: 101;
    }
    .mb-menu.close{
        background: url(../img/close.png) no-repeat center center;
    }
    nav.mobile-nav{
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        background-color: var(--bg);
        width: 300px;
        height: 100vh;
        z-index: 100;
        box-shadow: var(--shadow);
    }
    nav{
        padding: 70px 20px 0;
    }
    nav ul{
        gap: 20px;
        flex-direction: column;
        margin-bottom: 30px;
    }
    nav ul li{
        font-size: 18px;
    }
    .hero-section{
        padding-top: 100px;
    }
    .grid-col-2{
        grid-template-columns: 1fr;
        height: auto;
        gap: 0;
    }
    .services{
        grid-template-columns: repeat(2, 1fr);
    }
    .about-gird, .work-grid{
        grid-template-columns: 1fr;
    }
    .faq-section{
        display: flex;
        flex-direction: column;
        flex-direction: column-reverse;
        padding-top: 0;
    }
    .masonry{
        columns: 2 200px;
    }
    .footer-grid{
        gap: 20px;
        font-size: 14px;
    }
    .foot-bottom{
        font-size: 14px;
    }
    .filter-buttons .btn{margin: 0 5px 15px;}
}
@media (max-width: 900px) {
  .contactSection {
    grid-template-columns: 1fr; /* stack image and form */
    padding: 30px;
  }

  .contactForm {
    grid-template-columns: 1fr; /* single-column form */
  }

  #message,
  .inputLabel:last-child {
    grid-column: span 1;
  }
}
@media (max-width: 767px){
    .grid-col-2{
        padding-bottom: 40px;
    }
    .sub-box{
        font-size: 16px;
    }
    .grid-two-cols{
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-grid{
        grid-template-columns: 1fr;
    }
    .foot-block:first-child{
        grid-column: span 2;
    }
    .logo img{width: 180px;}
    .head-grid{ height: 50px; }
    .web-services .section-head{
        background-color: var(--brand-100);
        margin: 0 -15px 30px;
        padding: 40px 30px 10px;
    }
    .dark-theme .web-services .section-head{background-color: #3a475c;}
    img.img-width{
        width: 100%;
    }
    .web-services .grid-two-cols{
        gap: 20px;
    }
    .breadcrumbs{padding-top: 70px}
    .about-company{font-size: var(--step-1);}
    .services{padding-top: 0;}
    .experience{padding-right: 0;}
    .contactForm{ display: flex; flex-direction: column; }
    .contactSection{ padding: 0; }
    .hero-section{padding-top: 70px;}
    .contactForm{padding: 1.3rem;}
}
@media (max-width: 639px){
    .brands-grid{
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 579px){
    .services{
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .stats-grid{
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    .brands-grid{
        grid-template-columns: 1fr 1fr;
    }
    h2{ font-size: var(--step-1);}
    .foot-row{ flex-direction: column-reverse; align-items: center; padding-top: 20px;}
    .ft-links{padding-bottom: 8px;}
}