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

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

body {
    font-family: 'Segoe UI', 'Arial Unicode MS', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

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

/* Full width container for hero section */
.hero-revolution .container {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-bottom: 1px solid #e9ecef;
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 15px 0;
    background: #ffffff;
}

/* Main content - no margin for home page with hero */
.main-content {
    flex: 1;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Ensure home page hero takes full width */
.main-content.home-page {
    margin: 0;
    padding: 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow-x: hidden;
}

/* Only add margin for pages without hero section */
.main-content:not(.home-page) {
    margin-top: 80px;
}

@media (max-width: 768px) {
    /* Only add margin for pages without hero section on mobile */
    .main-content:not(.home-page) {
        margin-top: 70px;
    }
}

.top-bar {
    background: #f8f9fa;
    padding: 10px 0;
    font-size: 14px;
}

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

.contact-info span {
    color: #666;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-btn {
    text-decoration: none;
    color: #666;
    padding: 2px 8px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.lang-btn.active,
.lang-btn:hover {
    background: #c90920;
    color: white;
}

.main-header {
    padding: 20px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

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

.logo-img:hover {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.contact-details {
    display: flex;
    gap: 30px;
}

.contact-details > div {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.contact-details i {
    color: #c90920;
}

/* Navigation styles are now in header section */

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    position: relative;
}



.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
    background: #ffffff;
    flex: 1;
    justify-content: center;
}

.nav-social-links {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-social-links a {
    color: #666666;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.05);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid transparent;
    position: relative;
}

.nav-social-links a i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}

.nav-social-links a:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.nav-social-links a:hover .fa-linkedin {
    color: #0077b5;
}

.nav-social-links a:hover .fa-whatsapp {
    color: #25d366;
}

/* Language Switcher Styles */
.language-switcher {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 15px;
    flex-shrink: 0;
    z-index: 100;
}

.lang-dropdown-btn {
    background: transparent;
    border: 2px solid #3b82f6;
    color: #3b82f6;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 60px;
    justify-content: space-between;
}

.lang-dropdown-btn:hover {
    background: #3b82f6;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.lang-dropdown-btn.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
    border-color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.lang-dropdown-btn i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.lang-dropdown-btn.active i {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    border: 2px solid #3b82f6;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 5px;
}

.lang-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    font-size: 12px;
    font-weight: 500;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
}

.lang-option.selected {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
}

.lang-code {
    font-weight: 600;
    font-size: 11px;
    opacity: 0.8;
}

/* Ensure language switcher is visible on larger screens */
@media (min-width: 1024px) {
    .language-switcher {
        margin-left: 20px;
    }
    
    .lang-dropdown-menu {
        min-width: 160px;
    }
}

.lang-btn {
    background: transparent;
    border: 2px solid #3b82f6;
    color: #3b82f6;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    background: #3b82f6;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.lang-btn.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
    border-color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.lang-btn.active:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(29, 78, 216, 0.5);
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 12px 20px;
    color: #333333;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    text-transform: capitalize;
    border: 1px solid transparent;
    white-space: nowrap;
    min-width: fit-content;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    transition: transform 0.3s ease;
    border-radius: 1px;
}

.nav-menu a:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transform: translateY(-2px);
    color: #1d4ed8;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.nav-menu a:hover::before {
    transform: translateX(-50%) scaleX(1);
}

/* Active navigation state */
.nav-menu a.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    color: #ffffff;
    border: 1px solid #1d4ed8;
    transform: translateY(-1px) scale(1.05);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: #333333;
    font-size: 20px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    padding: 0;
    position: relative;
    z-index: 1001;
}

.navbar-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333333;
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.navbar-toggle span:nth-child(1) {
    transform-origin: center;
}

.navbar-toggle span:nth-child(2) {
    transform-origin: center;
}

.navbar-toggle span:nth-child(3) {
    transform-origin: center;
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(0, 10px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0, -10px);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(108,117,125,0.9) 0%, rgba(73,80,87,0.9) 100%); /* TODO: Add hero background image if needed */
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
}

/* ========================================
   REVOLUTIONARY HERO SECTION - COMPLETELY NEW DESIGN
======================================== */

.hero-revolution {
    min-height: 100vh;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-snap-align: start;
}

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

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.float-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    animation: simpleFloat 15s infinite ease-in-out;
}

.float-1 {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.float-2 {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.08);
    top: 60%;
    right: 20%;
    animation-delay: -5s;
}



@keyframes simpleFloat {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.05;
    }
    50% {
        transform: translateY(-30px);
        opacity: 0.1;
    }
}

.hero-revolution-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 30px 40px 24px;
    width: 100%;
    height: auto;
    min-height: calc(100vh - 80px);
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: center;
    box-sizing: border-box;
}

/* Left Content Styles */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-text-content {
    text-align: left;
}

.hero-title {
    font-size: 2.7rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
    margin-bottom: 40px;
}

.hero-description p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 20px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-description p:last-child {
    margin-bottom: 0;
}

/* Right Design Styles */
.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

.design-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.design-element {
    position: absolute;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: floatElement 6s ease-in-out infinite;
}

.element-1 {
    width: 120px;
    height: 120px;
    top: 50px;
    left: 50px;
    animation-delay: 0s;
}

.element-2 {
    width: 80px;
    height: 160px;
    top: 120px;
    right: 80px;
    animation-delay: -2s;
}

.element-3 {
    width: 100px;
    height: 100px;
    bottom: 80px;
    left: 120px;
    animation-delay: -4s;
}

.design-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.3), rgba(147, 51, 234, 0.2));
    animation: rotateElement 8s linear infinite;
}

.circle-1 {
    width: 60px;
    height: 60px;
    top: 30px;
    right: 30px;
}

.circle-2 {
    width: 40px;
    height: 40px;
    bottom: 60px;
    right: 120px;
    animation-delay: -3s;
}

.design-line {
    position: absolute;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), transparent);
    height: 2px;
    animation: expandLine 4s ease-in-out infinite;
}

.line-1 {
    width: 150px;
    top: 200px;
    left: 0;
}

.line-2 {
    width: 120px;
    bottom: 150px;
    right: 0;
    animation-delay: -2s;
}

@keyframes floatElement {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

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

@keyframes expandLine {
    0%, 100% {
        transform: scaleX(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scaleX(1.2);
        opacity: 0.8;
    }
}





.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.primary-action {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

.secondary-action {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.primary-action:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
    text-decoration: none;
}

.secondary-action:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* Responsive Design for Revolutionary Hero */
@media (max-width: 1024px) {
    .hero-revolution-content {
        padding: 130px 30px 30px 30px;
        gap: 50px;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .design-container {
        width: 350px;
        height: 350px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    #services .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 32px;
        max-width: 880px;
    }
    
    #services .service-card {
        padding: 34px 24px;
    }
    
    #services .service-card h3 {
        font-size: 21px;
    }
    
    .service-card {
        padding: 35px 25px;
    }
    
    .service-icon i {
        width: 75px;
        height: 75px;
        font-size: 40px;
    }
    
    /* Full-screen sections responsive adjustments */
    .services, .about, .publications, .contact {
        min-height: 100vh;
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .hero-revolution {
        height: 100vh;
        width: 100%;
    }
    
    .hero-revolution-content {
        padding: 120px 20px 20px 20px;
        height: 100vh;
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    /* Full-screen sections mobile adjustments */
    .services, .about, .publications, .contact {
        min-height: 100vh;
        padding: 60px 0;
    }
    
    .hero-text-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.0rem;
        margin-bottom: 22px;
    }
    
    .hero-description p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .hero-actions {
        justify-content: center;
        gap: 15px;
    }
    
    .action-btn {
        padding: 10px 15px;
        font-size: 13px;
        min-width: auto;
        flex: 1 1 45%;
        white-space: normal;
        word-break: break-word;
        height: auto;
    }
    
    .design-container {
        width: 300px;
        height: 300px;
    }
    
    .element-1 {
        width: 80px;
        height: 80px;
        top: 40px;
        left: 40px;
    }
    
    .element-2 {
        width: 60px;
        height: 120px;
        top: 90px;
        right: 60px;
    }
    
    .element-3 {
        width: 70px;
        height: 70px;
        bottom: 60px;
        left: 90px;
    }
    
    .circle-1 {
        width: 40px;
        height: 40px;
        top: 20px;
        right: 20px;
    }
    
    .circle-2 {
        width: 30px;
        height: 30px;
        bottom: 40px;
        right: 80px;
    }
    
    .line-1 {
        width: 100px;
        top: 150px;
        left: 0;
    }
    
    .line-2 {
        width: 80px;
        bottom: 100px;
        right: 0;
    }
    
    .revolution-indicators {
        margin-bottom: 40px;
    }
    
    .indicator-track {
        width: 150px;
    }
    
    .indicator-dots {
        gap: 15px;
    }
    
    .revolution-indicator {
        width: 14px;
        height: 14px;
    }
    
    .hero-actions {
        gap: 15px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .action-btn {
        padding: 16px 32px;
        font-size: 15px;
        min-width: 180px;
    }
}

@media (max-width: 576px) {
    .hero-revolution-content {
        padding: 110px 15px 15px 15px;
        height: 100vh;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 18px;
    }
    
    .hero-description p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    /* Full-screen sections small mobile adjustments */
    .services, .about, .publications, .contact {
        min-height: 100vh;
        padding: 40px 0;
    }
    
    /* Disable scroll snap on small screens for better mobile experience */
    html {
        scroll-snap-type: none;
    }
    
    .hero-actions {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .action-btn {
        padding: 12px 24px;
        font-size: 14px;
        min-width: 180px;
    }
    
    .design-container {
        width: 250px;
        height: 250px;
    }
    
    .element-1 {
        width: 60px;
        height: 60px;
        top: 30px;
        left: 30px;
    }
    
    .element-2 {
        width: 50px;
        height: 100px;
        top: 70px;
        right: 50px;
    }
    
    .element-3 {
        width: 55px;
        height: 55px;
        bottom: 50px;
        left: 70px;
    }
    
    .circle-1 {
        width: 30px;
        height: 30px;
        top: 15px;
        right: 15px;
    }
    
    .circle-2 {
        width: 25px;
        height: 25px;
        bottom: 30px;
        right: 60px;
    }
    
    .line-1 {
        width: 80px;
        top: 125px;
    }
    
    .line-2 {
        width: 60px;
        bottom: 80px;
    }
    
    .revolution-indicators {
        margin-bottom: 30px;
    }
    
    .indicator-track {
        width: 120px;
        height: 3px;
    }
    
    .indicator-dots {
        gap: 12px;
    }
    
    .revolution-indicator {
        width: 12px;
        height: 12px;
    }
    
    .action-btn {
        padding: 14px 28px;
        font-size: 14px;
        min-width: 160px;
    }
    
    .btn-content i {
        font-size: 16px;
    }
}



/* ======== END REVOLUTIONARY HERO SECTION ======== */

/* Animated Hero Styles */
.animated-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3b82f6 100%);
    background-size: cover;
    background-position: center;
    position: relative;
}

.animated-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.animated-text-container {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    width: 100%;
    padding: 0 40px;
}

.text-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    width: 100%;
    height: 100%;
}

.text-slide.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.text-slide h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    max-width: 1200px;
    margin: 0 auto;
    letter-spacing: -0.02em;
    padding: 0 40px;
}

.slide-indicators {
    display: flex;
    justify-content: center;
    gap: 15px;
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff, #e0e7ff);
    border-radius: 50%;
    transition: transform 0.4s ease;
}

.indicator.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.3);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.8);
}

.indicator.active::before {
    transform: translate(-50%, -50%) scale(1);
}

.indicator:hover {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}



/* Responsive adjustments for animated hero */
@media (max-width: 768px) {
    .animated-hero {
        min-height: 100vh;
        padding: 0;
    }
    
    .animated-text-container {
        height: 100vh;
        margin-bottom: 0;
        padding: 0 20px;
    }
    
    .text-slide h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        padding: 0 20px;
    }
    
    .slide-indicators {
        gap: 12px;
        bottom: 60px;
    }
    
    .indicator {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 576px) {
    .animated-hero {
        min-height: 100vh;
        padding: 0;
    }
    
    .animated-text-container {
        height: 100vh;
        margin-bottom: 0;
        padding: 0 15px;
    }
    
    .text-slide h1 {
        font-size: 1.8rem;
        line-height: 1.4;
        padding: 0 15px;
    }
    
    .slide-indicators {
        gap: 10px;
        bottom: 40px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* Responsive adjustments for hero */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description p {
        font-size: 1rem;
    }
        .hero-actions {
        gap: 10px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin: 20px 0;
        width: 100%;
    }
    
    .action-btn {
        padding: 10px 15px;
        font-size: 13px;
        min-width: auto;
        flex: 1 1 45%; /* Allow buttons to take up to 45% of container width */
        text-align: center;
        white-space: normal;
        word-break: break-word;
        height: auto;
        min-height: 44px; /* Minimum touch target size */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn-text {
        display: inline-block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description p {
        font-size: 0.95rem;
    }
}
@media (max-width: 400px) {
    .action-btn {
        font-size: 12px;
        padding: 8px 10px;
    }
}


/* Services Section - Full Screen */
.services {
    min-height: 100vh;
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
}

.section-title h2 {
    font-size: 42px;
    color: #2d3748;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 2px;
    transition: transform 0.6s ease;
}

.services.animate .section-title h2::after {
    transform: translateX(-50%) scaleX(1);
}

.section-title p {
    color: #718096;
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* Services section: balanced 2×2 grid (readable width, symmetric) */
#services .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 40px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    justify-items: stretch;
    align-items: stretch;
}

#services .service-card {
    padding: 38px 30px;
    min-height: 0;
}

#services .service-card h3 {
    font-size: 23px;
    line-height: 1.25;
    margin-bottom: 16px;
}

#services .service-card p {
    font-size: 15px;
    line-height: 1.65;
}

.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    padding: 45px 35px;
    border-radius: 25px;
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.06),
        0 0 0 1px rgba(255,255,255,0.8);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(59, 130, 246, 0.08);
    overflow: hidden;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.services.animate .service-card {
    opacity: 1;
    transform: translateY(0);
}

.services.animate .services-grid .service-card:nth-child(1) {
    transition-delay: 0.1s;
}

.services.animate .services-grid .service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.services.animate .services-grid .service-card:nth-child(3) {
    transition-delay: 0.3s;
}

.services.animate .services-grid .service-card:nth-child(4) {
    transition-delay: 0.4s;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8, #8b5cf6);
    opacity: 0.8;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.02), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 
        0 25px 60px rgba(0,0,0,0.12),
        0 0 0 1px rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.15);
}

.service-card:hover::after {
    transform: rotate(45deg) translateX(100%);
}

.service-icon {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.service-icon i {
    font-size: 48px;
    color: #3b82f6;
    padding: 25px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(29, 78, 216, 0.05));
    border-radius: 20px;
    border: 2px solid rgba(59, 130, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
}

.service-card:hover .service-icon i {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(29, 78, 216, 0.1));
    border-color: rgba(59, 130, 246, 0.2);
    transform: scale(1.1) rotate(5deg);
    color: #1d4ed8;
}

.service-card h3 {
    color: #2d3748;
    margin-bottom: 18px;
    font-size: 26px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.service-card p {
    color: #718096;
    line-height: 1.7;
    margin-bottom: auto;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    flex: 1;
}

.service-details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.service-details h4 {
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
}

.service-details ul {
    list-style: none;
    padding-left: 0;
}

.service-details ul li {
    color: #666;
    margin-bottom: 8px;
    padding: 5px 0;
    border-bottom: 1px solid #f5f5f5;
}

.service-details ul li:last-child {
    border-bottom: none;
}

.service-details ul li strong {
    color: #495057;
}

/* View More Button */
/* Partnerships cards: uniform excerpt height only (icons unchanged)  */
#partnerships .service-card > p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    min-height: calc(1.7em * 5);
    max-height: calc(1.7em * 5);
    flex: 0 0 auto;
    margin-bottom: auto;
}

.service-card .view-more-btn {
    display: block;
    width: fit-content;
    margin: 20px auto 0 auto;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.view-more-btn {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px;
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.3px;
}

.view-more-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.6s ease;
}

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

.view-more-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    color: white;
    text-decoration: none;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(59, 130, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.view-more-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Services Overview */
.services-overview {
    padding: 60px 0;
    background: white;
}

/* Service Process */
.service-process {
    padding: 80px 0;
    background: white;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #6c757d;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 15px;
}

.process-step p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)); /* TODO: Add hero background image if needed */
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: #007bff;
    color: white;
}

.cta-btn.primary:hover {
    background: #0056b3;
    color: white;
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background: white;
    color: #333;
}

/* About Section - Full Screen */
.about {
    min-height: 100vh;
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.about-unified-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 30px;
    box-shadow: 
        0 25px 70px rgba(0,0,0,0.08),
        0 0 0 1px rgba(255,255,255,0.9);
    border: 1px solid rgba(59, 130, 246, 0.08);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-unified-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8, #8b5cf6);
    opacity: 0.8;
}

.about.animate .about-unified-card {
    opacity: 1;
    transform: translateY(0);
}

.about.animate .about-logo-section {
    animation: logoSectionPulse 3s ease-in-out infinite;
}

@keyframes logoSectionPulse {
    0%, 100% { 
        box-shadow: 
            0 15px 40px rgba(59, 130, 246, 0.08),
            0 0 0 1px rgba(255, 255, 255, 0.9);
    }
    50% { 
        box-shadow: 
            0 20px 50px rgba(59, 130, 246, 0.12),
            0 0 0 1px rgba(255, 255, 255, 1),
            0 0 20px rgba(59, 130, 246, 0.15);
    }
}

.about-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px 50px 40px 50px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.08);
    margin-bottom: 40px;
}

.about-title-section {
    flex: 1;
    margin-right: 40px;
}

.about-title-section h2 {
    font-size: 42px;
    color: #2d3748;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.about-title-section h3 {
    font-size: 22px;
    color: #4a5568;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
    opacity: 0.9;
}

.about-logo-section {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(99, 102, 241, 0.05));
    padding: 35px 40px;
    border-radius: 25px;
    border: 2px solid rgba(59, 130, 246, 0.12);
    backdrop-filter: blur(15px);
    box-shadow: 
        0 15px 40px rgba(59, 130, 246, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-logo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8, #8b5cf6);
    opacity: 0.9;
}

.about-logo-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: logoGlow 4s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { transform: scale(0.8) rotate(0deg); opacity: 0.3; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.6; }
}

.about-logo-section:hover {
    transform: translateY(-5px) scale(1.02);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(99, 102, 241, 0.08));
    border-color: rgba(59, 130, 246, 0.18);
    box-shadow: 
        0 25px 60px rgba(59, 130, 246, 0.12),
        0 0 0 1px rgba(255, 255, 255, 1);
}

.about-logo-section .company-logo {
    width: 85px;
    height: auto;
    margin-right: 20px;
    filter: drop-shadow(0 4px 15px rgba(59, 130, 246, 0.2));
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    background: transparent;
    object-fit: contain;
}

.about-logo-section:hover .company-logo {
    transform: scale(1.08) rotate(5deg);
    filter: drop-shadow(0 8px 25px rgba(59, 130, 246, 0.3));
}

.about-logo-section .logo-text {
    position: relative;
    z-index: 2;
}

.about-logo-section .logo-text h4 {
    font-size: 22px;
    font-weight: 800;
    color: #2d3748;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.about-logo-section .logo-text span {
    font-size: 13px;
    color: #4a5568;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.9;
}

.about-body {
    padding: 0 50px 40px 50px;
}

.about-description p {
    color: #718096;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 16px;
    font-weight: 400;
}

.about-description p:last-child {
    margin-bottom: 35px;
}

.about-footer {
    padding: 0 50px 50px 50px;
    text-align: center;
    border-top: 2px solid rgba(59, 130, 246, 0.08);
    padding-top: 40px;
}

.about-learn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 35px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #8b5cf6 100%);
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 
        0 15px 35px rgba(59, 130, 246, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.about-learn-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.6s ease;
}

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

.about-learn-btn:hover {
    transform: translateY(-3px) scale(1.02);
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #7c3aed 100%);
    box-shadow: 
        0 25px 50px rgba(59, 130, 246, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 30px rgba(59, 130, 246, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.about-learn-btn .btn-text {
    margin-right: 12px;
    position: relative;
    z-index: 2;
}

.about-learn-btn .btn-icon {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.about-learn-btn:hover .btn-icon {
    transform: translateX(5px);
}

.about-learn-btn:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 
        0 10px 25px rgba(59, 130, 246, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.about.animate .about-learn-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

.about.animate .stat-item {
    opacity: 1;
    transform: translateY(0);
}

.about.animate .stat-item:nth-child(1) {
    transition-delay: 0.4s;
}

.about.animate .stat-item:nth-child(2) {
    transition-delay: 0.5s;
}

.about.animate .stat-item:nth-child(3) {
    transition-delay: 0.6s;
}

/* About Stats Section */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    padding-top: 35px;
    border-top: 2px solid rgba(59, 130, 246, 0.1);
}

.stat-item {
    text-align: center;
    padding: 20px 15px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(99, 102, 241, 0.03));
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(99, 102, 241, 0.05));
    border-color: rgba(59, 130, 246, 0.12);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 14px;
    color: #718096;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Publications Section - Full Screen */
.publications {
    min-height: 100vh;
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
}

.publications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 10%, rgba(124, 58, 237, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 90%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.section-title-enhanced {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title-enhanced h2 {
    font-size: 48px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.title-accent {
    width: 80px;
    height: 6px;
    background: linear-gradient(90deg, #1d4ed8, #1e40af, #1e3a8a);
    border-radius: 3px;
    margin: 0 auto 25px auto;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-subtitle {
    font-size: 18px;
    color: #64748b;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.publications.animate .section-title-enhanced {
    opacity: 1;
    transform: translateY(0);
}

.publications.animate .title-accent {
    opacity: 1;
    transform: scaleX(1);
    transition-delay: 0.3s;
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

.publication-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%);
    border-radius: 25px;
    box-shadow: 
        0 20px 60px rgba(30, 41, 59, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.1);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(50px);
}

.publication-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1d4ed8, #1e40af, #1e3a8a);
    opacity: 0.8;
}

.publication-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(29, 78, 216, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: cardGlow 6s ease-in-out infinite;
}

@keyframes cardGlow {
    0%, 100% { transform: scale(0.8) rotate(0deg); opacity: 0.3; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.6; }
}

.publication-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 35px 80px rgba(30, 41, 59, 0.12),
        0 0 0 1px rgba(255, 255, 255, 1),
        0 0 40px rgba(29, 78, 216, 0.15);
    border-color: rgba(29, 78, 216, 0.2);
}

.publications.animate .publication-card:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.publications.animate .publication-card:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.publications.animate .publication-card:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

.card-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 30px 20px 30px;
    position: relative;
    z-index: 2;
}

.publication-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.1) 0%, rgba(30, 64, 175, 0.08) 100%);
    border-radius: 20px;
    border: 2px solid rgba(29, 78, 216, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.publication-icon .icon-text {
    font-size: 32px;
    transition: all 0.4s ease;
}

.publication-card:hover .publication-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.15) 0%, rgba(30, 64, 175, 0.12) 100%);
    border-color: rgba(29, 78, 216, 0.25);
    box-shadow: 0 10px 25px rgba(29, 78, 216, 0.2);
}

.publication-card:hover .publication-icon .icon-text {
    transform: scale(1.1);
}

.card-content {
    padding: 0 30px 30px 30px;
    position: relative;
    z-index: 2;
}

.card-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.card-content p {
    color: #64748b;
    line-height: 1.7;
    font-size: 15px;
    font-weight: 400;
    margin: 0;
}

.publications-footer {
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.publications-view-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 35px;
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 
        0 15px 35px rgba(29, 78, 216, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.publications-view-more-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.6s ease;
}

.publications-view-more-btn:hover::before {
    left: 100%;
}

.publications-view-more-btn:hover {
    transform: translateY(-3px) scale(1.02);
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    box-shadow: 
        0 25px 50px rgba(29, 78, 216, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 30px rgba(29, 78, 216, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.publications.animate .publications-view-more-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.1s;
}

.publications-view-more-btn .btn-text {
    margin-right: 12px;
    position: relative;
    z-index: 2;
}

.publications-view-more-btn .btn-icon {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    font-size: 18px;
}

.publications-view-more-btn:hover .btn-icon {
    transform: translateX(5px);
}

.publications-view-more-btn:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 
        0 10px 25px rgba(29, 78, 216, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.publication-details {
    margin-top: 20px;
}

.publication-details ul {
    margin-top: 10px;
    padding-left: 20px;
}

.publication-details ul li {
    color: #666;
    margin-bottom: 5px;
}

/* Membership Section */
.membership {
    padding: 80px 0;
    text-align: center;
}

.membership h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.membership p {
    color: #666;
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.apply-btn {
    display: inline-block;
    background: #6c757d;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.apply-btn:hover {
    background: #495057;
}

/* Membership Overview */
.membership-overview {
    padding: 60px 0;
    background: #f8f9fa;
}

.membership-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.membership-content h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.membership-content p {
    color: #666;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Membership Benefits */
.membership-benefits {
    padding: 80px 0;
}

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

.benefit-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.benefit-item i {
    font-size: 48px;
    color: #6c757d;
    margin-bottom: 20px;
}

.benefit-item h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

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

/* Membership Types */
.membership-types {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.membership-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.membership-card.featured {
    border: 3px solid #6c757d;
    transform: scale(1.05);
}

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

.membership-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.membership-card h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.membership-card .price {
    font-size: 32px;
    color: #495057;
    font-weight: bold;
    margin-bottom: 20px;
}

.membership-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.membership-card ul li {
    color: #666;
    margin-bottom: 8px;
    padding: 5px 0;
}

.membership-card ul li:before {
    content: "✓";
    color: #495057;
    font-weight: bold;
    margin-right: 10px;
}

/* Application Form */
.application-form {
    padding: 80px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* FAQ Section */
.faq {
    padding: 60px 0 30px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(108, 117, 125, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(108, 117, 125, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.faq .section-title h2 {
    color: #333333;
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 600;
    position: relative;
}

.faq .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 1px;
    box-shadow: 0 1px 3px rgba(59,130,246,0.3);
}

.faq-content {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-content .faq-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(108, 117, 125, 0.2);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.faq-content .faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8, #3b82f6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-content .faq-item:hover::before {
    opacity: 1;
}

.faq-content .faq-item:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: #6c757d;
}

.faq-content .faq-question {
    padding: 25px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #333333;
    border-bottom: 1px solid rgba(108, 117, 125, 0.1);
    position: relative;
}

.faq-content .faq-question:hover {
    background: #e9ecef;
    color: #000000;
}

.faq-content .faq-question h3 {
    color: #333333;
    font-size: 18px;
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.faq-content .faq-question i {
    color: #3b82f6;
    transition: transform 0.3s ease;
    font-size: 14px;
    font-weight: bold;
}

.faq-content .faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #1d4ed8;
}

.faq-content .faq-item.active .faq-question {
    background: #e9ecef;
    color: #000000;
    border-bottom: none;
}

.faq-content .faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #ffffff;
}

.faq-content .faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 500px;
    background: #ffffff;
    border-top: 1px solid #e9ecef;
}

.faq-content .faq-answer p {
    color: #666666;
    line-height: 1.6;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
}

/* Contact Section - Full Screen */
.contact {
    min-height: 100vh;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact-content {
    position: relative;
    z-index: 1;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

/* Contact Info Section - Left Side */
.contact-info-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
    height: fit-content;
}

.contact-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8, #3b82f6);
}

.contact-info-section h3 {
    font-size: 28px;
    color: #333333;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-info-section > p {
    color: #666666;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-info-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.contact-info-item:hover::before {
    transform: scaleY(1);
}

.contact-info-item:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    transform: translateX(5px);
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.contact-icon i {
    font-size: 22px;
    color: white;
}

.contact-details {
    flex: 1;
}

.contact-details h4 {
    font-size: 16px;
    color: #333333;
    margin-bottom: 0;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.contact-details p {
    color: #666666;
    margin: 0;
    margin-top: -8px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

.contact-details p + p {
    margin-top: 0;
    line-height: 1.4;
}

.contact-details strong {
    color: #3b82f6;
    font-weight: 600;
    font-size: 14px;
}

/* Special styling for locations */
.contact-info-item:last-child .contact-details p {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.contact-info-item:last-child .contact-details p + p {
    margin-top: 0;
    line-height: 1.4;
}

.contact-info-item:last-child .contact-details p strong {
    display: inline-block;
    margin-right: 8px;
}

.contact-form-section {
    height: fit-content;
}

.form-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8, #3b82f6);
}

.form-container h3 {
    font-size: 28px;
    color: #333333;
    margin-bottom: 10px;
    font-weight: 600;
    text-align: center;
}

.form-container > p {
    color: #666666;
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}



/* Download Section */
.download-section {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.05) 0%, rgba(30, 64, 175, 0.03) 100%);
    border: 2px solid rgba(29, 78, 216, 0.1);
    border-radius: 20px;
    padding: 25px;
    margin-top: 30px;
    margin-bottom: 0;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1d4ed8, #1e40af, #1d4ed8);
    opacity: 0.8;
}

.download-section:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.08) 0%, rgba(30, 64, 175, 0.05) 100%);
    border-color: rgba(29, 78, 216, 0.15);
    box-shadow: 0 15px 40px rgba(29, 78, 216, 0.1);
}

.download-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.download-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.15) 0%, rgba(30, 64, 175, 0.1) 100%);
    border-radius: 15px;
    border: 2px solid rgba(29, 78, 216, 0.2);
    margin-right: 15px;
    transition: all 0.4s ease;
}

.download-icon .icon-text {
    font-size: 24px;
    transition: all 0.4s ease;
}

.download-section:hover .download-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.2) 0%, rgba(30, 64, 175, 0.15) 100%);
    border-color: rgba(29, 78, 216, 0.3);
}

.download-section:hover .download-icon .icon-text {
    transform: scale(1.1);
}

.download-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 5px 0;
    letter-spacing: -0.01em;
}

.download-content p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 
        0 8px 25px rgba(29, 78, 216, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    width: 100%;
}

.download-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 ease;
}

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

.download-btn:hover {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    box-shadow: 
        0 15px 35px rgba(29, 78, 216, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 20px rgba(29, 78, 216, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.download-btn .btn-text {
    margin-right: 10px;
    position: relative;
    z-index: 2;
}

.download-btn .btn-icon {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

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

.download-btn:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 
        0 8px 20px rgba(29, 78, 216, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contact-form-section h2 {
    color: #495057;
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

.contact-form-section p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 16px;
    text-align: center;
}

.faq-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.faq-section h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-item:hover {
    border-color: #c90920;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 16px 20px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    color: #333;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h3 {
    color: #333;
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

.faq-question i {
    color: #666;
    transition: transform 0.3s ease;
    font-size: 14px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #c90920;
}

.faq-item.active .faq-question {
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    padding: 16px 20px;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 14px;
}



.contact-info h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.contact-info p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.contact-item i {
    color: #c90920;
    font-size: 20px;
    margin-top: 5px;
}

.contact-text h4 {
    color: #333;
    margin-bottom: 5px;
}

.contact-text p {
    color: #666;
    margin: 0;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-form h3 {
    color: #333;
    margin-bottom: 30px;
    font-size: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333333;
    font-weight: 600;
    font-size: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 16px;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
    font-style: italic;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.submit-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.submit-btn i {
    font-size: 14px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

/* File Upload Styles */
.form-group input[type="file"] {
    padding: 12px;
    border: 2px dashed #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-group input[type="file"]:hover {
    border-color: #3b82f6;
    background: #f0f7ff;
}

.form-group input[type="file"]:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.file-info {
    margin-top: 10px;
}

.file-info small {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

.file-list {
    margin-top: 10px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    margin-bottom: 5px;
    font-size: 14px;
}

.file-item .file-name {
    color: #333;
    font-weight: 500;
}

.file-item .file-size {
    color: #666;
    font-size: 12px;
}

.file-item .remove-file {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.file-item .remove-file:hover {
    background: #c82333;
}

/* Office Location */
.office-location {
    padding: 80px 0;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.location-info h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.location-info p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
    padding-right: 20px;
}

    .location-details {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #666;
    margin-bottom: 10px;
}

.detail-item i {
    color: #6c757d;
    margin-top: 0;
    flex-shrink: 0;
}

.detail-item div {
    line-height: 1.3;
}

.detail-item div strong {
    display: inline-block;
    margin-bottom: 0;
}

.detail-item div span {
    display: block;
    margin-top: -4px;
}

.location-map {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.map-placeholder {
    color: #666;
}

.map-placeholder i {
    font-size: 48px;
    color: #6c757d;
    margin-bottom: 20px;
}

/* Contact FAQ */
.contact-faq {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Additional Resources */
.additional-resources {
    padding: 80px 0;
}

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

.resource-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.resource-item h3 {
    color: #495057;
    font-size: 20px;
    margin-bottom: 15px;
}

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

.resource-item ul {
    list-style: none;
    padding-left: 0;
}

.resource-item ul li {
    color: #666;
    margin-bottom: 8px;
    padding: 5px 0;
}

.resource-item ul li:before {
    content: "•";
    color: #495057;
    font-weight: bold;
    margin-right: 10px;
}

/* Mission & Vision */
.mission-vision {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.mission-card,
.vision-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.mission-card h3,
.vision-card h3 {
    color: #495057;
    font-size: 24px;
    margin-bottom: 20px;
}

.mission-card p,
.vision-card p {
    color: #666;
    line-height: 1.8;
}

/* Values */
.values {
    padding: 80px 0;
}

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

.value-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.value-item i {
    font-size: 48px;
    color: #6c757d;
    margin-bottom: 20px;
}

.value-item h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

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

/* Team */
.team {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.team-member {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.member-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    overflow: hidden;
}

.team-member h3 {
    color: #495057;
    font-size: 20px;
    margin-bottom: 15px;
}

.team-member p {
    color: #666;
    line-height: 1.6;
}

/* Certifications */
.certifications {
    padding: 80px 0;
}

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

.certification-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.certification-item h3 {
    color: #495057;
    font-size: 20px;
    margin-bottom: 15px;
}

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

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.feature-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.feature-item i {
    font-size: 48px;
    color: #6c757d;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

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

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 50px 0 20px;
    position: relative;
    bottom: 0;
    width: 100%;
    margin-top: auto;
}

/* Ensure footer stays at bottom */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
    color: #3b82f6;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

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

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

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3b82f6;
}

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

.social-links a {
    color: #ccc;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3b82f6;
}

.social-links a:hover .fa-linkedin {
    color: #0077b5;
}

.social-links a:hover .fa-whatsapp {
    color: #25d366;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #ccc;
}

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

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

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Animation classes */
.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slide-right {
    animation: slideInRight 0.6s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Hover effects */
.service-card:hover,
.publication-card:hover,
.benefit-item:hover,
.value-item:hover,
.team-member:hover,
.certification-item:hover,
.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(8, 56, 102, 0.15);
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 0;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .navbar .container {
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        position: relative;
    }
    
    .logo {
        flex: 1;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        z-index: 1000;
        display: none;
        flex-direction: column;
        border-top: 1px solid #e9ecef;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .navbar-toggle {
        display: flex;
    }
    

    
    .nav-menu li {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu a {
        padding: 20px 25px;
        color: #333333;
        font-size: 16px;
        font-weight: 500;
        display: block;
        transition: all 0.3s ease;
        text-decoration: none;
    }
    
    .nav-menu a:hover {
        background-color: #f8f9fa;
        color: #3b82f6;
    }
    
    .nav-social-links {
        display: none;
    }
    
    .language-switcher {
        margin-left: 10px;
    }
    
    .lang-dropdown-btn {
        padding: 6px 12px;
        font-size: 10px;
        min-width: 50px;
    }
    
    .lang-dropdown-menu {
        min-width: 120px;
    }
    

    
    .about {
        padding: 80px 0;
    }
    
    .about-unified-card {
        border-radius: 25px;
        max-width: 90%;
    }
    
    .about-header {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px 30px 30px;
    }
    
    .about-title-section {
        margin-right: 0;
        margin-bottom: 25px;
    }
    
    .about-title-section h2 {
        font-size: 36px;
        margin-bottom: 10px;
    }
    
    .about-title-section h3 {
        font-size: 20px;
    }
    
    .about-logo-section {
        padding: 30px 30px;
        border-radius: 20px;
        border-width: 1.5px;
    }
    
    .about-logo-section .company-logo {
        width: 70px;
        margin-right: 15px;
    }
    
    .about-logo-section .logo-text h4 {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .about-logo-section .logo-text span {
        font-size: 12px;
        letter-spacing: 0.6px;
    }
    
    .about-body {
        padding: 0 30px 30px 30px;
    }
    
    .about-description p {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin-top: 25px;
        padding-top: 20px;
    }
    
    .stat-item {
        padding: 15px 10px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .about-footer {
        padding: 0 30px 40px 30px;
        padding-top: 30px;
    }
    
    .about-learn-btn {
        padding: 16px 30px;
        font-size: 15px;
        border-radius: 20px;
    }
    
    .about-learn-btn .btn-text {
        margin-right: 10px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .download-section {
        padding: 20px;
        margin-top: 25px;
        margin-bottom: 0;
    }
    
    .download-info {
        margin-bottom: 15px;
    }
    
    .download-icon {
        width: 45px;
        height: 45px;
        border-radius: 12px;
        margin-right: 12px;
    }
    
    .download-icon .icon-text {
        font-size: 20px;
    }
    
    .download-content h4 {
        font-size: 16px;
        margin-bottom: 4px;
    }
    
    .download-content p {
        font-size: 13px;
    }
    
    .download-btn {
        padding: 10px 20px;
        font-size: 13px;
        border-radius: 12px;
    }
    
    .download-btn .btn-text {
        margin-right: 8px;
    }
    
    .hero h1 {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .page-header h1 {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .page-header p {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .section-title p {
        font-size: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .location-content {
        grid-template-columns: 1fr;
    }
    
    .location-details {
        grid-template-columns: 1fr;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services {
        padding: 80px 0;
    }
    
    .section-title {
        margin-bottom: 50px;
    }
    
    .section-title h2 {
        font-size: 34px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    #services .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        gap: 24px;
    }
    
    .service-card {
        padding: 35px 25px;
    }
    
    .service-icon i {
        width: 80px;
        height: 80px;
        font-size: 42px;
    }
    
    .service-card h3 {
        font-size: 24px;
    }
    
    #services .service-card h3 {
        font-size: 22px;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info-section {
        padding: 25px 20px;
        margin-bottom: 0;
    }
    
    .contact-info-section h3 {
        font-size: 24px;
        text-align: center;
    }
    
    .contact-info-section > p {
        text-align: center;
        margin-bottom: 25px;
    }
    
    .contact-info-list {
        gap: 12px;
    }
    
    .contact-info-item {
        padding: 15px;
        gap: 12px;
        align-items: flex-start;
    }
    
    .contact-info-item:hover {
        transform: translateX(2px);
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
    }
    
    .contact-icon i {
        font-size: 18px;
    }
    
    .contact-details h4 {
        font-size: 15px;
        margin-bottom: 0;
        line-height: 1.2;
    }
    
    .contact-details p {
        font-size: 13px;
        margin: 0;
        margin-top: -7px;
        line-height: 1.3;
    }
    
    .contact-details p + p {
        margin-top: 0;
        line-height: 1.3;
    }
    
    .contact-info-item:last-child .contact-details p {
        font-size: 12px;
        margin: 0;
        line-height: 1.3;
    }
    

    
    .form-container {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Extra small devices (phones, 576px and down) */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 0;
    }
    
    .navbar {
        padding: 8px 0;
    }
    
    .navbar .container {
        padding: 8px 15px;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .main-content {
        margin-top: 65px;
    }
    
    .nav-menu {
        top: 100%;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .nav-menu a {
        padding: 15px 20px;
        font-size: 15px;
    }
    
    .nav-social-links a {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .language-switcher {
        margin-left: 8px;
    }
    
    .lang-dropdown-btn {
        padding: 4px 8px;
        font-size: 9px;
        min-width: 40px;
    }
    
    .lang-dropdown-menu {
        min-width: 100px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .page-header {
        padding: 80px 0;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header p {
        font-size: 14px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .section-title p {
        font-size: 14px;
    }
    
    .services {
        padding: 60px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .section-title p {
        font-size: 16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    #services .services-grid {
        grid-template-columns: 1fr;
        max-width: none;
        gap: 18px;
    }
    
    #services .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .service-card {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    #services .service-card {
        padding: 28px 20px 26px;
        border-radius: 22px;
    }
    
    #services .service-icon {
        margin-bottom: 18px;
    }
    
    #services .service-icon i {
        width: 72px;
        height: 72px;
        font-size: 38px;
        padding: 18px;
    }
    
    #services .service-card h3 {
        font-size: 19px;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    #services .service-card > p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 5;
        line-clamp: 5;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 15px;
        line-height: 1.55;
        margin-bottom: 0;
        flex: 0 0 auto;
    }
    
    #services .service-card .view-more-btn {
        margin-top: 16px;
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
    }
    
    .service-icon i {
        width: 70px;
        height: 70px;
        font-size: 36px;
        padding: 20px;
    }
    
    .service-card h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .service-card p {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .view-more-btn {
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .about-unified-card {
        border-radius: 20px;
        max-width: 95%;
    }
    
    .about-header {
        padding: 30px 25px 25px 25px;
    }
    
    .about-title-section {
        margin-bottom: 20px;
    }
    
    .about-title-section h2 {
        font-size: 28px;
        margin-bottom: 8px;
    }
    
    .about-title-section h3 {
        font-size: 18px;
    }
    
    .about-logo-section {
        padding: 25px 25px;
        border-radius: 18px;
        border-width: 1px;
    }
    
    .about-logo-section .company-logo {
        width: 55px;
        margin-right: 12px;
    }
    
    .about-logo-section .logo-text h4 {
        font-size: 16px;
        margin-bottom: 4px;
    }
    
    .about-logo-section .logo-text span {
        font-size: 11px;
        letter-spacing: 0.4px;
    }
    
    .about-body {
        padding: 0 25px 25px 25px;
    }
    
    .about-description p {
        font-size: 14px;
        margin-bottom: 18px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 20px;
        padding-top: 18px;
    }
    
    .stat-item {
        padding: 18px 15px;
        border-radius: 15px;
    }
    
    .stat-number {
        font-size: 22px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .about-footer {
        padding: 0 25px 35px 25px;
        padding-top: 25px;
    }
    
    .about-learn-btn {
        padding: 14px 25px;
        font-size: 14px;
        border-radius: 18px;
        letter-spacing: 0.3px;
    }
    
    .about-learn-btn .btn-text {
        margin-right: 8px;
    }
    
    .publications {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
    .section-title-enhanced h2 {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .title-accent {
        width: 60px;
        height: 4px;
        margin-bottom: 20px;
    }
    
    .publications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .card-header {
        padding: 25px 25px 15px 25px;
    }
    
    .publication-icon {
        width: 60px;
        height: 60px;
        border-radius: 15px;
    }
    
    .publication-icon .icon-text {
        font-size: 28px;
    }
    
    .publications-footer {
        margin-top: 50px;
    }
    
    .publications-view-more-btn {
        padding: 16px 30px;
        font-size: 15px;
        border-radius: 20px;
    }
    
    .card-content {
        padding: 0 25px 25px 25px;
    }
    
    .card-content h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .card-content p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .publications {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .section-title-enhanced h2 {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 15px;
        padding: 0 20px;
    }
    
    .title-accent {
        width: 50px;
        height: 4px;
        margin-bottom: 18px;
    }
    
    .publications-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .card-header {
        padding: 20px 20px 12px 20px;
        justify-content: center;
    }
    
    .publication-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }
    
    .publication-icon .icon-text {
        font-size: 24px;
    }
    
    .card-content {
        padding: 0 20px 20px 20px;
    }
    
    .card-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
        line-height: 1.4;
    }
    
    .card-content p {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .publications-footer {
        margin-top: 40px;
    }
    
    .publications-view-more-btn {
        padding: 14px 25px;
        font-size: 14px;
        border-radius: 18px;
    }
    
    .publications-view-more-btn .btn-text {
        margin-right: 8px;
    }
    
    .publication-card {
        padding: 25px;
    }
    
    .contact-info-item {
        padding: 15px;
    }
    
    .download-section {
        padding: 18px;
        margin-top: 20px;
        margin-bottom: 0;
        border-radius: 15px;
    }
    
    .download-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .download-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .download-icon .icon-text {
        font-size: 18px;
    }
    
    .download-content h4 {
        font-size: 15px;
        margin-bottom: 3px;
    }
    
    .download-content p {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .download-btn {
        padding: 12px 18px;
        font-size: 12px;
        border-radius: 10px;
    }
    
    .download-btn .btn-text {
        margin-right: 6px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
    }
    
    .contact-icon i {
        font-size: 18px;
    }
    

    
    .form-container {
        padding: 30px 20px;
    }
}

/* Loading and Success Messages */
.loader {
    display: none;
    text-align: center;
    padding: 20px;
}

.success-message {
    display: none;
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

.error-message {
    display: none;
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

/* ========================================
   AUDIT MODAL STYLES
======================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background: linear-gradient(
        135deg, 
        rgba(59, 130, 246, 0.1) 0%, 
        rgba(0, 0, 0, 0.4) 50%, 
        rgba(59, 130, 246, 0.1) 100%
    );
    backdrop-filter: blur(8px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.9) 30%,
        rgba(241, 245, 249, 0.95) 100%
    );
    border-radius: 25px 0 0 25px;
    box-shadow: 
        -20px 0 80px rgba(0, 0, 0, 0.2),
        -5px 0 25px rgba(59, 130, 246, 0.1),
        inset 1px 1px 0 rgba(255, 255, 255, 0.3),
        inset -1px -1px 0 rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-right: none;
    backdrop-filter: blur(25px);
    position: relative;
    overflow: hidden;
    width: 85%;
    max-width: 850px;
    min-width: 420px;
    height: 100vh;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-container {
    transform: translateX(0);
}

.modal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 25px 0 0 0;
}

.modal-container::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: radial-gradient(
        circle, 
        rgba(59, 130, 246, 0.08) 0%, 
        transparent 70%
    );
    border-radius: 50%;
    animation: modalGlow 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes modalGlow {
    0%, 100% { 
        transform: scale(0.8) rotate(0deg); 
        opacity: 0.3; 
    }
    50% { 
        transform: scale(1.2) rotate(180deg); 
        opacity: 0.6; 
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 35px 45px 25px 45px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(248, 250, 252, 0.6) 50%,
        rgba(241, 245, 249, 0.8) 100%
    );
    backdrop-filter: blur(15px);
    box-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.5),
        0 8px 32px rgba(0, 0, 0, 0.05);
}

.modal-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.modal-close {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(29, 78, 216, 0.05) 100%);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

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

.modal-close:hover::before {
    left: 100%;
}

.modal-close:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(29, 78, 216, 0.1));
    border-color: rgba(59, 130, 246, 0.3);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.modal-close i {
    font-size: 20px;
    color: #3b82f6;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.modal-close:hover i {
    color: #1d4ed8;
    transform: scale(1.05);
}

.modal-body {
    padding: 35px 40px 40px 40px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    z-index: 2;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(248, 250, 252, 0.05) 100%
    );
    /* Performance optimization */
    will-change: scroll-position;
    transform: translateZ(0);
    -webkit-overflow-scrolling: touch;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(59, 130, 246, 0.1);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.modal-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.modal-text {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-text {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.3s;
}

.modal-text p {
    color: #374151;
    line-height: 1.9;
    margin-bottom: 28px;
    font-size: 17px;
    font-weight: 400;
    text-align: justify;
    padding: 25px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(248, 250, 252, 0.6) 100%
    );
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    position: relative;
}

.modal-text p::before {
    content: '"';
    font-size: 60px;
    color: rgba(59, 130, 246, 0.2);
    position: absolute;
    top: -5px;
    left: 15px;
    font-family: Georgia, serif;
    line-height: 1;
}

.modal-text p:last-child {
    margin-bottom: 0;
}

.modal-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-images {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.5s;
}

.modal-images.single-image {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 35px auto 0 auto;
    justify-items: center;
}

.modal-images.single-image .modal-image-card {
    width: 100%;
    max-width: 450px;
}

.modal-images.single-image .software-image {
    max-width: 400px;
    width: 100%;
}

/* Training Modal Specific Styles */
.training-list {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(248, 250, 252, 0.6) 100%
    );
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .training-list {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.4s;
}

.training-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.training-items li {
    position: relative;
    padding: 12px 15px;
    color: #2d3748;
    font-size: 15px;
    line-height: 1.6;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.training-items li:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

/* About Modal Specific Styles */
.about-services {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.06) 0%,
        rgba(255, 255, 255, 0.8) 100%
    );
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.12);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.services-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-items li {
    padding: 8px 0;
    color: #2d3748;
    font-size: 15px;
    line-height: 1.6;
    border-bottom: 1px solid rgba(59, 130, 246, 0.08);
    position: relative;
    padding-left: 20px;
}

.services-items li:last-child {
    border-bottom: none;
}

.services-items li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

.company-details {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(
        135deg,
        rgba(34, 197, 94, 0.06) 0%,
        rgba(255, 255, 255, 0.8) 100%
    );
    border-radius: 15px;
    border: 1px solid rgba(34, 197, 94, 0.12);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.details-list li {
    padding: 8px 0;
    color: #2d3748;
    font-size: 15px;
    line-height: 1.6;
    border-bottom: 1px solid rgba(34, 197, 94, 0.08);
    position: relative;
    padding-left: 20px;
}

.details-list li:last-child {
    border-bottom: none;
}

.details-list li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
}

.certificate-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.certificate-link:hover {
    color: #1d4ed8;
    border-bottom-color: #3b82f6;
    text-decoration: none;
}

.faq-section {
    margin-top: 30px;
}

.faq-item {
    margin-bottom: 20px;
    background: linear-gradient(
        135deg,
        rgba(168, 85, 247, 0.06) 0%,
        rgba(255, 255, 255, 0.8) 100%
    );
    border-radius: 15px;
    border: 1px solid rgba(168, 85, 247, 0.12);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    color: #2d3748;
    font-size: 16px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(168, 85, 247, 0.08);
}

.faq-question:hover {
    background: rgba(168, 85, 247, 0.05);
    color: #1a202c;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: #8b5cf6;
    font-size: 14px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease, opacity 0.3s ease;
    padding: 0 20px;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    padding: 20px;
    opacity: 1;
}

.faq-requirements {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.faq-requirements li {
    padding: 6px 0;
    color: #374151;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.faq-requirements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
}

.modal-image-card {
    background: linear-gradient(
        145deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(248, 250, 252, 0.7) 30%,
        rgba(241, 245, 249, 0.8) 100%
    );
    border-radius: 25px;
    padding: 35px;
    text-align: center;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 8px 25px rgba(59, 130, 246, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    transform: translateY(30px) scale(0.9);
}

.modal-overlay.active .modal-image-card:nth-child(1) {
    animation: modalCardSlideIn 0.6s ease-out 0.7s both;
}

.modal-overlay.active .modal-image-card:nth-child(2) {
    animation: modalCardSlideIn 0.6s ease-out 0.8s both;
}

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

/* Software Solutions Modal Specific Styles */
.software-benefits {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(248, 250, 252, 0.6) 100%
    );
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .software-benefits {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.4s;
}





.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    position: relative;
    padding: 10px 0;
    color: #2d3748;
    font-size: 15px;
    line-height: 1.7;
    border-bottom: 1px solid rgba(59, 130, 246, 0.08);
    transition: none;
}

.benefits-list li:last-child {
    border-bottom: none;
}





.software-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 25px;
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.12));
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.modal-image-card:hover .software-image {
    transform: scale(1.08) rotate(2deg);
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.2));
    border-color: rgba(255, 255, 255, 1);
}

.modal-image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 25px 25px 0 0;
    opacity: 0.8;
}

.modal-image-card::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -40%;
    width: 100px;
    height: 100px;
    background: radial-gradient(
        circle, 
        rgba(59, 130, 246, 0.1) 0%, 
        transparent 70%
    );
    border-radius: 50%;
    animation: cardImageGlow 4s ease-in-out infinite;
}

@keyframes cardImageGlow {
    0%, 100% { 
        transform: scale(0.8) rotate(0deg); 
        opacity: 0.3; 
    }
    50% { 
        transform: scale(1.2) rotate(180deg); 
        opacity: 0.6; 
    }
}

.modal-image-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 
        0 35px 80px rgba(0, 0, 0, 0.15),
        0 15px 35px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 0 40px rgba(59, 130, 246, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.certification-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 25px;
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.12));
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.modal-image-card:hover .certification-image {
    transform: scale(1.08) rotate(2deg);
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.2));
    border-color: rgba(255, 255, 255, 1);
}

/* Partner ESG modal only: equal square frames, centered (matches reference card layout) */
#partnerEsgModal .modal-images-partner-esg .modal-image-card {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

#partnerEsgModal .partner-esg-logo-frame {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#partnerEsgModal .modal-images-partner-esg .modal-image-card:first-child .partner-esg-logo-frame {
    width: 240px;
    height: 240px;
}

#partnerEsgModal .partner-esg-logo-frame img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
    margin-bottom: 0;
}

#partnerEsgModal .modal-image-card:hover .partner-esg-logo-frame img.certification-image {
    transform: scale(1.08) rotate(2deg);
}

/* Services section — Sustainability & ESG modal: two columns on laptop/tablet, centered logos */
#serviceEsgModal .modal-images-service-esg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#serviceEsgModal .modal-images-service-esg .modal-image-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
}

#serviceEsgModal .service-esg-logo-frame {
    width: 100%;
    max-width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

#serviceEsgModal .modal-images-service-esg .modal-image-card:nth-child(2) .service-esg-logo-frame {
    max-width: 248px;
    height: 248px;
}

#serviceEsgModal .service-esg-logo-frame .certification-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    margin: 0;
}

#serviceEsgModal .modal-image-card:hover .service-esg-logo-frame .certification-image {
    transform: scale(1.08) rotate(2deg);
}

.image-caption {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

/* Responsive Design for Modal */
@media (max-width: 768px) {
    .modal-container {
        width: 92%;
        min-width: 340px;
        border-radius: 20px 0 0 20px;
    }
    
    .modal-header {
        padding: 30px 30px 20px 30px;
    }
    
    .modal-header h2 {
        font-size: 28px;
    }
    
    .modal-close {
        width: 50px;
        height: 50px;
    }
    
    .modal-close i {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 35px 30px 35px 30px;
    }
    
    .modal-content {
        gap: 35px;
    }
    
    .modal-images {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    #serviceEsgModal .modal-content .modal-images-service-esg {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
    
    #serviceEsgModal .service-esg-logo-frame {
        max-width: 180px;
        height: 180px;
    }
    
    #serviceEsgModal .modal-images-service-esg .modal-image-card:nth-child(2) .service-esg-logo-frame {
        max-width: 200px;
        height: 200px;
    }
    
    .modal-image-card {
        padding: 30px;
        border-radius: 20px;
    }
    
    .certification-image {
        max-width: 160px;
        margin-bottom: 20px;
    }
    
    #partnerEsgModal .partner-esg-logo-frame {
        width: 180px;
        height: 180px;
    }
    
    #partnerEsgModal .modal-images-partner-esg .modal-image-card:first-child .partner-esg-logo-frame {
        width: 200px;
        height: 200px;
    }
    
    .image-caption {
        font-size: 14px;
        padding: 10px 16px;
    }
    
    .modal-text p {
        font-size: 16px;
        margin-bottom: 25px;
        text-align: left;
        padding: 20px;
    }
    
    .modal-text p::before {
        font-size: 50px;
        top: -2px;
        left: 12px;
    }
    
    /* Software Modal Responsive - Tablet */
    .software-benefits {
        padding: 20px;
        margin-top: 25px;
        border-radius: 18px;
    }
    
    .benefits-list li {
        font-size: 15px;
        padding: 9px 0;
        line-height: 1.6;
    }
    
    .software-image {
        max-width: 160px;
        margin-bottom: 20px;
        border-radius: 18px;
        border-width: 2px;
    }
    
    .modal-images.single-image {
        max-width: 400px;
    }
    
    .modal-images.single-image .modal-image-card {
        max-width: 350px;
    }
    
    .modal-images.single-image .software-image {
        max-width: 320px;
    }
    
    .training-list {
        padding: 20px;
        margin-top: 25px;
        border-radius: 18px;
    }
    
    .training-items {
        grid-template-columns: 1fr;
        gap: 11px;
    }
    
    .training-items li {
        font-size: 15px;
        padding: 11px 13px;
        border-radius: 9px;
    }
    
    .about-services, .company-details {
        padding: 18px;
        margin-top: 22px;
        border-radius: 14px;
    }
    
    .faq-item {
        margin-bottom: 18px;
        border-radius: 14px;
    }
    
    .faq-question {
        padding: 18px;
        font-size: 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 18px;
    }
    
    .services-items li, .faq-requirements li {
        font-size: 15px;
        padding-left: 19px;
    }
    
    .details-list li {
        font-size: 14px;
        padding-left: 9px;
    }
}

@media (max-width: 576px) {
    .modal-container {
        width: 98%;
        min-width: 300px;
        border-radius: 18px 0 0 18px;
    }
    
    .modal-header {
        padding: 25px 25px 15px 25px;
    }
    
    .modal-header h2 {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .modal-close {
        width: 45px;
        height: 45px;
    }
    
    .modal-close i {
        font-size: 18px;
    }
    
    .modal-body {
        padding: 30px 25px 30px 25px;
    }
    
    .modal-content {
        gap: 30px;
    }
    
    .modal-images {
        gap: 25px;
    }
    
    .modal-image-card {
        padding: 25px;
        border-radius: 18px;
    }
    
    .certification-image {
        max-width: 140px;
        margin-bottom: 18px;
        border-radius: 15px;
        border-width: 2px;
    }
    
    #partnerEsgModal .partner-esg-logo-frame {
        width: 160px;
        height: 160px;
    }
    
    #partnerEsgModal .modal-images-partner-esg .modal-image-card:first-child .partner-esg-logo-frame {
        width: 176px;
        height: 176px;
    }
    
    #serviceEsgModal .modal-content .modal-images-service-esg {
        grid-template-columns: 1fr;
    }
    
    #serviceEsgModal .service-esg-logo-frame,
    #serviceEsgModal .modal-images-service-esg .modal-image-card:nth-child(2) .service-esg-logo-frame {
        max-width: 200px;
        height: 200px;
    }
    
    .image-caption {
        font-size: 13px;
        line-height: 1.4;
        padding: 8px 14px;
        border-radius: 12px;
    }
    
    .modal-text p {
        font-size: 15px;
        margin-bottom: 22px;
        line-height: 1.7;
        padding: 18px;
        border-radius: 15px;
    }
    
    .modal-text p::before {
        font-size: 40px;
        top: 0px;
        left: 10px;
    }
    
    /* Software Modal Responsive */
    .software-benefits {
        padding: 18px;
        margin-top: 25px;
        border-radius: 15px;
    }
    
    .benefits-list li {
        font-size: 14px;
        padding: 8px 0;
        line-height: 1.6;
    }
    
    .software-image {
        max-width: 140px;
        margin-bottom: 18px;
        border-radius: 15px;
        border-width: 2px;
    }
    
    .modal-images.single-image {
        max-width: 320px;
    }
    
    .modal-images.single-image .modal-image-card {
        max-width: 280px;
    }
    
    .modal-images.single-image .software-image {
        max-width: 260px;
    }
    
    .training-list {
        padding: 18px;
        margin-top: 25px;
        border-radius: 15px;
    }
    
    .training-items {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .training-items li {
        font-size: 14px;
        padding: 10px 12px;
        border-radius: 8px;
    }
    
    .about-services, .company-details {
        padding: 15px;
        margin-top: 20px;
        border-radius: 12px;
    }
    
    .faq-item {
        margin-bottom: 15px;
        border-radius: 12px;
    }
    
    .faq-question {
        padding: 15px;
        font-size: 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px;
    }
    
    .services-items li, .faq-requirements li {
        font-size: 14px;
        padding-left: 18px;
    }
    
    .details-list li {
        font-size: 13px;
        padding-left: 8px;
    }
} 

/* Publications Overview Section */
.publications-overview {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.publications-overview .section-title {
    text-align: center;
    margin-bottom: 30px;
}

.publications-overview .section-title h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.publications-overview .section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Publications Content Section */
.publications {
    padding: 80px 0;
    background: #ffffff;
}

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

.publications-text h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.publications-text h3 {
    font-size: 1.3rem;
    color: #007bff;
    margin-bottom: 25px;
    font-weight: 600;
    line-height: 1.4;
}

.publications-text p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.publications-image {
    position: relative;
}

.publications-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.publications-image:hover img {
    transform: translateY(-5px);
}

/* Responsive Design for Publications */
@media (max-width: 768px) {
    .publications-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .publications-text h2 {
        font-size: 1.8rem;
    }
    
    .publications-text h3 {
        font-size: 1.1rem;
    }
    
    .publications-overview .section-title h2 {
        font-size: 2rem;
    }
}

/* Footer Link Styles */
.footer-bottom a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Company Profile Download Section in About Modal */
.company-profile-download {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.download-section-modal {
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.download-header h4 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.download-header p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.company-profile-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.company-profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.company-profile-btn i {
    font-size: 14px;
}

/* Publications Modal Styles */
.documents-grid-modal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.document-card-modal {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.document-card-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.document-card-modal h4 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.document-card-modal p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.download-btn-modal {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.download-btn-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* Publications View More Button Styles */
.view-more-container {
    margin-top: 30px;
}

/* Documents Section Styles */
.documents-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
}

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

.documents-section .section-title h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.documents-section .section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.document-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.document-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.document-card:hover::before {
    transform: scaleX(1);
}

.document-card h4 {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.document-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.download-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

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

/* Responsive Design for Documents */
@media (max-width: 768px) {
    .documents-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .document-card {
        padding: 20px;
    }
    
    .document-card h4 {
        font-size: 1.1rem;
    }
    
    .document-card p {
        font-size: 0.9rem;
    }
    
    .download-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .documents-section .section-title h2 {
        font-size: 1.8rem;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.btn:active {
    transform: translateY(0);
}

/* Download Sidebar Styles */
.download-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
    border-left: 1px solid #e9ecef;
}

.download-sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.sidebar-content {
    padding: 20px 25px;
}

.document-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.document-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.document-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.document-item:hover::before {
    transform: scaleX(1);
}

.document-item h4 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.document-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.read-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

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

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design for Sidebar */
@media (max-width: 768px) {
    .download-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .sidebar-header {
        padding: 15px 20px;
    }
    
    .sidebar-header h3 {
        font-size: 18px;
    }
    
    .sidebar-content {
        padding: 15px 20px;
    }
    
    .document-item {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .document-item h4 {
        font-size: 15px;
    }
    
    .document-item p {
        font-size: 13px;
    }
    
    .read-more-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .download-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .sidebar-header {
        padding: 12px 15px;
    }
    
    .sidebar-header h3 {
        font-size: 16px;
    }
    
    .sidebar-content {
        padding: 12px 15px;
    }
    
    .document-item {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .document-item h4 {
        font-size: 14px;
    }
    
    .document-item p {
        font-size: 12px;
    }
    
    .read-more-btn {
        padding: 5px 10px;
        font-size: 10px;
    }
}

/* ========================================
   CERTIFICATE SEARCH SIDEBAR STYLES
========================================= */
.certificate-search-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
    border-left: 1px solid #e9ecef;
}

.certificate-search-sidebar.active {
    right: 0;
}

/* Search Type Selection */
.search-type-selection {
    display: flex;
    padding: 20px 25px 0;
    margin-bottom: 20px;
}

.search-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    margin-right: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
}

.search-tab:last-child {
    margin-right: 0;
}

.search-tab.active {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-color: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.search-tab i {
    margin-right: 8px;
    font-size: 16px;
}

.search-tab:hover:not(.active) {
    background: #e9ecef;
    border-color: #dee2e6;
    transform: translateY(-1px);
}

/* Search Tab Content */
.search-tab-content {
    display: none;
    padding: 0 25px;
}

.search-tab-content.active {
    display: block;
}

/* Search Input Container */
.search-input-container {
    position: relative;
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 14px;
    background: white;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.search-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    transform: translateY(-1px);
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 16px;
}

.search-button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

/* Search Results */
.search-results {
    max-height: 400px;
    overflow-y: auto;
    border-radius: 12px;
}

.search-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.search-placeholder i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.search-placeholder p {
    margin: 0;
    font-size: 14px;
}

/* Company Search Results */
.company-result {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.company-result::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.company-result:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.company-result:hover::before {
    transform: scaleX(1);
}

.company-result h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.company-result .company-id {
    color: #6c757d;
    font-size: 12px;
    font-weight: 500;
}

/* Company Details View */
.company-details-view {
    padding: 0 25px;
}

.company-details-view.hidden {
    display: none;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
}

.back-button:hover {
    background: #e9ecef;
    transform: translateX(-3px);
}

/* Company Info */
.company-info {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.company-info h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

.info-table {
    width: 100%;
}

.info-table tr:not(:last-child) {
    border-bottom: 1px solid #f1f3f4;
}

.info-table td {
    padding: 10px 0;
    vertical-align: top;
}

.info-table td:first-child {
    font-weight: 600;
    color: #495057;
    width: 35%;
}

.info-table td:last-child {
    color: #6c757d;
}

/* Company Certificates */
.company-certificates h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.certificate-item {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.certificate-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.certificate-item h5 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.certificate-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.certificate-detail {
    font-size: 12px;
}

.certificate-detail .label {
    font-weight: 600;
    color: #495057;
}

.certificate-detail .value {
    color: #6c757d;
}

.certificate-actions {
    display: flex;
    gap: 10px;
}

.download-cert-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.download-cert-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
    text-decoration: none;
    color: white;
}

.download-cert-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Certificate ID Search Results */
.certificate-id-result {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.certificate-id-result h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #28a745;
}

/* Error Message */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    text-align: center;
    font-size: 14px;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 20px;
    color: #6c757d;
}

.loading i {
    font-size: 24px;
    animation: spin 1s linear infinite;
}

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

/* Responsive Design for Certificate Search Sidebar */
@media (max-width: 768px) {
    .certificate-search-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .search-type-selection {
        padding: 15px 20px 0;
    }
    
    .search-tab {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .search-tab i {
        margin-right: 6px;
        font-size: 14px;
    }
    
    .search-tab-content {
        padding: 0 20px;
    }
    
    .search-input {
        padding: 12px 15px 12px 40px;
        font-size: 13px;
    }
    
    .search-icon {
        left: 15px;
        font-size: 14px;
    }
    
    .company-details-view {
        padding: 0 20px;
    }
    
    .certificate-details {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}

@media (max-width: 576px) {
    .search-type-selection {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-tab {
        margin-right: 0;
    }
}

/* About Company View More Styles */
.about-company-content {
    position: relative;
    width: 100%;
}

.about-text {
    line-height: 1.6;
    color: #333;
    word-wrap: break-word;
    word-break: break-word;
    overflow: hidden;
    transition: max-height 0.3s ease;
    max-width: 100%;
    white-space: normal;
    hyphens: auto;
}

.view-more-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    position: relative;
    z-index: 10;
}

.view-more-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.view-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
}

.view-more-btn i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.view-more-btn:hover i {
    transform: translateY(1px);
}

.view-more-text,
.view-less-text {
    font-weight: 500;
}

/* Mobile responsive for about company */
@media (max-width: 768px) {
    .about-company-content {
        margin-bottom: 10px;
    }
    
    .about-text {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .view-more-btn {
        padding: 6px 12px;
        font-size: 11px;
        margin-top: 6px;
    }
    
    .view-more-btn i {
        font-size: 9px;
    }
}

@media (max-width: 576px) {
    .about-text {
        font-size: 14px;
        line-height: 1.5;
        word-break: break-all;
    }
    
    .view-more-btn {
        padding: 5px 10px;
        font-size: 10px;
        margin-top: 5px;
    }
    
    .view-more-btn i {
        font-size: 8px;
    }
} 

/* News Section Styles */
.news-section {
    padding: 20px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    margin-top: 0;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05) 0%, rgba(44, 62, 80, 0.05) 100%);
    pointer-events: none;
}

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

.blog-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.blog-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-section .news-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-section .section-title-enhanced h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-section .section-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-top: 15px;
}

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

/* Home page news grid - limit to 3 columns */
.news-section .news-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    max-width: 1200px;
    margin: 0 auto 50px auto;
}

@media (min-width: 1200px) {
    .news-section .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.news-card:hover::before {
    opacity: 0.05;
}

.news-thumbnail {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.news-thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-thumbnail-image {
    transform: scale(1.05);
}

.news-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3498db, #2c3e50);
}

.news-thumbnail-placeholder i {
    font-size: 3rem;
    color: #ffffff;
    opacity: 0.8;
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f39c12;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.news-date .date-day {
    display: block;
    font-size: 1.2rem;
    line-height: 1;
}

.news-date .date-month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.news-content {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.news-title {
    margin-bottom: 15px;
}

.news-title a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #3498db;
}

.news-excerpt {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
}

.news-date-text {
    color: #95a5a6;
    font-size: 0.9rem;
    font-weight: 500;
}

.read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: #2980b9;
    transform: translateX(5px);
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

.no-news {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.no-news i {
    font-size: 4rem;
    color: #bdc3c7;
    margin-bottom: 20px;
}

.no-news h3 {
    color: #7f8c8d;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.no-news p {
    color: #95a5a6;
    font-size: 1rem;
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    color: #7f8c8d;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
    border: 2px solid transparent;
}

.page-link:hover {
    background: #3498db;
    color: #ffffff;
    border-color: #3498db;
    transform: scale(1.1);
}

.page-link.active {
    background: #3498db;
    color: #ffffff;
    border-color: #3498db;
}

.pagination-info {
    color: #7f8c8d;
    font-size: 0.9rem;
    font-weight: 500;
}

/* News Detail Styles */
.news-detail-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
}

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

.news-detail-content {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.news-header {
    position: relative;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: #ffffff;
    padding: 40px;
}

.news-thumbnail-large {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
}

.news-thumbnail-placeholder-large {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3498db, #2c3e50);
}

.news-thumbnail-placeholder-large i {
    font-size: 5rem;
    color: #ffffff;
    opacity: 0.8;
}

.news-thumbnail-image-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-date-large {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f39c12;
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.3);
}

.news-date-large .date-day {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.news-date-large .date-month {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.news-meta-large {
    text-align: center;
}

.news-title-large {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-date-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.news-date-info i {
    color: #f39c12;
}

.news-body {
    padding: 40px;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #2c3e50;
}

.news-body h1, .news-body h2, .news-body h3, .news-body h4, .news-body h5, .news-body h6 {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
}

.news-body p {
    margin-bottom: 20px;
}

.news-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.news-body blockquote {
    border-left: 4px solid #3498db;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #7f8c8d;
}

.news-navigation {
    padding: 30px 40px;
    border-top: 1px solid #ecf0f1;
    background: #f8f9fa;
}

.back-to-news {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.back-to-news:hover {
    color: #2980b9;
    transform: translateX(-5px);
}

.back-to-news i {
    transition: transform 0.3s ease;
}

.back-to-news:hover i {
    transform: translateX(-3px);
}

/* News Sidebar Styles */
.news-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.news-sidebar.active {
    right: 0;
}

.sidebar-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.sidebar-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.sidebar-content {
    padding: 20px;
}

.sidebar-news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 40px 20px;
    color: #7f8c8d;
}

.sidebar-loading i {
    font-size: 2rem;
    color: #3498db;
}

.sidebar-news-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.sidebar-news-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.sidebar-news-thumbnail {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-news-thumbnail i {
    color: #ffffff;
    font-size: 1.5rem;
    opacity: 0.8;
}

.sidebar-news-content {
    flex: 1;
}

.sidebar-news-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    line-height: 1.3;
}

.sidebar-news-date {
    font-size: 0.85rem;
    color: #7f8c8d;
    font-weight: 500;
}

/* News Footer and View All Button */
.news-footer {
    text-align: center;
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.news-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #ffffff;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
}

.news-view-all-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2980b9, #3498db);
    transition: left 0.3s ease;
    z-index: 1;
}

.news-view-all-btn:hover::before {
    left: 0;
}

.news-view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.news-view-all-btn .btn-text {
    position: relative;
    z-index: 2;
}

.news-view-all-btn .btn-icon {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.news-view-all-btn:hover .btn-icon {
    transform: translateX(5px);
}

.news-view-all-btn:active {
    transform: translateY(-1px);
}

/* Load More Button */
.news-load-more-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.news-load-more-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 ease;
}

.news-load-more-btn:hover::before {
    left: 100%;
}

.news-load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.news-load-more-btn .btn-text {
    transition: transform 0.3s ease;
}

.news-load-more-btn .btn-icon {
    transition: transform 0.3s ease;
}

.news-load-more-btn:hover .btn-icon {
    transform: translateX(5px);
}

.news-load-more-btn:active {
    transform: translateY(-1px);
}

/* News Detail Sidebar */
.news-detail-sidebar {
    position: fixed;
    top: 0;
    right: -75vw;
    width: 75vw;
    height: 100vh;
    background: #ffffff;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
    border-left: 3px solid #3498db;
}

.news-detail-sidebar.active {
    right: 0;
}

.news-detail-sidebar .sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: #ffffff;
}

.news-detail-sidebar .sidebar-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.news-detail-sidebar .close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.news-detail-sidebar .close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.news-detail-sidebar .sidebar-content {
    padding: 20px;
}

.news-detail-content {
    color: #333;
    font-family: 'Calibri', 'Arial', sans-serif;
    padding: 0 20px 20px 20px;
}

.news-detail-thumbnail {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 300px;
    position: relative;
}

.detail-thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background-color: #f8f9fa;
}

.news-detail-date {
    margin-bottom: 15px;
}

.detail-date-text {
    color: #7f8c8d;
    font-size: 0.9rem;
    font-weight: 500;
}

.news-detail-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-detail-body {
    line-height: 1.8;
    color: #555;
}

.news-detail-body h1, .news-detail-body h2, .news-detail-body h3,
.news-detail-body h4, .news-detail-body h5, .news-detail-body h6 {
    color: #2c3e50;
    margin-top: 20px;
    margin-bottom: 10px;
}

.news-detail-body p {
    margin-bottom: 15px;
}

.news-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.news-attachments {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.news-attachments h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.attachments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.attachment-item {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.attachment-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.attachment-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.attachment-link:hover {
    color: #2c3e50;
}

.attachment-link i {
    font-size: 1.1rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .news-section {
        padding: 40px 0;
    }
    
    .news-section .news-main-title {
        font-size: 2rem;
    }
    
    .news-section .section-title-enhanced h1 {
        font-size: 2.5rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card {
        margin-bottom: 20px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-title a {
        font-size: 1.2rem;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .pagination {
        padding: 10px 15px;
    }
    
    .page-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .news-detail-section {
        padding: 60px 0;
    }
    
    .news-header {
        padding: 30px 20px;
    }
    
    .news-title-large {
        font-size: 2rem;
    }
    
    .news-thumbnail-large {
        height: 200px;
    }
    
    .news-body {
        padding: 30px 20px;
        font-size: 1rem;
    }
    
    .news-navigation {
        padding: 20px;
    }
    
    .news-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .sidebar-header {
        padding: 20px;
    }
    
    .sidebar-content {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .news-section .news-main-title {
        font-size: 1.8rem;
    }
    
    .news-section .section-title-enhanced h1 {
        font-size: 2rem;
    }
    
    .news-section .section-subtitle {
        font-size: 1rem;
    }
    
    .news-card {
        margin: 0 10px 20px 10px;
    }
    
    .news-thumbnail {
        height: 150px;
    }
    
    .news-content {
        padding: 15px;
    }
    
    .news-title a {
        font-size: 1.1rem;
    }
    
    .news-excerpt {
        font-size: 0.9rem;
    }
    
    .news-title-large {
        font-size: 1.8rem;
    }
    
    .news-thumbnail-large {
        height: 150px;
    }
    
    .news-date-large {
        padding: 10px 15px;
    }
    
    .news-date-large .date-day {
        font-size: 1.5rem;
    }
    
    .news-date-large .date-month {
        font-size: 0.8rem;
    }
    
    .news-body {
        padding: 20px 15px;
        font-size: 0.95rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .sidebar-news-item {
        padding: 12px;
    }
    
    .sidebar-news-thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .sidebar-news-content h4 {
        font-size: 0.9rem;
    }
    
    .sidebar-news-date {
        font-size: 0.8rem;
    }
}

/* News Detail Sidebar Styles */
.news-detail-sidebar {
    position: fixed;
    top: 0;
    right: -75vw;
    width: 75vw;
    height: 100vh;
    background: #ffffff;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
    border-left: 1px solid #e9ecef;
}

.news-detail-sidebar.active {
    right: 0;
}

.news-detail-sidebar .sidebar-header {
    position: sticky;
    top: 0;
    background: #ffffff;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.news-detail-sidebar .sidebar-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.news-detail-sidebar .close-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
}

.news-detail-sidebar .close-btn:hover {
    background: #f8f9fa;
    color: #333;
    transform: scale(1.1);
}

.news-detail-sidebar .sidebar-content {
    padding: 20px;
    padding-bottom: 40px;
}

.news-detail-content {
    max-width: 100%;
    font-family: 'Calibri', 'Arial', sans-serif;
    padding: 0 20px 20px 20px;
}

.news-detail-thumbnail {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.news-detail-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-size: 3rem;
    opacity: 0.8;
}

.detail-thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    background-color: #f8f9fa;
}

.news-detail-thumbnail:hover .detail-thumbnail-image {
    transform: scale(1.05);
}

/* Media Gallery Styles */
.news-media-gallery {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
}

.media-container {
    width: 100%;
    height: 300px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f9fa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

@media (max-width: 768px) {
    .media-container {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .media-container {
        height: 200px;
    }
}

.media-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.95);
}

.media-item.active {
    opacity: 1;
    transform: scale(1);
}

.media-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #666;
    z-index: 10;
}

.media-loading i {
    font-size: 2rem;
    color: #3498db;
}

.media-loading span {
    font-size: 0.9rem;
    color: #666;
}

.media-loading.hidden {
    display: none;
}

.loading-progress {
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 10px;
}

.loading-bar {
    height: 100%;
    background: #3498db;
    border-radius: 2px;
    animation: loadingAnimation 2s ease-in-out infinite;
}

@keyframes loadingAnimation {
    0% {
        width: 0%;
        margin-left: 0%;
    }
    50% {
        width: 100%;
        margin-left: 0%;
    }
    100% {
        width: 0%;
        margin-left: 100%;
    }
}

.media-fullscreen-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    z-index: 5;
}

.media-fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .media-fullscreen-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

.media-zoom-btn {
    position: absolute;
    top: 10px;
    right: 55px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    z-index: 5;
}

.media-zoom-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.media-zoom-btn.zoomed {
    background: rgba(52, 152, 219, 0.9);
}

.media-zoom-btn.zoomed:hover {
    background: rgba(41, 128, 185, 0.9);
}

@media (max-width: 768px) {
    .media-zoom-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
        right: 45px;
    }
}

.media-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.media-image.zoomed {
    transform: scale(1.5);
    cursor: zoom-out;
}

.media-image:hover:not(.zoomed) {
    transform: scale(1.02);
}

.media-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #e74c3c;
    text-align: center;
    gap: 10px;
}

.media-error i {
    font-size: 2rem;
    color: #e74c3c;
}

.media-error span {
    font-size: 0.9rem;
    color: #666;
}

.media-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #e74c3c;
    text-align: center;
    gap: 10px;
}

.media-error i {
    font-size: 2rem;
    color: #e74c3c;
}

/* Media loading states */
.media-image,
.media-video {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.media-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.media-title {
    display: none; /* Hide media titles */
}

.media-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 768px) {
    .media-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .media-counter {
        order: -1;
    }
    
    .media-indicators {
        order: 1;
    }
}

.media-nav-btn {
    background: rgba(52, 152, 219, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .media-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .media-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

.media-nav-btn:hover {
    background: rgba(41, 128, 185, 0.9);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.media-nav-btn:active {
    transform: scale(0.95);
}

.media-nav-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.media-counter {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    border: 1px solid #e9ecef;
    min-width: 60px;
    justify-content: center;
}

.media-indicators {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 5px 10px;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 20px;
    border: 1px solid #e9ecef;
}

.media-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #bdc3c7;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
}

@media (max-width: 768px) {
    .media-indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .media-indicator {
        width: 8px;
        height: 8px;
    }
}

.media-indicator.active {
    background: #3498db;
    transform: scale(1.2);
}

.media-indicator:hover {
    background: #3498db;
    transform: scale(1.1);
    cursor: pointer;
}

.media-indicator:active {
    transform: scale(0.9);
}

.news-detail-meta {
    margin-bottom: 20px;
}

.news-detail-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.news-detail-date i {
    color: #3498db;
    font-size: 1rem;
}

.detail-date-text {
    font-weight: 500;
}

.news-detail-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
    word-wrap: break-word;
}

.news-detail-body {
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
}

.news-detail-body h1, .news-detail-body h2, .news-detail-body h3,
.news-detail-body h4, .news-detail-body h5, .news-detail-body h6 {
    color: #333;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.news-detail-body p {
    margin-bottom: 15px;
    text-align: justify;
}

.news-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.news-attachments {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.news-attachments h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-attachments h4::before {
    content: "📎";
    font-size: 1.2rem;
}

.attachments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.attachment-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.attachment-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.attachment-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.attachment-link:hover {
    color: #3498db;
}

.attachment-link i {
    color: #3498db;
    font-size: 1.1rem;
}

.news-detail-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.view-full-article-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.view-full-article-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    color: #ffffff;
}

.view-full-article-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.view-full-article-btn:hover i {
    transform: translateX(3px);
}

/* Mobile Responsive for News Detail Sidebar */
@media (max-width: 768px) {
    .news-detail-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .news-detail-sidebar .sidebar-header {
        padding: 15px 20px;
    }
    
    .news-detail-sidebar .sidebar-header h3 {
        font-size: 1.1rem;
    }
    
    .news-detail-sidebar .sidebar-content {
        padding: 15px 20px;
    }
    
    .news-detail-title {
        font-size: 1.2rem;
    }
    
    .news-detail-body {
        font-size: 0.95rem;
    }
    
    .news-detail-thumbnail {
        height: 150px;
    }
    
    .news-detail-thumbnail-placeholder {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .news-detail-sidebar .sidebar-header {
        padding: 12px 15px;
    }
    
    .news-detail-sidebar .sidebar-content {
        padding: 12px 15px;
    }
    
    .news-detail-title {
        font-size: 1.1rem;
    }
    
    .news-detail-body {
        font-size: 0.9rem;
    }
    
    .news-detail-thumbnail {
        height: 120px;
    }
    
    .news-detail-thumbnail-placeholder {
        font-size: 1.5rem;
    }
    
    .view-full-article-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Simple Media Gallery Styles */
.simple-media-gallery {
    width: 100%;
    margin-bottom: 20px;
}

.media-slideshow {
    width: 100%;
    height: 300px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.media-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-slide.active {
    opacity: 1;
}

.media-slide img,
.media-slide video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.media-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.media-btn {
    background: #3498db;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.media-btn:hover {
    background: #2980b9;
    transform: scale(1.1);
}

.media-btn:active {
    transform: scale(0.95);
}

.slide-counter {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.slide-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #bdc3c7;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #3498db;
    transform: scale(1.2);
}

.dot:hover {
    background: #3498db;
    transform: scale(1.1);
}

.dot:active {
    transform: scale(0.9);
}

/* Responsive styles */
@media (max-width: 768px) {
    .media-slideshow {
        height: 250px;
    }
    
    .media-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .media-slideshow {
        height: 200px;
    }
    
    .media-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
}