/**
 * thinkIT Website - Custom Styles
 */

/* Layout container */
.layout-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Material Symbols */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Hero clip path */
.hero-clip {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

/* Navigation link hover effect */
.nav-link-hover {
    position: relative;
}

.nav-link-hover::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #E61D24;
    transition: width 0.3s ease;
}

.nav-link-hover:hover::after {
    width: 100%;
}

.nav-link-active::after {
    width: 100%;
}

/* Scrollbar hide */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Card hover effects */
.card-hover-effect {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-hover-effect:hover {
    transform: translateY(-8px);
}

/* Blob shapes for decorative elements */
.blob-shape-1 {
    border-radius: 64% 36% 24% 76% / 54% 28% 72% 46%;
}

.blob-shape-2 {
    border-radius: 36% 64% 73% 27% / 37% 55% 45% 63%;
}

.blob-shape-3 {
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
}

/* Clip paths */
.clip-diagonal {
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.clip-diagonal-reverse {
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 8s ease-in-out infinite 1s;
}

/* Text outline for headers */
.text-outline-header {
    -webkit-text-stroke: 1px rgba(0,0,0,0.1);
    color: transparent;
}

.dark .text-outline-header {
    -webkit-text-stroke: 1px rgba(255,255,255,0.1);
}

/* Mobile menu styles */
.mobile-menu-toggle {
    display: block;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle .menu-icon,
.mobile-menu-toggle .close-icon {
    transition: opacity 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] .menu-icon {
    display: none;
}

.mobile-menu-toggle[aria-expanded="false"] .close-icon {
    display: none;
}

.mobile-nav-toggle .material-symbols-outlined {
    transition: transform 0.3s ease;
}

.mobile-nav-dropdown {
    transition: all 0.3s ease;
}

/* Prose styles for content pages */
.prose h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.dark .prose h3 {
    color: #f8f9fc;
}

.prose h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1a202c;
}

.dark .prose h4 {
    color: #f8f9fc;
}

.prose p {
    margin-bottom: 1.25rem;
    line-height: 1.75;
    color: #4a5568;
}

.dark .prose p {
    color: #cbd5e0;
}

.prose ul, .prose ol {
    margin-left: 1.25rem;
    margin-bottom: 1.25rem;
    color: #4a5568;
}

.dark .prose ul, .dark .prose ol {
    color: #cbd5e0;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose a {
    color: #004AAD;
    text-decoration: underline;
}

.dark .prose a {
    color: #90cdf4;
}

.prose a:hover {
    color: #E61D24;
}

/* TOR / careers detail modal */
.cms-tor-prose {
    font-family: inherit;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #374151;
}

.cms-tor-prose .tor-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 74, 173, 0.12);
    font-family: "Maven Pro", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #004AAD;
}

.cms-tor-prose .tor-section-title:first-child {
    margin-top: 0;
}

.cms-tor-prose .tor-section-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 1.1em;
    border-radius: 999px;
    background: linear-gradient(180deg, #004AAD, #E61D24);
    flex-shrink: 0;
}

.cms-tor-prose p {
    margin-bottom: 1rem;
    color: #4b5563;
}

.cms-tor-prose p:last-child {
    margin-bottom: 0;
}

.cms-tor-prose .tor-list {
    margin: 0.5rem 0 1.25rem 0;
    padding-left: 0;
    list-style: none;
}

.cms-tor-prose .tor-list li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.cms-tor-prose .tor-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #004AAD;
}

.cms-tor-prose a {
    font-weight: 600;
    color: #004AAD;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cms-tor-prose a:hover {
    color: #E61D24;
}

.dark .cms-tor-prose {
    color: #d1d5db;
}

.dark .cms-tor-prose .tor-section-title {
    color: #93c5fd;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.dark .cms-tor-prose p,
.dark .cms-tor-prose .tor-list li {
    color: #cbd5e0;
}

/* Selection styles */
::selection {
    background-color: #E61D24;
    color: white;
}

::-moz-selection {
    background-color: #E61D24;
    color: white;
}

