/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

/* Header Styling */
header {
    background-color: #000000;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

header .logo img {
    max-width: 200px;
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin: 0 20px;
    position: relative;
}

/* Navbar Links */
nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
    display: block;
}

/* Hover Effect for Navbar Links */
nav ul li a:hover {
    color: #ff6600;
    background-color: rgba(255, 102, 0, 0.1);
    border-radius: 5px;
}

/* Dropdown Menu Styling */
nav ul li:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Dropdown Content (Initially hidden) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    width: 220px;
    top: 35px;
    left: 0;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s, transform 0.3s;
}

/* Dropdown Links Styling */
.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Hover Effect for Dropdown Items */
.dropdown-content a:hover {
    background-color: #444;
    color: #ff6600;
    padding-left: 30px;
}

/* Banner Section */
.banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 600px;
    margin-bottom: 0px;
}

.banner-content {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.banner-slide {
    min-width: 100%;
    height: 600px;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 30px;
    padding: 10px;
    cursor: pointer;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Partners Section Styling */
.partners {
    background-color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.partners h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.partners-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    overflow: hidden;
}

.partners-logos img {
    max-width: 150px;
    transition: transform 0.3s ease-in-out;
}

.partners-logos img:hover {
    transform: scale(1.1);
}

/* Section Styling */
.section {
    display: none;
    padding: 40px 20px;
    margin: 20px 0;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container {
    width: 80%;
    margin: 0 auto;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Core Team Section Styling */
#core-team {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

#core-team h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

#core-team .team-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.team-member-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.team-member-info h3 {
    font-size: 1.4rem;
    margin: 10px 0;
}

.team-member-info .role {
    font-weight: bold;
    color: #ff6600;
    margin-bottom: 10px;
}

.team-member-info .bio {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

/* Hover effect on team photo */
.team-member-photo:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    #core-team h2 {
        font-size: 1.6rem;
    }

    #core-team .team-members {
        grid-template-columns: 1fr 1fr;
    }

    .team-member {
        padding: 15px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 20px;
    }

    .container {
        width: 100%;
    }
}

/* General Service Styles */
.services-banner {
    background-color: #F3F4F6;
    padding: 50px 0;
    text-align: center;
}

.services-banner h1 {
    font-size: 36px;
    color: #333;
    font-weight: bold;
}

.services-banner p {
    font-size: 20px;
    color: #666;
}

/* Services Overview */
.services-intro {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
}

.services-intro h2 {
    font-size: 32px;
    color: #007BFF;
    margin-bottom: 20px;
}

.services-intro p {
    font-size: 18px;
    color: #333;
    line-height: 1.5;
}

/* Individual Service Styling */
.service {
    display: flex;
    align-items: center;
    padding: 50px 20px;
    background-color: #F9F9F9;
    margin: 20px 0;
}

.service-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.service-content img {
    width: 45%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-text {
    width: 50%;
    padding-left: 30px;
}

.service-text h3 {
    font-size: 28px;
    color: #007BFF;
    margin-bottom: 20px;
}

.service-text p {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
}

.service-text ul {
    list-style: none;
    padding: 0;
}

.service-text ul li {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

/* Call to Action Section */
.cta {
    background-color: #007BFF;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.cta h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #fff;
    color: #007BFF;
    padding: 15px 40px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.cta-button:hover {
    background-color: #0056b3;
    color: #fff;
}

/* Layout for the contact us section */
.contact-us-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the items horizontally */
    align-items: flex-start;
    gap: 40px; /* Increased spacing for better visual separation */
    padding: 40px 20px;
    max-width: 1400px; /* Restrict full width to center */
    margin: 0 auto; /* Center the container */
    box-sizing: border-box;
  }  
  
  /* Live Tech News Feed Box */
  .tech-updates-box,
.contact-form-container {
  flex: 1 1 400px; /* Allow boxes to grow/shrink but prefer 400px width */
  max-width: 650px;
  border: 1px solid #ccc;
  padding: 20px;
  background-color: #f9f9f9;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  margin-bottom: 20px;
}
 
/* Tech Updates Box title */
  .tech-updates-box h2 {
    margin-top: 0;
    color: #007bff;
    font-size: 1.2em;
  }
  
  /* Title for each section in Live News Feed */
  .tech-updates-box h3 {
    font-size: 1.1em;
    color: #333;
    margin-top: 20px;
    font-weight: normal;
  }
  
  /* Container for scrolling tech news */
  .news-feed-container {
    overflow: hidden;
    height: 200px; /* Set height for news scroll */
    position: relative;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    background-color: #fff;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  /* List of Tech News */
  .news-feed {
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: absolute;
    width: 100%;
    animation: scrollNews 20s linear infinite; /* Slower scrolling */
  }
  
  /* Individual List Items for scrolling */
  .news-feed li {
    margin-bottom: 15px;
    padding-left: 10px;
    font-size: 1em;
    line-height: 1.4em;
  }
  
  /* Scroll animation */
  @keyframes scrollNews {
    0% {
      transform: translateY(0%);
    }
    100% {
      transform: translateY(-100%);
    }
  }
  
  /* Links inside Tech Updates Box */
  .tech-updates-box a {
    color: #007bff;
    font-size: 0.9em;
    text-decoration: none;
  }
  
  .tech-updates-box a:hover {
    text-decoration: underline;
  }
  
  /* Contact Form Styling */
  .contact-form-container form {
    display: flex;
    flex-direction: column;
  }
  
  .contact-form-container label {
    margin-top: 10px;
  }
  
  .contact-form-container input,
  .contact-form-container textarea {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .contact-form-container button {
    margin-top: 15px;
    padding: 12px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .contact-form-container button:hover {
    background-color: #0056b3;
  }
  
  /* Footer Styling */
  footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
  }
  
  .social-media a {
    margin: 0 10px;
  }
  
  .social-media img {
    width: 30px;
    height: 30px;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .contact-us-container {
      flex-direction: column;
    }
  }
  
      
/* Footer Section Styling */
footer {
    background-color: #333;
    color: white;
    padding: 30px 20px;
    text-align: center;
    border-top: 2px solid #2575fc;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    margin-bottom: 10px;
}

footer .social-media a {
    margin: 0 15px;
    display: inline-block;
}

footer .social-media img {
    max-width: 30px;
    transition: transform 0.3s ease;
}

footer .social-media img:hover {
    transform: scale(1.1);
}

footer .social-media {
    margin-top: 20px;
}
