:root{
    --primary-color: #237FBD;
    --primary2-color: #238DBB;
    --secondary-color: #ff6b35;
    --accent-color: #4a90c2;
    --text-dark: #292D32;
    --text-light: #666666;
    --background-light: #DCEEEC;
    --white: #ffffff;
    --font-family: 'Mona Sans', sans-serif;
    --font-size: 18px;
    --line-height: 1.6;
    --border-radius: 8px;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,
body {
    font-family: var(--font-family);
    font-size: var(--font-size);
    line-height: var(--line-height);
    color: var(--text-dark);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.slide-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.slide-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease-out;
}

.scale-in.animate {
    opacity: 1;
    transform: scale(1);
}

.rotate-in {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
    transition: all 0.8s ease-out;
}

.rotate-in.animate {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
    transform: translateY(-100%);
    animation: slideDownHeader 0.8s ease-out forwards;
}

@keyframes slideDownHeader {
    to {
        transform: translateY(0);
    }
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transform: translateY(0);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu li {
    opacity: 0;
    transform: translateY(-20px);
    animation: slideDownMenu 0.6s ease-out forwards;
}

.nav-menu li:nth-child(1) { animation-delay: 0.1s; }
.nav-menu li:nth-child(2) { animation-delay: 0.2s; }
.nav-menu li:nth-child(3) { animation-delay: 0.3s; }
.nav-menu li:nth-child(4) { animation-delay: 0.4s; }
.nav-menu li:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideDownMenu {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    transition: left 0.3s ease;
}

.nav-menu a:hover::before {
    left: 0;
}

.nav-menu a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-menu a.active {
    color: var(--primary-color);
    position: relative;
    font-weight: 600;
}

.nav-menu a.active::before {
    left: 0;
}

/* Mobile navigation active state */
.mobile-nav-menu a.active {
    color: var(--primary-color);
    background: rgba(35, 127, 189, 0.1);
    border-radius: 8px;
}

 .header-contact {
    display: flex;
    align-items: center;
    background-color: #e6f3f8; 
    border-radius: 50px;
    padding: 5px 20px 5px 5px;
    width: fit-content;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
  }

  .header-contact:hover {
    transform: scale(1.03);
  }

  .phone-icon {
    position: relative;
    background-color: #57aad6;
    border: 5px solid #c9e5f1; 
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
    transition: background-color 0.3s;
    overflow: visible;
  }

  .phone-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(87, 170, 214, 0.5);
    top: -2px;
    left: -3px;
    animation: pulse 1.8s infinite ease-out;
  }

  .header-contact:hover .phone-icon i {
    animation: shake 0.4s ease-in-out infinite;
  }

  .phone-number {
    font-size: 16px;
    font-weight: 700;
    color: #2186b3;
    margin-left: 20px;
    letter-spacing: 1px;
  }

  /* Animation keyframes */
  @keyframes pulse {
    0% {
      transform: scale(1);
      opacity: 0.8;
    }
    70% {
      transform: scale(1.6);
      opacity: 0;
    }
    100% {
      transform: scale(1);
      opacity: 0;
    }
  }

  @keyframes shake {
    0%, 100% {
      transform: rotate(0deg);
    }
    25% {
      transform: rotate(10deg);
    }
    50% {
      transform: rotate(-10deg);
    }
    75% {
      transform: rotate(10deg);
    }
  }

/* Hero Section */
.hero {
    position: relative;
    height: 700px;
    min-height: 600px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 1.5s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(1.1);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    animation: fadeIn 1s ease-out 0.5s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-phone {
    background: var(--secondary-color);
    padding: 15px 30px;
    border-radius: var(--border-radius);
    display: inline-block;
}
.hero-pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    animation: slideUp 1s ease-out 1s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dot:hover::before {
    border-color: rgba(255, 255, 255, 0.7);
    transform: translate(-50%, -50%) scale(1.2);
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* About Section */
.about {
    padding: 40px 0;
    background: var(--background-light);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-images {
    display: grid;
    grid-template-columns: 2fr 1fr;
}
.about-images img{
    width: 570px;
}
.about-main-image {
    grid-row: span 2;
}

.about-main-image img,
.about-small-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.about-small-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-content h2 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}
.about-subtitle{
    font-size: 18px !important;
}
.about-content p {
    color: var(--text-dark);
    font-size: 14px;
}
.about-content span{
    font-size: 16px;
    color: #ED8329;
}
.about-features {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.feature-item{
    background: #fff;
    padding: 8px;
    border-radius: 8px;
}
.feature-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
    color: #ED8329;
}
/* Gallery Section */
.gallery {
    padding: 30px 0;
    background: var(--background-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Services Section */
.services {
    background: var(--background-light);
}
.services-content{
    display: flex;
    gap: 10px;
}
.section-title {
    font-size: 48px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.3;
}
.service-text{
    font-size: 16px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.section-info{
        width: 130%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.service-item {
    background: var(--white);
    padding: 16px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(35, 127, 189, 0.1), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
    opacity: 0;
}

.service-item:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
    opacity: 1;
}

.service-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(35, 127, 189, 0.15);
}

.service-icon {
    width: 72px;
    height: 72px;
    background: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.service-item:hover .service-icon {
    background: var(--primary-color);
    transform: scale(1.1) rotate(360deg);
}

.service-icon img{
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon img {
    filter: brightness(0) invert(1);
}
.service-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.service-item p {
    color: var(--text-dark);
    font-size: 14px;
}

/* Process Section */
.process {
    padding: 100px 0;
    background: var(--background-light);
}
.process-container{
    text-align: center;
    margin: 0 auto;
}



/* FAQ Section */
.faq {
    background: var(--background-light);
    text-align: center;
}

.faq-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.faq-item {
    margin-bottom: 20px;
    background: #ffffff;
    padding: 16px;
    border-radius: 16px;
    min-height: 180px;
    text-align: left;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(35, 127, 189, 0.05), transparent);
    transition: left 0.6s ease;
}

.faq-item:hover::before {
    left: 100%;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(35, 127, 189, 0.1);
}

.faq-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.faq-item:hover h3 {
    color: var(--primary-color);
}

.faq-item p {
    color: var(--text-light);
    font-size: 14px;
}

.faq-image img {
    width: 100%;
    border-radius: var(--border-radius);
    height: 380px;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: var(--background-light);
}
.cta-container{
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}
.cta-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cta-content{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    max-width: 600px;
    padding: 20px 40px;
}
.cta-content h2 {
    font-size: 30px;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    color: var(--white);
    padding: 16px 24px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: 1px solid var(--white);
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Partners Section */
.partners {
    padding: 80px 0;
    background: var(--background-light);
}
.partners-container{
    display: flex;
    gap: 10px;
}
.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: center;
}

.partner-logo {
    text-align: center;
    background: #ffffff;
    padding: 16px;
    border-radius: 16px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.partner-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    border-radius: 50%;
}

.partner-logo:hover::before {
    width: 200%;
    height: 200%;
}

.partner-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(35, 127, 189, 0.15);
}

.partner-logo img {
    max-width: 80%;
    height: auto;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.partner-logo:hover img {
    transform: scale(1.1);
}

/* Certificates Section */
.certificates {
    padding: 80px 0;
    background: var(--background-light);
}

.certificates-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.cert-item {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
}

.cert-item h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.cert-item img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.contact-content{
    padding: 30px;
    border-radius: 16px;
    background: linear-gradient(to bottom, #A2D2E2 0%, #ffffff 80%);
}
.contact-details{
    font-size: 14px;
    margin-top: 20px;
}
.contact-info h2 {
    font-size: 48px;
    color: var(--primary-color);
    font-weight: 700;
}

.contact-info p {
    color: var(--text-dark);
    font-size: 16px;
    margin-bottom: 30px;
    width: 500px;
}

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

.contact-item i {
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 3px;
}

.contact-item strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background: #061926;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img {
    margin-bottom: 20px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    width: 600px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 600;
}

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

.footer-column li {
    margin-bottom: 10px;
    font-size: 14px;
}

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

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 auto;
}

.footer-certification img {
    height: 40px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 5px 0;
    transition: 0.3s;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 999;
    transition: left 0.3s ease;
    padding-top: 80px;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-menu {
    list-style: none;
    padding: 20px;
}

.mobile-nav-menu li {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.mobile-nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 10px 0;
}

.mobile-nav-menu a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-wrapper {
        position: relative;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-contact {
        padding: 3px 15px 3px 3px;
    }
    
    .header-contact .phone-number {
        font-size: 14px;
        margin-left: 10px;
    }
    
    .phone-icon {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    .hero{
        margin-top: 85px;
        min-height: 175px;
        height: auto;
    }
     .hero-title {
        font-size: 2rem;
    }
    .hero-background img{
        height: auto;
    }
    .about-images img {
        width: 100%;
    }
    .services-content,
    .partners-container{
        flex-direction: column;
        align-items: center;
    }
    .section-info {
        width: 100%;
    }
    .process-steps img{
            width: 130%;
            margin-left: -60px;
    }
    .process,
    .cta,
    .partners,
    .certificates,
    .contact{
        padding: 40px 0;
    }
    .cta-container img{
        height: 335px;
    }
    .about-wrapper,
    .faq-content,
    .contact-wrapper,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-info p {
        width: 100%;
    }
    .contact-form{
        width: 100%;
    }
    .footer-info p{
        width: 100%;
    }
    .footer{
        text-align: center;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .certificates-content {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        grid-template-columns: 1fr;
    }
    
    .about-main-image {
        grid-row: span 1;
    }
    
    .about-small-images {
        flex-direction: row;
    }
}

@media (max-width: 480px) {
  
    .section-title,
    .cert-item h3,
    .contact-info h2,
    .about-content h2{
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* ============================================
   HO SO PAGE STYLES
   ============================================ */

/* Flipbook Container */
.flipbook-container {
    padding: 100px 0 50px 0;
    background: var(--background-light);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flipbook-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Flipbook Frame */
.flipbook-frame {
    width: 100%;
    height: 800px;
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(35, 127, 189, 0.15);
    background: var(--white);
    transition: all 0.4s ease;
    animation: fadeInUp 1s ease-out;
}

.flipbook-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(35, 127, 189, 0.2);
}

/* Loading Animation */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 16px;
    z-index: 10;
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--background-light);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary2-color));
    color: var(--white);
    padding: 120px 0 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/pattern.png') repeat;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: slideDown 1s ease-out;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    animation: slideUp 1s ease-out 0.3s both;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid var(--background-light);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

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

.breadcrumb-nav a:hover {
    color: var(--primary2-color);
}

.breadcrumb-nav span {
    color: var(--text-light);
}

.breadcrumb-nav i {
    color: var(--text-light);
    font-size: 12px;
}

/* Error State */
.error-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.error-icon {
    font-size: 4rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.error-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.error-message {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.retry-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.retry-button:hover {
    background: var(--primary2-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(35, 127, 189, 0.3);
}

/* Fullscreen Button */
.fullscreen-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(35, 127, 189, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.fullscreen-btn:hover {
    background: var(--primary2-color);
    transform: scale(1.1);
}

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

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

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

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

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

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(35, 127, 189, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(35, 127, 189, 0); }
    100% { box-shadow: 0 0 0 0 rgba(35, 127, 189, 0); }
}

/* Mobile Responsive for Ho So Page */
@media (max-width: 768px) {
    .flipbook-container {
        padding: 10px 0 30px 0;
    }
    
    .flipbook-wrapper {
        padding: 0 10px;
    }
    
    .flipbook-frame {
        height: 100vh;
    }
}

@media (max-width: 480px) {
    .flipbook-frame {
        height: 100vh;
        border-radius: 12px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .breadcrumb-nav {
        font-size: 12px;
    }
}