/* Global Styles */
:root {
  --primary-blue: #4a6741;
  --dark-blue: #2c3e50;
  --purple-blue: #4a5568;
  --light-gray: #f8f9fa;
  --text-dark: #2d3748;
  --text-blue: #3182ce;
  --contact-blue: #4a5d7a;
  --rankings-purple: #6366f1;
  --tab-blue: #3b4f8c;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #ffffff;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: flex-end;
}

.hero-overlay {
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.95));
  padding: 40px 30px 30px;
  width: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.social-share {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
}

.share-text {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: #1d469617;
  border-radius: 4px;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  color: #fff;
 
}



.divider {
  color: #999;
  font-weight: 300;
}

/* Main Content */
.main-content {
  background-color: #ffffff;
  min-height: 60vh;
}

.content-area {
  padding: 20px 30px;
}

.intro-text {
  font-size: 1.1rem;
  color: var(--text-blue);
  margin-bottom: 25px;
  line-height: 1.7;
}

.description-text {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.7;
  text-align: justify;
}

/* Tabbed Section */
.tabbed-section {
  margin-top: 40px;
}

.tab-navigation {
  display: flex;
  border-bottom: 3px solid var(--tab-blue);
  margin-bottom: 30px;
  position: relative;
}

.tab-btn {
  background: none;
  border: none;
  padding: 15px 25px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #999;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.tab-btn.active {
  color: var(--tab-blue);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--tab-blue);
}

.tab-btn:hover:not(.active) {
  color: var(--tab-blue);
  opacity: 0.7;
}

.tab-content {
  min-height: 400px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

.tab-description {
  margin-bottom: 30px;
}

.tab-description p {
  margin-bottom: 8px;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Languages Grid */
.languages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.language-card {
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.language-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.language-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.language-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.3) 1px, transparent 0);
  background-size: 20px 20px;
}

.language-placeholder h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  z-index: 2;
  position: relative;
}

.language-card.featured {
  position: relative;
}

.language-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.language-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 20px 15px 15px;
  color: white;
}

.language-overlay h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

/* Certification Content */
.certification-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.globalexam-banner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 300px;
}

.globalexam-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.globalexam-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(139, 92, 246, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.globalexam-logo h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}

.globalexam-logo p {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.flags {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.flag {
  font-size: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.certification-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.certification-btn {
  background-color: var(--tab-blue);
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  min-width: 300px;
  text-align: center;
}

.certification-btn:hover {
  background-color: #2d3a6b;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Sidebar */
.sidebar {
  padding: 20px 15px;
}

.contact-card {
  background-color: var(--contact-blue);
  border: none;
  border-radius: 8px;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-card .card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: white;
}

.contact-info {
  padding: 0;
}

.contact-name {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: white;
}

.contact-email {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  word-break: break-word;
  margin-bottom: 0;
}

.rankings-card {
  background: linear-gradient(135deg, var(--rankings-purple) 0%, #8b5cf6 100%);
  border: none;
  border-radius: 8px;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.rankings-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.rankings-background {
  position: relative;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background-image: url('https://images.pexels.com/photos/1595391/pexels-photo-1595391.jpeg?auto=compress&cs=tinysrgb&w=400&h=300&dpr=1');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
   z-index: 0;
}
.background1{
  background-image: url('../images/bg2.jpg');
}
.background2{
  background-image: url('../images/b3.png');
}
.background3{
  background-image: url('../images/bg3.png');
}

.rankings-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  z-index: 1;
}

.rankings-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin: 0;
  line-height: 1.3;
  letter-spacing: 0.5px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.rankings-button-container {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
  margin-top: 20px;
}

.rankings-btn {
  background-color: white;
  color: var(--rankings-purple);
  border: none;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.rankings-btn:hover {
  background-color: #f8f9ff;
  color: var(--rankings-purple);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

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

.content-area, .sidebar {
  animation: fadeInUp 0.8s ease-out;
}

.contact-card, .rankings-card {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-overlay {
    padding: 20px 15px;
    min-height: 150px;
  }
  
  .content-area {
    padding: 15px 20px;
  }
  
  .social-share {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .main-content .row {
    flex-direction: column-reverse;
  }
  
  .sidebar {
    margin-bottom: 20px;
  }
  
  .rankings-card {
    min-height: 240px;
  }
  
  .rankings-title {
    font-size: 1.2rem;
  }
  
  .languages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .tab-btn {
    padding: 12px 20px;
    font-size: 0.85rem;
  }
  
  .certification-btn {
    min-width: 250px;
    padding: 12px 25px;
  }
  
  .globalexam-logo h3 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-section {
    height: 300px;
  }
  
  .contact-card .card-title {
    font-size: 1.2rem;
  }
  
  .rankings-title {
    font-size: 1.1rem;
  }
  
  .intro-text {
    font-size: 1rem;
  }
  
  .rankings-card {
    min-height: 200px;
  }
  
  .languages-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .tab-btn {
    padding: 10px 15px;
    font-size: 0.8rem;
  }
  
  .certification-btn {
    min-width: 200px;
    padding: 10px 20px;
    font-size: 0.8rem;
  }
  
  .globalexam-banner {
    height: 250px;
  }
  
  .globalexam-logo h3 {
    font-size: 1.8rem;
  }
}
.sidebar .card{
  padding: 20px;
  margin-bottom: 5px;
}

.social-share i {
    color: #1d4696;
}
