*, *::before, *::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f8f8;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
h1, h2, h3 {
  font-weight: 600;
  margin-bottom: 1rem;
}
h2 {
    font-size: 2rem;
    line-height: 1.3;
    color: #222;
}
h3 {
    font-size: 1.5rem;
    line-height: 1.4;
    color: #333;
}
p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
}
a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #0056b3;
  text-decoration: underline;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
header {
  background-color: #fff;
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 100;
}
.logo-container {
  text-align: center;
}
#logo {
    width: 150px;
    height: auto;
    transition: transform 0.8s ease-in-out;
    animation: spin 8s linear infinite, colorShift 5s ease-in-out infinite alternate;
}
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
@keyframes colorShift {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}
#logo:hover {
    transform: scale(1.1) rotate(360deg);
    animation-play-state: paused; 
}
.menu-section {
  padding: 40px 0;
  background-color: #f2f2f2;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.menu-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.2rem;
  color: #222;
}
.menu-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.menu-content h3 {
  margin-bottom: 10px;
}
.menu-content a {
  display: block;
  padding: 8px 12px;
  color: #333;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.menu-content a:hover {
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
}
.menu-content a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
    z-index: -1;
}
.menu-content a:hover::before {
    left: 100%;
}
.menu-content ul ul {
  margin-left: 20px;
  margin-top: 10px;
}
section {
  padding: 60px 0;
}
.section-content {
  text-align: center;
}
.section-content h2 {
  margin-bottom: 30px;
}
.image-group {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    margin-top: 2rem;
}
.seo-image {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 350px;
}
.seo-image:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.section-1 {
  background-color: #f8f8f8;
}
.section-2 {
  background-color: #f2f2f2;
}
.section-3 {
  background-color: #f8f8f8;
}
.section-4 {
  background-color: #f2f2f2;
}
.contact {
  background-color: #fff;
  padding: 60px 0;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.contact h2 {
  margin-bottom: 20px;
}
.contact p{
    margin-bottom: 2rem;
}
.contact-link {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.contact-link:hover {
  background-color: #0056b3;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.collaboration-partners-list {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
    text-align: left;
}
.collaboration-partners-list li {
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
}
.collaboration-partners-list li:last-child {
    border-bottom: none;
}
.partner-collaboration-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
.partner-collaboration-link:hover {
    color: #0056b3;
    text-decoration: underline;
}
#contactForm {
  max-width: 500px;
  margin: 0 auto;
}
#contactForm input[type="email"],
#contactForm textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}
#contactForm textarea {
  resize: vertical;
}
footer {
  background-color: #333;
  color: #fff;
  padding: 30px 0;
  text-align: center;
}
footer p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}
footer a {
  color: #fff;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
footer .partner-collaboration-link {
    color: #93c5fd;
    font-weight: 600;
}
footer .partner-collaboration-link:hover {
    color: #bae6fd;
}
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  .menu-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .image-group {
    gap: 15px;
    margin-bottom: 20px;
  }
  .seo-image {
    max-width: 300px;
  }
  .section-content h2 {
    font-size: 1.8rem;
  }
  .section-content p {
    font-size: 0.9rem;
  }
  #contactForm {
    max-width: 90%;
  }
}
@media (max-width: 480px) {
  .menu-content {
    grid-template-columns: 1fr;
  }
  .seo-image {
        max-width: 100%;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.2rem;
    }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.section-content {
  animation: fadeIn 1s ease;
}
.image-group img {
  animation: fadeIn 1s ease;
}
.image-group img:nth-child(2) {
    animation-delay: 0.5s;
}
.image-group img:nth-child(3) {
    animation-delay: 1s;
}
::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  ::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(200, 220, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none; 
  z-index: -1;
}
.section-content h2,
.contact h2,
.menu-section h2 {
    position: relative;
    padding-bottom: 15px;
}
.section-content h2::after,
.contact h2::after,
.menu-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #007bff;
    border-radius: 5px;
}
.menu-content a {
    background-image: linear-gradient(to right, #007bff, #00bfff);
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size 0.4s ease;
}
.menu-content a:hover {
    background-size: 100% 2px;
    color: #007bff; 
}
.contact-link {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #007bff, #00bfff);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}
.contact-link:hover::before {
    opacity: 1;
}
.contact-link:hover {
    color: #fff;
    text-decoration: none;
}
.diamond-partner-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 40%, #0d1f3c 100%);
    position: relative;
    overflow: hidden;
}
.diamond-partner-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(0,123,255,0.08) 0%, transparent 70%);
    animation: partnerGlow 8s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes partnerGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(5%, 5%); }
}
.partner-showcase-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 30px;
    position: relative;
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
}
.partner-info-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: help;
    box-shadow: 0 2px 10px rgba(59,130,246,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.partner-info-badge:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 20px rgba(139,92,246,0.5);
}
.partner-showcase-header {
    text-align: center;
    margin-bottom: 30px;
}
.partner-brand-logo {
    width: 140px;
    height: auto;
    margin: 0 auto 20px;
    filter: drop-shadow(0 4px 12px rgba(59,130,246,0.3));
    transition: transform 0.4s ease;
}
.partner-brand-logo:hover {
    transform: scale(1.08);
}
.partner-headline {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
.partner-subheadline {
    font-size: 1.1rem;
    font-weight: 400;
    color: #94a3b8;
    margin-bottom: 0;
}
.partner-subheadline a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
.partner-subheadline a:hover {
    color: #93c5fd;
    text-decoration: underline;
}
.partner-intro {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.9;
    text-align: justify;
    margin-bottom: 30px;
    padding: 0 10px;
}
.partner-intro a {
    color: #60a5fa;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}
.partner-intro a:hover {
    color: #93c5fd;
    text-decoration: underline;
}
.partner-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.partner-service-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.partner-service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59,130,246,0.4);
    box-shadow: 0 8px 24px rgba(59,130,246,0.15);
}
.partner-service-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #e2e8f0;
}
.partner-service-card h5 a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s ease;
}
.partner-service-card h5 a:hover {
    color: #93c5fd;
}
.partner-service-card p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 0;
}
.partner-service-card p a {
    color: #7dd3fc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.partner-service-card p a:hover {
    color: #bae6fd;
    text-decoration: underline;
}
@media (max-width: 768px) {
    .partner-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .partner-showcase-wrapper {
        padding: 25px 18px;
    }
    .partner-headline {
        font-size: 1.2rem;
    }
    .partner-brand-logo {
        width: 110px;
    }
}
@media (max-width: 480px) {
    .partner-services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .partner-headline {
        font-size: 1.05rem;
    }
    .partner-subheadline {
        font-size: 0.95rem;
    }
    .partner-intro {
        font-size: 0.88rem;
    }
}
