/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e1e5e9;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 10px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    width: 200px;
    height: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a2363;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #0a2363;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d8325c;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-item-dropdown {
    position: relative;
    
}

.dropdown-arrow {
    font-size: 0.8rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 150px;
    z-index: 1001;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.dropdown-link:hover {
    background-color: #f8f9fa;
    color: #0a2363;
    border-radius: 8px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-list {
        flex-direction: column;
        background: white;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
    }
.nav-item-dropdown {
    position: relative;
    text-align: center;
}
    .nav-list.active {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        border: none;
        margin-left: 1rem;
    }

    .dropdown-menu.open {
        display: block;
    }

    .nav-item-dropdown:hover .dropdown-menu {
        /* disable hover effect on mobile */
    }
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0a2363 0%, #1a3a7a 100%);
    color: white;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 500;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: #d8325c;
    color: white;
    border-color: #d8325c;
}

.btn-primary:hover {
    background: #c12951;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(216, 50, 92, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #0a2363;
    transform: translateY(-2px);
}

.hero-images {
    position: relative;
    height: 500px;
}

.hero-image {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: translateY(-10px);
}

.hero-image-1 {
    width: 240px;
    height: 300px;
    top: 180px;
    left: 380px;
    z-index: 3;
}

.hero-image-2 {
    width: 400px;
    height: 350px;
    top: 80px;
    left: 120px;
    z-index: 1;
}



.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media(max-width:1100px){
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
   .hero-images {
    position: relative;
    height: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
  }

  .hero-image {
    position: relative; /* no longer absolute */
    width: auto;
    height: auto;
    top: unset;
    left: unset;
    transform: none !important;
  }

  .hero-image-1,
  .hero-image-2,
  .hero-image-3 {
    width: 280px;
    height: 180px;
    top: unset;
    left: unset;
  }
}
@media (max-width: 768px) {
   .hero {
        padding: 100px 0 60px;
    }
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
}
@media(max-width:480px){
  .hero-image-2,
  .hero-image-3 {
display: none;
  }
}





.clients {
  padding: 60px 0;
  background: #f8f9fa;
}

.clients-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  color: #0a2363;
  margin-bottom: 3rem;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 4rem;
  align-items: center;
  justify-items: center;
}

.clients-grid img {
  width: 100%;
  max-width: 120px;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.clients-grid img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Tablets & Mobile: Force 2 columns */
@media (max-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .clients-grid img {
    max-width: 100px;
    max-height: 70px;
  }
}

/* Extra small devices: Keep 2 columns instead of 1 */
@media (max-width: 420px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr); /* Changed from 1fr to 2 columns */
    gap: 1.5rem;
    row-gap: 4rem;
  }

  .clients-grid img {
    max-width: 90px;
    max-height: 60px;
  }
}



/* Features Section */
.features {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0a2363;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    padding: 3rem 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0a2363 0%, #d8325c 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.feature-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0a2363 0%, #d8325c 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0a2363;
    margin-bottom: 1.5rem;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a2363 0%, #1a3a7a 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: #d8325c;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Dashboard Section */
.dashboard {
    padding: 80px 0;
    background: #f8f9fa;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.dashboard-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0a2363;
    margin-bottom: 1.5rem;
}

.dashboard-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.dashboard-image {
    position: relative;
}

.dashboard-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}


/* Top Clients Section */
.top-clients {
    background: #0a2363;
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.top-clients-decorative-top {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #0a2363 100%);
    transform: skewY(-2deg);
    transform-origin: top left;
}

.top-clients-decorative-bottom {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, #0a2363 0%, #d8325c 50%, #e74c6f 100%);
    transform: skewY(-2deg);
    transform-origin: bottom right;
}

.top-clients-content {
    position: relative;
    z-index: 2;
}

.top-clients-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.top-clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
}

.top-client-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.top-client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.top-client-card:hover::before {
    left: 100%;
}

.top-client-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(216, 50, 92, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.top-client-card img {
    width: 100%;
    max-width: 140px;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.top-client-card:hover img {
    filter: brightness(1) invert(0);
    transform: scale(1.1);
}
/* Desktop: Show all in one row */
@media (min-width: 1024px) {
    .top-clients-grid {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 3rem; /* same spacing as before */
        flex-wrap: nowrap; /* prevents wrapping to next line */
    }
    .top-client-card {
        flex: 0 0 auto; /* prevent stretching */
    }
}

/* Responsive Top Clients */
@media (max-width: 768px) {
    .top-clients {
        padding: 60px 0;
    }

    .top-clients-decorative-top,
    .top-clients-decorative-bottom {
        height: 60px;
    }

    .top-clients-decorative-top {
        top: -30px;
    }

    .top-clients-decorative-bottom {
        bottom: -30px;
    }

    .top-clients-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .top-clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .top-client-card {
        padding: 1.5rem;
    }

    .top-client-card img {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .top-clients-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .top-client-card {
        padding: 1.25rem;
    }

    .top-client-card img {
        max-width: 100px;
    }
}


/* Contact CTA Section */
.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #d8325c 0%, #e74c6f 100%);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr auto 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-text {
    text-align: left;
}

.contact-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.contact-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-img {
    width: 120px;
    height: auto;
    border-radius: 50%;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.contact-button {
    display: flex;
    justify-content: flex-end;
}

.contact-cta .btn-primary {
    background: white;
    color: #d8325c;
    border-color: white;
    font-size: 1.1rem;
}

.contact-cta .btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .contact-text {
        text-align: center;
    }

    .contact-text h2 {
        font-size: 2rem;
    }

    .contact-text p {
        font-size: 1rem;
    }

    .arrow-img {
        width: 80px;
        margin: 0 auto;
    }

    .contact-button {
        justify-content: center;
    }
}

.footer {
  background: #0a2363;
  color: white;
  padding: 60px 20px 20px;
  z-index: 100;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-logo-wrapper {
  background: white;      /* or a lighter shade */
  padding: 8px 12px;
  border-radius: 4px;    /* rounded corners */
  display: inline-block;
  margin-bottom: 10px;
}

.footer-logo {
  max-width: 200px;
  height: auto;
  display: block;
}


.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #d8325c;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-width: 300px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.2rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-icon:hover {
  background-color: #d8325c;
  color: white;
}

/* Optional: different colors for each social */
.social-icon.facebook:hover { background-color: #3b5998; }
.social-icon.twitter:hover { background-color: #1da1f2; }
.social-icon.instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-icon.linkedin:hover { background-color: #0077b5; }

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-section p {
    max-width: 100%;
  }
  .social-icons{
    justify-content: center;
  }

}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    width: 90%;
        max-height: 90vh;         /* ✅ Limit content height */
    overflow-y: auto; 
    max-width: 800px;
    position: relative;
    transform: translateY(50px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #333;
}

.modal h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0a2363;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0a2363;
}
/* Style for select dropdowns */
.form-group select {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  background-color: white;
  transition: border-color 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
}

.form-group select:focus {
  outline: none;
  border-color: #0a2363;
}

/* Book a Demo Button */
.contact-form .btn {
  background-color: #0a2363;
  color: white;
  padding: 12px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form .btn:hover {
  background-color: #061a45;
}

/* Animation Classes */
.animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.animate-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-rollup {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.animated {
    opacity: 1;
    transform: translate(0);
}
@media (max-width: 768px) {
  .animate-left,
  .animate-right,
  .animate-fade,
  .animate-rollup {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header-content {
        padding: 0.75rem 0;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-list.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

   



    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .dashboard-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .dashboard-text h2 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-content h2 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .modal-content {
        padding: 2rem;
        width: 95%;
    }
}

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

    .stat-number {
        font-size: 2.5rem;
    }
}
.contact-trigger {
  cursor: pointer;
}