:root {
  --secondary-color: #395886; 
}

ul,ol{
    list-style: none;
    padding: 0;
    margin: 0;
}

a{
    color: #0B1215;
    text-decoration: none;
    transition: .5s;
}

a:hover {
    color: var(--secondary-color);
}

.text-secondary {
    color: var(--secondary-color) !important;
}

header nav ul li {
    margin: 0 25px;
}

header nav ul li a {
    font-size: 18px;
    font-weight: bold;
    padding: 2px 5px;
    color: #0B1215;
}

header nav ul li a:hover {
    color: var(--secondary-color);
}




/* --- HERO CARD --- */
.hero-card{
  border-radius: 0px;
  overflow: hidden;
}

.hero-content{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

/* Title size closer to mock (wraps nicely) */
.hero-title{
  font-size: clamp(1.2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
}

/* The globe image sits inside the card and overlaps right/bottom edges */
.hero-globe{
  filter:
    drop-shadow(0 26px 36px rgba(0,0,0,.22))
    drop-shadow(0 8px 18px rgba(0,0,0,.12));
  z-index: 0;
}

/* Soft pill buttons (primary + ghost) */
.btn-pill-soft,
.btn-pill-ghost{
  border-radius: 9999px;
  padding: .65rem 1.05rem;
  font-weight: 800;
  letter-spacing: .2px;
  line-height: 1;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}

.btn-pill-soft{
  background: #0C4797;
  border: 1px solid #C7D8F0;
  color: #f3f3f3;
}
.btn-pill-soft:hover{
  background: #CFDFF7;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,.10), inset 0 -2px 0 rgba(255,255,255,.75);
}

.btn-pill-ghost{
  background: #8AAEE0;
  border: 1px solid #395886;
  color: #0B1215;
}
.btn-pill-ghost:hover{
  background: #E1EBFC;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}

/* Keep text above globe */
.hero-actions, .hero-title, .hero-card .text-secondary{
  position: relative; z-index: 1;
}

/* Responsive: hide big overlap on tablets/phones */
@media (max-width: 991.98px){
  .hero-globe{
    border-radius: 16px;
    filter: drop-shadow(0px 3px 2px #0003);
  }
  .hero-content {
    position: static;
    transform: none;
    }
    
    .hero-title {
        margin-bottom: 20px !important;
    }
    
    .hero-card .text-secondary {
        font-size: 12px;
    }
    
    .hero-actions {
        display: flex;
    }
    
    .btn-pill-soft, .btn-pill-ghost {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .hero-card {
        box-shadow: none !important;
    }
}

/* Feature, product, and partner cards */
.feature-card{
  border: 1px solid #e6eaf0;
  background: #D5DEEF;
  border-radius: 1rem;
}

/* Small rounded icon background */
.icon-badge {
  width: 65px;
  height: 65px;
}

/* Light blue band for “Who we are?” */
.band-sky {
  background: #D3D9F9;
}

/* Stat ribbon */
.ribbon-card {
    background: #D5DEEF;
    padding: 25px 5%;
    border-radius: 15px;
}

.ribbon-card .col-12:not(:first-child) {
    border-left: 1px solid #828181;
} 


.product-card {
        border: 1px solid #638EC8;
}

.partner-card {
    background: linear-gradient(180deg, #638EC8, #314662);
    display: flex
;
    flex-direction: column;
    align-items: center;
    padding: 50px 30px 50px;
    border-radius: 15px;
}
.partner-logo {
    margin: 0 auto 30%;
    height: 150px;
}

@media (max-width: 991.98px){
    .ribbon-card .col-12:not(:first-child) {
        border: none;
    }
}


/* CTA overlay tint */
.cta-overlay {
    text-align: center;
    margin: 40px 0;
}

/* Utility fallbacks for object-fit in Bootstrap */
.object-fit-cover { object-fit: cover; }
.object-fit-contain { object-fit: contain; }


.icon-sm {
  height: 35px;
  width: 35px;
  transition: .5s;
}

.icon-sm:hover {
    filter: invert(1);
}

.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-link {
  color: #6c757d;
  text-decoration: none;
}
.footer-link:hover {
  color: #212529;
}



.service-sidebar {
    background-color: #e6edf6;
    padding: 20px;
    border-radius: 10px;
    font-family: sans-serif;
}

.service-category {
    margin-bottom: 20px;
}

.category-title {
    font-weight: bold;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.service-icon {
    display: inline-block;
    margin-right: 8px;
    font-size: 16px; /* یا اندازه دلخواه */
}

.service-list {
    list-style: none;
    padding-left: 15px;
    margin: 0;
}

.service-list li {
    margin-bottom: 5px;
}


/* About Section */

.about-top-banner {
    position: relative;
    z-index: 1;
}

.about-top-banner:before {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    opacity: .5;
    background: linear-gradient(
0deg, #6380B5, transparent);
}

.about-section {
    background-color: #eaf0fa; /* رنگ پس‌زمینه روشن */
}

.about-section .section-title {
    font-weight: 700;
    font-size: 2rem;
}

.about-section p {
    color: #3a3a3a;
    font-size: 1rem;
    line-height: 1.7;
}

.about-section ul {
    padding-left: 20px;
    margin-bottom: 1rem;
}

.about-section ul li {
    margin-bottom: 0.5rem;
}

.about-image-wrapper img {
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
    /* Optional: shadow for depth */
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.about-image-wrapper {
    padding: 20px;
    border-radius: 0 15px 15px 0;
    background: #fff;
    position: relative;
}

.about-image-wrapper:before,.about-image-wrapper:after {
    content: "";
    width: 15px;
    height: 15px;
    background: #fff;
    position: absolute;
    bottom: -15px;
    left: 0;
    background: radial-gradient(circle at bottom left, transparent 15px, #fff 0px);
}

.about-image-wrapper:before {
    bottom: unset;
    top: -15px;
    background: radial-gradient(circle at top right, transparent 15px, #fff 0px);
}

.order-lg-4 .about-image-wrapper:before,.order-lg-4 .about-image-wrapper:after {
    left: unset;
    right: 0;
}

.about-image-wrapper:after {
    background: radial-gradient(circle at bottom right, transparent 15px, #fff 0px);
}

.order-lg-4 .about-image-wrapper:before {
    background: radial-gradient(circle at top left, transparent 15px, #fff 0px);
}

.order-lg-4 .about-image-wrapper {
    border-radius: 15px 0 0 15px;
}

.order-lg-4 .about-image-wrapper:after {
    background: radial-gradient(circle at bottom left, transparent 15px, #fff 0px);
}

@media (max-width: 991px) {
    .about-image-wrapper:before,.about-image-wrapper:after {
        content: unset;
    }
    .about-image-wrapper {
        padding: 0;
    }
}



/* Contact Us */

.contact-header {
    padding: 50px 0 100px;
}

.contact-form-wrapper {
    padding: 20px;
    background: #fff;
    border-radius: 25px;
    margin-top: -80px;
}
.contact-form-wrapper h5 {
    font-weight: bold;
    margin-bottom: 0;
}

.contact-form-wrapper p {
    margin: 5px 0 0;
}

.contact-form-wrapper img {
    width: 35px;
    margin-right: 20px;
}


@media (max-width: 991px) {
    .contact-form-wrapper .forminator-ui.forminator-custom-form-163.forminator-design--flat.forminator-ui.forminator-custom-form {
        padding: 15px !important;
        border-radius: 15px !important;
    }
    .contact-form-wrapper .forminator-ui.forminator-custom-form-163.forminator-design--flat.forminator-ui.forminator-custom-form .forminator-row:nth-child(2) {
        margin-right: 0 !important;
    }
    .contact-form-wrapper .forminator-ui.forminator-custom-form-163.forminator-design--flat.forminator-ui.forminator-custom-form .forminator-row:nth-child(2), .contact-form-wrapper .forminator-ui.forminator-custom-form-163.forminator-design--flat.forminator-ui.forminator-custom-form .forminator-row:nth-child(3) {
        width: 100%  !important;
        display: block  !important;
    }
}


/* Services */

.services-header {
    background: linear-gradient(45deg, #C4DDFF, #E3CFCF);
    border-radius: 15px;
    overflow: hidden;
}

.services-hero-content {
    text-align: center;
    padding: 0px 70px;
}

.services-header img {
    background: #fff;
    border-radius: 40px 0 0 0;
}

.services-header-img {
    margin-top: 100px;
    padding: 40px 0 0 40px;
    border-radius: 65px 0 0 0;
    background: #fff;
}

.services-header-img:before,.services-header-img:after {
    content: "";
    width: 25px;
    height: 25px;
    background: #fff;
    position: absolute;
    bottom: -5px;
    left: -8px;
    background: radial-gradient(circle 69px , transparent 0%, red 100%);
    background: radial-gradient(circle at top left, transparent 20px, #fff 20px);
}

.services-header-img:after {
    bottom: unset;
    left: unset;
    top: 80px;
    right: 7px;
}

.services-hero-content h2 {
    font-size: 3.2rem;
    font-weight: bold;
    line-height: 1;
}

.services-hero-content p {
    font-size: 14px;
    margin: 15px 0 30px;
}

.services-hero-content a {
    width: 100%;
    border-radius: 10px;
}


.service-cat-card {
    display: flex;
    align-items: center;
    background: #EEF5FF;
    border-radius: 20px;
    padding: 25px 25px 25px 0;
    box-shadow: 0 5px 10px #0001;
}

.service-cat-content {
    margin-left: 25px;
}

.service-cat-content h3 {
    font-size: 18px;
    font-weight: bold;
}

.service-cat-card img {
    margin-left: -30px;
    border-radius: 20px;
    width: 200px;
}

.service-cat-content p {
    font-size: 14px;
    margin: 10px 0 20px;
}

.service-card {
    height: 100%;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    border: 1px solid #8AAEE0;
    border-radius: 15px;
    transition: .5s;
}

.service-card:hover {
    background: #ECF4FF;
    border-color: #1E79FF;
}

@media (max-width: 991px) {
    .services-header{
        border-radius: 0;
    }
    .services-hero-content h2 {
        font-size: 2.2rem;
    }
    .services-hero-content {
        padding: 50px 15px 30px;
    }
    
    .services-header-img {
        padding: 30px 0 0;
        margin-top: 0;
        position: relative;
        border-radius: 0;
        background: none;
        z-index: 1;
        overflow: hidden;
    }
    
    .services-header-img:after {
        top: -20px;
    }
    
    .services-header-img:before, .services-header-img:after {
        content: unset;
    }
    
    .services-header img {
        border-radius: 110px 110px 0 0;
    }
    
    .services-header-img:before {
        content: "";
        width: calc(100% + 40px);
        height: calc(100% + 80px);
        z-index: -1;
        top: 0;
        left: -20px;
        background: #fff;
        border-radius: 130px 130px 0 0;
        pointer-events: none;
    }
    .service-cat-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    
    .service-cat-card img {
        margin-left: 0;
        margin-bottom: 15px;
        width: 150px;
    }
    
    .service-cat-content {
        margin-left: 0;
    }
}