* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 50px;
    background-color: rgb(244, 244, 248);
    color: black;
    width: 100%;
    top: 0;
    z-index: 100;
    position: fixed;
  }
  .logo img {
    height: 120px;
  }
  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  .nav-links li {
    position: relative;
  }
  .nav-links a,
  .mobile-menu a {
    color: rgb(11, 11, 11);
    font-size: 18px;
    padding: 8px 12px;
    border-radius: 5px;
    position: relative;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
  }

  .nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    width: 0;
    height: 2px;
    background: #006aff;
    transition: width 0.3s ease-in-out;
}



.nav-links a:hover::after,
.nav-links .active::after {
    width: 100%;
}
.contact-btn {
    background-color: #ff6600;
    padding: 10px 15px;
    border-radius: 5px;
}
.contact-btn:hover {
    background-color: #e65c00;
}
  
  /* Dropdown menu */
  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgb(244, 244, 248);
    color: #0f0f0f;
    list-style: none;
    padding: 10px 0;
    z-index: 100;
    min-width: 200px;
  }
  .dropdown-menu li a {
    display: block;
    padding: 10px 20px;
  }
  .dropdown.open .dropdown-menu {
    display: block;
  }
  
  /* Mobile Styles */
  .menu-icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
  }
  /* Base dropdown (desktop) */
.dropdown-menu {
    position: absolute;
    left: 0;
    top: 230%;
    display: none;
    z-index: 1000;
    padding: 10px 0;
  }
  .dropdown-menu a:hover {
    background-color: #e6f0ff;
    color: #0056b3;
}
  /* Show dropdown when open */
  .dropdown.open .dropdown-menu {
    display: block;
  }
  
  /* MOBILE STYLES ONLY */
  @media (max-width: 934px) {
    .mobile-menu {
      position: fixed;
      top: 60px;
      left: 0;
      width: 100%;
      z-index: 999;
      max-height: 100vh;
      overflow-y: auto;
    }
  
    .mobile-menu .dropdown {
      position: static;
    }
  
    .mobile-menu .dropdown-menu {
      position: static !important;
      display: none;
      padding-left: 20px;
    }

  .dropdown-menu li{
    background-color: rgb(244, 244, 248);
    color: #0f0f0f;
  }
    .mobile-menu .dropdown.open .dropdown-menu {
      display: block;
    }
  
    .mobile-menu ul {
      padding-left: 0;
    }
    .mobile-menu .contact-btn {
        display: inline-block;
        background-color: #ff6600;
        color: white;
        border-radius: 8px;
        text-align: center;
        font-weight: bold;
        text-decoration: none;
        width: calc(100% - 200px); 
        max-width: 250px;
      }
      
    .mobile-menu li {
      list-style: none;
      padding: 10px 20px;
    }
  
    .mobile-menu a {
      color: #0f0f0f;
      text-decoration: none;
      display: block;
    }
  }
  .mobile-menu {
    display: none;
    position: fixed;
    top: 120px;
    left: 0;
    width: 100%;
    background-color: rgb(244, 244, 248);
    color: #0f0f0f;
    z-index: 999;
    max-height: 100vh;
    overflow-y: auto;
    
    transition: all 0.3s ease;
  }
  
  /* Show menu when active */
  .mobile-menu.active {
    display: block;
  }
  #menu-icon {
    font-size: 32px; /* Increase size */
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s ease;
  }
  
  
  .mobile-menu ul {
    list-style: none;
  }
  .mobile-menu li {
    padding: 10px 0;
    padding-left: 20px;
    border-bottom: 1px solid #ccc; /* light gray border line */
  }
  .mobile-menu li:hover {
    border-bottom: 1px solid #4a90e2;
    color: #4a90e2;
    background-color: #f9f9f9;
  }
  
  
  .mobile-menu .dropdown-menu {
    display: none;
    padding-left: 20px;
    background-color: #222;
  }
  .mobile-menu .dropdown.open .dropdown-menu {
    display: block;
  }
  
  /* Responsive */
  @media (max-width: 934px) {
    .nav-links {
      display: none;
    }
    .menu-icon {
      display: block;
    }
    .mobile-menu.active {
      display: block;
    }
  }
  


/* Banner Section */
.banner {
    position: relative;
    height: 500px;
    background: url('assets/portfoliobg.webp') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding-left: 10%;
    padding-top: 100px;
    animation: bgZoom 8s infinite alternate ease-in-out;
    color: white;
}

/* Background Animation */
@keyframes bgZoom {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

/* Text Animation (Default State) */
.banner-content .animate-text {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Animation when section is in view */
.banner-content .animate-text.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .banner {
        height: 400px;
        padding-left: 5%;
    }
    .banner-content h1 {
        font-size: 28px;
    }
    .banner-content h2 {
        font-size: 22px;
    }
    .banner-content p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .banner {
        height: 350px;
        padding-left: 5%;
    }
    .banner-content {
        text-align: center;
        padding-left: 0;
    }
    .banner-content h1 {
        font-size: 24px;
    }
    .banner-content h2 {
        font-size: 20px;
    }
    .banner-content p {
        font-size: 16px;
    }
}

/* About Us Section */
.about-us {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    overflow: hidden;
}

/* Background Image */
.about-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/bgourcompany.webp') no-repeat center center/cover;
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
}

/* About Container */
.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 1;

    /* Initially hidden */
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.about-container.show {
    opacity: 1;
    transform: translateY(0);
}


/* Left Side - Image */
.about-image {
    flex: 1;
    text-align: center;
    transform: translateX(-50px);
    opacity: 0;
    animation: slideInLeft 1s ease-in-out forwards;
    transform: translateX(-50px);
    transition: all 1s ease-in-out;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Right Side - Content */
.about-content {
    flex: 1;
    padding: 20px;
    max-width: 600px;
    transform: translateX(50px);
    opacity: 0;
   
    transition: all 1s ease-in-out;
    animation: slideInRight 1s ease-in-out forwards;
}

.about-content h3{
    color: #2c258d;
    font-size: 2.5rem;

}

.about-content p {
    font-size: 1.1rem;
    color: rgb(11, 19, 52);
    line-height: 1.6;
    margin-bottom: 15px;
}


/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image {
        transform: translateY(-50px);
        animation: slideInBottom 1s ease-in-out forwards;
    }
    
    @keyframes slideInBottom {
        from { transform: translateY(-50px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }
}


.our_company {
    padding: 50px;
    text-align: center;
    background-image: url('assets/bgteam.jpg');
}
.why-choose-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
   
}
.why-choose-item {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    opacity: 0;
    transition: all 0.8s ease-in-out;
    width: 30%;
    min-width: 300px;
}
.why-choose-item img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
}
.fade-in {
    transform: translateY(80px);
}
.slide-in {
    transform: translateX(-80px);
}
.zoom-in {
    transform: scale(0.6);
}
.show {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}
@media (max-width: 768px) {
    .why-choose-container {
        flex-direction: column;
    }
    .why-choose-item {
        width: 90%;
    }
}

.solutions {
    padding: 50px 10%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    background-color: #e4edf0;
}

.solutions h1{
    color: black;
    text-align: center;
    padding: 20px;
}
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 100px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}
.service-box {
    width: 100%;
    max-width: 280px;
    height: 250px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: #fff;
    text-align: center;
    transition: transform 0.6s, opacity 0.6s;
    opacity: 0;
    transform: translateY(50px);
}
.service-box.show {
    opacity: 1;
    transform: translateY(0);
}
.service-front {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.service-front i {
    font-size: 40px;
    margin-bottom: 10px;
    color: #007bff;
}
.service-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 123, 255, 0.9);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.6s;
}
.service-box:hover .service-back {
    transform: translateY(0);
}

.hidden {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-left { transform: translateX(-50px); }
.animate-right { transform: translateX(50px); }
.animate-top { transform: translateY(-50px); }
.animate-bottom { transform: translateY(50px); }
.show { opacity: 1; transform: translateX(0) translateY(0); }

.service-front h3{
    text-align: center;
    padding-bottom: 15px;
}

/* For tablets and smaller screens */
@media (max-width: 1024px) {
    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}
/* For mobile screens (2 items per row) */
@media (max-width: 1119px) {
    .services-container {
        grid-template-columns: repeat(3, 1fr); /* Ensures 2 containers per row */
        gap: 10px;
    }
}
/* For mobile screens (2 items per row) */
@media (max-width: 768px) {
    .services-container {
        grid-template-columns: repeat(2, 1fr); /* Ensures 2 containers per row */
        gap: 10px;
    }
}

/* For very small screens (1 item per row) */
@media (max-width: 480px) {
    .services-container {
        grid-template-columns: repeat(1, 1fr); /* Ensures 1 container per row */
    }
}



.services {
    padding: 50px 10%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.service-box {
    width: 280px;
    height: 350px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: #fff;
    text-align: center;
    transition: transform 0.6s;
}
.service-box:hover .service-back {
    transform: translateY(0);
}
.service-front {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.service-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #001c40;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.6s;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
    text-align: left;
}
img {
    width: 80px;
    margin-bottom: 15px;
}
.learn-more-btn {
    margin-top: 15px;
    padding: 10px 15px;
    background: white;
    color: #007bff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}
.learn-more-btn:hover {
    background: #0056b3;
    color: white;
}
.hidden {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-left {
    transform: translateX(-50px);
}
.animate-right {
    transform: translateX(50px);
}
.animate-top {
    transform: translateY(-50px);
}
.animate-bottom {
    transform: translateY(50px);
}
.show {
    opacity: 1;
    transform: translateX(0) translateY(0);
}
@media (max-width: 768px) {
    .services {
        padding: 30px 5%;
    }
    .service-box {
        width: 100%;
        max-width: 300px;
    }
}



.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px;
}
.contact-container {
    display: flex;
    width: 90%;
    max-width: 1100px;
    height: 500px; /* Adjusts based on content */
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap; /* Ensures responsiveness */
}

/* Left Side - Contact Form */
.contact-form {
    flex: 1;
    padding: 40px;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease-in-out;
}
.contact-form.show {
    opacity: 1;
    transform: translateX(0);
}
.contact-form h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}
.form-group {
    position: relative;
    margin-bottom: 15px;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 40px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}
.form-group i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}
.form-group textarea {
    height: 100px;
    resize: none;
}
.contact-form button {
    width: 100%;
    padding: 12px;
    background: #007bff;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}
.contact-form button:hover {
    background: #0056b3;
}

.contact-info {
    flex: 1;
    background: linear-gradient(135deg, #f7f7ff, #e4e3fa); /* soft violet gradient */
    padding: 40px;
    color: #2c2c2c;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
  
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s ease-out;
  }
  
  .contact-info.show {
    opacity: 1;
    transform: translateX(0);
  }
  
  .contact-info h2 {
    font-size: 35px;
    margin-bottom: 20px;
    color: #4b0082;
  }
  
  .info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
  }
  
  .info-item i {
    font-size: 30px;
    color: #673ab7;
  }
  
  /* 🌟 Decorative Background Shapes */
  .contact-info::before,
  .contact-info::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: 0;
  }
  
  .contact-info::before {
    width: 200px;
    height: 200px;
    background: #c4b5fd;
    top: -50px;
    right: -50px;
    opacity: 0.3;
  }
  
  .contact-info::after {
    width: 150px;
    height: 150px;
    background: #b388ff;
    bottom: -60px;
    left: -40px;
    opacity: 0.2;
  }
  
  /* Place content above background shapes */
  .contact-info > * {
    position: relative;
    z-index: 1;
  }
  
.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}
.info-item i {
    font-size: 30px;
    color: #007bff;
}

/* 🔹 Improved Responsive Design */
@media (max-width: 1024px) {
    .contact-container {
        flex-direction: column;
        width: 95%;
        height: auto;
    }
    .contact-form, .contact-info {
        flex: none;
        width: 100%;
        min-height: auto;
    }
    .contact-form {
        order: 2; /* Moves form below */
        padding: 30px;
    }
    .contact-info {
        order: 1; /* Moves contact info above */
        text-align: center;
        align-items: center;
        padding: 30px;
    }
    .contact-info h2 {
        font-size: 32px;
    }
    .info-item {
        justify-content: center;
    }
}

/* 📱 Mobile-Specific Styling */
@media (max-width: 768px) {
    .contact-section {
        padding: 20px;
    }
    .contact-container {
        flex-direction: column;
        width: 100%;
        height: auto;
    }
    .contact-form, .contact-info {
        width: 100%;
        padding: 25px;
    }
    .contact-info {
        align-items: center;
        text-align: center;
    }
    .contact-info h2 {
        font-size: 28px;
    }
    .info-item {
        gap: 15px;
        font-size: 14px;
    }
    .info-item i {
        font-size: 22px;
    }
    .contact-form h2 {
        font-size: 22px;
    }
    .contact-form button {
        font-size: 14px;
        padding: 10px;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .contact-form h2, .contact-info h2 {
        font-size: 24px;
    }
    .form-group input, .form-group textarea {
        padding: 10px 35px;
    }
    .form-group i {
        font-size: 16px;
    }
    .contact-form button {
        font-size: 14px;
        padding: 10px;
    }
}

/* Footer Styling */
.footer {
    background: linear-gradient(to right, #E6E6FA, #ADD8E6);
    color: rgb(13, 13, 13);
    padding: 50px 20px;
    text-align: left;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.logo-container {
    flex: 0.5;
}

.footer-logo {
    width: 120px;
    height: 150px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
    width: max-content;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: black;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #007bff;
}

.footer p i {
    margin-right: 8px;
    color: #007bff;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-links a {
    color: black;
    font-size: 25px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #007bff;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
    margin-top: 20px;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .footer-container {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .footer-column {
        flex: 1 1 45%;
        min-width: 250px;
    }
    
    .social-links {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .footer-column {
        width: 100%;
    }
    
    .social-links {
        justify-content: flex-start;
    }
}