/* Enhanced PCG CG-12 Styles */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Enhanced Header */
.header {
  background: linear-gradient(135deg, #002147 0%, #004080 100%);
  color: white;
  padding: 15px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 10px 0;
  background: rgba(0, 33, 71, 0.95);
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #c8102e;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.1) rotate(360deg);
  box-shadow: 0 0 20px rgba(200, 16, 46, 0.5);
}

.title-text {
  flex: 1;
}

.title-text h1 {
  font-size: 1.8em;
  font-weight: 600;
  margin-bottom: 5px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.title-text h2 {
  font-size: 1.1em;
  font-weight: 400;
  opacity: 0.9;
  color: #f2b705;
}

/* Enhanced Navigation */
.navbar {
  display: flex;
  gap: 30px;
  margin: 0 30px;
}

.navbar a {
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar a:hover,
.navbar a.active {
  background: rgba(200, 16, 46, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}

.login-btn {
  background: linear-gradient(135deg, #c8102e 0%, #a00d26 100%);
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.login-btn:hover {
  background: linear-gradient(135deg, #f2b705 0%, #d4a004 100%);
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(242, 183, 5, 0.3);
}

/* Enhanced Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(0, 33, 71, 0.9), rgba(0, 64, 128, 0.8)), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,0 1000,300 1000,1000 0,700"/></svg>');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 120px 0 80px;
  margin-top: 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
  animation: float 30s infinite linear;
}

@keyframes float {
  0% { transform: translateX(0) translateY(0); }
  100% { transform: translateX(-100px) translateY(-100px); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 33, 71, 0.1), rgba(200, 16, 46, 0.1));
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h3 {
  font-size: 3em;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.95;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.hero-btn {
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-btn.primary {
  background: linear-gradient(135deg, #c8102e 0%, #a00d26 100%);
  color: white;
}

.hero-btn.primary:hover {
  background: linear-gradient(135deg, #f2b705 0%, #d4a004 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(242, 183, 5, 0.3);
}

.hero-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 3em;
  font-weight: bold;
  color: #f2b705;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
  font-size: 1.1em;
  font-weight: 500;
  opacity: 0.9;
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h3 {
  font-size: 2.5em;
  color: #002147;
  margin-bottom: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.section-header p {
  font-size: 1.2em;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about-section {
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h4 {
  font-size: 1.8em;
  color: #002147;
  margin-bottom: 20px;
  font-weight: 600;
}

.about-text p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #555;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.mission, .vision {
  padding: 25px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid #c8102e;
}

.mission h5, .vision h5 {
  color: #002147;
  margin-bottom: 15px;
  font-size: 1.2em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-image {
  text-align: center;
}

.about-logo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 8px solid #002147;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.about-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 33, 71, 0.3);
}

.about-highlights {
  display: grid;
  gap: 20px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.highlight-item:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.highlight-item i {
  font-size: 1.5em;
  color: #c8102e;
}

/* Programs Section */
.programs-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.program-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  text-align: center;
  transition: all 0.3s ease;
  border-top: 4px solid #002147;
  position: relative;
  overflow: hidden;
}

.program-card::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;
}

.program-card:hover::before {
  left: 100%;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.program-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #002147 0%, #004080 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.3s ease;
}

.program-card:hover .program-icon {
  background: linear-gradient(135deg, #c8102e 0%, #a00d26 100%);
  transform: scale(1.1);
}

.program-icon i {
  font-size: 2em;
  color: white;
}

.program-card h4 {
  font-size: 1.5em;
  color: #002147;
  margin-bottom: 20px;
  font-weight: 600;
}

.program-card p {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}

.program-card ul {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
}

.program-card li {
  padding: 8px 0;
  color: #555;
  position: relative;
  padding-left: 25px;
}

.program-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #c8102e;
  font-weight: bold;
}

.program-btn {
  background: linear-gradient(135deg, #002147 0%, #004080 100%);
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.program-btn:hover {
  background: linear-gradient(135deg, #c8102e 0%, #a00d26 100%);
  transform: scale(1.05);
}

.programs-cta {
  text-align: center;
  padding: 50px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.programs-cta h4 {
  font-size: 2em;
  color: #002147;
  margin-bottom: 15px;
}

.programs-cta p {
  font-size: 1.1em;
  color: #666;
  margin-bottom: 30px;
}

.cta-btn {
  background: linear-gradient(135deg, #c8102e 0%, #a00d26 100%);
  color: white;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-btn:hover {
  background: linear-gradient(135deg, #f2b705 0%, #d4a004 100%);
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(242, 183, 5, 0.3);
}

/* Features Section */
.features-section {
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-item {
  text-align: center;
  padding: 30px 20px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #f2b705 0%, #d4a004 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  background: linear-gradient(135deg, #c8102e 0%, #a00d26 100%);
  transform: scale(1.1);
}

.feature-icon i {
  font-size: 1.8em;
  color: white;
}

.feature-item h4 {
  font-size: 1.3em;
  color: #002147;
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-item p {
  color: #666;
  line-height: 1.6;
}

/* News Section */
.news-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.news-item {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  display: flex;
  gap: 20px;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.news-date {
  text-align: center;
  background: linear-gradient(135deg, #002147 0%, #004080 100%);
  color: white;
  padding: 15px;
  border-radius: 10px;
  min-width: 70px;
}

.news-date .day {
  display: block;
  font-size: 1.5em;
  font-weight: bold;
}

.news-date .month {
  display: block;
  font-size: 0.9em;
  opacity: 0.8;
}

.news-content h4 {
  color: #002147;
  margin-bottom: 10px;
  font-size: 1.2em;
  font-weight: 600;
}

.news-content p {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
}

.read-more {
  color: #c8102e;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: #002147;
}

/* Quick Access Section */
.quick-access-section {
  background: white;
}

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.quick-access-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  text-decoration: none;
  color: #002147;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.quick-access-item:hover {
  background: linear-gradient(135deg, #002147 0%, #004080 100%);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.quick-access-item i {
  font-size: 3em;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.quick-access-item:hover i {
  color: #f2b705;
  transform: scale(1.1);
}

.quick-access-item span {
  font-size: 1.2em;
  font-weight: 600;
}

/* Enhanced Footer */
.footer {
  background: linear-gradient(135deg, #002147 0%, #001a3a 100%);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: #f2b705;
  margin-bottom: 20px;
  font-size: 1.3em;
  font-weight: 600;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.footer-logo h4 {
  margin: 0;
  color: white;
}

.footer-section p {
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

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

.social-links a:hover {
  background: #c8102e;
  transform: scale(1.1);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: #f2b705;
  padding-left: 5px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.contact-item i {
  color: #f2b705;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.footer-bottom p {
  opacity: 0.8;
  font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }
  
  .navbar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-text h3 {
    font-size: 2.2em;
  }
  
  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .mission-vision {
    grid-template-columns: 1fr;
  }
  
  .programs-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .news-item {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Animation Classes */
.animate {
  animation: fadeInUp 0.6s ease forwards;
}

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