/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background-color: #fff;
  color: #111;
  line-height: 1.7;
}

/* About Section Styles */
.custom-about-section {
  background: linear-gradient(to bottom, #ffffff, #f7f7f7);
  padding: 80px 20px;
}

.custom-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.custom-about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.custom-about-photo {
  flex: 1 1 400px;
  text-align: center;
}

.custom-about-image {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(255, 74, 0, 0.3);
  transition: transform 0.3s ease;
}

.custom-about-image:hover {
  transform: scale(1.05);
}

.custom-about-content {
  flex: 1 1 500px;
}

.custom-section-title {
  font-size: 30px;
  color: #ff4a00;
  margin-bottom: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.custom-about-description {
  font-size: 17px;
  color: #333;
  text-align: justify;
  line-height: 1.8;
  margin-bottom: 25px;
}

.custom-about-extra {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .custom-about-grid {
    flex-direction: column;
  }

  .custom-section-title {
    justify-content: center;
    text-align: center;
  }

  .custom-about-description {
    font-size: 16px;
    padding: 0 10px;
  }
}



/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    scroll-behavior: smooth;
}



/* ========== HEADER ========== */
/* Logo Container */
.logo {
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

/* Main Text: Aravind */
.logo-main {
  font-size: 2.1rem; /* Default font size */
  font-weight: bold;
  margin: 0;
  line-height: 1; /* Ensures no extra space from line height */
  background: linear-gradient(90deg, #ff6600, #ff9933); /* Orange gradient */
  -webkit-background-clip: text; /* Clip the gradient to the text */
  -webkit-text-fill-color: transparent; /* Make the background gradient visible */
  letter-spacing: 2px; /* Slight spacing for elegance */
  text-transform: uppercase; /* Bold corporate style */
  font-family: 'Poppins', sans-serif;
}

/* Sub Text: Group of Companies */
.logo-sub {
  font-size: 0.8rem; /* Default font size */
  margin: 0; /* Removes any default margin */
  line-height: 1; /* Reduces additional vertical space */
  padding: 0; /* Ensures no padding adds space */
  font-weight: 400;
  color: white; /* Pure white for contrast */
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'Poppins', sans-serif;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .logo-main {
      font-size: 1.7rem; /* Slightly smaller font for smaller screens */
      letter-spacing: 1.5px;
  }
  .logo-sub {
      font-size: 0.7rem; /* Reduced subtext size */
      letter-spacing: 1px;
  }
}

@media (max-width: 480px) {
  .logo-main {
      font-size: 1.4rem; /* Further reduced font size for very small screens */
      letter-spacing: 1px;
  }
  .logo-sub {
      font-size: 0.6rem; /* Reduced subtext size for very small screens */
      letter-spacing: 0.8px;
  }
}
/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-radius: 0 0 8px 8px;
  }
  
  .navbar .logo img {
    height: 40px;
    width: auto;
  }
  
  /* Navigation Links */
  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    margin-left: auto; /* Aligns the navigation items to the right */
  }
  
  .nav-links li {
    margin: 0;
  }
  
  .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
  }
  
  .nav-links a:hover {
    background-color: #ff7a18;
    color: #fff;
  }

  /* Hide the menu-toggle (hamburger icon) on desktop view */
  @media (min-width: 768px) {
    #menu-toggle {
      display: none;
    }
  }
  
  /* Responsive Design */
  @media screen and (max-width: 768px) {
    .navbar {
      padding: 10px 20px;
    }
  
    .nav-links {
      flex-direction: column;
      gap: 10px;
      background-color: rgba(0, 0, 0, 0.9);
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      padding: 15px;
      display: none;
      text-align: center;
    }
  
    .nav-links.show {
      display: flex;
    }
  
    .menu-toggle {
      display: block;
      color: white;
      font-size: 2rem;
      cursor: pointer;
    }
  }
  
  @media screen and (max-width: 480px) {
    .nav-links a {
      font-size: 0.9rem;
    }
  }

/* FOOTER */
/* Footer Styles */
.footer {
  background: linear-gradient(145deg, #333, #444);
  color: #fff;
  padding: 30px 0;
  font-family: 'Arial', sans-serif;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Footer Content Layout */
.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding: 20px 0;
}

/* Footer Sections */
.footer-section {
  flex: 1;
  max-width: 300px;
  margin-bottom: 30px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #ff7a18;
  position: relative;
}

.footer-section h3::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: #ff7a18;
  border-radius: 2px;
}

.footer-section p {
  font-size: 14px;
  color: #bbb;
  line-height: 1.5;
}

/* Quick Links */
.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li a {
  color: #bbb;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #ff7a18;
}

/* Social Media Icons */
.social-media ul {
  display: flex;
  gap: 20px;
  padding-left: 0;
}

.social-media li a {
  color: #bbb;
  font-size: 22px;
  transition: color 0.3s ease;
  padding: 10px;
  border-radius: 50%;
  background-color: #555;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.social-media li a:hover {
  color: #fff;
  background-color: #ff7a18;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #bbb;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .footer-content {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .footer-section {
      margin-bottom: 20px;
      max-width: 100%;
  }

  .footer-bottom {
      font-size: 12px;
  }
}

@media (max-width: 480px) {
  .footer {
      padding: 20px 0;
  }

  .footer-content {
      gap: 30px;
  }

  .footer-section h3 {
      font-size: 16px;
  }

  .footer-section ul li a {
      font-size: 13px;
  }

  .social-media li a {
      font-size: 20px;
  }
}

/* Social Media Footer Links */
.footer-section.social-media ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px; /* Space between icons */
}

.footer-section.social-media ul li {
  display: inline-block;
}

.footer-section.social-media ul li a {
  color: #b1b1b1; /* Default icon color */
  font-size: 18px;
  transition: color 0.3s ease, transform 0.3s ease; /* Smooth transition for color and scaling */
}

/* Hover effect for icons */
.footer-section.social-media ul li a:hover {
  color: white; /* Change color to white */
  transform: scale(1.1); /* Optional: Add scaling effect */
}



/* BACKGROUND IMAGE FOR LEARN-MORE PAGE */

/* Desktop View */
.custom-about-section {
  position: relative;
  padding: 50px 0;
  min-height: 400px; /* Ensure enough height */
  z-index: 0; /* Section content z-index */
}

.custom-about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('./assets/images/bg/Web3.jpg'); /* Desktop-specific background */
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: -1; /* Ensure background is behind content */
}

/* Tablet View (768px to 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .custom-about-section::before {
    background-image: url('./assets/images/bg/About-Tablet.jpg'); /* Tablet-specific background */
    background-size: cover;
    background-position: center;
    opacity: 0.4;
  }
}

/* Mobile View (768px and below) */
@media (max-width: 768px) {
  .about-aravind::before {
    background-image: url('./assets/images/bg/About-Phone.jpg'); /* Mobile-specific background */
    background-size: cover;
    background-position: center;
    opacity: 0.4; /* Adjust opacity for better readability on mobile */
  }
}
