/* E-İmza Yardım Portal - Custom CSS */
:root {
  --primary: #0056D2;
  --primary-light: #e6f0ff;
  --secondary: #F5F7FA;
  --accent: #d4af37;
  --accent-light: #f0e6c0;
  --dark: #343a40;
  --text-main: #212529;
  --text-muted: #6c757d;
  --bg-light: #f7f7f7;
  --bg-lighter: #f5f5f5;
  --bg-contrast: #efefef;
  --success: #198754;
  --danger: #dc3545;
  --transition: all 0.3s ease-in-out;
  --shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, 0.075);
  --shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* Brand Icon Background */
.brand-icon-bg {
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  padding: 15px;
  border-radius: 15px;
}

.brand-icon-bg span {
  font-size: 32px;
  display: block;
}

/* Text Accent Color */
.text-accent {
  color: #d4af37 !important;
}

/* Social Media Links */
.social-link {
  background: rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: 10px;
  color: #d4af37;
  transition: all 0.3s;
  text-decoration: none;
}

.social-link:hover {
  background: rgba(212, 175, 55, 0.2);
  color: #d4af37;
}

.social-link span {
  font-size: 20px;
}

/* Footer Links */
.footer-link {
  transition: all 0.3s;
  text-decoration: none;
}

.footer-link:hover {
  color: #d4af37 !important;
  opacity: 1 !important;
}

/* Footer Border */
.footer-border {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Footer Bottom Links */
.footer-bottom-link {
  color: #d4af37;
  transition: all 0.3s;
  text-decoration: none;
}

.footer-bottom-link:hover {
  opacity: 0.7;
  color: #d4af37;
}

/* Chat Avatar */
.chat-avatar {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.chat-container {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.chat-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Chat Widget Styles */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Montserrat', sans-serif;
}

.chat-toggle {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.chat-toggle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.chat-toggle:active {
    transform: scale(0.95);
}

.chat-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.chat-toggle span {
    font-size: 24px;
    color: white;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-window.active {
    display: flex;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s;
}

.btn-close-chat:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f8f9fa;
}

.message {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.bot-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 10px;
    background: #e9ecef;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.3);
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: white;
    margin-left: 10px;
    margin-right: 0;
    order: 2;
}

.message-content {
    max-width: 250px;
}

.message-content p {
    background: white;
    padding: 10px 15px;
    border-radius: 15px;
    margin: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    line-height: 1.4;
}

.user-message .message-content p {
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: white;
}

.message-time {
    font-size: 11px;
    color: #6c757d;
    margin-top: 5px;
    text-align: center;
}

.chat-input {
    padding: 15px;
    background: white;
    border-top: 1px solid #e9ecef;
}

.chat-input .form-control {
    border: 1px solid #e9ecef;
    border-radius: 25px;
    padding: 10px 15px;
    font-size: 14px;
}

.chat-input .btn {
    background: linear-gradient(135deg, #d4af37, #b8941f);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .chat-window {
        width: 300px;
        height: 450px;
    }
    
    .chat-widget {
        bottom: 15px;
        right: 15px;
    }
}

/* Hero Section Styles */
.hero-section-dark {
    background-color: #000;
    margin-bottom: 0;
}

.swiper-home {
    height: calc(100vh - 76px);
    min-height: 600px;
    max-height: 800px;
    border-radius: 0;
}

.swiper-wrapper-center {
    align-items: center;
}

.slide-bg-1 {
    background-image: url('../images/photos/e-imza.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.slide-bg-2 {
    background-image: url('../images/photos/e-imza-1.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.slide-bg-3 {
    background-image: url('../images/photos/e-imza-2.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.slide-bg-4 {
    background-image: url('../images/photos/e-imza-3.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.slide-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #d4af37;
    letter-spacing: -0.5px;
}

.slide-btn {
    background-color: #d4af37;
    color: white;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
}

.info-section-dark {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    margin-top: -1px;
    padding-top: 30px;
    margin-bottom: 0;
}

.feature-section-gradient {
    background: linear-gradient(135deg, #4a4a4a 0%, #5d5d5d 100%);
}

.logo-style {
    max-width: 100%;
    height: auto;
    background: transparent;
    filter: brightness(1.1) contrast(1.1);
}

.pos-top-right {
    top: 10%;
    right: 15%;
}

.pos-bottom-left {
    bottom: 20%;
    left: 10%;
}

.pos-top-left {
    top: 30%;
    left: 20%;
}

/* Basvuru Yardim Page Styles */
.header-mb-0 {
    margin-bottom: 0;
}

.main-mt-minus {
    margin-top: -1px;
}

.icon-50 {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-60 {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-80 {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-40 {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Scroll Buttons */
.scroll-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.scroll-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.scroll-btn:hover {
    transform: scale(1.1);
    opacity: 1;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.scroll-btn:active {
    transform: scale(0.95);
}

.scroll-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.scroll-btn.disabled:hover {
    transform: none;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .scroll-buttons {
        right: 15px;
        gap: 8px;
    }
    
    .scroll-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

/* Video Badge Styles - Artık gerekli değil, Bootstrap native classları kullanılıyor *//* Global Styles */
body {
  font-family: 'Raleway', sans-serif;
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
  padding-top: 76px; /* Adjusted for fixed navbar */
  background-color: #f7f7f7;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #004ab8;
}

.bg-primary {
  background-color: var(--primary) !important;
}

/* Swiper Slider Styles */
.swiper {
  width: 100%;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0 !important;
  margin-top: 0;
  background-color: #000000;
  height: calc(100vh - 76px); /* Account for navbar height */
  min-height: 600px;
  max-height: 800px;
  overflow: hidden;
  position: relative;
  padding-bottom: 0 !important;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  width: 100% !important;
  height: 100% !important;
}

.slide-content {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2), transparent);
  width: 50%;
  height: 100%;
  padding: 80px 60px;
  color: white;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 3;
  box-shadow: none;
  position: absolute;
  left: 0;
}



.swiper-button-next, .swiper-button-prev {
  color: #d4af37 !important;
  background: rgba(0, 0, 0, 0.2);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  margin: 0 30px;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

.swiper-button-next:after, .swiper-button-prev:after {
  font-size: 0 !important;
  content: '' !important;
}

.swiper-button-next:before, .swiper-button-prev:before {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 24px;
}

.swiper-button-next:before {
  content: '\f054'; /* fa-chevron-right */
}

.swiper-button-prev:before {
  content: '\f053'; /* fa-chevron-left */
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #d4af37 !important;
  opacity: 1;
  transform: scale(1.2);
}

.swiper-pagination {
  bottom: 20px !important;
}

.slide-content h3 {
  font-size: 2.6rem;
  margin-bottom: 1.5rem;
  color: #d4af37;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 2;
}

.slide-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.slide-content .mt-4,
.slide-content .mt-3,
.slide-content .btn {
  position: relative;
  z-index: 2;
}

.text-primary {
  color: var(--primary) !important;
}

.btn-primary {
  background-color: #d4af37 !important;
  border-color: #d4af37 !important;
  color: white !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: #c19b26 !important;
  border-color: #c19b26 !important;
  color: white !important;
}

.btn-outline-primary {
  color: #d4af37 !important;
  border-color: #d4af37 !important;
}

.btn-outline-primary:hover {
  background-color: #d4af37 !important;
  border-color: #d4af37 !important;
  color: white !important;
}

/* Animation */
.hover-card {
  transition: var(--transition);
}

.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

/* Navbar hover animations */
.navbar .nav-item {
  position: relative;
  overflow: hidden;
}

.navbar .nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: rgba(212, 175, 55, 0.15);
  transition: height 0.3s;
  z-index: -1;
  border-radius: 4px;
}

.navbar-toggler {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.navbar .nav-link:hover::before,
.navbar .nav-link.active::before {
  height: 100%;
}

/* Navbar Styles */
.navbar {
  transition: var(--transition);
  box-shadow: 0 2px 15px rgba(0,0,0,0.15);
  padding: 8px 0;
  background-color: #333333;
  border-bottom: none;
}

.navbar .container-fluid {
  padding-left: 15px;
  padding-right: 15px;
  max-width: 1400px;
  margin: 0 auto;
}

.navbar-brand {
  font-weight: 700;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  position: relative;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(240,246,255,0.98));
  box-shadow: 0 5px 15px rgba(0,0,0,0.25);
  overflow: hidden;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.4s ease;
  margin-right: 20px;
}

.navbar-brand::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(0,102,204,0.2) 0%, rgba(0,102,204,0) 70%);
  border-radius: 50%;
  z-index: -1;
  animation: pulse 3s infinite ease-in-out;
}

.navbar-brand::after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 50px;
  height: 50px;
  background: radial-gradient(circle, rgba(212,175,55,0.2) 0%, rgba(212,175,55,0) 70%);
  border-radius: 50%;
  z-index: -1;
  animation: pulse 3s infinite ease-in-out 1.5s;
}

.navbar-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,86,210,0.2);
}

.navbar-brand:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0px 3px 5px rgba(0,0,0,0.25));
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.5); opacity: 0.2; }
  100% { transform: scale(1); opacity: 0.5; }
}

.navbar-brand img {
  height: 55px;
  width: auto;
  transition: var(--transition);
  filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.2));
}

.nav-link {
  color: #ffffff;
  font-weight: 700;
  padding: 0.6rem 1rem;
  position: relative;
  transition: var(--transition);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.8px;
  margin: 0 1px;
}

.nav-link.active {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255,255,255,0.4);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -2px;
  left: 0;
  right: 0;
  margin: 0 auto;
  background-color: #d4af37;
  transition: var(--transition);
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(212,175,55,0.5);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 70%;
}

.nav-link:hover,
.nav-link.active {
  color: #d4af37;
  font-weight: 800;
  transform: translateY(-1px);
}

/* Topic Navigation Buttons */
.topic-navigation-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  width: 100%;
  margin: 20px 0;
}

.topic-btn {
  display: block;
  text-align: center;
  padding: 12px 25px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  color: white;
  background-color: #484234;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  font-size: 1.05rem;
}

.topic-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  color: white;
  background-color: #5a5245;
}

.topic-btn.featured {
  background-color: #d4af37;
  font-weight: 700;
  color: white;
  position: relative;
  overflow: hidden;
}

.topic-btn.featured:hover {
  background-color: #e5c14b;
}

.topic-btn.featured::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.topic-btn.featured:hover::after {
  opacity: 1;
}

@media (max-width: 767.98px) {
  .topic-navigation-buttons {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
  }
  
  .topic-btn {
    padding: 10px 15px;
    font-size: 0.95rem;
  }
}

/* Hero Section */
.hero-section {
  background-color: #000;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  margin-top: -1px; /* Remove any gap between navbar and hero section */
  margin-bottom: 0; /* Align with footer */
  display: flex;
  flex-direction: column;
  border-bottom: none !important;
  position: relative;
  padding-bottom: 0 !important;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: var(--primary-light);
  z-index: 0;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: var(--primary-light);
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

/* Hero Swiper Enhancements */
.hero-section .swiper {
  box-shadow: none;
  border-radius: 0;
  overflow: hidden;
  width: 100%;
  margin-bottom: 0 !important;
}

.hero-section .swiper-slide {
  height: calc(100vh - 76px);
  max-height: 800px;
  min-height: 600px;
}

/* Special rule to remove any spacing below swiper */
.hero-section .row,
.hero-section .container-fluid,
.hero-section .col-12,
main,
.topic-container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.hero-section .slide-content {
  padding-bottom: 30px;
}

/* Feature Cards */
.feature-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video Section */
.video-guide {
  background-color: #fff;
  position: relative;
}

/* Chat Assistant */
.chat-messages {
  display: flex;
  flex-direction: column;
}

.message {
  max-width: 80%;
  margin-bottom: 10px;
}

.message.user {
  align-self: flex-end;
}

.message.bot {
  align-self: flex-start;
}

.message-content {
  border-radius: 18px;
  padding: 10px 15px;
  box-shadow: var(--shadow-sm);
}

.message.user .message-content {
  background-color: #e9ecef;
  border-top-right-radius: 0;
}

.message.bot .message-content {
  background-color: var(--primary);
  color: white;
  border-top-left-radius: 0;
}

.message-time {
  margin-top: 4px;
  font-size: 12px;
}

.typing-indicator {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background-color: var(--primary);
  border-radius: 18px;
  border-top-left-radius: 0;
  width: fit-content;
}

.typing-indicator span {
  height: 8px;
  width: 8px;
  float: left;
  margin: 0 1px;
  background-color: #ffffff;
  display: block;
  border-radius: 50%;
  opacity: 0.4;
}

.typing-indicator span:nth-child(1) {
  animation: typing 1s infinite;
}

.typing-indicator span:nth-child(2) {
  animation: typing 1s infinite 0.25s;
}

.typing-indicator span:nth-child(3) {
  animation: typing 1s infinite 0.5s;
}

@keyframes typing {
  0% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
}

/* Contact Section */
.icon-box {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Footer */
footer {
  position: relative;
}

/* Sticky header effect */
.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 5px 20px rgba(0,0,0,0.25);
  background-color: #2a2a2a;
}

.navbar-brand span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  background: linear-gradient(135deg, #0066cc 0%, #004b95 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  position: relative;
  padding: 0 2px;
  text-shadow: 0px 2px 4px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.navbar-brand .brand-name {
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 2px;
}

.navbar-brand .brand-name::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #0066cc, #d4af37, #0066cc);
  background-size: 200% 100%;
  border-radius: 2px;
  transition: all 0.5s ease;
  opacity: 0.7;
}

.navbar-brand:hover .brand-name::after {
  background-position: 100% 0;
  opacity: 1;
}

.navbar-brand .brand-tagline {
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 1;
  letter-spacing: 1px;
  margin-top: 3px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  -webkit-text-fill-color: #ffffff;
  transition: all 0.3s ease;
  background: linear-gradient(45deg, #d4af37, #f5c842);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-brand:hover .brand-tagline {
  opacity: 1;
  transform: translateX(3px) scale(1.05);
  background: linear-gradient(45deg, #f5c842, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar.scrolled .navbar-brand {
  padding: 6px 15px;
}

.navbar.scrolled .navbar-brand img {
  height: 45px;
}

/* Back to top button */
#back-to-top {
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin: 0 20px 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Accessibility */
.high-contrast {
  filter: contrast(1.5);
}

body.larger-text {
  font-size: 1.2rem;
}

body.largest-text {
  font-size: 1.4rem;
}

body.no-animations * {
  transition: none !important;
  animation: none !important;
}

/* Responsive */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #3a3a3a;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin-top: 15px;
  }
  
  .navbar-nav {
    align-items: center;
  }
  
  .nav-link {
    text-align: center;
    padding: 12px 25px;
    margin: 5px 0;
    border-radius: 6px;
    font-size: 0.9rem;
    letter-spacing: 1px;
  }
  
  .nav-link:hover,
  .nav-link.active {
    background-color: rgba(212, 175, 55, 0.2);
  }
  
  .nav-link.active {
    color: #ffffff;
  }
  
  .nav-link::after {
    display: none;
  }
  
  .navbar-brand {
    padding: 6px 15px;
    margin-right: 0;
  }
  
  .navbar-brand img {
    height: 45px;
  }
  
  .navbar-brand span {
    font-size: 1.1rem;
  }
  
  .navbar-brand .brand-tagline {
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 1;
    letter-spacing: 0.8px;
    background: linear-gradient(45deg, #d4af37, #f5c842);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .navbar .container-fluid {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 991.98px) {
  .swiper {
    height: 500px;
  }
  
  .hero-section .swiper-slide {
    height: 500px;
  }
  
  .slide-content {
    width: 60%;
    padding: 40px 30px;
  }
  
  .slide-content h3 {
    font-size: 2.2rem;
  }
  
  .slide-content p {
    font-size: 1.15rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    text-align: center;
    padding: 0;
    margin-bottom: 0 !important;
  }
  
  .hero-section .btn-wrapper {
    justify-content: center;
  }
  
  .swiper {
    height: 100vh;
    max-height: 600px;
  }
  
  .hero-section .swiper-slide {
    height: 100vh;
    max-height: 600px;
    background-position: center center !important;
    background-size: cover !important;
    justify-content: center;
  }
  
  .slide-content {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    top: auto;
    height: auto;
    padding: 40px 20px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
    text-align: center;
    align-items: center;
  }
  

  
  .slide-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .slide-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  
  .swiper-button-next, .swiper-button-prev {
    width: 45px;
    height: 45px;
  }
  
  .swiper-button-next:before, .swiper-button-prev:before {
    font-size: 18px;
  }
}

/* Navbar dropdown styles */
.navbar .dropdown-menu {
  border: none;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 15px 0;
  margin-top: 10px;
  min-width: 230px;
}

.navbar .dropdown-item {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 25px;
  color: var(--text-main);
  transition: var(--transition);
  font-family: 'Montserrat', sans-serif;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background-color: var(--accent-light);
  color: var(--accent);
}

/* Skip to main content for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 8px;
  z-index: 100;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* Focus styles for accessibility */
:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .navbar, .hero-section, .ai-assistant-section, .video-guide, #back-to-top, .accessibility-panel {
    display: none !important;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
  }
  
  body {
    font-size: 12pt;
    padding-top: 0;
  }