/********** Template CSS **********/
:root {
    --primary: #191a1b;
    --secondary: #e30000;
    --light: #fff4ee;
    --dark: #2a3f60;
}


/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-dark .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-dark .navbar-toggler {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--dark);
    }

    .navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}

@media (min-width: 768px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}


/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}


/*** Service ***/
.service-card {
    position: relative;
    height: 300px;
    padding: 0 30px;
    transition: .5s;
}

.service-card {
    background: #eaf6ff;
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 80px;
    height: 80px;
    display: block;
    margin: 0 auto 20px;
}

.service-card h3 {
    color: var(--light);
}
.service-card a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-card:hover a.btn {
    bottom: -24px;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}


/*** Team ***/
.team-item {
    transition: .5s;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(9, 30, 62, .7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img img {
    transition: .5s;
    align-items: stretch;
}

.team-item:hover .team-img img {
    transform: scale(1.15);
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.bg-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }

}
 .carousel {
      position: relative;
      max-width: 100%;
      height:600px;
      overflow: hidden;
      border-radius: 10px;
    }

    .slides {
      display: flex;
      transition: transform 0.5s ease-in-out;
    }

    .slide {
      min-width: 100%;
      height:600px;
    }

    .slide img {
      width: 100%;
      height: 100%;
      object-fit:fill;
    }

    /* Navigation buttons */
    .prev, .next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(0, 0, 0, 0.5);
      color: white;
      border: none;
      padding: 10px 15px;
      cursor: pointer;
      border-radius: 50%;
    }

    .prev:hover, .next:hover {
      background-color: rgba(0, 0, 0, 0.8);
    }

    .prev {
      left: 10px;
    }

    .next {
      right: 10px;
    }

    /* Dots */
    .dots {
      text-align: center;
      position: absolute;
      bottom: 15px;
      width: 100%;
    }

    .dot {
      height: 12px;
      width: 12px;
      margin: 0 5px;
      background-color: #bbb;
      border-radius: 50%;
      display: inline-block;
      cursor: pointer;
    }

    /* .active {
      background-color: #333;
    } */

/* /resume */
   #resumeForm {
      background: #fff;
      padding: 25px;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      width: 400px;
    }
    input, textarea {
      width: 100%;
      padding: 10px;
      margin-top: 10px;
      border-radius: 5px;
      border: 1px solid #ccc;
    }
    #submitResume {
      margin-top: 15px;
      padding: 10px 20px;
      background: #007bff;
      color: #fff;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }
    #submitResume:hover {
      background: #0056b3;
    }

/* service */

    .service-section {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 60px 10%;
      flex-wrap: wrap;
    }

    .service-section:nth-child(even) {
      flex-direction: row-reverse;
      background-color: none;
    }

    .service-image {
      flex: 1;
      max-width: 45%;
    }

    .service-image img {
      width: 100%;
      height: auto;
      border-radius: 12px;
      box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    }

    .service-content {
      flex: 1;
      max-width: 45%;
    }

    .service-content h2 {
      color: #007bff;
      font-size: 28px;
      margin-bottom: 15px;
    }

    .service-content p {
      font-size: 17px;
      line-height: 1.6;
    }

    @media (max-width: 768px) {
      .service-section {
        flex-direction: column;
        text-align: center;
      }

      .service-image, .service-content {
        max-width: 100%;
      }

      .service-image {
        margin-bottom: 20px;
      }
    }
    /* form */
     form {
      background: #ffffff;
      padding: 40px;
      border-radius: 20px;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
      width: 350px;
      animation: slideUp 0.8s ease forwards;
    }

    @keyframes slideUp {
      from {
        transform: translateY(50px);
        opacity: 0;
      }
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

    h2 {
      text-align: center;
      color: #111827;
      margin-bottom: 25px;
      animation: fadeIn 1s ease forwards;
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    label {
      color: #374151;
      font-weight: 500;
      display: block;
      margin-bottom: 5px;
    }

    input,
    textarea {
      width: 100%;
      padding: 12px 15px;
      margin-bottom: 20px;
      border: 2px solid #e5e7eb;
      border-radius: 10px;
      outline: none;
      font-size: 14px;
      transition: all 0.3s ease;
    }

    input:focus,
    textarea:focus {
      border-color: #3b82f6;
      box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
      transform: scale(1.02);
    }

    textarea {
      resize: none;
      height: 100px;
    }

    .btf {
      width: 100%;
      background: linear-gradient(135deg, #2563eb, #1d4ed8);
      color: #fff;
      border: none;
      padding: 12px;
      border-radius: 10px;
      font-size: 16px;
      cursor: pointer;
      font-weight: 600;
      letter-spacing: 0.5px;
      transition: all 0.3s ease;
    }

    .btf:hover {
      transform: translateY(-2px);
      background: linear-gradient(135deg, #1e40af, #3b82f6);
      box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    }

    .btf:active {
      transform: scale(0.98);
    }

    /* Success animation overlay */
    @keyframes successPulse {
      0% { background-color: #10b981; transform: scale(1); }
      50% { background-color: #34d399; transform: scale(1.05); }
      100% { background-color: #10b981; transform: scale(1); }
    }
  
/* =============================
   Resume Submission Form – Corporate Styling
   ============================= */

.resume-section {
    padding: 60px 0;
    background:none;
}

/* Card-level appearance */
.resume-form {
    background: #ffffff;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0px 8px 22px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    margin: 0 auto;
}

/* Input UI governance */
.resume-form input,
.resume-form select,
.resume-form textarea {
    border-radius: 10px;
    border: 1px solid #d9d9d9;
    padding: 12px 14px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.resume-form input:focus,
.resume-form select:focus,
.resume-form textarea:focus {
    border-color: #0d6efd;
    box-shadow: 0px 0px 0px 3px rgba(13, 110, 253, 0.15);
}

/* Labels */
.resume-form .form-label {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 6px;
}

/* Button */
.resume-form button {
    background: #0d6efd;
    border-radius: 10px;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: 0.2s ease-in-out;
}

.resume-form button:hover {
    background: #0b5cd6;
}

/* Text alignment for corporate tone */
.resume-section h2 {
    font-size: 28px;
    font-weight: 700;
    text-align: left;
}

.resume-section p {
    font-size: 16px;
    color: #555;
    text-align: center;
}


/* ================================
   MOBILE EXPERIENCE OPTIMIZATION
   Inject at bottom of style.css
   ================================ */

@media (max-width: 268px ) {

    /* Global spacing optimization */
    body {
        padding: 0;
        margin: 0;
        overflow-x: hidden;
    }

    /* Navbar scaling */
    .navbar-dark .navbar-nav .nav-link {
        font-size: 14px !important;
        margin-left: 0 !important;
        padding: 8px 0 !important;
    }

    .navbar-dark .navbar-brand img,
    .navbar-dark .navbar-brand h1 {
        height: auto;
        font-size: 20px !important;
    }

    /* Carousel resizing */
    .carousel {
        height: 300px !important;
    }

    .carousel .slide,
    .carousel .slide img {
        height: 300px !important;
        object-fit: cover !important;
    }

    .carousel-caption h1 {
        font-size: 22px !important;
    }

    .carousel-caption h5 {
        font-size: 12px !important;
    }

    /* Service blocks auto-stacking */
    .service-section {
        padding: 25px 15px !important;
        flex-direction: column !important;
        text-align: center;
    }

    .service-image,
    .service-content {
        max-width: 100% !important;
    }

    .service-content h2 {
        font-size: 20px !important;
    }

    /* Form modules */
    form,
    .resume-form {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px !important;
        border-radius: 12px !important;
    }

    form input,
    form textarea,
    .resume-form input,
    .resume-form textarea {
        font-size: 14px !important;
        padding: 10px !important;
    }

    /* Hero/landing images */
    img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Reduce shadow intensity */
    .service-image img,
    .team-item,
    .resume-form {
        box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;
    }
}


/* clints  */
.stats-box {
    background: #009fe3;
    color: #fff;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: center;   /* Centers inside the box */
    gap: 15px;
    border-radius: 10px;
}

.stats-icon img {
    width: 50px;
    height: auto;
    display: block;
    margin: 0 auto;            /* Ensures image stays centered */
}

.stats-text {
    text-align: center;        /* Centers heading + number */
}

.stats-text h5 {
    margin: 0;
    font-size: 18px;
    padding-left: 50px;
}
 span {
    font-size: 26px;
    font-weight: bold;
    color:black;
}
