/* Global Styles */
:root {
    --primary-color: #0A2463;
    --secondary-color: #FF6D00;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --black: #000000;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
    overflow-x: hidden;
    scrollbar-gutter: auto !important;
}

body {
    background-color: var(--white);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

    .loading-overlay {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background-color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        transition: opacity 0.5s ease;
    }

    .loading-overlay.hidden {
        opacity: 0;
    }

    .loading-bar-container {
        width: 300px;
        height: 10px;
        background-color: #ddd;
        margin-top: 20px;
        border-radius: 5px;
        overflow: hidden;
    }

    .loading-bar {
        height: 100%;
        width: 0;
        background-color: #3498db;
        transition: width 0.2s ease;
    }

    .loading-logo img {
        width: 100px;
    }

    .loading-text {
        margin-top: 10px;
        font-family: Arial, sans-serif;
        color: #333;
    }






.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.6rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
	color: #ff6d00;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 25%;
}

.section-title p {
    font-size: 1.8rem;
    color: var(--dark-gray);
}

/* Header Styles */

/* الهيدر في الوضع العادي (كبير) */
.header.large-header {
  padding: 30px 0;
  transition: all 0.3s ease;
  background-color: #0f1f4abd;
  box-shadow: none;
}


.header.large-header .logo img {
  height: 100px;
  transition: height 0.3s ease;
}




/* عند التمرير - هيدر صغير */
.header.shrink {
  padding: 8px 0;
  transition: all 0.3s ease;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 9999999999999;
  border-radius: 0 0 35px 35px;
}

.header.shrink .navbar ul li a {
    color: #65769d;
    font-size: 1.8rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.header.shrink .navbar ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: -5px;
    left: 0;
	color: #fff;
    transition: var(--transition);
}






.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(10, 36, 99, 0.9);
    padding: 2rem 0;
    z-index: 9999999;
    transition: var(--transition);
}



.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .logo img {
    height: 5rem;
}

.header .navbar ul {
    display: flex;
}

.header .navbar ul li {
    margin-right: 3rem;
}




.header .navbar ul li a {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.header .navbar ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.header .navbar ul li a:hover::after {
    width: 100%;
}

.header .contact-btn .btn {
    font-size: 1.6rem;
    padding: 0.8rem 1.5rem;
}
.header .contact-btn .btn:hover {
    font-size: 1.6rem;
    padding: 0.8rem 1.5rem;
	margin-top:-10px;
	border: 1px solid;
}

#menu-btn {
    font-size: 2.5rem;
    color: #316bff;
    cursor: pointer;
    display: none;
}




/* Home Section Styles */
.home {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.home .video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.home .video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 36, 99, 0.51);
    z-index: 0;
}

.home .content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

.home .content h1 {
    font-size: 5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.home .content h1 span {
    color: var(--secondary-color);
}

.home .content p {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.home .content .buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

    .fade-video {
        transition: opacity 1s ease-in-out;
        opacity: 1;
    }

    .fade-out {
        opacity: 0.4;
    }


/* تأسيس التحريكات */
.slide-from-left {
    opacity: 0;
    transform: translateX(-100px);
    animation: slideInLeft 1s ease-out 0.8s forwards;
}

.slide-from-right {
    opacity: 0;
    transform: translateX(100px);
    animation: slideInRight 1s ease-out 1s forwards;
}

/* تأثيرات الحركة */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* تأثيرات إضافية عند hover */
.btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn:active {
    transform: translateY(-1px) !important;
}

/* تأثير موجي عند hover */
.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255,255,255,0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}






/* About Section Styles */
.about {
    padding: 8rem 0;
    background-color: var(--light-gray);
}

.about .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5rem;
}

.about .row .image {
    flex: 1 1 40rem;
}

.about .row .image img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
}

.about .row .content {
    flex: 1 1 40rem;
}

.about .row .content h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.about .row .content p {
    font-size: 1.8rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.about .row .content .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem;
}

.about .row .content .feature-box {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.about .row .content .feature-box:hover {
    transform: translateY(-5px);
}

.about .row .content .feature-box i {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.about .row .content .feature-box h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about .row .content .feature-box p {
	font-size: 1.6rem;
	  margin-bottom: 0;
	  text-align: justify;
}
.features .btn{
	background-color: var(--primary-color);
	  border: 0px solid;
	  color: white;
}

.features .btn:hover{
	background-color: #f24a38;
	  border: 0px solid;
	  color: white;
	  transform: translateY(-5px);
}

/* تأثير الصورة */
.image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.image-parallax {
    transform: scale(1.1);
    transition: transform 0.5s ease-out;
    width: 100%;
    height: auto;
}

.image:hover .image-parallax {
    transform: scale(1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,25,47,0.8) 0%, rgba(0,188,212,0.6) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.image:hover .image-overlay {
    opacity: 1;
}




/* Services Section Styles */
.services {
    padding: 8rem 0;
}

.services .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2rem;
}

.services .box-container .box {
    background-color: var(--white);
    padding: 2rem 0;
    text-align: center;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 3px solid var(--secondary-color);
}

.services .box-container .box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.services .box-container .box i {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.services .box-container .box h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.services .box-container .box p {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.services .box-container .box .btn {
    font-size: 1.4rem;
    padding: 0.8rem 1.5rem;
}

.services .svg2 {
	position: absolute;
	margin-top: -220px;
	/*margin-left: -50px;*/
}


@media (max-width: 768px) {
	
	.services .svg2 {
	position: absolute;
	margin-top: -125px;
	/*margin-left: -50px;*/
}

.header.large-header .logo img {
  height: 68px;
  transition: height 0.3s ease;
}

}




/* Projects Section Styles */
.projects {
    padding: 8rem 0;
    background-color: var(--light-gray);
}

.projects .portfolio-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.projects .portfolio-filter button {
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    margin: 0 0.5rem 1rem;
    font-size: 1.6rem;
    font-weight: 500;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.projects .portfolio-filter button.active,
.projects .portfolio-filter button:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.projects .portfolio-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2rem;
}

.projects .portfolio-box {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    height: 25rem;
    box-shadow: var(--box-shadow);
}

.projects .portfolio-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.projects .portfolio-box:hover img {
    transform: scale(1.1);
}

.projects .portfolio-box .portfolio-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 36, 99, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.projects .portfolio-box:hover .portfolio-layer {
    opacity: 1;
}

.projects .portfolio-box .portfolio-layer h4 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.projects .portfolio-box .portfolio-layer p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.projects .portfolio-box .portfolio-layer a {
    width: 4rem;
    height: 4rem;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    transition: var(--transition);
}

.projects .portfolio-box .portfolio-layer a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Contact Section Styles */
.contact {
    padding: 8rem 0;
  background-color: #fadb57; /*var(--light-gray);*/
  clip-path: polygon(0 5%, 100% 0%, 100% 100%, 0 100%);
}

.contact .row {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.contact .contact-info {
    flex: 1 1 40rem;
}

.contact .contact-info h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.contact .contact-info h3::after {
    content: '';
    position: absolute;
    width: 5rem;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 0;
}

.contact .contact-info .info-box {
    display: flex;
    margin-bottom: 2rem;
}

.contact .contact-info .info-box i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-left: 2rem;
    margin-top: 0.5rem;
}

.contact .contact-info .info-box .details h4 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
	margin-left: 10px;
}

.contact .contact-info .info-box .details p {
    font-size: 1.8rem;
    color: var(--dark-gray);
}

.contact .contact-form {
    flex: 1 1 40rem;
    background-color: #e1b908;
    padding: 3rem;
    border-radius: 0.5rem;
}

.contact .contact-form .input-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact .contact-form .input-box input {
    width: 49%;
    padding: 1.5rem;
    margin-bottom: 2rem;
    font-size: 1.6rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
}

.contact .contact-form textarea {
    width: 100%;
    padding: 1.5rem;
    margin-bottom: 2rem;
    font-size: 1.6rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    resize: none;
    height: 15rem;
}

.contact .contact-form .btn {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 1.5rem 3rem;
    font-size: 1.6rem;
    cursor: pointer;
}

.contact .contact-form .btn:hover {
    background-color: var(--primary-color);
}


.response-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}

.response-message .success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.response-message .error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

.carousel {
  background: #f5f5f5;
  width: 99%;
  margin: 40px auto;
  direction: rtl; /* لدعم اللغة العربية */
}

.carousel-cell {
  width: 100%; /* الوضع الأساسي للجوال */
  padding: 5px;
  box-sizing: border-box;
}

.carousel-cell img {
  width: 100%;
  display: block;
  border-radius: 10px;
  transition: var(--transition);
}
.carousel-cell:hover img {
    transform: scale(1.05);
}


/* الشاشات المتوسطة والكبيرة - عرض 3 صور */
@media (min-width: 768px) {
  .carousel-cell {
    width: 33.333%;
  }
}


/*  Our Approach  */

    .section {
      position: relative;
      overflow: hidden;
      padding: 30px 0;
      background: linear-gradient(to bottom, #fff 0%, #e2e8f0 100%);
    }


    .angled-image {
      position: relative;
      clip-path: polygon(0 15%, 100% 0%, 100% 85%, 0% 100%);
      overflow: hidden;
      margin: 0 auto;
      max-width: 1200px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
      border-radius: 8px;
      transform: translateZ(0);
    }

    .angled-image img {
      width: 100%;
      height: auto;
      display: block;
      filter: brightness(0.9) contrast(1.1);
      transform: scale(1.05);
      transition: transform 1s ease, filter 1s ease;
    }

    .angled-image:hover img {
      transform: scale(1.08);
      filter: brightness(1) contrast(1.2);
    }

    .steps-container {
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
      margin: -150px auto 0;
      gap: 40px;
      z-index: 2;
      position: relative;
      max-width: 1200px;
      padding: 0 20px;
    }

    .step {
      background: linear-gradient(135deg, #133595 0%, #3b82f6 100%);
      color: white;
      padding: 25px;
      border-radius: 50%;
      width: 160px;
      height: 160px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      font-weight: 600;
      box-shadow: 0 10px 30px rgba(29, 78, 216, 0.3);
      opacity: 0;
      transform: translateY(40px);
      position: relative;
      border: 3px solid rgba(255, 255, 255, 0.3);
      transition: all 0.5s ease;
      cursor: default;
      font-size: 2.0em;
      line-height: 1.4;
    }

    .step::before {
      content: '';
      position: absolute;
      top: -5px;
      left: -5px;
      right: -5px;
      bottom: -5px;
      border-radius: 50%;
      border: 2px dashed rgba(255, 255, 255, 0.4);
      opacity: 0;
      transition: opacity 0.3s ease, transform 0.5s ease;
    }

    .step:hover {
      transform: translateY(-10px) scale(1.05);
      box-shadow: 0 15px 40px rgba(29, 78, 216, 0.4);
    }

    .step:hover::before {
      opacity: 1;
      animation: rotate 10s linear infinite;
    }

    .step.animate {
      animation: fadeUp 0.8s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .step.animate:nth-child(1) { animation-delay: 0.2s; }
    .step.animate:nth-child(2) { animation-delay: 0.4s; }
    .step.animate:nth-child(3) { animation-delay: 0.6s; }
    .step.animate:nth-child(4) { animation-delay: 0.8s; }

    @keyframes fadeUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes rotate {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    /* Connecting lines */
    .connector-line {
      position: absolute;
      height: 2px;
      background: rgba(29, 78, 216, 0.3);
      top: 50%;
      transform: translateY(-50%);
      z-index: -1;
      opacity: 0;
      transition: opacity 0.5s ease;
    }

    .steps-container:hover .connector-line {
      opacity: 1;
    }

    @media (max-width: 992px) {
      .steps-container {
        gap: 30px;
      }
      .step {
        width: 140px;
        height: 140px;
      }
    }

    @media (max-width: 768px) {
      .section {
        padding: 60px 0;
      }
      .title {
        font-size: 2.2em;
        margin-bottom: 40px;
      }
      .steps-container {
        flex-direction: unset;
		align-items: center;
			margin-top: -206px;
			gap: 50px;
      }
      .step {
        width: 150px;
        height: 150px;
        font-size: 2em;
      }
      .connector-line {
        display: none;
      }
    }

    @media (max-width: 480px) {
      .title {
        font-size: 1.8em;
      }
      .step {
        width: 130px;
        height: 130px;
      }
    }



/*  testimonial */


    .testimonials-section {
      padding: 80px 0;
      background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
    }


    .testimonials-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .testimonials-slider {
      position: relative;
      overflow: hidden;
    }

    .testimonials-track {
      display: flex;
      transition: transform 0.5s ease;
    }

    .testimonial-card {
      min-width: 100%;
      padding: 30px;
      box-sizing: border-box;
    }

    .testimonial-content {
      background: white;
      border-radius: 10px;
      padding: 30px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      position: relative;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
	  text-align:center;
	  height: 450px;
    }
	.testimonial-content img {
	margin: 0 auto;
	}

    .testimonial-content:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    }

    .testimonial-content::before {
      content: '"';
      font-size: 80px;
      color: #3498db;
      opacity: 0.1;
      position: absolute;
      top: 10px;
      right: 20px;
      font-family: serif;
      line-height: 1;
    }

    .testimonial-text {
      margin-bottom: 20px;
      color: #555;
	  font-size: 1.8em;
		text-align: justify;
    }

    .client-info {
      display: flex;
      align-items: center;
    }

    .client-avatar {
      width: 150px;
	  /*
      height: 100px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid #3498db;
	  */
	  margin:0 auto;
    }

    .client-details h4 {
		font-size: 18px;
      color: #2c3e50;
      margin-bottom: 5px;
    }

    .client-details p {
      color: #7f8c8d;
      font-size: 14px;
    }

    .rating {
      color: #f39c12;
      margin-top: 5px;
    }

    .slider-nav {
      display: flex;
      justify-content: center;
      margin-top: 40px;
    }

    .slider-dot {
      width: 12px;
      height: 12px;
      background: #bdc3c7;
      border-radius: 50%;
      margin: 0 5px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .slider-dot.active {
      background: #3498db;
      transform: scale(1.2);
    }

    @media (min-width: 768px) {
      .testimonial-card {
        min-width: 50%;
      }
    .testimonial-content {
      background: white;
      border-radius: 10px;
      padding: 30px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      position: relative;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
	  text-align:center;
    }
	  
    }

    @media (min-width: 992px) {
      .testimonial-card {
        min-width: 33.333%;
      }
    .testimonial-content {
      background: white;
      border-radius: 10px;
      padding: 30px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      position: relative;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
	  text-align:center;
    }
    }

    /* Animation */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .testimonial-card {
      animation: fadeIn 0.6s ease forwards;
      opacity: 0;
    }

    .testimonial-card:nth-child(1) { animation-delay: 0.2s; }
    .testimonial-card:nth-child(2) { animation-delay: 0.4s; }
    .testimonial-card:nth-child(3) { animation-delay: 0.6s; }








/* Client Logos */

    .clients-section {
      padding: 80px 0;
      background-color: #fff;
      overflow: hidden;
    }

    .section-header {
      text-align: center;
      margin-bottom: 50px;
    }


    .section-description {
      color: #7f8c8d;
      font-size: 1.1rem;
      max-width: 700px;
      margin: 0 auto;
      line-height: 1.6;
    }

    .clients-slider {
      position: relative;
      width: 100%;
      margin: 0 auto;
      overflow: hidden;
    }

    .clients-track {
      display: flex;
      align-items: center;
      animation: scroll 30s linear infinite;
      width: calc(400px * 17);
    }

    .client-logo {
      flex: 0 0 250px;
      height: 120px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 20px;
     /* filter: grayscale(100%);*/
      opacity: 0.7;
      transition: all 0.3s ease;
    }

    .client-logo:hover {
      filter: grayscale(0%);
      opacity: 1;
      transform: scale(1.05);
    }

    .client-logo img {
      max-width: 100%;
      max-height: 150px;
      object-fit: contain;
    }

    @keyframes scroll {
      0% {
        transform: translateX(0);
      }
      100% {
        transform: translateX(calc(-350px * 8));
      }
    }

    /* Pause animation on hover */
    .clients-slider:hover .clients-track {
      animation-play-state: paused;
    }

    /* Responsive Design */
    @media (max-width: 992px) {
      .clients-track {
        animation: scroll 40s linear infinite;
      }
      
      .client-logo {
        flex: 0 0 200px;
        height: 100px;
      }
    }

    @media (max-width: 768px) {
      .section-title {
        font-size: 2rem;
      }
      
      .section-description {
        font-size: 1rem;
        padding: 0 20px;
      }
      
      .client-logo {
        flex: 0 0 150px;
        height: 80px;
      }
    }

    @media (max-width: 480px) {
      .clients-section {
        padding: 60px 0;
      }
      
      .section-title {
        font-size: 1.8rem;
      }
      
      .client-logo {
        flex: 0 0 120px;
        height: 60px;
      }
    }


/* Footer Styles */
.footer {
  background-color: var(--primary-color);
  padding: 5rem 2rem 0;
  color: var(--white);
  direction: ltr;
  font-family: sans-serif;
}

.footer .container {
  max-width: 1200px;
  margin: auto;
}

.footer .row {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
}

.footer .footer-col {
  flex: 1 1 250px;
  min-width: 220px;
  font-size: 1.8rem;
  z-index: 9;
}

.footer .footer-col h4 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer .footer-col h4::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
  bottom: -8px;
  left: 0;
}

.footer .footer-col ul {
  list-style: none;
  padding: 0;
}

.footer .footer-col ul li {
  margin-bottom: 1rem;
}

.footer .footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  
  transition: var(--transition);
  display: inline-block;
  margin-left: 10px;
}

.footer .footer-col ul li a:hover {
  color: var(--secondary-color);
  padding-right: 0.5rem;
  margin-left: 15px;
}

.footer .footer-col p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.footer .newsletter-form input {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 0.4rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.footer .newsletter-form button {
  width: 100%;
  padding: 1rem;
  font-size: 1.4rem;
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
  border-radius: 0.4rem;
  cursor: pointer;
  transition: var(--transition);
}

.footer .newsletter-form button:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.footer .copyright {
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .copyright p {
  font-size: 1.4rem;
  margin: 0;
}


.footer .social-links {
    display: ruby-text;
    margin-top: 3rem;
}

.footer .social-links a {
    width: 4rem;
    height: 4rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    transition: var(--transition);
}

.footer .social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.footer .svg {
	position: absolute;
	margin-top: -180px;
	margin-left: -50px;
}


/* Responsive Styles */
@media (max-width: 991px) {
    html {
        font-size: 55%;
    }
    
    .header .navbar ul li {
        margin-right: 2rem;
    }	
}

@media (max-width: 768px) {
    #menu-btn {
        display: inline-block;
    }
    
    .header .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
    }
    
    .header .navbar.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .header .navbar ul {
        flex-direction: column;
        padding: 2rem;
    }
    
    .header .navbar ul li {
        margin: 1rem 0;
    }
    
    .header .contact-btn {
        display: none;
    }
    
    .home .content h1 {
        font-size: 4rem;
    }
    
    .contact .contact-form .input-box input {
        width: 100%;
    }
.footer .svg {
	/*
	position: absolute;
	margin-top: -100px;
	margin-left: -50px;
	*/
		position: absolute;
        margin-top: -90px;
        margin-left: -16px;
        width: 100% !important;
	
}
	
	
.show-on-mobile {
    display: none;
  }
  
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }
    
    .home .content h1 {
        font-size: 3.5rem;
    }
    
    .home .content .buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 3rem;
    }
}


/* to Top Btn */


#toTopBtn {
  position: fixed;
  bottom: 5px;
  right: 30px;
  z-index: 99;
  background: #0a2463;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, background-color 0.3s;
}

#toTopBtn:hover {
  background: #f66717;
  transform: scale(1.1);
}

.arrow-icon {
  animation: fadeInUp 0.6s ease;
  transition: transform 0.3s ease;
}

#toTopBtn:hover .arrow-icon {
  transform: rotate(-360deg);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}