/* Theme Variables from theme.json */
:root {
    /* Colors */
    --color-primary: #34B8C1;
    --color-primary-dark: #27949C;
    --color-primary-light: #6DD6DC;
    --color-accent: #FF6B35;
    --color-bg: #F7F9FA;
    --color-surface: #FFFFFF;
    --color-error: #E53E3E;
    --color-warning: #F2A900;
    --color-success: #2F9E44;
    --text-primary: #0F1720;
    --text-secondary: #5B6B73;
    --color-border: #E1E6E8;
    
    /* Typography */
    --font-family: Inter, Helvetica, Arial, sans-serif;
    
    /* Radii */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(13, 30, 35, 0.06);
    --shadow-md: 0 6px 18px rgba(13, 30, 35, 0.08);
    --shadow-lg: 0 10px 40px rgba(13, 30, 35, 0.12);
}

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

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    background: var(--color-bg);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Prevent horizontal overflow globally */
img, svg, video, embed, object {
    max-width: 100%;
    height: auto;
}

/* Special handling for iframes to maintain aspect ratio */
iframe {
    max-width: 100%;
    border: none;
}

/* Ensure all sections respect container width */
section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* Navigation */
.navbar {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 101;
}

.brand-name {
    font-size: 1.25rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 56px;
    width: auto;
    max-width: 240px;
    min-width: 120px;
    object-fit: contain;
    transition: all 0.3s ease;
}

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

.nav-links {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-buttons {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    
    transition: color 0.2s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link.active {
    color: var(--color-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-primary);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 102;
    position: relative;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--color-primary);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    transform-origin: center;
}

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

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

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

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(52, 184, 193, 0.98) 0%, rgba(109, 214, 220, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

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

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    padding: 2rem 1.5rem;
    text-align: center;
    box-sizing: border-box;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
    margin: 2rem 0 2rem 0;
    align-items: center;
}

.mobile-nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    display: block;
    text-align: center;
}

.mobile-nav-link::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;
}

.mobile-nav-link:hover::before,
.mobile-nav-link:focus::before {
    left: 100%;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    outline: none;
}

.mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-language-switcher {
    width: 100%;
    max-width: 400px;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.mobile-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
    margin-top: 1rem;
    align-items: center;
}

.mobile-nav-buttons .btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    border-radius: 12px;
    text-align: center;
    justify-content: center;
    min-height: 48px;
}

.mobile-nav-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.mobile-nav-buttons .btn-outline:hover,
.mobile-nav-buttons .btn-outline:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    outline: none;
}

.mobile-nav-buttons .btn-primary {
    background: white;
    color: var(--color-primary);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mobile-nav-buttons .btn-primary:hover,
.mobile-nav-buttons .btn-primary:focus {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    outline: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    
    cursor: pointer;
    font-family: var(--font-family);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(52, 184, 193, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 184, 193, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #FFFFFF;
}


/* Footer */
.footer {
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 48px;
    width: auto;
    max-width: 200px;
    min-width: 120px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

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

.footer-brand-name {
    font-size: 1.25rem;
    
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-title {
    font-size: 1.1rem;
    
    color: white;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Social Media Links in Footer - Modern Design */
.social-media-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 0.5rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.social-icon:hover {
    color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

/* Responsive Design - Social Media Links */
@media (max-width: 768px) {
    .social-media-links {
        gap: 14px;
    }
    
    .social-icon svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .social-media-links {
        gap: 12px;
    }
    
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Responsive Design */
/* Responsive Design */
/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .nav-content {
        flex-wrap: nowrap;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1.5rem;
        min-width: auto;
        flex: 1;
        justify-content: center;
    }
    
    .nav-buttons {
        gap: 0.75rem;
        flex-shrink: 0;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .brand-name {
        font-size: 1.1rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large Tablet Styles */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    
    .nav-content {
        justify-content: space-between;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-buttons {
        display: none;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    .container {
        padding: 0 1rem;
        max-width: 100%;
        width: 100%;
    }
    
    .navbar {
        padding: 0.75rem 0;
        width: 100%;
        max-width: 100%;
    }
    
    .nav-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 100%;
        gap: 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-buttons {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }
    
    .brand {
        order: 1;
        flex-shrink: 0;
    }
    
    .nav-logo {
        max-width: 180px;
        min-width: 100px;
        height: 48px;
    }
    
    .mobile-menu {
        padding: 3rem 1.5rem 2rem;
    }
    
    .mobile-nav-links {
        gap: 0.75rem;
        margin: 1.5rem 0;
    }
    
    .mobile-nav-link {
        font-size: 1.15rem;
        padding: 0.75rem 1.25rem;
    }
    
    .mobile-nav-buttons {
        gap: 0.875rem;
    }
    
    .mobile-nav-buttons .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
        min-height: 44px;
        white-space: nowrap;
    }
    
    .brand-name {
        font-size: 1.1rem;
    }
    
    .brand {
        gap: 0.5rem;
        flex-shrink: 0;
    }
    
    .brand svg {
        width: 28px;
        height: 28px;
    }

    .footer {
        width: 100%;
        max-width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo {
        max-width: 160px;
        min-width: 100px;
    }
}

/* 600px Breakpoint - Phone Landscape / Small Tablet */
@media (max-width: 600px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    * {
        max-width: 100%;
    }
    
    img, svg, iframe, video {
        max-width: 100%;
        height: auto;
    }
    
    .container {
        padding: 0 1rem;
        max-width: 100%;
        width: 100%;
    }
    
    .nav-logo {
        max-width: 150px;
        min-width: 90px;
        height: 44px;
    }
}

/* Small Mobile Styles - 480px */
@media (max-width: 480px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    * {
        max-width: 100%;
    }
    
    img, svg, iframe, video {
        max-width: 100%;
        height: auto;
    }
    
    .container {
        padding: 0 0.75rem;
        max-width: 100%;
        width: 100%;
    }
    
    .navbar {
        padding: 0.5rem 0;
        width: 100%;
        max-width: 100%;
    }
    
    .nav-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 100%;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-buttons {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        width: 44px;
        height: 44px;
        min-width: 44px;
        flex-shrink: 0;
    }
    
    .mobile-menu-toggle span {
        width: 22px;
        height: 2.5px;
    }
    
    .mobile-menu {
        padding: 2.5rem 1.25rem 2rem;
    }
    
    .mobile-nav-links {
        gap: 0.625rem;
        margin: 1.25rem 0;
    }
    
    .mobile-nav-link {
        font-size: 1.1rem;
        padding: 0.7rem 1.15rem;
    }
    
    .nav-logo {
        max-width: 130px;
        min-width: 80px;
        height: 40px;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        min-height: 44px;
        white-space: normal;
        word-wrap: break-word;
    }
    
    .brand-name {
        font-size: 0.95rem;
    }
    
    .brand {
        gap: 0.4rem;
        flex-shrink: 0;
    }
    
    .brand svg {
        width: 24px;
        height: 24px;
    }
    
    .mobile-nav-link {
        font-size: 1.25rem;
        padding: 0.875rem 1.5rem;
    }
    
    .mobile-nav-buttons .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-logo {
        max-width: 140px;
        min-width: 90px;
        height: 40px;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-description {
        font-size: 0.875rem;
    }
}

/* Popup styles moved to public/css/common_components/popup/popup.css */

a{
    text-decoration: none;  
    color: inherit;
}