/* ActiveLogica Website Styles */

/* Global Styles */
:root {
  --primary-color: #00b3b3; /* Teal/turquoise from logo */
  --secondary-color: #0099cc; /* Lighter blue from logo */
  --dark-color: #333333;
  --light-color: #ffffff;
  --gray-color: #f4f4f4;
  --border-color: #dddddd;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

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

.btn {
  display: inline-block;
  background: var(--primary-color);
  color: var(--light-color);
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.btn:hover {
  background: var(--secondary-color);
  color: var(--light-color);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--light-color);
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.section-title p {
  color: #777;
  max-width: 700px;
  margin: 0 auto;
}

/* Header Styles */
.header {
  background-color: var(--light-color);
  box-shadow: var(--box-shadow);
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo img {
  height: 50px;
}

.nav-menu {
  display: flex;
}

.nav-menu li {
  margin-left: 25px;
}

.nav-menu a {
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  bottom: -5px;
  left: 0;
  transition: var(--transition);
}

.nav-menu a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-color);
  padding: 150px 0 100px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Project Sections */
.project-section {
  padding: 50px 0;
}

.project-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.project-card {
  flex: 1 1 300px;
  background: var(--light-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-img {
  height: 200px;
  overflow: hidden;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-img img {
  transform: scale(1.1);
}

.project-content {
  padding: 20px;
}

.project-content h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.project-content p {
  margin-bottom: 15px;
  color: #777;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--gray-color);
}

.testimonial-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.testimonial-card {
  flex: 1 1 300px;
  background: var(--light-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  position: relative;
}

.testimonial-text {
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 5px;
}

.author-info p {
  color: #777;
  font-size: 0.9rem;
}

/* Partners Section */
.partners {
  text-align: center;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.partner-logo {
  flex: 0 0 150px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* Footer Styles */
.footer {
  background: var(--primary-color);
  color: var(--light-color);
  padding: 70px 0 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-column {
  flex: 1 1 250px;
}

.footer-column h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-column p {
  margin-bottom: 15px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--light-color);
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--light-color);
  transition: var(--transition);
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* WhatsApp Chat Button (Contact Page) */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: var(--light-color);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--box-shadow);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

/* Contact Forms */
.contact-forms {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-form {
  flex: 1 1 300px;
  background: var(--light-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: var(--light-color);
    width: 100%;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 15px 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 60px 0;
  }

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .section {
    padding: 40px 0;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }
}


/* Responsiveness for Larger Screens */

/* Laptops and Desktops (Default styles usually cover this, but we can refine) */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

/* Large Desktops */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Extra Large Desktops */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
  /* Optional: Slightly larger base font size for very large screens */
  /* html {
    font-size: 17px; 
  } */
}

/* Very Large Screens (e.g., > 1920px) */
@media (min-width: 1920px) {
  .container {
    max-width: 1600px; /* Adjust as needed */
  }
  /* Optional: Further increase font size if necessary */
  /* html {
    font-size: 18px; 
  } */
}

/* Ensuring header/nav scales reasonably */
@media (min-width: 1200px) {
  .navbar .nav-menu li a {
    padding: 15px 20px;
  }
}

/* Adjust grid layouts for larger screens if needed */
/* Example: If using a 3-column grid, maybe make it 4 columns on very large screens */
/* @media (min-width: 1600px) {
  .some-grid-container {
    grid-template-columns: repeat(4, 1fr);
  }
} */



/* Project Section Image Fixes */
.project-img {
    overflow: hidden; /* Ensure image doesn't overflow container */
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Default 16:9 Aspect Ratio */
    height: 0;
}

.project-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from cover to contain to prevent cropping */
    object-position: center; /* Center the image */
}

/* Adjustments for specific devices */

/* Mobile (approx 6.5 inch ~ 360px-414px width) */
@media (max-width: 767px) {
    .project-img {
        padding-top: 75%; /* Increased height for mobile to show full image */
    }
}

/* Laptop (approx 14 inch ~ 1366px width) */
@media (min-width: 1200px) and (max-width: 1440px) {
    .project-img {
        padding-top: 50%; /* Adjust aspect ratio for laptop if needed, e.g., 2:1 */
    }
}

/* Monitor (approx 24 inch ~ 1920px width) */
@media (min-width: 1800px) {
    .project-img {
        padding-top: 45%; /* Adjust aspect ratio for large monitors */
    }
}




/* Team Section Enhancements */
.team-member .member-image {
    width: 400px; /* User requested size */
    height: 400px; /* User requested size */
    border-radius: 50%; /* Round corners */
    overflow: hidden; /* Ensure image stays within bounds */
    margin: 0 auto 20px; /* Center image and add bottom margin */
    position: relative;
}

.team-member .member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area without distortion */
    display: block;
    transition: transform 0.3s ease; /* Smooth transition for hover */
}

.team-member .member-image:hover img {
    transform: scale(0.95); /* Slight zoom-out effect on hover */
}

.team-member .member-info h3 {
    display: flex; /* Align icon and name */
    align-items: center; /* Vertically center icon and name */
    justify-content: center; /* Center align */
    gap: 8px; /* Space between icon and name */
}

.team-member .member-info h3 a {
    color: inherit; /* Inherit text color */
    text-decoration: none; /* Remove underline */
    display: flex; /* Align icon and name within link */
    align-items: center;
    gap: 8px;
}

.team-member .member-info h3 a:hover {
    color: var(--primary-color); /* Change color on hover */
}

.linkedin-icon {
    width: 16px; /* Small icon size */
    height: 16px;
    vertical-align: middle; /* Align icon nicely with text */
}




/* Team Section Horizontal Layout */
.team-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: space-around; /* Distribute space */
    gap: 30px; /* Space between team members */
}

.team-member {
    flex: 1 1 300px; /* Flex properties for responsiveness */
    max-width: 350px; /* Max width for each member card */
    text-align: center; /* Center align text below image */
    display: flex;
    flex-direction: column; /* Stack image and info vertically */
    align-items: center; /* Center items horizontally */
}

/* Ensure image styles are applied correctly */
.team-member .member-image {
    width: 300px; /* Adjusted size for layout */
    height: 300px; /* Adjusted size for layout */
    border-radius: 50%; /* Round corners */
    overflow: hidden; /* Ensure image stays within bounds */
    margin-bottom: 20px; /* Space between image and info */
    position: relative;
    flex-shrink: 0; /* Prevent image from shrinking */
}

.team-member .member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area without distortion */
    display: block;
    transition: transform 0.3s ease; /* Smooth transition for hover */
}

.team-member .member-image:hover img {
    transform: scale(0.95); /* Slight zoom-out effect on hover */
}

.team-member .member-info {
    /* No specific flex needed here as it's block layout */
}

.team-member .member-info h3 {
    display: flex; /* Align icon and name */
    align-items: center; /* Vertically center icon and name */
    justify-content: center; /* Center align */
    gap: 8px; /* Space between icon and name */
    margin-bottom: 10px; /* Space below name */
}

.team-member .member-info h3 a {
    color: inherit; /* Inherit text color */
    text-decoration: none; /* Remove underline */
    display: flex; /* Align icon and name within link */
    align-items: center;
    gap: 8px;
}

.team-member .member-info h3 a:hover {
    color: var(--primary-color); /* Change color on hover */
}

.linkedin-icon {
    width: 16px; /* Small icon size */
    height: 16px;
    vertical-align: middle; /* Align icon nicely with text */
}

.team-member .member-position {
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.team-member .member-bio {
    font-size: 0.9rem;
    color: #777;
}

/* Responsive adjustments for team layout */
@media (max-width: 992px) {
    .team-member {
        flex-basis: calc(50% - 15px); /* Two columns on medium screens */
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 767px) {
    .team-container {
        flex-direction: column; /* Stack vertically on small screens */
        align-items: center; /* Center items when stacked */
    }
    .team-member {
        flex-basis: 100%; /* Full width on small screens */
        max-width: 400px; /* Limit width on small screens */
    }
    .team-member .member-image {
        width: 300px; /* Slightly smaller image on mobile */
        height: 300px;
    }
}




/* Partners Section Enhancements */
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start; /* Align items to the top */
    gap: 40px;
}

.partner-item {
    flex: 0 0 150px; /* Base size for each partner item */
    text-align: center; /* Center the name below the logo */
    display: flex;
    flex-direction: column; /* Stack logo and name vertically */
    align-items: center; /* Center items horizontally */
}

.partner-item a {
    display: block; /* Make the link container block-level */
    margin-bottom: 10px; /* Space between logo and name */
    transition: var(--transition);
}

.partner-item img {
    max-width: 100%; /* Ensure logo fits within the container */
    height: 60px; /* Fixed height for logos */
    object-fit: contain; /* Maintain aspect ratio */
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-item a:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05); /* Slight zoom on hover */
}

.partner-name {
    font-size: 0.9rem;
    color: #777;
    font-weight: 500;
}

/* Dark mode adjustments for partner names */
[data-theme="dark"] .partner-name {
    color: var(--text-color); /* Use dark mode text color */
    opacity: 0.8;
}




/* Specific adjustments for partner logo sizes */
.partner-item img[alt="Startup India Logo"] {
    height: 80px; /* Increase height for Startup India */
    /* Adjust width if needed, but height + contain should work */
}

.partner-item img[alt="KSIDC Logo"] {
    height: 75px; /* Increase height for KSIDC */
    /* Adjust width if needed */
}

