/*
Theme Name: Gideon Robert University Theme
Theme URI: https://gideonrobert.edu
Author: Theme Developer
Author URI: https://gideonrobert.edu
Description: A colorful, friendly, and customizable WordPress theme for Gideon Robert University with integrated result checker and interactive features.
Requires at least: WordPress 6.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gideon-robert
Tags: education, university, colorful, responsive, customizable
*/

:root {
  /* Gideon Gold - Premium Design System */
  --gr-gold-primary: #D4AF37;
  --gr-gold-light: #F9E27E;
  --gr-gold-dark: #996515;
  --gr-gold-gradient: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
  --gr-primary-bg: #0A192F;
  --gr-secondary-bg: #112240;
  --gr-accent-gold: #FFD700;
  --gr-glass-bg: rgba(10, 25, 47, 0.7);
  --gr-glass-border: rgba(212, 175, 55, 0.2);
  --gr-text-bright: #E6F1FF;
  --gr-text-dim: #8892B0;

  /* Legacy & Refined variables */
  --primary-color: #0A192F;
  --secondary-color: #D4AF37;
  --accent-color: #FFD700;
  --light-color: #f8f9fa;
  --dark-color: #020c1b;
  --text-color: #ccd6f6;
  --background-color: #0A192F;
  --border-color: rgba(212, 175, 55, 0.1);
  --success-color: #64ffda;
  --info-color: #00d2ff;
  --warning-color: #ffc107;
  --danger-color: #f44336;

  /* Enhanced Gradients */
  --gr-primary-gradient: linear-gradient(135deg, #0A192F 0%, #112240 100%);
  --gr-secondary-gradient: var(--gr-gold-gradient);
  --gr-overlay-dark: rgba(2, 12, 27, 0.85);
  --gr-overlay-light: rgba(255, 255, 255, 0.05);
  --gr-shadow-light: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
  --gr-shadow-heavy: 0 20px 30px -10px rgba(2, 12, 27, 0.8);
  --vh: 1vh;
}

/* Premium Utilities */
.gr-gold-text {
  background: var(--gr-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--gr-gold-primary);
  /* Fallback */
  position: relative;
  display: inline-block;
}

.gr-gold-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  background-size: 200% 100%;
  animation: shine-text 3s infinite linear;
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
}

@keyframes shine-text {
  0% {
    background-position: -100% 0;
  }

  100% {
    background-position: 100% 0;
  }
}

.gr-gold-icon {
  color: var(--gr-gold-primary);
  filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gr-gold-icon:hover {
  color: var(--gr-accent-gold);
  filter: drop_shadow(0 0 12px rgba(255, 215, 0, 0.8)) brightness(1.2);
  transform: scale(1.2) rotate(5deg);
}

.gr-glass-panel {
  background: var(--gr-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gr-glass-border);
  box-shadow: var(--gr-shadow-heavy);
  transition: all 0.3s ease;
}

.gr-glass-panel:hover {
  background: rgba(17, 34, 64, 0.8);
  border-color: var(--gr-gold-primary);
}

@keyframes holographicGlow {
  0% {
    filter: hue-rotate(0deg) brightness(1) saturate(1);
  }

  50% {
    filter: hue-rotate(15deg) brightness(1.3) saturate(1.2);
  }

  100% {
    filter: hue-rotate(0deg) brightness(1) saturate(1);
  }
}

.gr-holographic {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.gr-holographic:hover {
  animation: holographicGlow 2s infinite ease-in-out;
}

.gr-holographic::after {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(45deg,
      transparent 0%,
      rgba(255, 255, 255, 0.05) 30%,
      rgba(255, 255, 255, 0.2) 50%,
      rgba(255, 255, 255, 0.05) 70%,
      transparent 100%);
  transform: rotate(25deg);
  animation: shimmer 4s infinite linear;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    transform: translate(-30%, -30%) rotate(25deg);
  }

  100% {
    transform: translate(30%, 30%) rotate(25deg);
  }
}

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

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-color);
  padding-top: 80px;
  /* Add padding to prevent header blocking */
}

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

a:hover {
  color: var(--accent-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ===== ENHANCED HERO SECTION - COLLISION PROOF ===== */
.gr-hero-section {
  position: relative;
  width: 100%;
  height: calc(var(--vh, 1vh) * 100);
  min-height: 600px;
  max-height: 1200px;
  overflow: hidden;
  isolation: isolate;
  margin-top: -80px;
  /* Compensate for header padding */
  padding-top: 80px;
  /* Add header height to prevent blocking */
}

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

.gr-hero-video-container,
.gr-hero-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gr-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gr-video-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gr-primary-gradient);
  display: none;
}

/* Overlay Styles */
.gr-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.gr-hero-overlay[data-overlay-style="gradient-dark"] {
  background: linear-gradient(135deg, var(--gr-overlay-dark) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.gr-hero-overlay[data-overlay-style="gradient-primary"] {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.7) 0%, rgba(45, 79, 169, 0.7) 100%);
}

.gr-hero-overlay[data-overlay-style="solid-dark"] {
  background: var(--gr-overlay-dark);
}

/* Content Styles */
.gr-hero-content-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 20px;
  position: relative;
  z-index: 2;
}

.gr-hero-content {
  text-align: center;
  max-width: 1200px;
  width: 100%;
  color: #fff;
}

/* Pre-title Badge */
.gr-hero-pretitle {
  margin-bottom: 20px;
}

.gr-hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--gr-overlay-light);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

/* Title Styles */
.gr-hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px 0;
  background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.gr-hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin: 0 0 40px 0;
  opacity: 0.9;
  font-weight: 300;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Open Sans', sans-serif;
}

/* Stats Counter */
.gr-hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.gr-stat-item {
  text-align: center;
}

.gr-stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, #e0e0e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Montserrat', sans-serif;
}

.gr-stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Open Sans', sans-serif;
}

/* Enhanced Button Styles */
.gr-hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px 0;
}

.gr-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
}

.gr-btn::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;
}

.gr-btn:hover::before {
  left: 100%;
}

.gr-btn-primary {
  background: var(--gr-secondary-gradient);
  color: white;
  border-color: var(--primary-color);
}

.gr-btn-secondary {
  background: var(--gr-overlay-light);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.gr-btn-tertiary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.gr-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--gr-shadow-heavy);
}

.gr-btn-icon {
  font-size: 1.1em;
  transition: transform 0.3s ease;
}

.gr-btn:hover .gr-btn-icon {
  transform: translateX(3px);
}

/* Scroll Indicator */
.gr-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.gr-scroll-text {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Open Sans', sans-serif;
}

.gr-scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.7);
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
  margin: 0 auto;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }

  50% {
    transform: rotate(45deg) translateY(-10px);
  }
}

/* Background Pattern */
.gr-hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 2px, transparent 0),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 1px, transparent 0);
  background-size: 50px 50px, 30px 30px;
  z-index: 1;
}

/* Loading States */
.gr-hero-loading-fallback {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.gr-loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ===== ENHANCED YOUTUBE PREVIEW - COLLISION PROOF ===== */
.gr-youtube-preview {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
  isolation: isolate;
}

.gr-youtube-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 0 auto;
}

.gr-youtube-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

.gr-youtube-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* Thumbnail Styles */
.gr-youtube-thumbnail {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  overflow: hidden;
  background: #f8f9fa;
}

.gr-youtube-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gr-youtube-item:hover .gr-youtube-thumb {
  transform: scale(1.05);
}

/* Play Button Overlay */
.gr-youtube-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: all 0.3s ease;
}

.gr-youtube-item:hover .gr-youtube-play-overlay {
  opacity: 1;
}

.gr-play-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease;
}

.gr-play-button:hover {
  transform: scale(1.1);
}

.gr-play-icon {
  width: 68px;
  height: 48px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.gr-play-shape {
  fill: #ff0000;
}

.gr-play-arrow {
  fill: #ffffff;
}

/* Video Duration Badge */
.gr-video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

/* Video Info Styles */
.gr-youtube-info {
  padding: 20px;
}

.gr-video-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.gr-video-description {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-color);
  margin: 0;
  line-height: 1.5;
  opacity: 0.8;
}

/* Modal Styles */
.gr-youtube-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.gr-youtube-modal {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.gr-youtube-embed-wrapper .gr-youtube-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
}

.gr-youtube-embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Close Button */
.gr-close-video {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.gr-close-video:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

/* Admin Notice */
.gr-youtube-admin-notice {
  background: var(--secondary-color);
  color: var(--dark-color);
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
}

.gr-youtube-admin-notice p {
  margin: 0;
}

/* YouTube Loading Spinner */
.gr-youtube-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9998;
}

/* ===== OPTIMIZED COMPACT FOOTER STYLES ===== */
.gr-site-footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a2f6d 100%);
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
  padding: 40px 0 20px;
  /* Reduced padding */
}

.gr-site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

/* Main Footer Content */
.gr-footer-main {
  padding: 0;
  /* Remove extra padding */
  position: relative;
}

.gr-footer-widgets {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 30px;
  /* Reduced gap */
  align-items: start;
}

.gr-footer-widget {
  margin-bottom: 25px;
  /* Reduced margin */
}

.gr-footer-widget-title {
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  /* Slightly smaller */
  font-weight: 700;
  margin-bottom: 18px;
  /* Reduced margin */
  position: relative;
  padding-bottom: 10px;
}

.gr-footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 2px;
}

/* About Section */
.gr-footer-about {
  grid-column: 1;
}

.gr-footer-logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
  /* Reduced margin */
}

.gr-footer-logo {
  width: 55px;
  /* Slightly smaller */
  height: 55px;
  object-fit: contain;
  border-radius: 8px;
  background: white;
  padding: 4px;
  /* Reduced padding */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gr-footer-brand {
  flex: 1;
}

.gr-footer-tagline {
  font-size: 0.85rem;
  /* Smaller font */
  color: var(--secondary-color);
  font-weight: 600;
  margin: 4px 0 0 0;
  /* Reduced margin */
  font-family: 'Montserrat', sans-serif;
}

.gr-footer-about-content {
  font-size: 0.9rem;
  /* Slightly smaller */
  line-height: 1.6;
  margin-bottom: 18px;
  /* Reduced margin */
  opacity: 0.9;
}

.gr-footer-accreditations {
  display: flex;
  gap: 8px;
  /* Reduced gap */
  flex-wrap: wrap;
}

.gr-accreditation-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 5px 10px;
  /* Reduced padding */
  font-size: 0.7rem;
  /* Smaller font */
  font-weight: 600;
}

.gr-badge-text {
  color: var(--secondary-color);
}

/* Footer Links */
.gr-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gr-footer-links li {
  margin-bottom: 8px;
}

.gr-footer-links li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 0.9rem;
}

.gr-footer-links li a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--gr-gold-primary);
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.gr-footer-links li a:hover {
  color: var(--gr-gold-light);
  transform: translateX(8px);
}

.gr-footer-links li a:hover::before {
  color: var(--gr-accent-gold);
  text-shadow: 0 0 8px var(--gr-accent-gold);
}

/* Useful Links Section */
.gr-footer-useful-links {
  margin-top: 20px;
  /* Reduced margin */
  padding-top: 18px;
  /* Reduced padding */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gr-useful-links-title {
  color: white;
  font-size: 0.95rem;
  /* Smaller font */
  font-weight: 600;
  margin-bottom: 12px;
  /* Reduced margin */
  font-family: 'Montserrat', sans-serif;
}

/* Emergency Contact */
.gr-footer-emergency {
  margin-top: 20px;
  /* Reduced margin */
  padding: 12px;
  /* Reduced padding */
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 8px;
}

.gr-emergency-title {
  color: #ff6b6b;
  font-size: 0.85rem;
  /* Smaller font */
  font-weight: 700;
  margin-bottom: 8px;
  /* Reduced margin */
  font-family: 'Montserrat', sans-serif;
}

.gr-emergency-info p {
  margin: 4px 0;
  /* Reduced margin */
  font-size: 0.8rem;
  /* Smaller font */
  display: flex;
  align-items: center;
  gap: 6px;
  /* Reduced gap */
}

.gr-emergency-info i {
  color: #ff6b6b;
}

.gr-emergency-info strong {
  color: white;
}

/* Contact Information */
.gr-footer-contact-info {
  margin-bottom: 22px;
  /* Reduced margin */
}

.gr-contact-item {
  display: flex;
  gap: 10px;
  /* Reduced gap */
  margin-bottom: 14px;
  /* Reduced margin */
  align-items: flex-start;
}

.gr-contact-icon {
  width: 34px;
  /* Slightly smaller */
  height: 34px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gr-contact-icon i {
  color: var(--secondary-color);
  font-size: 0.85rem;
  /* Smaller icon */
}

.gr-contact-details {
  flex: 1;
}

.gr-contact-details strong {
  color: white;
  font-size: 0.85rem;
  /* Smaller font */
  display: block;
  margin-bottom: 2px;
}

.gr-contact-details p {
  margin: 0;
  font-size: 0.8rem;
  /* Smaller font */
  opacity: 0.9;
}

.gr-contact-details a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.gr-contact-details a:hover {
  color: var(--secondary-color);
}

/* Newsletter */
.gr-footer-newsletter {
  margin-bottom: 22px;
  /* Reduced margin */
  padding: 18px;
  /* Reduced padding */
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.gr-newsletter-title {
  color: white;
  font-size: 0.95rem;
  /* Smaller font */
  font-weight: 600;
  margin-bottom: 6px;
  /* Reduced margin */
  font-family: 'Montserrat', sans-serif;
}

.gr-newsletter-desc {
  font-size: 0.8rem;
  /* Smaller font */
  margin-bottom: 12px;
  /* Reduced margin */
  opacity: 0.8;
}

.gr-newsletter-form {
  margin-top: 12px;
  /* Reduced margin */
}

.gr-newsletter-input-group {
  display: flex;
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gr-newsletter-input {
  flex: 1;
  border: none;
  padding: 10px 18px;
  /* Reduced padding */
  font-size: 0.85rem;
  /* Smaller font */
  outline: none;
  background: transparent;
}

.gr-newsletter-btn {
  background: var(--secondary-color);
  border: none;
  color: var(--dark-color);
  padding: 10px 18px;
  /* Reduced padding */
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.85rem;
  /* Smaller font */
}

.gr-newsletter-btn:hover {
  background: #ffcc33;
}

/* Social Media */
.gr-footer-social-section {
  margin-top: 18px;
  /* Reduced margin */
}

.gr-social-title {
  color: white;
  font-size: 0.95rem;
  /* Smaller font */
  font-weight: 600;
  margin-bottom: 12px;
  /* Reduced margin */
  font-family: 'Montserrat', sans-serif;
}

.gr-footer-social-icons {
  display: flex;
  gap: 8px;
  /* Reduced gap */
  flex-wrap: wrap;
}

.gr-social-icon {
  width: 38px;
  /* Slightly smaller */
  height: 38px;
  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;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  /* Smaller icons */
}

.gr-social-icon:hover {
  background: var(--secondary-color);
  color: var(--dark-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 187, 0, 0.3);
}

/* Footer Bottom */
.gr-footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 20px 0;
  /* Reduced padding */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
  /* Reduced margin */
}

.gr-footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.gr-footer-copyright {
  display: flex;
  align-items: center;
  gap: 12px;
  /* Reduced gap */
}

.gr-footer-logo-small {
  display: flex;
  align-items: center;
  gap: 8px;
  /* Reduced gap */
}

.gr-footer-logo-mini {
  width: 28px;
  /* Slightly smaller */
  height: 28px;
  object-fit: contain;
  background: white;
  border-radius: 4px;
  padding: 2px;
}

.gr-university-name {
  color: white;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  /* Smaller font */
}

.gr-copyright-text {
  margin: 0;
  font-size: 0.8rem;
  /* Smaller font */
  opacity: 0.8;
}

/* Legal Links */
.gr-footer-legal {
  flex: 1;
  display: flex;
  justify-content: center;
}

.gr-legal-links {
  display: flex;
  gap: 18px;
  /* Reduced gap */
  list-style: none;
  margin: 0;
  padding: 0;
}

.gr-legal-links li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.8rem;
  /* Smaller font */
  transition: color 0.3s ease;
}

.gr-legal-links li a:hover {
  color: var(--secondary-color);
}

/* Back to Top Button */
.gr-footer-back-to-top {
  display: flex;
  justify-content: flex-end;
}

.gr-back-to-top-btn {
  background: var(--secondary-color);
  color: var(--dark-color);
  border: none;
  padding: 8px 16px;
  /* Reduced padding */
  border-radius: 20px;
  /* Slightly smaller */
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
  /* Smaller font */
  display: flex;
  align-items: center;
  gap: 6px;
  /* Reduced gap */
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.gr-back-to-top-btn:hover {
  background: #ffcc33;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 187, 0, 0.3);
}

/* ===== RESULT CHECKER STYLES - WITH DISABLE SUPPORT ===== */
/* This ensures the result checker section exists even when disabled */
.result-checker-section {
  background-color: var(--light-color);
  display: block;
  /* Always display block to prevent errors */
}

.result-checker-section.hidden {
  display: none;
  /* Only hide when explicitly set to hidden */
}

.result-checker-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--gr-shadow-light);
  padding: 30px;
}

/* Result Checker Form Styles */
.result-checker-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--primary-color);
  font-family: 'Montserrat', sans-serif;
}

.form-group input,
.form-group select {
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: 'Open Sans', sans-serif;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.submit-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
}

.submit-btn:hover {
  background: var(--secondary-color);
  color: var(--dark-color);
  transform: translateY(-2px);
  box-shadow: var(--gr-shadow-heavy);
}

/* Result Display Styles */
.result-display {
  margin-top: 30px;
  padding: 20px;
  background: var(--light-color);
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.result-header {
  display: flex;
  justify-content: between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
}

.student-info {
  flex: 1;
}

.student-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
  font-family: 'Montserrat', sans-serif;
}

.student-details {
  color: var(--text-color);
  opacity: 0.8;
}

.result-summary {
  text-align: right;
}

.gpa {
  font-size: 2rem;
  font-weight: 700;
  color: var(--success-color);
  font-family: 'Montserrat', sans-serif;
}

.gpa-label {
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.8;
}

/* Grades Table */
.grades-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.grades-table th {
  background: var(--primary-color);
  color: white;
  padding: 12px 15px;
  text-align: left;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

.grades-table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border-color);
}

.grades-table tr:hover {
  background: rgba(30, 58, 138, 0.05);
}

.grade-excellent {
  color: var(--success-color);
  font-weight: 600;
}

.grade-good {
  color: var(--info-color);
  font-weight: 600;
}

.grade-average {
  color: var(--warning-color);
  font-weight: 600;
}

.grade-poor {
  color: var(--danger-color);
  font-weight: 600;
}

/* No Results State */
.no-results {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-color);
  opacity: 0.7;
}

.no-results i {
  font-size: 3rem;
  color: var(--border-color);
  margin-bottom: 20px;
}

.no-results h3 {
  color: var(--text-color);
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}

/* Loading State */
.result-loading {
  text-align: center;
  padding: 40px 20px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

/* Error State */
.result-error {
  text-align: center;
  padding: 30px 20px;
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 8px;
  color: var(--danger-color);
}

.result-error i {
  font-size: 2rem;
  margin-bottom: 15px;
}

/* Header Styles - OPTIMIZED COMPACT VERSION */
.site-header {
  background-color: var(--light-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  /* Changed to fixed */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: 80px;
  /* Fixed height */
}

.header-top {
  background-color: var(--primary-color);
  color: white;
  padding: 6px 0;
  /* Reduced padding */
  display: none;
  /* Hide top bar for compact design */
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-contact {
  display: flex;
  gap: 15px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  color: white;
  font-size: 16px;
}

.site-branding {
  display: flex;
  align-items: center;
  padding: 10px 0;
  /* Reduced padding */
  height: 80px;
  /* Match header height */
}

.site-logo {
  max-width: 60px;
  /* Smaller logo */
  height: auto;
  margin-right: 12px;
  /* Reduced margin */
}

.site-title-description {
  flex: 1;
}

.site-title {
  font-size: 1.4rem;
  /* Smaller title */
  margin-bottom: 3px;
  /* Reduced margin */
}

.site-description {
  font-size: 0.8rem;
  /* Smaller description */
  color: var(--dark-color);
  opacity: 0.8;
}

/* Navigation - COMPACT VERSION */
.main-navigation {
  background-color: var(--primary-color);
  height: 50px;
  /* Fixed height */
  display: flex;
  align-items: center;
}

.main-navigation.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.3s ease;
  height: 50px;
  /* Consistent height */
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px;
}

.main-menu {
  display: flex;
  list-style: none;
  height: 100%;
  align-items: center;
  gap: 12px;
  /* Add spacing between buttons */
  padding: 0 15px;
}

.main-menu>li {
  position: relative;
}

.main-menu>li>a,
.gr-menu-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--gr-secondary-bg);
  color: var(--gr-text-bright) !important;
  /* Ensure visibility */
  border: 1px solid var(--gr-glass-border);
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.main-menu>li:hover>a,
.gr-menu-item:hover .gr-menu-link {
  background: var(--gr-gold-gradient);
  color: var(--gr-primary-bg) !important;
  border-color: var(--gr-gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.gr-menu-icon {
  margin-right: 8px;
  font-size: 1.1rem;
}

/* Specific layout for gr-site-header navigation */
.gr-main-menu {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.gr-main-menu li {
  margin: 0;
  display: flex;
  align-items: center;
}

.gr-main-menu li a,
.gr-menu-link,
.gr-tool-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 10px 20px !important;
  background: var(--gr-secondary-bg) !important;
  color: var(--gr-gold-primary) !important;
  border: 1px solid var(--gr-glass-border) !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  font-size: 13px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  letter-spacing: 0.5px;
  white-space: nowrap;
  visibility: visible !important;
  opacity: 1 !important;
  cursor: pointer;
}

.gr-tool-btn {
  width: 42px;
  height: 42px;
  padding: 0 !important;
  margin-left: 8px;
}

.gr-main-menu li:hover a,
.gr-menu-item:hover .gr-menu-link,
.gr-tool-btn:hover {
  background: var(--gr-gold-gradient) !important;
  color: var(--gr-primary-bg) !important;
  border-color: var(--gr-gold-primary) !important;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.gr-menu-icon,
.gr-tool-btn i {
  margin-right: 0;
  font-size: 1.2rem;
  color: inherit;
}

.gr-menu-icon {
  margin-right: 10px;
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 200px;
  box-shadow: var(--gr-shadow-light);
  display: none;
  z-index: 999;
  list-style: none;
}

.main-menu>li:hover>.sub-menu {
  display: block;
}

.sub-menu li a {
  display: block;
  padding: 10px 15px;
  color: var(--text-color);
  border-bottom: 1px solid var(--border-color);
}

.sub-menu li a:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
}

/* Legacy Hero Section (Keep for backward compatibility) */
.hero-section {
  position: relative;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
  margin-top: 80px;
  /* Account for fixed header */
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--gr-overlay-dark);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: white;
  text-align: center;
  padding: 0 15px;
  max-width: 800px;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 20px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

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

.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: transparent;
  color: white;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--dark-color);
  border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
  background-color: transparent;
  color: white;
}

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

.section-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 15px auto 0;
}

/* Events Calendar */
.events-calendar-section {
  background-color: white;
}

.calendar-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
}

.calendar-filter-btn {
  padding: 8px 15px;
  background-color: var(--light-color);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.calendar-filter-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.events-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.event-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--gr-shadow-light);
  transition: transform 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-date {
  background-color: var(--primary-color);
  color: white;
  padding: 10px;
  text-align: center;
}

.event-date .day {
  font-size: 1.5rem;
  font-weight: 700;
}

.event-content {
  padding: 15px;
}

.event-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.event-info {
  font-size: 0.9rem;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.event-info i {
  margin-right: 8px;
  color: var(--primary-color);
}

.event-audience {
  display: inline-block;
  padding: 3px 8px;
  background-color: var(--light-color);
  border-radius: 3px;
  font-size: 0.8rem;
  margin-top: 10px;
}

/* Campus Map */
.campus-map-section {
  background-color: var(--light-color);
}

.map-container {
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--gr-shadow-light);
}

/* Legacy YouTube Preview (Keep for backward compatibility) */
.youtube-preview-section {
  background-color: white;
}

.youtube-container {
  max-width: 800px;
  margin: 0 auto;
}

.youtube-embed {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--gr-shadow-light);
}

.youtube-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Legacy Footer (Keep for backward compatibility) */
.site-footer {
  background-color: var(--primary-color);
  color: white;
  padding-top: 40px;
  /* Reduced padding */
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  /* Reduced gap */
  margin-bottom: 30px;
  /* Reduced margin */
}

.footer-widget {
  margin-bottom: 18px;
  /* Reduced margin */
}

.footer-widget-title {
  font-size: 1.1rem;
  /* Smaller font */
  margin-bottom: 18px;
  /* Reduced margin */
  color: white;
  position: relative;
}

.footer-widget-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--secondary-color);
  margin-top: 8px;
  /* Reduced margin */
}

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

.footer-widget ul li {
  margin-bottom: 8px;
  /* Reduced margin */
}

.footer-widget ul li a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  /* Smaller font */
}

.footer-widget ul li a:hover {
  color: white;
}

.footer-contact-info p {
  margin-bottom: 8px;
  /* Reduced margin */
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  /* Smaller font */
}

.footer-contact-info i {
  margin-right: 8px;
  /* Reduced margin */
  color: var(--secondary-color);
}

.footer-social-icons {
  display: flex;
  gap: 12px;
  /* Reduced gap */
  margin-top: 18px;
  /* Reduced margin */
}

.footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  /* Slightly smaller */
  height: 38px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  /* Smaller icons */
}

.footer-social-icons a:hover {
  background-color: var(--secondary-color);
  color: var(--dark-color);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 18px 0;
  /* Reduced padding */
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  /* Smaller font */
}

/* ===== REVOLUTIONARY HEADER STYLES - OPTIMIZED COMPACT VERSION ===== */
.gr-site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg,
      rgba(30, 58, 138, 0.95) 0%,
      rgba(26, 47, 109, 0.98) 50%,
      rgba(30, 58, 138, 0.95) 100%);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 9999;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 80px;
  /* Fixed compact height */
}

.gr-site-header.gr-scrolled {
  background: rgba(30, 58, 138, 0.98);
  backdrop-filter: blur(30px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Canvas Background */
.gr-header-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.3;
}

/* Top Utility Bar - HIDDEN FOR COMPACT DESIGN */
.gr-header-top-bar {
  display: none;
  /* Hide top bar to save space */
}

/* Main Header - COMPACT */
.gr-main-header {
  padding: 12px 0;
  /* Reduced padding */
  height: 80px;
  /* Match header height */
  display: flex;
  align-items: center;
}

.gr-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  height: 100%;
}

/* Compact Branding */
.gr-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  /* Reduced gap */
  flex-shrink: 0;
}

.gr-logo-container {
  position: relative;
}

.gr-logo-hologram {
  position: relative;
  width: 50px;
  /* Smaller logo */
  height: 50px;
}

.gr-site-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  /* Slightly smaller */
  background: white;
  padding: 4px;
  /* Reduced padding */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  /* Lighter shadow */
}

.gr-hologram-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  /* Smaller effect */
  height: 60px;
  background: conic-gradient(from 0deg,
      #667eea,
      #764ba2,
      #f093fb,
      #f5576c,
      #4facfe,
      #00f2fe,
      #667eea);
  border-radius: 14px;
  /* Smaller radius */
  filter: blur(12px);
  /* Less blur */
  opacity: 0.3;
  /* More subtle */
  animation: hologramRotate 8s linear infinite;
  /* Slower animation */
}

@keyframes hologramRotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.gr-brand-text {
  flex: 1;
}

.gr-site-title {
  margin: 0;
  font-size: 1.3rem;
  /* Smaller title */
  font-weight: 800;
  /* Bolder for better visibility */
  position: relative;
}

.gr-site-title a {
  color: white;
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.gr-title-main {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gr-title-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-color), #ffcc33);
  filter: blur(10px);
  /* Less blur */
  opacity: 0.2;
  /* More subtle */
  z-index: 1;
}

.gr-site-description {
  margin: 2px 0 0 0;
  /* Reduced margin */
  font-size: 0.75rem;
  /* Smaller font */
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 4px;
  /* Reduced gap */
}

.gr-tagline-sparkle {
  animation: sparkleTwinkle 4s ease-in-out infinite;
  /* Slower animation */
}

@keyframes sparkleTwinkle {

  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }

  /* Less scale */
}

/* Navigation - COMPACT */
.gr-main-navigation {
  display: flex;
  align-items: center;
  gap: 15px;
  /* Reduced gap */
}

.gr-nav-desktop {
  display: flex;
}

.gr-main-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1px;
  /* Reduced gap */
}

.gr-menu-item {
  position: relative;
}

.gr-menu-link {
  display: flex;
  align-items: center;
  gap: 6px;
  /* Reduced gap */
  padding: 10px 14px;
  /* Reduced padding */
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-radius: 8px;
  /* Slightly smaller */
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.82rem;
  /* Smaller font */
  position: relative;
  overflow: hidden;
}

.gr-menu-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.gr-menu-item:hover .gr-menu-link::before {
  left: 100%;
}

.gr-menu-item:hover .gr-menu-link {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.gr-menu-icon {
  font-size: 0.9rem;
  /* Smaller icons */
  transition: transform 0.3s ease;
}

.gr-menu-item:hover .gr-menu-icon {
  transform: scale(1.1);
}

.gr-menu-text {
  position: relative;
  z-index: 2;
}

/* Mobile Menu Toggle - COMPACT */
.gr-nav-mobile {
  display: none;
}

.gr-menu-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  /* Slightly smaller */
  padding: 10px 14px;
  /* Reduced padding */
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  /* Reduced gap */
}

.gr-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.gr-menu-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
  /* Reduced gap */
  width: 18px;
  /* Smaller */
}

.gr-bar {
  height: 2px;
  background: white;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.gr-menu-toggle.gr-active .gr-bar-1 {
  transform: rotate(45deg) translate(5px, 5px);
}

.gr-menu-toggle.gr-active .gr-bar-2 {
  opacity: 0;
}

.gr-menu-toggle.gr-active .gr-bar-3 {
  transform: rotate(-45deg) translate(5px, -5px);
}

.gr-menu-toggle-text {
  font-size: 0.82rem;
  /* Smaller font */
  font-weight: 500;
}

/* CTA Button - COMPACT */
.gr-header-cta {
  flex-shrink: 0;
}

.gr-cta-button {
  display: flex;
  align-items: center;
  gap: 6px;
  /* Reduced gap */
  padding: 10px 18px;
  /* Reduced padding */
  background: linear-gradient(135deg, var(--secondary-color), #ffcc33);
  color: var(--dark-color);
  text-decoration: none;
  border-radius: 10px;
  /* Slightly smaller */
  font-weight: 700;
  font-size: 0.82rem;
  /* Smaller font */
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.gr-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 187, 0, 0.3);
  /* Lighter shadow */
}

.gr-cta-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: var(--secondary-color);
  border-radius: 10px;
  animation: ctaPulse 3s ease-out infinite;
  /* Slower animation */
  opacity: 0;
}

@keyframes ctaPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0;
  }

  /* Less scale */
}

/* Mobile Navigation Panel */
.gr-mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 350px;
  /* Slightly smaller */
  height: 100vh;
  background: linear-gradient(135deg, var(--primary-color), #1a2f6d);
  backdrop-filter: blur(30px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10000;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.gr-mobile-nav-panel.gr-active {
  right: 0;
}

.gr-mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
  /* Reduced padding */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: 80px;
  /* Match header height */
}

.gr-mobile-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  /* Reduced gap */
}

.gr-mobile-logo {
  width: 38px;
  /* Smaller */
  height: 38px;
  object-fit: contain;
  background: white;
  border-radius: 6px;
  /* Smaller */
  padding: 2px;
  /* Reduced padding */
}

.gr-mobile-title {
  color: white;
  font-weight: 700;
  font-size: 1rem;
  /* Smaller */
}

.gr-mobile-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 6px;
  /* Smaller */
  width: 38px;
  /* Smaller */
  height: 38px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gr-mobile-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.gr-mobile-nav-content {
  padding: 18px;
  /* Reduced padding */
}

.gr-mobile-menu {
  list-style: none;
  margin: 0 0 25px 0;
  /* Reduced margin */
  padding: 0;
}

.gr-mobile-menu li {
  margin-bottom: 4px;
  /* Reduced margin */
}

.gr-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  /* Reduced gap */
  padding: 12px 16px;
  /* Reduced padding */
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-radius: 8px;
  /* Smaller */
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.9rem;
  /* Smaller font */
}

.gr-mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: translateX(5px);
}

.gr-mobile-menu a i {
  width: 18px;
  /* Smaller */
  text-align: center;
  color: var(--secondary-color);
}

.gr-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* Reduced gap */
}

.gr-mobile-action {
  display: flex;
  align-items: center;
  gap: 10px;
  /* Reduced gap */
  padding: 12px 16px;
  /* Reduced padding */
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  /* Smaller */
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.9rem;
  /* Smaller font */
}

.gr-mobile-action:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: translateX(5px);
}

.gr-mobile-action.gr-mobile-cta {
  background: linear-gradient(135deg, var(--secondary-color), #ffcc33);
  color: var(--dark-color);
  font-weight: 700;
}

.gr-mobile-action.gr-mobile-cta:hover {
  transform: translateX(5px) scale(1.02);
}

/* Search Overlay */
.gr-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
}

.gr-search-overlay.gr-active {
  display: flex;
}

.gr-search-container {
  width: 90%;
  max-width: 600px;
  background: rgba(30, 58, 138, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 35px;
  /* Reduced padding */
  position: relative;
}

.gr-search-close {
  position: absolute;
  top: 18px;
  /* Adjusted */
  right: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  width: 38px;
  /* Smaller */
  height: 38px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gr-search-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.gr-search-content {
  text-align: center;
}

.gr-search-title {
  color: white;
  margin-bottom: 25px;
  /* Reduced margin */
  font-size: 1.4rem;
  /* Smaller */
  font-weight: 700;
}

.gr-search-form {
  margin-bottom: 25px;
  /* Reduced margin */
}

.gr-search-input-group {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  overflow: hidden;
}

.gr-search-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 18px;
  /* Reduced padding */
  color: white;
  font-size: 1rem;
  /* Smaller */
  outline: none;
}

.gr-search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.gr-search-submit {
  background: var(--secondary-color);
  border: none;
  padding: 0 22px;
  /* Reduced padding */
  color: var(--dark-color);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  /* Smaller */
}

.gr-search-submit:hover {
  background: #ffcc33;
}

.gr-search-suggestions {
  text-align: left;
}

.gr-suggestions-title {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
  /* Reduced margin */
  font-size: 0.85rem;
  /* Smaller */
}

.gr-suggestion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  /* Reduced gap */
}

.gr-suggestion-tag {
  padding: 6px 14px;
  /* Reduced padding */
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  /* Slightly smaller */
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.8rem;
  /* Smaller */
  transition: all 0.3s ease;
}

.gr-suggestion-tag:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-1px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .gr-youtube-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .gr-footer-widgets {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
  }

  .gr-footer-widget:last-child {
    grid-column: 1 / -1;
    margin-top: 20px;
  }
}

@media (max-width: 991px) {

  .gr-hero-title,
  .hero-title {
    font-size: 2.5rem;
  }

  .site-branding {
    flex-direction: column;
    text-align: center;
  }

  .site-logo {
    margin-right: 0;
    margin-bottom: 8px;
    /* Reduced margin */
  }

  .map-container {
    height: 400px;
  }

  .gr-hero-stats {
    gap: 30px;
  }

  .gr-stat-number {
    font-size: 2rem;
  }

  .gr-footer-widgets {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .gr-footer-about {
    grid-column: 1 / -1;
  }

  .gr-footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .gr-footer-legal {
    order: 2;
  }

  .gr-footer-back-to-top {
    order: 3;
  }

  /* Header responsive adjustments */
  .gr-nav-desktop {
    display: none;
  }

  .gr-nav-mobile {
    display: block;
  }

  .gr-site-header {
    height: 70px;
    /* Slightly smaller on tablet */
  }

  .gr-main-header {
    height: 70px;
    padding: 8px 0;
  }

  body {
    padding-top: 70px;
  }

  .gr-hero-section {
    margin-top: -70px;
    padding-top: 70px;
  }
}

@media (max-width: 768px) {
  .gr-youtube-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 500px;
  }

  .gr-youtube-item:hover {
    transform: translateY(-4px);
  }

  .gr-youtube-modal-overlay {
    padding: 10px;
  }

  .gr-youtube-info {
    padding: 15px;
  }

  .gr-video-title {
    font-size: 1rem;
  }

  .gr-video-description {
    font-size: 0.85rem;
  }

  .gr-footer-main {
    padding: 30px 0 15px;
    /* Further reduced padding */
  }

  .gr-footer-widgets {
    grid-template-columns: 1fr;
    gap: 25px;
    /* Reduced gap */
  }

  .gr-footer-logo-section {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .gr-legal-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    /* Reduced gap */
  }

  .gr-contact-item {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    /* Reduced gap */
  }

  .gr-contact-icon {
    align-self: center;
  }

  .menu-toggle {
    display: block;
  }

  .main-menu {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .main-menu.active {
    display: flex;
  }

  .main-menu>li {
    width: 100%;
  }

  .sub-menu {
    position: static;
    box-shadow: none;
    width: 100%;
    display: none;
  }

  .main-menu>li:hover>.sub-menu {
    display: none;
  }

  .main-menu>li.menu-item-has-children.open>.sub-menu {
    display: block;
  }

  .gr-hero-title,
  .hero-title {
    font-size: 2rem;
  }

  .gr-hero-buttons,
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .gr-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .section {
    padding: 40px 0;
  }

  .header-top .container {
    flex-direction: column;
    gap: 8px;
    /* Reduced gap */
  }

  .gr-hero-section {
    height: 100vh;
    min-height: 100vh;
  }

  .gr-hero-stats {
    gap: 20px;
  }

  /* Mobile header adjustments */
  .gr-site-header {
    height: 60px;
    /* Even smaller on mobile */
  }

  .gr-main-header {
    height: 60px;
    padding: 5px 0;
  }

  body {
    padding-top: 60px;
  }

  .gr-hero-section {
    margin-top: -60px;
    padding-top: 60px;
    height: calc(100vh - 60px);
  }

  .gr-logo-hologram {
    width: 40px;
    height: 40px;
  }

  .gr-site-title {
    font-size: 1.1rem;
  }

  .gr-site-description {
    display: none;
    /* Hide description on mobile */
  }

  .gr-cta-button {
    padding: 8px 14px;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .gr-youtube-preview {
    padding: 0 10px;
  }

  .gr-youtube-grid {
    gap: 12px;
  }

  .gr-youtube-info {
    padding: 12px;
  }

  .gr-play-icon {
    width: 50px;
    height: 35px;
  }

  .gr-footer-main {
    padding: 25px 0 10px;
    /* Minimal padding */
  }

  .gr-footer-widget {
    margin-bottom: 20px;
  }

  .gr-footer-newsletter {
    padding: 15px;
    /* Reduced padding */
  }

  .gr-newsletter-input-group {
    flex-direction: column;
    border-radius: 8px;
  }

  .gr-newsletter-input {
    border-radius: 8px 8px 0 0;
  }

  .gr-newsletter-btn {
    border-radius: 0 0 8px 8px;
  }

  .gr-footer-copyright {
    flex-direction: column;
    gap: 8px;
    /* Reduced gap */
  }

  .gr-back-to-top-btn span {
    display: none;
  }

  .gr-back-to-top-btn {
    padding: 10px;
    /* Reduced padding */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    justify-content: center;
  }

  .gr-hero-title,
  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .hero-section {
    height: 60vh;
  }

  .result-checker-container {
    padding: 20px;
  }

  .map-container {
    height: 300px;
  }

  .gr-hero-tagline {
    font-size: 1rem;
  }

  .gr-hero-buttons {
    margin: 25px 0;
    /* Reduced margin */
  }

  .gr-scroll-indicator {
    bottom: 15px;
    /* Adjusted position */
  }

  /* Extra small devices */
  .gr-site-header {
    height: 55px;
    /* Minimal height */
  }

  .gr-main-header {
    height: 55px;
  }

  body {
    padding-top: 55px;
  }

  .gr-hero-section {
    margin-top: -55px;
    padding-top: 55px;
    height: calc(100vh - 55px);
  }

  .gr-logo-hologram {
    width: 35px;
    height: 35px;
  }

  .gr-site-title {
    font-size: 1rem;
  }

  .gr-menu-toggle {
    padding: 8px 10px;
  }

  .gr-menu-toggle-text {
    display: none;
    /* Hide text on very small screens */
  }
}

/* Print Styles */
@media print {
  .gr-hero-section {
    height: auto;
    min-height: auto;
  }

  .gr-hero-background,
  .gr-hero-overlay,
  .gr-hero-pattern {
    display: none;
  }

  .gr-hero-content {
    color: #000;
  }

  .gr-hero-title {
    background: none;
    -webkit-text-fill-color: initial;
    color: #000;
  }

  .gr-youtube-thumbnail,
  .gr-youtube-play-overlay,
  .gr-youtube-modal-overlay {
    display: none !important;
  }

  .gr-youtube-item {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .gr-site-footer {
    background: white !important;
    color: black !important;
    border-top: 2px solid #ccc;
  }

  .gr-footer-social-icons,
  .gr-back-to-top-btn,
  .gr-newsletter-form {
    display: none !important;
  }

  .gr-footer-widgets {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Header print styles */
  .gr-site-header {
    position: static;
    background: white !important;
    border-bottom: 2px solid #ccc;
  }

  .gr-header-canvas,
  .gr-hologram-effect,
  .gr-cta-pulse {
    display: none !important;
  }

  .gr-site-title a {
    color: var(--primary-color) !important;
    -webkit-text-fill-color: initial !important;
  }

  body {
    padding-top: 0;
  }

  /* Result checker print styles */
  .result-checker-section {
    break-inside: avoid;
  }

  .result-checker-container {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

  .gr-btn,
  .gr-scroll-arrow,
  .gr-btn-icon,
  .btn,
  .gr-youtube-item,
  .gr-youtube-thumb,
  .gr-play-button,
  .gr-close-video,
  .gr-footer-links li a,
  .gr-social-icon,
  .gr-back-to-top-btn,
  .gr-newsletter-btn {
    animation: none;
    transition: none;
  }

  .gr-btn:hover,
  .btn:hover,
  .gr-youtube-item:hover,
  .gr-footer-links li a:hover,
  .gr-social-icon:hover,
  .gr-back-to-top-btn:hover {
    transform: none;
  }

  .event-card:hover {
    transform: none;
  }

  .gr-youtube-item:hover .gr-youtube-thumb {
    transform: none;
  }

  /* Header reduced motion */
  .gr-hologram-effect,
  .gr-cta-pulse,
  .gr-tagline-sparkle,
  .gr-menu-icon,
  .gr-menu-link::before {
    animation: none;
    transition: none;
  }

  .gr-menu-item:hover .gr-menu-link,
  .gr-cta-button:hover,
  .gr-mobile-menu a:hover,
  .gr-mobile-action:hover,
  .gr-suggestion-tag:hover {
    transform: none;
  }

  /* Result checker reduced motion */
  .submit-btn:hover {
    transform: none;
  }
}

/* High Contrast Support */
@media (prefers-contrast: high) {
  .gr-hero-overlay {
    background: rgba(0, 0, 0, 0.8) !important;
  }

  .gr-btn-secondary {
    border-color: #fff;
    background: transparent;
  }

  .gr-youtube-item {
    border: 2px solid var(--primary-color);
  }

  .gr-youtube-play-overlay {
    background: rgba(0, 0, 0, 0.8);
  }

  .gr-site-footer {
    background: var(--primary-color);
    border-top: 3px solid var(--secondary-color);
  }

  .gr-footer-links li a,
  .gr-legal-links li a {
    color: white;
  }

  .gr-social-icon {
    border: 2px solid white;
  }

  /* Header high contrast */
  .gr-site-header {
    background: var(--primary-color);
    border-bottom: 3px solid var(--secondary-color);
  }

  .gr-menu-link,
  .gr-contact-item {
    color: white;
  }

  .gr-tool-btn,
  .gr-social-icon {
    border: 2px solid white;
  }

  /* Result checker high contrast */
  .result-checker-container {
    border: 2px solid var(--primary-color);
  }

  .form-group input:focus,
  .form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-color);
  }
}

/* ===== COMPACT FOOTER STYLES ===== */
.gr-site-footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a2f6d 100%);
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
  margin-top: auto;
  /* Push footer to bottom */
}

.gr-footer-main {
  padding: 30px 0 20px;
}

.gr-footer-widgets {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.gr-footer-widget {
  margin-bottom: 20px;
}

.gr-footer-widget-title {
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 8px;
}

.gr-footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--secondary-color);
  border-radius: 2px;
}

/* About Section */
.gr-footer-about {
  grid-column: 1;
}

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

.gr-footer-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 8px;
  background: white;
  padding: 3px;
}

.gr-footer-brand {
  flex: 1;
}

.gr-footer-tagline {
  font-size: 0.85rem;
  color: var(--secondary-color);
  font-weight: 600;
  margin: 2px 0 0 0;
  font-family: 'Montserrat', sans-serif;
}

.gr-footer-about-content {
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 15px;
  opacity: 0.9;
}

/* Footer Links */
.gr-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gr-footer-links li {
  margin-bottom: 8px;
}

.gr-footer-links li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.gr-footer-links li a:hover {
  color: var(--secondary-color);
  transform: translateX(3px);
}

/* Contact Information */
.gr-footer-contact-info {
  margin-bottom: 20px;
}

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

.gr-contact-item i {
  color: var(--secondary-color);
  font-size: 0.9rem;
  width: 16px;
  text-align: center;
  margin-top: 2px;
}

.gr-contact-item p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.9;
  flex: 1;
}

.gr-contact-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.gr-contact-item a:hover {
  color: var(--secondary-color);
}

/* Social Media */
.gr-footer-social-section {
  margin-top: 15px;
}

.gr-footer-social-icons {
  display: flex;
  gap: 10px;
}

.gr-social-icon {
  width: 36px;
  height: 36px;
  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;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
}

.gr-social-icon:hover {
  background: var(--secondary-color);
  color: var(--dark-color);
  transform: translateY(-2px);
}

/* Footer Bottom */
.gr-footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gr-footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.gr-footer-copyright {
  flex: 1;
}

.gr-copyright-text {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Legal Links */
.gr-footer-legal {
  flex-shrink: 0;
}

.gr-legal-links {
  display: flex;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gr-legal-links li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.3s ease;
}

.gr-legal-links li a:hover {
  color: var(--secondary-color);
}

/* ===== RESPONSIVE FOOTER STYLES ===== */
@media (max-width: 991px) {
  .gr-footer-widgets {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .gr-footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .gr-footer-main {
    padding: 25px 0 15px;
  }

  .gr-footer-widgets {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .gr-footer-logo-section {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .gr-footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .gr-legal-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .gr-footer-main {
    padding: 20px 0 10px;
  }

  .gr-footer-widget {
    margin-bottom: 15px;
  }

  .gr-footer-social-icons {
    justify-content: center;
  }

  .gr-contact-item {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }

  .gr-contact-item i {
    align-self: center;
  }
}

/* =========================================
   USER REQUESTED UPDATES (Header, Content, Footer)
   ========================================= */

/* Fixed Header Title Visibility */
h1.entry-title {
  color: #ffffff !important;
  text-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff;
  /* Glowing effect */
}

/* Page Content Styling */
.entry-content {
  color: #000080;
  font-weight: bold;
}

/* Footer Compact & Professional Overrides */
.gr-site-footer {
  padding: 20px 0 10px !important;
  /* Tighter padding */
}

.gr-footer-widget {
  margin-bottom: 15px !important;
}

.gr-footer-widget-title {
  margin-bottom: 10px !important;
  padding-bottom: 5px !important;
}

.gr-footer-links li {
  margin-bottom: 4px !important;
  /* Reduced list spacing */
}

.gr-footer-about-content {
  margin-bottom: 10px !important;
  line-height: 1.4 !important;
  /* Tighter text block */
}

.gr-footer-logo-section {
  margin-bottom: 10px !important;
}

/* Header Menu Buttons Override */
.gr-main-menu .gr-menu-item .gr-menu-link {
  background-color: #ffffff !important;
  color: #000080 !important;
  /* Navy text for contrast */
  padding: 10px 20px !important;
  border-radius: 30px !important;
  /* Nice pill shape */
  margin: 0 5px !important;
  /* Spacing between buttons */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  font-weight: 700 !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
}

.gr-main-menu .gr-menu-item .gr-menu-link:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 12px rgba(255, 255, 255, 0.4) !important;
  /* Glowy highlight */
  background-color: #f0f0f0 !important;
}

.gr-main-menu .gr-menu-item .gr-menu-link i {
  margin-right: 8px !important;
  /* Space between icon and text */
}