
/* Global Styles */
:root {
  --phchem-blue: #0f4c81;
  --phchem-teal: #00a896;
  --phchem-amber: #f8a100;
  --phchem-dark: #333333;
  --phchem-light: #f8f9fa;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--phchem-dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--phchem-blue);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--phchem-teal);
}

/* Custom Colors */
.text-blue { color: var(--phchem-blue) !important; }
.text-teal { color: var(--phchem-teal) !important; }
.text-amber { color: var(--phchem-amber) !important; }
.bg-blue { background-color: var(--phchem-blue) !important; }
.bg-teal { background-color: var(--phchem-teal) !important; }
.bg-amber { background-color: var(--phchem-amber) !important; }

.btn-blue {
  background-color: var(--phchem-blue);
  color: white;
  border: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-blue:hover {
  background-color: #0d3d68;
  color: white;
}

.btn-teal {
  background-color: var(--phchem-teal);
  color: white;
  border: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-teal:hover {
  background-color: #008d7f;
  color: white;
}

.btn-amber {
  background-color: var(--phchem-amber);
  color: white;
  border: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-amber:hover {
  background-color: #e59100;
  color: white;
}

/* Navigation */
.navbar {
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  font-size: 1.6rem;
}

.navbar .nav-link {
  font-weight: 500;
  color: var(--phchem-dark);
  padding: 0.5rem 1rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--phchem-teal);
}

.dropdown-item.active, 
.dropdown-item:active {
  background-color: var(--phchem-teal);
}

/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 600px;
  background: url('../images/PH\ Chem\ Title\ image.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero-section h1 {
  font-weight: 700;
  font-size: 3.5rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-align: center;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
  40% {transform: translateY(-20px) translateX(-50%);}
  60% {transform: translateY(-10px) translateX(-50%);}
}

/* Page Header */
.page-header {
  background: url('https://images.unsplash.com/photo-1500673922987-e212871fec22?ixlib=rb-1.2.1&auto=format&fit=crop&w=1500&q=80') no-repeat center center;
  background-size: cover;
  height: 150px;
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 120px;
}

.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.page-header h1 {
  position: relative;
  z-index: 2;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-item.active {
  color: var(--phchem-amber);
}

/* About Section */
.about-image-container {
  position: relative;
}

.experience-badge {
  position: absolute;
  right: -20px;
  bottom: 30px;
  background-color: var(--phchem-amber);
  color: white;
  padding: 1rem;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Service Cards */
.service-card {
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--phchem-teal);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 168, 150, 0.1);
}

/* Stats Section */
.stats-section {
  position: relative;
  background-color: var(--phchem-blue);
  color: white;
}

.bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  background-image: radial-gradient(white 1px, transparent 1px);
  background-size: 16px 16px;
}

.stat-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--phchem-amber);
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.stat-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Clients Section */
.client-carousel-container {
  overflow: hidden;
  position: relative;
}

.client-carousel {
  display: flex;
  gap: 4rem;
  padding: 2rem 0;
}

.client-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.client-logo:hover {
  filter: grayscale(0);
}

.client-gradient-left,
.client-gradient-right {
  position: absolute;
  top: 0;
  height: 100%;
  width: 64px;
  z-index: 2;
}

.client-gradient-left {
  left: 0;
  background: linear-gradient(90deg, var(--phchem-light) 0%, transparent 100%);
}

.client-gradient-right {
  right: 0;
  background: linear-gradient(-90deg, var(--phchem-light) 0%, transparent 100%);
}

/* Contact Info */
.contact-icon {
  font-size: 1.5rem;
  color: var(--phchem-teal);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 168, 150, 0.1);
}

.contact-card {
  transition: all 0.3s ease;
}

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

/* Footer */
footer {
  background-color: var(--phchem-dark);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  display: inline-block;
  padding: 0.25rem 0;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--phchem-teal);
  color: white;
}

/* Team Section */
.team-member {
  position: relative;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-img {
  position: relative;
  overflow: hidden;
}

.team-img img {
  width: 100%;
  transition: all 0.5s ease;
}

.team-social {
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  background-color: rgba(15, 76, 129, 0.8);
  padding: 15px 0;
  transition: all 0.5s ease;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.team-social a {
  color: white;
  font-size: 18px;
}

.team-member:hover .team-social {
  bottom: 0;
}

.team-member:hover .team-img img {
  transform: scale(1.1);
}

/* Industry Cards */
.industry-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.industry-icon {
  font-size: 2rem;
  color: var(--phchem-teal);
}

/* Chemical & Lubricant Icons */
.chemical-icon,
.lubricant-icon,
.mission-icon,
.vision-icon,
.benefit-icon {
  font-size: 2.5rem;
  color: var(--phchem-teal);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 168, 150, 0.1);
}

/* Call to Action */
.cta-section {
  position: relative;
  background-color: white;
}

/* Animations */
.fade-in-element {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}

.delay-2 {
  animation-delay: 0.6s;
}

.delay-3 {
  animation-delay: 0.9s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsiveness */
@media (max-width: 991.98px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .experience-badge {
    right: 20px;
    bottom: 20px;
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 500px;
    height: auto;
    padding: 100px 0;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .experience-badge {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: -50px;
    margin-left: auto;
    margin-right: auto;
    z-index: 10;
  }
}

/* Social Icons in Contact */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--phchem-blue);
  color: white;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--phchem-teal);
  color: white;
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  cursor: pointer;
  transition: transform 0.3s;
}

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