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

/* Glass Nav Effect */
.glass-nav, .glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Parallax Background */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* No Scrollbar */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Vertical Text */
.text-vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* Animation Utilities */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger animations for children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }

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

/* Hover scale effect */
.hover-scale {
    transition: transform 0.3s ease;
}

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

/* Smooth link transitions */
a, button {
    transition: all 0.3s ease;
}

/* Text shadow for overlays */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Asymmetric Grid */
.asymmetric-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
}

@media (max-width: 768px) {
    .asymmetric-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Menu Button - Refined Hamburger */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    min-height: 48px;
    min-width: 48px;
    position: relative;
    z-index: 1005;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 48px;
        height: 48px;
        padding: 10px;
        background: transparent;
    }
}

.mobile-menu-btn span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: #00113a;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
}

.mobile-menu-btn span:not(:last-child) {
    margin-bottom: 6px;
}

.mobile-menu {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    padding: 80px 24px 32px 24px;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 40;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s;
}

@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu.is-closed {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mobile-menu a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    min-height: 48px;
    display: flex;
    align-items: center;
    color: #444650;
}

.mobile-menu a:active {
    color: #00113a;
    background: rgba(0, 17, 58, 0.03);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu .menu-item-link {
    color: #00113a;
    font-weight: 700;
}

.mobile-menu .menu-item-link.active {
    color: #2552ca;
}

/* Navbar container - flex to handle hamburger on mobile */
@media (max-width: 768px) {
    nav > div {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    .mobile-menu-btn {
        display: flex !important;
    }

    .desktop-menu {
        display: none !important;
    }

    .mobile-menu.is-open {
        display: flex;
    }

    .mobile-menu-btn.is-active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

    .mobile-menu-btn.is-active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Desktop Dropdown Submenus */
.dropdown {
    position: relative;
}

.dropdown-menu {
    padding: 8px 0;
}

/* Mobile Accordion Submenus - Modern Smooth Accordion */
.mobile-dropdown {
    border-bottom: 1px solid rgba(229, 231, 235, 0.6);
}

.mobile-dropdown:last-of-type {
    border-bottom: none;
}

.mobile-dropdown-header {
    display: flex;
    width: 100%;
    min-height: 56px;
    padding: 0;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.mobile-dropdown-header:hover {
    background: rgba(0, 17, 58, 0.03);
}

.mobile-dropdown-header:active {
    background: rgba(0, 17, 58, 0.06);
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    background: linear-gradient(180deg, rgba(248, 249, 250, 0.8) 0%, rgba(248, 249, 250, 0.4) 100%);
}

.mobile-dropdown-content.is-open {
    max-height: 800px;
    opacity: 1;
}

.mobile-dropdown-content-inner {
    padding: 8px 0 16px 0;
}

.mobile-dropdown-content a,
.mobile-dropdown-content span {
    padding: 11px 12px;
    font-size: 14px;
    min-height: 44px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    color: #444650;
    border-radius: 8px;
    margin: 2px 8px;
    width: calc(100% - 16px);
}

.mobile-dropdown-content a:hover {
    background: rgba(37, 82, 202, 0.08);
    color: #00113a;
    transform: translateX(4px);
}

.mobile-dropdown-content a:active {
    background: rgba(37, 82, 202, 0.12);
}

.category-label {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #00113a;
    padding: 16px 20px 8px 20px !important;
    min-height: auto !important;
}

.expand-icon {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
    color: #757682;
}

.expand-icon.is-rotated {
    transform: rotate(180deg);
    color: #2552ca;
}

/* Mobile Menu Enhancements - Smooth & Refined */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .desktop-menu {
        display: none !important;
    }

    /* Nav bar with full-width menu trigger */
    nav {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    nav > div {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Mobile dropdown header styling */
    .mobile-dropdown-header {
        cursor: pointer;
    }

    /* Accordion content animation */
    .mobile-dropdown-content {
        overflow: hidden;
    }

    /* Slide-down animation for accordion content */
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Menu links */
    .mobile-menu > a:not(.bg-primary) {
        display: flex;
        padding: 16px 0;
        border-bottom: 1px solid rgba(229, 231, 235, 0.5);
        font-size: 16px;
        font-weight: 600;
        transition: color 0.2s ease, background 0.2s ease;
        min-height: 48px;
    }

    .mobile-menu > a:not(.bg-primary):hover {
        color: #00113a;
        background: rgba(0, 17, 58, 0.03);
    }

    .mobile-menu > a:not(.bg-primary):active {
        background: rgba(0, 17, 58, 0.06);
    }

    /* CTA button in mobile menu */
    .mobile-menu-cta {
        margin-top: 16px;
        padding: 16px 24px !important;
        background: #00113a;
        color: white !important;
        border-radius: 12px !important;
        font-weight: 700 !important;
        justify-content: center !important;
    }
}

/* Rotating arrow animation for mobile dropdown */
.mobile-dropdown-toggle[aria-expanded="true"] .material-symbols-outlined {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    /* Mobile Typography - Prevent tiny text */
    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    /* Mobile Section Padding */
    section {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* Mobile Form Inputs - Larger & Touch-Friendly */
    input, select, textarea {
        min-height: 52px;
        padding: 12px 16px;
        font-size: 16px !important;
        border-radius: 0.75rem;
    }

    /* Mobile Buttons - Minimum Touch Target */
    button:not(.mobile-menu-btn):not(.mobile-dropdown-header) {
        min-height: 52px;
        padding: 14px 24px;
        font-size: 16px;
    }

    /* Mobile Cards - Better Spacing */
    .bg-white.p-8, .bg-white.p-10, .bg-white.p-12 {
        padding: 1.5rem;
    }

    /* Mobile Accordion Content */
    .mobile-dropdown-content {
        padding: 0;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    section {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    /* Tablet cards - more breathing room */
    .bg-white.p-8, .bg-white.p-10, .bg-white.p-12 {
        padding: 1.5rem;
    }

    /* Tablet grid gaps */
    .grid {
        gap: 1.5rem;
    }
}



/*MYLLEN STYLING STARTS HERE*/
/*Styling info for submenu pages*/
.submenu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f8f9fa;
}

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

@media (min-width: 768px) {
    .box {
        grid-template-columns: 1fr 1fr;
    }
}

.title {
    grid-column: 1 / -1;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    margin: 120px 20px 5px 20px;
    color: var(--brand-color);
    font-size: 36px;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

.title h2 {
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    margin: 5px 20px 20px 20px;
    padding: 20px;
    color: var(--brand-color);
    font-size: 36px;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

.logo {
    justify-content: center;
    align-items: center;
    display: flex;
    margin: 20px;
    padding: 20px;
    background-color: #f8f9fa;
}

.logo img {
    width: 400px;
    max-width: 100%;
    height: auto;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e3e4;
    padding: 20px;
    background-color: #f8f9fa;
    box-sizing: border-box;
}


.info {
    display: flex;
    align-items: center;
    text-align: left;
    font-size: 20px;
    color: #00113a;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.5;
}

.info p{
    text-align: left;
    margin: 20px;
    font-size: 18px;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #00113a;
    text-align: justify;
}

.info p span{
    font-weight: 700;
    color: var(--brand-color);
    font-style: italic;
    font-size: 18px;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
    text-align: justify;
}


/* Γενικό styling για το section των υπηρεσιών */
.services {
    grid-column: 1 / -1;
    text-align: center;
    margin: 2rem 0;
    font-family: 'Inter', sans-serif; 
}

.services h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--brand-secondary-color);
    display: inline-block;
    padding-bottom: 5px;
}


/* Styling για τη λίστα (Βασική μορφή για κινητά: 1 στήλη) */
.services ul {
    list-style: none;
    padding: 0 20px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1200px;
}

/* Όταν η οθόνη είναι από tablet και πάνω */
@media (min-width: 768px) {
    .services ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services ul {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Styling για κάθε αντικείμενο της λίστας (Κάρτα) */
.services li {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-left: 4px solid var(--brand-secondary-color); 
    font-weight: 500;
    color: #444;
}

/* Hover effect: Τι γίνεται όταν το ποντίκι πάει πάνω από την κάρτα */
.services li:hover {
    transform: translateY(-3px); /* Σηκώνεται ελαφρώς προς τα πάνω */
    box-shadow: 0 6px 12px rgba(0,0,0,0.1); /* Πιο έντονη σκιά */
    background: #ffffff;
    border-left-color: var(--brand-color); 
}

/* Styling για τα εικονίδια του Font Awesome */
.services li i {
    color: var(--brand-color); /* Τεχνολογικό μπλε χρώμα */
    font-size: 1.4rem;
    margin-right: 15px;
    width: 30px; /* Σταθερό πλάτος για να είναι απόλυτα ευθυγραμμισμένα τα κείμενα */
    text-align: center;
}

.contact {
    text-align: right;
    font-size: 20px;
    color: #00113a;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 1.5;
    margin-right: 20px;
    margin-bottom: 30px;
    margin-top: 0;
}

.contact h2{
    text-align: right;
    font-size: 22px;
    color: var(--brand-color);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 10px;
}
/*MYLLEN STYLING ENDS HERE*/