/*
--------------------------------------------------
Fonts
--------------------------------------------------
*/

@font-face {
	font-family: 'AllianzNeoW01-Regular';
	src: url('fonts/eot/AllianzNeoW01-Regular.eot');
	src: url('fonts/eot/AllianzNeoW01-Regular.eot#iefix') format('embedded-opentype'),
	   url('fonts/woff/AllianzNeoW01-Regular.woff') format('woff'),
	   url('fonts/woff2/AllianzNeoW01-Regular.woff2') format('woff2'),
	   url('fonts/ttf/AllianzNeoW01-Regular.ttf') format('truetype'),
	   url('fonts/svg/AllianzNeoW01-Regular.svg#AllianzNeoW01-Regular') format('svg');
	font-weight: normal;
	font-style: normal;
  }
 
  
  .allianzNeoW01-regular {
	font-family: AllianzNeoW01-Regular, Arial, Sans-serif;
  }
  
  /* --------------- end of fonts --------------- */
  
  /*
  --------------------------------------------------
  Font sizes
  --------------------------------------------------
  */


/* GLOBAL */
body {
    margin: 0;
    font-family: allianzNeoW01-Regular, 'Open Sans', sans-serif !important;
    font-size: 12px;
    background: #ffffff;
    color: #222;
}

/* CONTAINER GENERAL */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 10%;
}

/* HEADER */
.header {
    border-bottom: 2px solid #e6e6e6;
    padding: 25px 0;
    padding-left: 10%;   
    padding-right: 10%;  
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
}

.search {
    width: 230px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* --- NAV GENERAL --- */
.nav {
    background: rgb(0,55,129);
    color: white;
    padding: 8px 0;
}

/* --- DESKTOP NAV --- */
.nav-desktop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
}

.menu-desktop {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.menu-desktop li a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

/* --- MOBILE NAV BAR (hamburger + search) --- */
.nav-mobile {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 0 6%;
}

.hamburger {
    background: none;
    border: none;
    color: white;
    font-size: 26px;
    cursor: pointer;
    padding: 5px;
}

/* --- MENU MOBILE DROPDOWN --- */
.menu-mobile {
    list-style: none;
    display: none;
    flex-direction: column;
    background: rgb(0,55,129);
    padding: 12px 0;
    margin: 0;
}

.menu-mobile.open {
    display: flex;
}

.menu-mobile li {
    padding: 10px 0;
    text-align: center;
}

.menu-mobile li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    
    .nav-desktop {
        display: none;
    }
    
    .nav-mobile {
        display: flex;
    }
}

/* ------------------------------
   ANIMATIE MENIU MOBIL
------------------------------ */

.menu-mobile {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.menu-mobile.open {
    max-height: 500px; 
    opacity: 1;
    transform: translateY(0);
}

/* MAIN LAYOUT */
.main {
    display: flex;
    margin-top: 40px;
    gap: 40px;
    padding-left: 10%;    
    padding-right: 10%;   
}

.content {
    width: 70%;
    line-height: 1.7;
}

.content h2{
    text-align: center;
}

.content h2, .content p strong {
    color: rgb(0, 55, 129);
}

.content p a {
    text-decoration: none;
    color: rgb(0, 55, 129);
}

.content p a:hover {
    text-decoration: underline;
}

/* SIDEBAR */
.sidebar {
    width: 30%;
}

.card {
    background: linear-gradient(to top, #ededed 0%, #f7f7f7 40%, #ffffff 100%);
    border: 1px solid #d2d2d2;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.card h3 {
    margin-top: 0;
    font-size: 17px;
    color: rgb(0, 55, 129);
}

.btn {
    display: block;
    background: rgb(0, 122, 179);
    color: white;
    text-decoration: none;
    padding: 12px;
    text-align: center;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 15px;
}

.icon {
    height: 30px;
    vertical-align: middle;
    margin-right: 6px;
}

/* FOOTER */
.footer {
    background: #f6f6f6;
    margin-top: 50px;
    padding: 50px 0;
    padding-left: 10%;
    padding-right: 10%;
}

.footer-grid {
    display: flex;
    justify-content: center;   
    align-items: flex-start;
    gap: 50px;
}

.footer-grid > div {
    flex: 1;
}

/* SSL – coloană separată, îngustă, dreapta */
.footer-grid .ssl-col {
    flex: 0 0 160px;      
    text-align: center;
}

/* Titluri */
.footer-grid h4 {
    color: rgb(0, 55, 129);
    margin-bottom: 12px;
}

/* Linkuri în footer */
.footer-grid a {
    display: block;
    margin: 4px 0;
    font-size: 12px;
    color: #555;
    text-decoration: none;
}

.footer-grid a:hover {
    text-decoration: underline;
}

/* SSL IMG */
.ssl {
    width: 120px;
    display: block;
    margin: 10px auto 0 0;
}

/* COPYRIGHT */
.copy {
    text-align: left;
    font-size: 14px;
    margin-top: 30px;
    color: #555;
}

@media (max-width: 768px) {
    
    .nav-flex {
        padding: 0 5%;
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgb(0,55,129);
        padding: 10px 0;
    }

    .menu.open {
        display: flex;
    }

    .menu li {
        text-align: center;
        padding: 10px 0;
    }

    .logo {
	height: 30px;
    }

    .main {
        flex-direction: column;   
    }

    .content, .sidebar {
        width: 100%;
    }

    .footer-grid {
        flex-direction: column;
        gap: 25px;
	    align-items: center;
    }

    .footer-grid > div {
        width: 65%;
	    text-align:left;
    }

    .container {
        padding: 0 5% !important;
    }

    .header,
    .nav,
    .main,
    .footer {
        padding-left: auto !important;
        padding-right: auto !important;
    }
}


@media (max-width: 900px) {
    .main { flex-direction: column; }
    .content, .sidebar { width: 100%; }
}

/* Redirect Bar */
/* Static */
#redirect-message {
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #003781;
    transition: all 0.25s ease;
}

/* Sticky */
#redirect-message.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;    

    background: white;
    padding: 10px 0;
    margin: 0;
    z-index: 9999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}