/* ============================= */
/* -------- General CSS -------- */
/* ============================= */

body {
    color: #666666;
    font-family: Calibri, sans-serif;
    font-weight: 300;
    background: #ffffff;
}

a {
    color: #57717e;
    transition: 0.5s;
}

a:hover,
a:active,
a:focus {
    color: #57717e;
    outline: none;
    text-decoration: none;
}

p {
    padding: 0;
    margin: 0 0 15px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Calibri, sans-serif;
    color: #8db7cc;
    margin: 0 0 15px 0;
    padding: 0;
}

.back-to-top {
    position: fixed;
    display: none;
    background: #AF9483;
    color: #ffffff;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 16px;
    border-radius: 50%;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 11;
}

.back-to-top i {
    padding-top: 12px;
    color: #ffffff;
}



/* ============================= */
/* ------ Top Header CSS ------- */
/* ============================= */

.top-header {
    display: table;
    position: relative;
    width: 100%;
    height: 100vh;
    color: #ffffff;
}

.top-header:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: url(../img/bookbackground.png);
    background-size: cover;
    /* filter: blur(8px); */
    /* -webkit-filter: blur(8px); */
    z-index: -1;
}

.top-header .container {
  position: relative;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  width: 100%;
  padding: 20px 15px; 
}

.top-header img {
    height: 200px;
    margin-bottom: 30px;
    box-shadow: 0px 0px 20px 10px rgb(10 44 80);
}

.top-header h1 {
    font-size: 80px;;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
}


.top-header p {
    display: block;
    font-size: 2vw;
    font-weight: 400;
    color: #ffffff;
    margin-top: 10px;
}


.top-header h2 {
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 0;
    height: auto;
    font-size: 28px;
    font-weight: 400;
    color: #ffffff;
}





/* ============================= */
/* -------- Header CSS --------- */
/* ============================= */

.header {
    background: rgb(10 44 80);
    height: 70px;
}

.header .logo {
    margin: 14px 25px 0 0;
}

.header .logo h1 {
    font-size: 36px;
    margin: 0;
    padding: 2px 0;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 3px;
}

.header .logo h1 a,
.header .logo h1 a:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .header {
        height: 50px;
    }
    
    .header .logo {
        margin: 10px 0 0 0;
    }
    
    .header .logo h1 {
        padding: 2px 0;
        font-size: 26px;
    }
}

.header .social-nav {
    margin-top: 15px;
}

.header .social-nav a {
    font-size: 24px;
    margin-left: 15px;
    color: #fff;
}

.header .social-nav a:hover {
    color: rgba(255, 255, 255, 0.75);
}

.nav-menu, .nav-menu * {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu ul {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    z-index: 99;
}

.nav-menu li {
    position: relative;
    white-space: nowrap;
}

.nav-menu > li {
    float: left;
}

.nav-menu li:hover > ul,
.nav-menu li.sfHover > ul {
    display: block;
}

.nav-menu ul ul {
    top: 0;
    left: 100%;
}

.nav-menu ul li {
    min-width: 180px;
}

.sf-arrows .sf-with-ul {
    padding-right: 30px;
}

.sf-arrows .sf-with-ul:after {
    content: "\f107";
    position: absolute;
    right: 15px;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
}

.sf-arrows ul .sf-with-ul:after {
    content: "\f105";
}

#nav-menu-container {
    margin: 0;
}

@media (max-width: 768px) {
    #nav-menu-container {
        display: none;
    }
}

.nav-menu a {
    padding: 22px 15px;
    text-decoration: none;
    display: inline-block;
    color: #ffffff;
    font-weight: 400;
    font-size: 16px;
    outline: none;
}

.nav-menu a:hover,
.nav-menu li:hover > a,
.nav-menu .menu-active > a {
    color: #000000;
}

.nav-menu ul {
    margin: 7px 0 0 15px;
    -webkit-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.08);
    box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.08);
}

.nav-menu ul li {
    background: #ffffff;
    border-top: 1px solid #f4f4f4;
}

.nav-menu ul li:first-child {
    border-top: 0;
}

.nav-menu ul li:hover {
    background: white;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.nav-menu ul li a {
    color: #333333;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
    padding: 10px 15px;
}

.nav-menu ul li a:hover {
    color: #ffffff;
}

.nav-menu ul ul {
    margin: 0;
}

#mobile-nav-toggle {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999;
    margin: 8px 10px 0 0;
    border: 0;
    background: none;
    font-size: 24px;
    display: none;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    outline: none;
    cursor: pointer;
}

#mobile-nav-toggle i {
    color: #fff;
}

@media (max-width: 768px) {
    #mobile-nav-toggle {
        display: inline;
    }
    
    .logo {
        width: 100%;
        text-align: center;
    }
}

#mobile-nav {
    position: fixed;
    top: 0;
    padding-top: 18px;
    bottom: 0;
    z-index: 998;
    background: rgba(0, 0, 0, 0.9);
    left: -260px;
    width: 260px;
    overflow-y: auto;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
}

#mobile-nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

#mobile-nav ul li {
    position: relative;
}

#mobile-nav ul li a {
    color: #ffffff;
    font-size: 16px;
    overflow: hidden;
    padding: 10px 22px 10px 15px;
    position: relative;
    text-decoration: none;
    width: 100%;
    display: block;
    outline: none;
}

#mobile-nav ul li a:hover {
    color: #ffffff;
}

#mobile-nav ul li li {
    padding-left: 30px;
}

#mobile-nav ul .menu-has-children i {
    position: absolute;
    right: 0;
    z-index: 99;
    padding: 15px;
    cursor: pointer;
    color: #ffffff;
}

#mobile-nav ul .menu-has-children i.fa-chevron-up {
    color: #AF9483;
}

#mobile-nav ul .menu-item-active {
    color: #AF9483;
}

#mobile-body-overly {
    width: 100%;
    height: 100%;
    z-index: 997;
    top: 0;
    left: 0;
    position: fixed;
    background: rgba(0, 0, 0, 0.6);
    display: none;
}

body.mobile-nav-active {
    overflow: hidden;
}

body.mobile-nav-active #mobile-nav {
    left: 0;
}

body.mobile-nav-active #mobile-nav-toggle {
    color: #ffffff;
}



/* ============================= */
/* ------- Header Title -------- */
/* ============================= */

.section-header h2,
.section-header h3 {
    display: inline-block;
    color: #57717e;
    font-size: 35px;
    text-transform: capitalize;
    text-align: left;
    font-weight: 700;
    position: relative;
    padding-bottom: 5px;
    border-bottom: 1px solid rgb(152, 187, 204);
}

.section-header h2::before,
.section-header h3::before {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    bottom: 0px;
    right: 0;
    border-top: 10px solid;
    border-right: 10px solid;
    border-color: transparent #98bbcc;
}

.section-header h2::after,
.section-header h3::after {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    bottom: 0px;
    left: 0;
    border-top: 10px solid;
    border-left: 10px solid;
    border-color: transparent rgb(152, 187, 204);
}

.section-header p {
    text-align: left;
    padding-bottom: 0px;
}

@media (min-width: 992px) {
    .section-header p {
        width: 70%;
    }
}



/* ============================= */
/* ------- About louis CSS -------- */
/* ============================= */

.about {
    padding: 60px 0 15px 0;
    position: relative;
}

.about .row {
    margin-bottom: 30px;
}

.about img {
    width: 100%;
}

.about h3 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 5px;
}

.about h4 {
    font-size: 16px;
    font-weight: 400;
}

.about p {
    font-size: 16px;
    font-weight: 300;
}

.about a {
    display: inline-block;
    padding: 6px 20px;
    color: #AF9483;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    border: 1px solid #AF9483;
}

.about a:hover {
    color: #ffffff;
    background: #AF9483;
}

.about .aboutLouis h3 {
    font-size: 22px;
    font-weight: 700;
    color: #666666;
    margin-bottom: 15px;
}

.about .skill-name {
    position: relative;
    width: 100%;
}

.about .skill-name p {
    display: inline-block;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 400;
}

.about .skill-name p:last-child {
    float: right;
}

.about .progress {
    margin-bottom: 15px;
    border-radius: 0;
}

.about .progress .progress-bar {
    background: #AF9483;
    border-radius: 0;
}



/* ============================= */
/* ------- Experience CSS ------ */
/* ============================= */

.experience {
    position: relative;
    padding: 0;
}

.experience .section-header p {
    margin:0;
}

.experience .exp-column {
    margin-top: 30px;
    padding: 25px 30px;
    background: #e9ecef;
}

.experience .exp-column::before {
    position: absolute;
    content: "";
    height: 3px;
    top: 30px;
    right: 100%;
    left: 15px;
    background: #AF9483;
}

.experience .exp-column::after {
    position: absolute;
    content: "";
    height: 3px;
    bottom: 0;
    right: 15px;
    left: 100%;
    background: #AF9483;
}

.experience .exp-column:hover::before {
    transition: .3s;
    right: 15px;
}

.experience .exp-column:hover::after {
    transition: .3s;
    left: 15px;
}

.experience .exp-date {
    margin-bottom: 5px;
    color: #666666;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 2px;
}

.experience .exp-date span {
    font-weight: 400;
    font-style: italic;
}

.experience .exp-company {
    margin-bottom: 0;
    color: #AF9483;
    font-size: 18px;
    font-weight: 400;
}

.experience .exp-designation {
    margin-bottom: 10px;
    color: #999999;
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
}

.experience .exp-detail {
    margin-bottom: 0;
}

/* ============================= */
/* -------- Services CSS ------- */
/* ============================= */

.services {
  padding: 60px 0;
  background: #fff;
  text-align: center;
}

.services .section-header {
  text-align: left;
  margin-bottom: 40px;
}

.services .section-header h2 {
  font-size: 30px;
  color: #4a6a7b;
  font-weight: 700;
  border-bottom: 4px solid #bfd4df;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.services .section-header p {
  font-style: italic;
  color: #333;
  margin: 0;
}

.purchase-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 30px;
}

/* --- Retailer card box --- */
.retailer-box {
  background-color: #edf0f2;
  border-radius: 8px;
  width: 350px;
  height: 220px; /* Adjusted height */
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Distribute logo and text */
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.retailer-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* --- Standard logo styles --- */
.retailer-logo {
  height: 120px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
}

/* --- Aligned "Purchase" text --- */
.retailer-box p {
  font-size: 14px;
  color: #a0a0a0;
  margin: 0;
  padding-top: 10px;

  font-weight: 500;
  letter-spacing: 0.3px;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  line-height: 1.5;
}


/* --- Optional overrides for logo tweaks --- */
.logo-medium {
  height: 250px !important;
}

.logo-amazon {
  height: 180px !important;
  max-width: 180px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  display: block !important;
  padding: 0 10px !important;
}


.logo-indigo {
  height: 180px !important;
  max-width: 180px !important;
  object-fit: contain !important;
  margin: 0 auto !important;         
  display: block !important;         
  padding: 0 10px !important;
}



/* ============================= */
/* ------- Portfolio CSS ------- */
/* ============================= */

.portfolio {
    position: relative;
    clear: both;
    padding: 60px 0 30px 0;
}

.portfolio .section-header p {
    margin-bottom: 30px;
}

.portfolio #portfolio-flters {
    padding: 0;
    margin: -15px 0 30px 0;
    list-style: none;
    text-align: center;
}

.portfolio #portfolio-flters li {
    cursor: pointer;
    margin: 15px -3px 5px -3px;
    display: inline-block;
    padding: 10px 15px;
    color: #AF9483;
    font-size: 14px;
    line-height: 15px;
    text-transform: uppercase;
    border: 1px solid #AF9483;
    background: #ffffff;
    transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
    background: #AF9483;
    color: #ffffff;
}

.portfolio #portfolio-flters li:last-child {
    margin-right: 0;
}

.portfolio .portfolio-item {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio .portfolio-item figure {
    background: #AF9483;
    overflow: hidden;
    height: 220px;
    position: relative;
    border-radius: 0;
    margin: 0; 
}

.portfolio .portfolio-item figure:hover img {
    opacity: 0.3;
    transition: 0.3s;
}

.portfolio .portfolio-item figure .link-preview,
.portfolio .portfolio-item figure .link-details,
.portfolio .portfolio-item figure .portfolio-title {
    position: absolute;
    display: inline-block;
    opacity: 0;
    line-height: 1;
    text-align: center;
    width: 60px;
    height: 40px;
    background: #ffffff;
    transition: 0.2s linear;
}

.portfolio .portfolio-item figure .link-preview i,
.portfolio .portfolio-item figure .link-details i {
    padding-top: 9px;
    font-size: 22px;
}

.portfolio .portfolio-item figure .link-preview:hover,
.portfolio .portfolio-item figure .link-details:hover {
    background: #AF9483;
}

.portfolio .portfolio-item figure .link-preview:hover i,
.portfolio .portfolio-item figure .link-details:hover i {
    color: #ffffff;
}

.portfolio .portfolio-item figure .link-preview {
    left: 50%;
    top: calc(25% - 18px);
}

.portfolio .portfolio-item figure .link-details {
    right: 50%;
    top: calc(25% - 18px);
}

.portfolio .portfolio-item figure .portfolio-title {
    margin: 0;
    width: 100%;
    height: 50%;
    left: 0;
    right: 0;
    top: 100%;
    padding: 30px 10px;
    color: #666666;
    font-size: 18px;
    font-weight: 400;
    text-transform: capitalize;
    background: rgba(256, 256, 256, .8);
    border-radius: 0;
}

.portfolio .portfolio-item figure .portfolio-title span {
    display: block;
    margin-top: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 300;
    text-transform: uppercase;
}

.portfolio .portfolio-item figure:hover .link-preview {
    opacity: 1;
    left: calc(50% - 77px);
}

.portfolio .portfolio-item figure:hover .link-details {
    opacity: 1;
    right: calc(50% - 77px);
}

.portfolio .portfolio-item figure:hover .portfolio-title {
    opacity: 1;
    top: 50%;
}



/* ============================= */
/* ------ Testimonials CSS ----- */
/* ============================= */

.testimonials {
    background: url("../img/testimonial-bg.jpg") center top no-repeat fixed;
    background-size: cover;
    padding: 40px 0 60px 0;
    text-align: center;
    position: relative;
}

.testimonials .container {
    max-width: 700px;
}

.testimonials::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(000, 000, 000, 0.7);
}

.testimonials .container {
    position: relative;
    z-index: 9;
}


.testimonials i {
    padding: 20px 0;
    color: #AF9483;
}

.testimonials .testimonial-item {
    text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
    width: 120px;
    border: 10px solid rgba(256, 256, 256, .1);
    margin: 0 auto;
}

.testimonials .testimonial-item h3 {
    font-size: 20px;
    font-weight: 400;
    margin: 15px 0 5px 0;
    color: #AF9483;
}

.testimonials .testimonial-item h4 {
    color: #999999;
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    margin: 0 0 10px 0;
}

.testimonials .testimonial-item p {
    color: #ffffff;
    font-weight: 300;
    margin: 0 auto;
}

.testimonials .owl-nav,
.testimonials .owl-dots {
    margin-top: 5px;
    text-align: center;
}

.testimonials .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ffffff;
}

.testimonials .owl-dot.active {
    background-color: #AF9483;
}



/* ============================= */
/* -------- Contact CSS -------- */
/* ============================= */

.contact {
    position: relative;
    padding: 60px 0;
}

.contact .contact-info p {
    margin-bottom: 10px;
    color: #666666;
    font-size: 22px;
    font-weight: 300;
}

@media (max-width: 575px) {
    .contact .contact-info p {
        font-size: 16px;
    }
}

.contact .contact-info a {
    color: #666666;
}

.contact .contact-info a:hover {
    color: #AF9483;
}

.contact .contact-info i {
    width: 30px;
    color: #AF9483;
}

.contact .social {
    position: relative;
    width: 100%;
}

.contact .social a {
    display: inline-block;
    margin: 10px 10px 0 0;
    width: 40px;
    height: 40px;
    padding: 1px 0;
    text-align: center;
    font-size: 22px;
    border: 1px solid #AF9483;
}

.contact .social a i {
    color: #AF9483;
}

.contact .social a:hover {
    background: #AF9483;
}

.contact .social a:hover i {
    color: #ffffff;
}

.contact .form {
    color: #666666;
    font-weight: 300;
}

.contact .form input,
.contact .form textarea {
    color: #666666;
    font-size: 16px;
    font-weight: 300;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #AF9483;
    border-radius: 0;
    box-shadow: none;
}

.contact .form button[type="submit"] {
    padding: 7px 30px 10px 30px;
    color: #AF9483;
    letter-spacing: 1px;
    transition: 0.3s;
    cursor: pointer;
    border-radius: 0;
    border: 1px solid #AF9483;
    background: #ffffff;
}

.contact .form button[type="submit"]:hover {
    background: #AF9483;
    color: #FFFFFF;
}



/* ============================= */
/* --------- Footer CSS -------- */
/* ============================= */

.footer {
    position: relative;
    padding: 30px 0;
    text-align: center;
    background: #222222;
}

.footer .copyright p {
    color: #999999;
    font-size: 18px;
    font-weight: 300;
}

.footer .copyright p:last-child {
    margin: 0;
}

#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: #222;
    color: #fff;
    padding: 16px 24px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}


/* ============================= */
/* --------- Cookie Banner ------ */
/* ============================= */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #0a2c50;
    border-top: 4px solid #d6b16a;
    color: #ffffff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: Calibri, sans-serif;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    min-height: 80px;
    flex-wrap: wrap;

}


#cookie-banner img {
    height: 28px;
    margin-right: 12px;
}

#cookie-banner .cookie-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

#cookie-banner .cookie-actions button {
    background-color: #d6b16a;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-left: 10px;
}

#cookie-banner .cookie-actions button:hover {
    background-color: #f0c76d;
}


/* ============================= */
/* ----- Cookie Settings Modal -- */
/* ============================= */
#cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.cookie-modal-content {
    background-color: #fff;
    color: #333;
    padding: 30px;
    border-radius: 8px;
    max-width: 650px;
    margin: auto;
    position: relative;
    font-family: Calibri, sans-serif;
    overflow-y: auto;
    max-height: 90vh;
}

.cookie-modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #0a2c50;
}

.cookie-modal-content h3 {
    font-size: 20px;
    margin: 20px 0 10px;
    color: #0a2c50;
}

.cookie-modal-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

.cookie-modal-content a {
    color: #0a2c50;
    text-decoration: underline;
}

.cookie-modal-content .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

/* ============================= */
/* -------- Toggle Switches ----- */
/* ============================= */
.cookie-section {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 6px;
    background-color: #f9f9f9;
}

.cookie-header {
    display: grid;
    grid-template-columns: 1fr auto auto; /* Label | Switch or Text | Arrow */
    align-items: center;
    font-weight: bold;
    margin-bottom: 10px;
    padding-right: 10px;
    gap: 10px;
}

.cookie-desc {
    font-size: 15px;
    color: #444;
    margin-top: 10px;
}

.always-active {
    font-weight: bold;
    font-size: 14px;
    color: #555;
    white-space: nowrap;
}

/* Toggle switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin-left: 0; /* Remove left margin for tighter layout */
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #d6b16a;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* ============================= */
/* -------- Modal Buttons -------- */
/* ============================= */
.cookie-buttons {
    text-align: right;
    margin-top: 20px;
}

.cookie-buttons button,
.modal-accept-all {
    background-color: #0a2c50;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    margin: 10px 10px 0 0;
}

.cookie-buttons button:hover,
.modal-accept-all:hover {
    background-color: #143c6d;
}

/* ============================= */
/* ----- Collapse Arrow & Toggle */
/* ============================= */
.toggle-arrow {
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-align: right;
}

.cookie-header {
    cursor: pointer;
}

.cookie-section .cookie-desc {
    display: none;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.cookie-section.expanded .cookie-desc {
    display: block;
}

.cookie-section.expanded .toggle-arrow {
    transform: rotate(180deg);
}

/* ============================= */
/* --------- Responsive ---------- */
/* ============================= */
@media (max-width: 600px) {
    .cookie-modal-content {
        width: 90%;
        padding: 20px;
    }

    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cookie-actions {
        align-self: flex-end;
    }

    .cookie-header {
        grid-template-columns: 1fr auto; /* Simplified for mobile */
        gap: 8px;
    }

    .toggle-arrow {
        display: none;
    }
}


