* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

header {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero {
  text-align: center;
  padding: 4rem 0;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.main-content {
  background: white;
  margin: 2rem 0;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.about-section {
  padding: 3rem;
}

.section-title {
  font-size: 2.5rem;
  color: #c0392b;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  border-radius: 2px;
}

.intro-text {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #666;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.product-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(231, 76, 60, 0.2);
  border-color: #e74c3c;
}

.product-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #c0392b;
}

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.product-card p {
  color: #666;
  line-height: 1.6;
}

.global-reach {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  padding: 3rem;
  text-align: center;
}

.global-reach h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.country-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.country-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 3rem;
  background: #f8f9fa;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(231, 76, 60, 0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #c0392b;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #666;
  font-size: 1.1rem;
}

.quality-section {
  padding: 3rem;
  text-align: center;
}

.quality-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  padding: 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 15px;
  border-left: 5px solid #e74c3c;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2rem;
  color: #c0392b;
  margin-bottom: 1rem;
}

footer {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 2rem;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
  margin-top: 2rem;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(231, 76, 60, 0.4);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 1s ease-out;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .about-section,
  .global-reach,
  .stats-section,
  .quality-section {
    padding: 2rem 1rem;
  }
}

.certificates-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.certificates-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,123,255,0.03) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.certificates-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.certificates-section .intro-text {
    text-align: center;
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.certificate-item {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.certificate-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.certificate-item:hover::before {
    left: 100%;
}

.certificate-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: #007bff;
}

.certificate-image {
    flex: 0 0 150px;
    margin-right: 2rem;
    position: relative;
}

.certificate-image img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid #e9ecef;
}

.certificate-image img:hover {
    transform: scale(1.05);
    border-color: #007bff;
    box-shadow: 0 8px 20px rgba(0,123,255,0.3);
}

.certificate-content {
    flex: 1;
}

.certificate-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    position: relative;
}

.certificate-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

.certificate-content p {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Certificate badges */
.certificate-item::after {
    content: '✓';
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.certificate-item:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .certificate-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .certificate-image {
        flex: none;
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .certificate-image img {
        width: 200px;
        height: 150px;
        margin: 0 auto;
    }
    
    .certificates-section .section-title {
        font-size: 2rem;
    }
    
    .certificates-section .intro-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .certificates-section {
        padding: 60px 0;
    }
    
    .certificate-item {
        padding: 1rem;
    }
    
    .certificate-image img {
        width: 150px;
        height: 120px;
    }
    
    .certificate-content h3 {
        font-size: 1.2rem;
    }
    
    .certificate-content p {
        font-size: 0.9rem;
    }
}

/* Animation classes */
.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.certificate-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.certificate-item.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Special effects for different certificates */
.certificate-item:nth-child(1) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid #28a745;
}

.certificate-item:nth-child(2) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid #ffc107;
}

.certificate-item:nth-child(3) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid #dc3545;
}

.certificate-item:nth-child(4) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid #6f42c1;
}

/* Certificate modal styles */
.certificate-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
    opacity: 0;
    animation: fadeInModal 0.3s ease forwards;
}

@keyframes fadeInModal {
    to { opacity: 1; }
}

.certificate-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transform: scale(0.8);
    animation: scaleInModal 0.3s ease forwards;
}

@keyframes scaleInModal {
    to { transform: scale(1); }
}