﻿
:root {
    /* Color Variables */
    --primary: #7952b3;
    --primary-dark: #5f3d8e;
    --primary-light: #9373c0;
    --secondary: #ffc107;
    --dark: #212529;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-light: #e9ecef;
}

/* Base Styles */
body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Custom Bootstrap Overrides */
.navbar {
    background-color: var(--primary);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.navbar-dark .navbar-nav .nav-link:hover, 
.navbar-dark .navbar-nav .nav-link.active {
    background-color: var(--primary-dark);
    color: var(--white);
}

/* Header Styles */
.top-bar {
    border-bottom: 1px solid var(--gray-light);
}

.logo-img {
    max-height: 80px;
}

.logo-text h1 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.logo-text p {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: var(--gray);
}

.logo-text .accreditation {
    font-size: 0.8rem;
    font-style: italic;
}

.contact-group h3 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: var(--gray);
}

.contact-group a {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.contact-group a i {
    color: var(--primary);
    margin-right: 0.25rem;
}

/* Buttons */
.cta-button {
    background-color: var(--secondary);
    color: var(--dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: none;
}

.cta-button:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Page Header */
.page-header {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 3rem 0;
    position: relative;
}

.page-header h1 {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Section Styles */
.section-title {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title h2 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}



/* Hero Section */
/*.hero {
    height: 70vh;
    min-height: 400px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.hero-2 {
    background-image: linear-gradient(rgba(121, 82, 179, 0.7), rgba(0, 128, 0, 0.7)), url('../images/hero-2.jpg');
}

.hero-3 {
    background-image: linear-gradient(rgba(121, 82, 179, 0.7), rgba(255, 165, 0, 0.7)), url('../images/hero-3.jpg');
}

.hero h2 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}*/

/* Carousel Customization */
.carousel-item {
    transition: transform 1.2s ease-in-out;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

/* Contact Page Styles */
.contact-section {
    padding: 4rem 0;
}

.contact-card {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.contact-card .card-header {
    background-color: var(--primary);
    color: var(--white);
    font-weight: 600;
    padding: 1.25rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 2rem;
    text-align: center;
}

.contact-form .form-control {
    border-radius: 0;
    border: 1px solid var(--gray-light);
    padding: 0.75rem;
    margin-bottom: 1.5rem;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.map-container {
    height: 400px;
    width: 100%;
    border-radius: 0.25rem;
    overflow: hidden;
}

/* About Page Styles */
.about-section {
    padding: 4rem 0;
}

.about-content {
    position: relative;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-image {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(121, 82, 179, 0.2), rgba(255, 193, 7, 0.2));
    pointer-events: none;
}

.service-card {
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.service-card .card-img-top {
    /*height: 200px;*/
    object-fit: cover;
}

.service-card .card-body {
    padding: 1.5rem;
}

.service-card .card-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.service-card .card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

.service-card .card-text {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* Certificate Page Styles */
.certificate-section {
    padding: 4rem 0;
}

.search-card {
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

.search-card .card-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 1.25rem;
}

.search-card .card-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0;
    font-weight: 600;
}

.search-card .card-body {
    padding: 2rem;
}

.search-form .form-control {
    border-radius: 0.25rem;
    border: 1px solid var(--gray-light);
    padding: 0.75rem;
    margin-bottom: 1.5rem;
}

.search-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.search-form label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.verification-code {
    background-color: var(--gray-light);
    padding: 1rem;
    border-radius: 0.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
}

.certificate-results {
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.certificate-results .card-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 1.25rem;
}

.certificate-results .card-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0;
    font-weight: 600;
}

.certificate-results .card-body {
    padding: 0;
}

.certificate-table {
    margin-bottom: 0;
}

.certificate-table th {
    background-color: var(--primary-light);
    color: var(--white);
    font-weight: 600;
    padding: 1rem;
    border: none;
    width: 300px;
}

.certificate-table td {
    padding: 1rem;
    border-color: var(--gray-light);
    vertical-align: middle;
}

.certificate-table tr:nth-child(even) {
    background-color: rgba(121, 82, 179, 0.05);
}

.certificate-status {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.status-active {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.status-pending {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.status-expired {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.status-cancelled {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
}

footer h3 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    position: relative;
}

footer h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

footer address {
    font-style: normal;
}

footer address p {
    margin-bottom: 0.5rem;
}

footer address i {
    color: var(--primary);
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
}

.footer-bottom a {
    color: var(--primary-light);
}

.footer-bottom a:hover {
    color: var(--white);
}

/* Scroll Up Button */
.scroll-up-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.scroll-up-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-up-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

.scroll-up-btn i {
    font-size: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .logo-container {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .logo-text {
        text-align: center;
    }
    
    .contact-info {
        justify-content: center;
    }
    
    .about-image {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 2rem 0;
    }
    
    .about-section,
    .contact-section,
    .certificate-section {
        padding: 2rem 0;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .map-container {
        height: 300px;
        margin-top: 2rem;
    }
    
    .search-card .card-body,
    .certificate-results .card-body {
        padding: 1.5rem;
    }
    
    .certificate-table {
        display: block;
        width: 100%;
        overflow-x: auto;
    }
}
/* Scroll Up Button */
.scroll-up-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: translateY(20px);
}

.scroll-up-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-up-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
}

.scroll-up-btn i {
  font-size: 1.5rem;
}

/* Base Styles */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
}

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

a:hover {
  color: var(--primary-dark);
}

/* Custom Bootstrap Overrides */
.navbar {
  background-color: var(--primary);
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  transition: all 0.2s ease;
}

.navbar-dark .navbar-nav .nav-link:hover, 
.navbar-dark .navbar-nav .nav-link.active {
  background-color: var(--primary-dark);
  color: var(--white);
}

/* Header Styles */
.top-bar {
  border-bottom: 1px solid var(--gray-light);
}

.logo-img {
  max-height: 80px;
}

.logo-text h1 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  color: var(--primary);
}

.logo-text p {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: var(--gray);
}

.logo-text .accreditation {
  font-size: 0.8rem;
  font-style: italic;
}

.contact-group h3 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: var(--gray);
}

.contact-group a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.contact-group a i {
  color: var(--primary);
  margin-right: 0.25rem;
}

/* Buttons */
.cta-button {
  background-color: var(--secondary);
  color: var(--dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: none;
}

.cta-button:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.text-button {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
  overflow: hidden;
}

.text-button::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.text-button:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Hero Section */
.hero {
  height: 70vh;
  min-height: 400px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/banner/banner1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
}

.hero-2 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/banner/banner3.jpg');
}

.hero-3 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/banner/banner3.jpg');
}

.hero h2 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Carousel Customization */
.carousel-item {
  transition: transform 1.2s ease-in-out;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-indicators {
  bottom: 30px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
}

/* Section Styles */
.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 2rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

/* Value Items */
.value-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.value-item i {
  font-size: 2.5rem;
  color: var(--primary);
}

.value-item h3 {
  font-size: 1rem;
}

/* Service Cards */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-logo {
  background-color: var(--primary-light);
}

.service-card h3 {
  font-size: 1.2rem;
}

.service-link {
  background-color: var(--primary);
  color: var(--white);
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.service-link:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  text-decoration: none;
}

/* CTA Banner */
.cta-banner {
  background-color: var(--secondary);
}

.cta-banner h2 {
  color: var(--dark);
  font-size: 1.5rem;
  margin-bottom: 0;
}

.cta-banner .cta-button {
  background-color: var(--primary);
  color: var(--white);
}

.cta-banner .cta-button:hover {
  background-color: var(--primary-dark);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--white);
}

footer h3 {
  color: var(--secondary);
  margin-bottom: 1.5rem;
  position: relative;
}

footer h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

footer address {
  font-style: normal;
}

footer address p {
  margin-bottom: 0.5rem;
}

footer address i {
  color: var(--primary);
  margin-right: 0.5rem;
  width: 20px;
  text-align: center;
}

.footeraddresspa {
  color: rgba(255, 255, 255, 0.85)
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
}

.footer-bottom a {
  color: var(--primary-light);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .logo-container {
    flex-direction: column;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .logo-text {
    text-align: center;
  }
  
  .contact-info {
    justify-content: center;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 50vh;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 1.8rem;
  }
}

/* Accessibility Improvements */
:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .hero {
    height: auto;
    background-image: none;
    color: var(--dark);
  }
  
  .navbar, .cta-banner, .social-icons {
    display: none;
  }
}

ul.list-unstyled > li > i {
  color: var(--primary);
  margin-right: 0.5rem;
  width: 20px;
  text-align: center;
  display: inline-block; /* Ensures the icon behaves as a block element within the line */
}

ul.list-unstyled > li {
  padding-left: 0.5rem; /* Adds space between the > symbol and the text */
}
