/* ==== Google font ==== */
@import url('http://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic|Montserrat:700|Merriweather:400italic');


body {
    width: 100%;
    height: 100%;
    font-family: 'Lato',sans-serif;
	font-weight: 400;
     color: #333;
    background-color: #ffffff;

    /* color: #E6E3ED; */
}

html {
    width: 100%;
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 0px;
    text-transform: uppercase;
    font-family: Montserrat,sans-serif;
    font-weight: 700;
    letter-spacing: 1px;

    color: #8AB6C4;
}



p {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.6em;
}

p.lead {
	font-weight: 600;
}

a {
    color: #CDE7F0;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

a:hover,
a:focus {
    color: #8FE3FF;   /* bright only on hover */
}

.light {
    font-weight: 400;
}





/*======================================= */
/* === Language switch pill in navbar === */
/*======================================= */
/* Language pill in navbar */
.navbar-custom .nav li.nav-lang a {
    border: 1px solid rgba(205, 231, 240, 0.8); /* icy blue border */
    border-radius: 999px;                       /* pill shape */
    padding: 4px 14px;
    margin-left: 18px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;


    color: #CDE7F0;                             /* same icy blue as other accents */
    line-height: 1.4;
    text-align: center;
    margin-top: 13px;
    margin-right: 10px;
    margin-bottom:5px;


}

/* Hover state: filled pill */
.navbar-custom .nav li.nav-lang a:hover,
.navbar-custom .nav li.nav-lang a:focus {
    background: #CDE7F0;
    color: #514559;                             /* purple text on hover */
}

/* Don't show the usual dark "active" background on the lang pill */
.navbar-custom .nav li.nav-lang a {
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}


/* ===========================
--- Navbar
============================ */

.navbar {
    background-color: #514559;
    border-bottom: 1px solid rgb(81, 69, 89);
}





.navbar.navbar-custom .container {
    width: 100%;
    max-width: 100%;
    padding-left: 5%;
    padding-right: 5%;
}

/* Brand + logo */
.navbar-brand {
    padding: 10px 0;          /* remove side padding so logo hugs the left edge */
    height: 50px;
}

.navbar-brand .logo-img {
    height: 40px;             /* adjust as you like */
    width: auto;
    display: block;
    margin-bottom: 20px;
}



.navbar-brand {
    font-weight: 700;
}
.navbar-brand {
  height: 40px;
  padding: 5px 15px;
  font-size: 18px;
  line-height: 1em;
}

.navbar-brand h1{
	color: #c4dde2;
  font-size: 20px;
  line-height: 40px;
}

.navbar-brand:focus {
    outline: 0;
}

.nav.navbar-nav {
    background-color: rgb(81, 69, 89);
}

.navbar-custom.top-nav-collapse .nav.navbar-nav {
    background-color: rgb(81, 69, 89);
}


.navbar-custom ul.nav li a {
	font-size: 12px;
	letter-spacing: 1px;
    color: #eee;
	text-transform: uppercase;
	font-weight: 700;
}

.navbar-custom.top-nav-collapse ul.nav li a {
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
	color: #c4dde2;
}

.navbar-custom ul.nav ul.dropdown-menu {
	  border-radius: 0;
}

.navbar-custom ul.nav ul.dropdown-menu li {
	border-bottom: 1px solid #f5f5f5;

}

.navbar-custom ul.nav ul.dropdown-menu li:last-child{
	border-bottom: none;
}

.navbar-custom ul.nav ul.dropdown-menu li a {
	padding: 10px 20px;
}

.navbar-custom ul.nav ul.dropdown-menu li a:hover {
	background: #fefefe;
}

.navbar-custom.top-nav-collapse ul.nav ul.dropdown-menu li a {
	color: #514559;
}

.navbar-custom .nav li a {
    -webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}

.navbar-custom .nav li a:hover,
.navbar-custom .nav li a:focus,
.navbar-custom .nav li.active > a {
    outline: 0;
    background-color: rgba(196,221,226,.25);

    color: #FFFFFF;
}

.navbar-toggle {
    padding: 4px 6px;
    font-size: 14px;
    color: #c4dde2;
}

.navbar-toggle:focus,
.navbar-toggle:active {
    outline: 0;
}








/* Default (top of page): glassy navbar */
.navbar.navbar-custom {
    background: rgba(15, 8, 32, 0.45);                    /* glass colour */
    border-bottom: 1px solid rgba(205, 231, 240, 0.25);  /* subtle line */
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(1px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* After scroll: solid purple bar (same as before) */
.navbar.navbar-custom.top-nav-collapse {
    background-color: #514559;
    border-color: #514559;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.30);
}

/* ===== Desktop layout: links next to logo, language pill on the right ===== */
@media (min-width: 768px) {

  /* Make the UL a flex row */
  .navbar-custom .navbar-collapse .nav.navbar-nav {
      float: none;                     /* cancel bootstrap float */
      display: flex;
      align-items: center;
      gap: 1.8rem;
      background-color: transparent;   /* remove purple strip behind links */
  }

  /* Cancel default li floats */
  .navbar-custom .navbar-collapse .nav.navbar-nav > li {
      float: none;
  }

  /* Push language pill all the way to the right */
  .navbar-custom .navbar-collapse .nav.navbar-nav > li.nav-lang {
      margin-left: auto;
  }
}

/* ===== Mobile: keep the classic stacked menu ===== */
@media (max-width: 767px) {

  .navbar-custom .navbar-collapse .nav.navbar-nav {
      display: block;
  }

  .navbar-custom .navbar-collapse .nav.navbar-nav > li.nav-lang {
      margin-left: 0;
  }

  /* keep solid background when the mobile menu is open */
  .navbar-custom .nav.navbar-nav {
      background-color: #514559;
  }
}








/* --- Minimalist colloque topics section --- */

.colloque-topics {
    margin-top: 3em;
    text-align: center;
}

.topics-heading {
    font-size: 1.2em;
    margin-bottom: 1.2em;
    color: #514559;
    letter-spacing: 0.03em;
}

.topics-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 50em;
    columns: 2;                  /* minimalist 2-column layout */
    column-gap: 3em;
}

.topics-list li {
    font-size: 1em;
    padding: 0.4em 0;
    color: #5A5F69;
    text-align: left;
    border-bottom: 1px solid rgba(81,69,89,0.10); /* soft separator */
    break-inside: avoid;
}

/* Mobile: clean single column */
@media (max-width: 768px) {
    .topics-list {
        columns: 1;
        max-width: 90%;
    }
}













/* loader */
#preloader {
    background: #ffffff;
    bottom: 0;
    height: 100%;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 999;
}


#loaderInner {
    background:#ffffff url(../img/spinner.gif) center center no-repeat;
    height: 60px;
    left: 50%;
    margin: -50px 0 0 -50px;
    position: absolute;
    top: 50%;
    width: 60px;
}

@keyframes boxSpin{
  0%{
    transform: translate(-10px, 0px);
  }
  25%{
    transform: translate(10px, 10px);
  }
  50%{
    transform: translate(10px, -10px);
  }
  75%{
    transform: translate(-10px, -10px);
  }
  100%{
    transform: translate(-10px, 10px);
  }
}


@keyframes shadowSpin{
  0%{
    box-shadow: 10px -10px #c4dde2, -10px 10px #8fe3ff;
  }
  25%{
    box-shadow: 10px 10px #c4dde2, -10px -10px #8fe3ff;
  }
  50%{
    box-shadow: -10px 10px #c4dde2, 10px -10px #8fe3ff;
  }
  75%{
    box-shadow: -10px -10px #c4dde2, 10px 10px #8fe3ff;
  }
  100%{
    box-shadow: 10px -10px #c4dde2, -10px 10px #8fe3ff;
  }
}

#load {
	z-index: 9999;
  background-color: #514559;
  opacity: 0.85;
  width: 10px;
  height: 10px;
  position: absolute;
  top: 50%;
  margin: -5px auto 0 auto;
  left: 0;
  right: 0;
  border-radius: 0px;
  border: 5px solid #514559;
  box-shadow: 10px 0px #c4dde2, 10px 0px #8fe3ff;
  animation: shadowSpin 1s ease-in-out infinite;
}

/* misc */
hr {
  margin-top: 10px;
}

/* margins */
.marginbot-0{margin-bottom:0 !important;}
.marginbot-10{margin-bottom:10px !important;}
.marginbot-20{margin-bottom:20px !important;}
.marginbot-30{margin-bottom:30px !important;}
.marginbot-40{margin-bottom:40px !important;}
.marginbot-50{margin-bottom:50px !important;}

/* ===========================
--- General sections
============================ */

.home-section {
    padding-top: 110px;
    padding-bottom: 110px;
	display:block;
    position:relative;
    z-index:120;
}


.section-heading h2 {
	font-size: 40px;
}
.section-heading i {
	margin-bottom: 20px;
}


/* --- section bg var --- */

.bg-dark {
    background: #514559;
}

.bg-gray {
    background: #6A5A7A;
}

.bg-white {
    background: #F7F7FA; /* softer white */
}

/* --- section color var --- */

.text-light {
	color: #f5f5f7;
}



/* ===========================
--- Intro
============================ */

.intro {
    width: 100%;
    min-height: 100vh;          /* fill screen height, but allow content to grow */
    height: auto;
    position: relative;

    background: url("../img/bg4.png") no-repeat top center;
    background-size: cover;      /* banner scales nicely */
    background-position: center top;
    background-blend-mode: multiply;
}

/* Desktop / default */
#intro.intro {
    padding: 18% 5% 10%;         /* top / sides / bottom */
}

.intro .slogan {
	text-align: left;

}

.intro .page-scroll {
	text-align: center;
}

.brand-heading {
    font-size: 2em;
}

.intro-text {
    font-size: 1em;
}

.intro .slogan h2 {
	color: #c4dde2;
	text-shadow: none;
	font-size: 2.5em;
	line-height: 1.3em;
	font-weight: 400;
	font-family: Montserrat, sans-serif;
	background-color: rgba(0, 0, 0, 0);
	text-decoration: none;
	text-transform: none;
	border-width: 0px;
	border-color: #000;
	border-style: none;
	text-shadow: -1px 0 1px #000;
}

.intro .slogan h4 {
	color: #f5f5f7;
	text-shadow: -1px 1px 1px #000;
}

.my-text-container {
  text-align:left;
  width: 40%; /* Set a fixed width */
  max-width: 100%; /* Prevent it from exceeding the screen width */
  margin: 0 ; /* Center the container */
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
}




/* =========================
   Programme "coming soon" pill
   ========================= */

.program-soon{
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  padding: 0.65em 1em;
  border-radius: 999px;
  font-size: 1em;              /* scales naturally */
  line-height: 1.3;
  color: rgba(255,255,255,0.92);
  background: rgba(90, 75, 108, 0.28);   /* soft purple glass */
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0.55em 1.6em rgba(0,0,0,0.12); /* soft shadow */
}

.program-soon i{
  font-size: 1.15em;
  opacity: 0.95;
  color: #CDE7F0;
}

.program-soon__link{
  margin-left: 0.2em;
  font-size: 0.95em;
  color: #CDE7F0;
  text-decoration: none;
  border-bottom: 1px solid rgba(205,231,240,0.55);
  padding-bottom: 0.05em;
}

.program-soon__link:hover,
.program-soon__link:focus{
  text-decoration: none;
  border-bottom-color: rgba(205,231,240,0.95);
}

/* Placement variants */
.program-soon--hero{
  margin-top: 1.1em;
  font-size: 1.05em; /* slightly more visible in hero */
}

.program-soon--welcome{
  margin-top: 1.3em;
  color: #4b3f5c;                         /* text on white bg */
  background: rgba(205,231,240,0.22);     /* light glass */
  border: 1px solid rgba(90,75,108,0.16);
  box-shadow: 0 0.55em 1.6em rgba(20,20,35,0.08);
}

.program-soon--welcome i{
  color: #5a4b6c;
}

.program-soon--welcome .program-soon__link{
  color: #5a4b6c;
  border-bottom-color: rgba(90,75,108,0.35);
}

/* Responsive tweaks */
@media (max-width: 768px){
  .program-soon{
    font-size: 0.95em;
    padding: 0.6em 0.9em;
  }
  .program-soon__link{
    display: none; /* keep it clean on small screens */
  }
}





/* ===========================
--- About
============================ */

/* Keep section titles uppercase, but allow names & roles to be readable */
.team h5,
.team h6 {
    text-transform: none;
}

/* Heading and subtitle */
#about .section-heading h2 {
    color: #514559;      /* elegant dark purple */
}


/* Limit width of long paragraphs in section headings */
.section-heading p {
    max-width: 780px;
    margin: 0 auto 20px;
}

/* Add a tiny bit of breathing room below the arrow icon */
.section-heading i.fa-angle-down {
    margin-top: 10px;
    color: #8AB6C4;
}

/* Slightly soften the background for main sections */
#about.home-section {
    background-color: #F7F7FA;   /* your existing bg-white tone */
}


.boxed-grey {
	background: #f7f7fa;
	padding: 20px;
}






/* === THEMATIQUES BLOCK === */
.thematiques-block {
  margin-top: 3em;
}

/* Grid spacing */
.thematiques-grid > div {
  margin-bottom: 2em;
}

/* === CARD === */
.thematique-card {
  position: relative;
  height: 14em;                 /* fixed height = consistency */
  background: #ffffff;
  border-radius: 1.5em;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);

  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 2em 1.8em 2.5em;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.thematique-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

/* === TEXT === */
.thematique-content {
  flex: 1;                      /* THIS is the key */
  display: flex;
  align-items: center;          /* vertical centering */
  text-align: center;
}

.thematique-content p {
  font-size: 1.15em;
  font-weight: 500;
  line-height: 1.4;
  color: #5a4b67;
  margin: 0;
}

/* === ICON === */
.thematique-icon {
  margin-top: 1.2em;            /* SAME space for all */
  text-align: center;
}

.thematique-icon i {
  font-size: 2.2em;
  color: #9bbfcb;
  opacity: 0.9;
}








.team.boxed-grey {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    border: 1px solid rgba(81,69,89,0.06);

    display: flex;
    flex-direction: column;
    height: 100%;
}


/* Ensure inner content expands evenly */
.team.boxed-grey .inner {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}


/* Make team cards equal height on each row */
.team-row {
    display: flex;
    flex-wrap: wrap;        /* still wraps nicely on small screens */
}

.team-row > [class*="col-"] {
    display: flex;          /* make each column a flex container */
}

.team-row .team.boxed-grey {
    height: 100%;           /* stretch card to fill the column */
}



.team h5 {
	margin-bottom: 10px;
	font-size: 1.5em;
}

.team p{

    font-size: 1em;
    color:#8C8F99;

}

.team .avatar img {
    width: 130px !important;
    margin: 10px auto 20px;

    height: 150px !important;
    object-fit: cover;
}


.team .team-bio {
    text-align: left;
    font-size: 15px;
    line-height: 1.7;

    flex: 1 1 auto;
    margin-bottom: 20px;

    color: #6B707A;

}

.team p.subtitle {
	margin-bottom: 10px;
    color: #4F545C;
	font-weight: bold;
}

.avatar {
	margin-bottom: 20px;
}

.team .avatar {
    margin-top: 15px;
    margin-bottom: 20px;
}


.team-social {
	margin-left: 0;
	padding-left: 0;

    margin-top: auto;       /* pushes icons to bottom */
    padding-top: 10px;

}

.team-social {
	text-align: center;
}

.team-social li{
    display: inline-block;
	margin:0 !important;
	padding:0;
}


.team-social a{
	margin:0;
	padding:0;
    display: block;
	width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #514559;
	color: #f5f5f7;
    -webkit-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}
.team-social a i{
	text-align: center;
	margin:0;
	padding:0;
}
.team-social .social-facebook a{background: #514559;}
.team-social .social-twitter a{background: #514559;}
.team-social .social-dribble a{background: #514559;}
.team-social .social-deviantart a{background: #514559;}
.team-social .social-google a{background: #514559;}
.team-social .social-vimeo a{background: #514559;}
.team-social .social-facebook a:hover{background: #8fe3ff;}
.team-social .social-twitter a:hover{background: #8fe3ff;}
.team-social .social-dribble a:hover{background: #8fe3ff;}
.team-social .social-deviantart a:hover{background: #8fe3ff;}
.team-social .social-google a:hover{background: #8fe3ff;}
.team-social .social-vimeo a:hover{background: #8fe3ff;}



/* =====================================
   INSCRIPTION — Slim & Professional
   ===================================== */

#Inscription {
    background: #635576; /* keep your current purple tone */
}

#Inscription .service-box {
    background: rgba(10, 4, 25, 0.35);  /* subtle glassy panel */
    border-radius: 20px;
    padding: 26px 24px;                 /* less padding than before */
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    max-width: 430px;
    margin: 0 auto 30px;                /* centre each card, add breathing room */
    height: 190px;
}

/* Tighten the text inside the cards a bit */
#Inscription .service-desc h5 {
    margin-bottom: 6px;
}

#Inscription .service-desc p {
    margin: 0;
}


/* Ensure text NEVER becomes black */
#Inscription .service-desc p,
#Inscription .service-desc p strong,
#Inscription .service-desc,
#Inscription .service-box p {
    color: #E6E3ED !important;      /* soft readable white-grey */
}

/* Make category labels (Students / Professionals) readable */
#Inscription .service-desc h5 {
    color: #CDE7F0 !important;      /* icy blue heading */
}

/* Fix for Bootstrap's <strong> default black */
#Inscription .service-box strong {
    color: #FFFFFF !important;
}






/* Section heading */
#Inscription .section-heading h2 {
    color: #FFFFFF;
    font-size: 36px;
    margin-bottom: 10px;
}

#Inscription .section-heading p.lead {
    color: #E6E3ED;
    font-size: 18px;
    max-width: 750px;
    margin: 0 auto 20px;
}



/* Hover effect — subtle and light */
#Inscription .service-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 26px rgba(0,0,0,0.18);
}



/* PNG icon (students) */
#Inscription .inscription-icon img {
    display: block;
    margin: 0 auto 15px;
    width: 72px;       /* control width */
    height: auto;      /* keep correct proportions */
}

/* Font Awesome icon (other participants) */
#Inscription .inscription-icon i {
    display: block;
    margin: 0 auto 15px;
    font-size: 72px;
    color: #D4ECF5;
}




/* Price highlight */
#Inscription .service-desc p strong {
    color: #FFFFFF;
}

/* Registration note */
#Inscription .inscription-note {
    margin-top: 40px;
    font-size: 16px;
    color: #E6E3ED;
    padding: 12px 18px;
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.3);

    display: inline-flex;
    align-items: center;
    gap: 10px;
}
/* =====================================
   PROGRAMME — white background + day cards
   ===================================== */

/* Match About section background */
#programme.home-section {
    background-color: #F7F7FA;
    color: #514559; /* default readable text */
}

/* Heading and subtitle */
#programme .section-heading h2 {
    color: #514559;      /* elegant dark purple */
}

#programme .section-heading p.lead {
    color: #4F545C;
}

/* "Programme coming soon" wrapper */
#programme .timeline-placeholder {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 32px 28px;
    border: 1px solid rgba(81, 69, 89, 0.08);
    box-shadow: 0 12px 28px rgba(0,0,0,0.05);
}

/* Layout for the two cards */
#programme .timeline-days {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 22px;
}

/* Individual Day Cards */
#programme .day-card {
    flex: 1 1 240px;
    padding: 18px 20px;
    border-radius: 14px;

    background: linear-gradient(
        135deg,
        rgba(205, 231, 240, 0.35),
        rgba(205, 231, 240, 0.15)
    );

    border: 1px solid rgba(81, 69, 89, 0.10);

    color: #514559;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

/* Day title */
#programme .day-card h4 {
    margin: 0 0 6px;
    font-size: 1.05em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #514559;   /* strong but still on-brand */
}

/* Day description */
#programme .day-card p {
    margin: 0;
    font-size: 0.96em;
    color: #5A5F69;
}



/* ============================================
   PROGRAMME – MOBILE OPTIMIZATION (<768px)
   (compact day cards on phones)
============================================ */

@media (max-width: 768px) {

    #programme .day-card {
        min-height: auto !important;
        height: auto !important;
        padding: 16px 14px !important;
        margin-bottom: 16px;
    }

    #programme .timeline-placeholder {
        padding: 16px !important;
    }

    #programme .day-card h4 {
        font-size: 1rem !important;
        margin-bottom: 4px;
    }

    #programme .day-card p {
        font-size: 0.9rem !important;
        margin: 0 !important;
    }
}


/* ===========================
--- Affiches (Posters)
============================ */

#Affiches {
    background: #635576;                  /* dark purple, same family as Inscription */
}

/* Heading + intro text on dark bg */
#Affiches .section-heading h2 {
    color: #CDE7F0;                       /* icy blue for contrast */
}

#Affiches .section-heading p.lead {
    max-width: 900px;
    margin: 0 auto 10px;
    color: #E1DCEB;
}

/* Icon image adjustments */
#Affiches .service-icon img,
#Affiches .service-icon i {
    width: 60px;
    height: auto;
}

/* General body text in the section */
#Affiches p,
#Affiches li {
    color: #E7E1F0;                        /* soft light text */
    font-size: 1em;
}

#Affiches p.lead {
    font-size: 1.3em;
}

/* Card-style tiles */
#Affiches .service-box {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 20px;                             /* spacing between icon & text */

    background: rgba(18, 10, 40, 0.65);    /* subtle darker card on purple bg */
    border-radius: 16px;
    padding: 24px 24px 26px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(205, 231, 240, 0.08);
    margin-bottom: 30px;

    /* ✨ NEW: let card stretch instead of fixed height */
    flex: 1 1 auto;
    min-height: 220px;                     /* keeps them nicely tall on big screens */
    height: auto;                          /* kills the old fixed 270px behaviour */
}


@media (min-width: 768px) {
    #Affiches .row > [class*="col-"] {
        display: flex;        /* column becomes flex container */
    }
}




#Affiches .service-icon {
    margin: 0;
    text-align: left;
    margin-bottom: 10px;
    min-width: 60px;
}

#Affiches .service-desc {
    max-width: 520px;                      /* prevents super long lines */
    margin: 0;
}

#Affiches .service-desc h5 {
    color: #CFE3EF;
    margin-bottom: 10px;
}

/* Nicer spacing for paragraphs and list */
#Affiches .service-desc p {
    margin-bottom: 0.6em;
}

#Affiches .service-desc ul {
    margin: 0.4em 0 0.8em;
    padding-left: 1.1em;
}

#Affiches .service-desc ul li {
    list-style: disc;
}


/* ===========================
--- Prizes (Awards)
============================ */

/* Light section to follow About / Programme */
#Prix {
    background-color: #F7F7FA;            /* same light tone as About/Programme */
}

/* Make heading and intro readable on light bg */
#Prix .section-heading h2 {
    color: #514559;                        /* deep purple, better contrast */
}

#Prix .section-heading p.lead {
    color: #4F545C;
}

/* Card style for the two prize boxes */
#Prix .boxed-grey {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 30px 25px;
    margin-bottom: 25px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(81, 69, 89, 0.08);

    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* Make award box text more visible & consistent */
#Prix .boxed-grey h4 {
    color: #8BB9C9 !important;            /* stronger icy blue */
    font-weight: 700;
}

#Prix .boxed-grey p.lead {
    color: #514559 !important;            /* readable dark purple-grey */
    font-weight: 600;
}

#Prix .boxed-grey p {
    color: #6D7A86 !important;            /* medium grey for secondary text */
}

#Prix .boxed-grey em {
    color: #8BB9C9 !important;            /* icy blue highlight */
}


/* ===========================
--- Contact
============================ */

form#contact-form .form-group label {
	text-align: left !important;
	display: block;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 12px;
}
form#contact-form input,form#contact-form select,form#contact-form textarea {
	border-radius: 0;
	border: 1px solid #eee;
  -webkit-box-shadow: none;
          box-shadow:  none;
}

form#contact-form input:focus,form#contact-form select:focus,form#contact-form textarea:focus {
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
          box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.input-group-addon {
  background-color: #fefefe;
  border: 1px solid #eee;
  border-radius: 0;
}

.widget-contact {
	text-align: left;
}


.company-social {
	margin-left: 0;
	padding-left: 0;
	margin-top: 10px;
}

.company-social {
	text-align: left;
}

.company-social li{
    display: inline-block;
	margin:0 !important;
	padding:0;
}


.company-social a{
	margin:0;
	padding:0;
    display: block;
	width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #514559;
	color: #f5f5f7;
    -webkit-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}
.company-social a i{
	text-align: center;
	margin:0;
	padding:0;
}
.company-social .social-facebook a{background: #514559;}
.company-social .social-twitter a{background: #514559;}
.company-social .social-dribble a{background: #514559;}
.company-social .social-deviantart a{background: #514559;}
.company-social .social-google a{background: #514559;}
.company-social .social-vimeo a{background: #514559;}
.company-social .social-facebook a:hover{background: #8fe3ff;}
.company-social .social-twitter a:hover{background: #8fe3ff;}
.company-social .social-dribble a:hover{background: #8fe3ff;}
.company-social .social-deviantart a:hover{background: #8fe3ff;}
.company-social .social-google a:hover{background: #8fe3ff;}
.company-social .social-vimeo a:hover{background: #8fe3ff;}



/* ===========================
--- Footer
============================ */

footer {
    text-align: center;
    padding: 50px 0;
    background: #514559;   /* purple */
    color: #E6E3ED;        /* light text */
}

footer .container {
    padding-right: 0;
}

footer p {
    color: #CDE7F0;        /* subtle icy accent just for the text */
}

footer p.copyright {
    text-align: right;
    margin-top: 100px; /* pushes it down so it's at the bottom */
    color: #CDE7F0;

}


/* ==========================
Parallax
============================= */

#parallax1{
	background-image: url(../img/parallax/1.jpg);
}

#parallax1:after {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAEklEQVQImWNgYGD4z0AswK4SAFXuAf8EPy+xAAAAAElFTkSuQmCC);
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	top: 0;
	opacity: 0.7;
	z-index: -1;
}


#parallax2{
	background-image: url(../img/parallax/2.jpg);

}

#parallax2:after  {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAEklEQVQImWNgYGD4z0AswK4SAFXuAf8EPy+xAAAAAElFTkSuQmCC);
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	top: 0;
	opacity: 0.7;
	z-index: -1;
}


/* ===========================
--- Elements
============================ */


/* === Hero CTA container (buttons under the title) === */
.hero-cta {
    margin-top: 2.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
}

/* Base style for hero buttons: small, pill-shaped, transparent */
.btn-hero {
    border-radius: 999px;                        /* smooth pill */
    padding: 0.55rem 1.6rem;                     /* smaller compact size */
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    background: transparent;                     /* transparent by default */
    border: 1px solid rgba(205, 231, 240, 0.9);  /* icy blue outline */
    color: #E6F4FA;                              /* light text */
    box-shadow: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.2s ease;
}

/* Hover / focus: subtle fill, still professional */
.btn-hero:hover,
.btn-hero:focus {
    background: rgba(205, 231, 240, 0.92);  /* soft icy fill */
    color: #514559;                         /* purple text */
    border-color: rgba(205, 231, 240, 0.92);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* Remove the big blue hover from the generic .btn on these two */
.hero-cta .btn-hero.btn-default:hover,
.hero-cta .btn-hero.btn-default:focus {
    background: rgba(205, 231, 240, 0.92);
    color: #514559;
    border-color: rgba(205, 231, 240, 0.92);
}

/* Optional: secondary hero button = more subtle */
.btn-hero.btn-hero-secondary {
    background: transparent;
    border-color: rgba(205, 231, 240, 0.6);
    color: #E1EEF6;
}

.btn-hero.btn-hero-secondary:hover,
.btn-hero.btn-hero-secondary:focus {
    background: rgba(205, 231, 240, 0.18);
    color: #EAF7FF;
    box-shadow: none;                          /* softer than primary */
    transform: translateY(-1px);
}






.btn {
	border-radius: 0;
    text-transform: uppercase;
    font-family: Montserrat,sans-serif;
    font-weight: 400;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;


    background: #8FE3FF;
    border-color: #8FE3FF;
    color: #514559;
}


/*--------------------
.btn-default {
    background: #8FE3FF;
    border-color: #8FE3FF;
    color: #514559;
}
.btn-default:hover {
    background: #CDE7F0;
    border-color: #CDE7F0;
}

-------------------*/

.team-social a,
.company-social a {
    background: #6A5A7A;
    color: #CDE7F0;
}
.team-social a:hover,
.company-social a:hover {
    background: #8FE3FF;
}






.btn-circle {
    width: 70px;
    height: 70px;
    margin-top: 15px;
    padding: 7px 16px;
    border: 2px solid #c4dde2;
    border-radius: 50%;
    font-size: 40px;
    color: #c4dde2;
    background: 0 0;
    -webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}

.btn-circle.btn-dark {
    border: 2px solid #c4dde2;
    color: #c4dde2;
}


.btn-circle:hover,
.btn-circle:focus {
    outline: 0;
    color: #514559;
    /* background: rgba(196,221,226,.2); */

    background: #CDE7F0;
    border-color: #CDE7F0;
}

.btn-circle.btn-dark :hover,
.btn-circle.btn-dark :focus {
    outline: 0;
    color: #514559;
    background: #c4dde2;
}

.btn-circle.btn-dark :hover i,
.btn-circle.btn-dark :focus i{
    color: #514559;
}

.page-scroll .btn-circle i.animated {
    -webkit-transition-property: -webkit-transform;
    -webkit-transition-duration: 1s;
    -moz-transition-property: -moz-transform;
    -moz-transition-duration: 1s;
}

.page-scroll .btn-circle:hover i.animated {
    -webkit-animation-name: pulse;
    -moz-animation-name: pulse;
    -webkit-animation-duration: 1.5s;
    -moz-animation-duration: 1.5s;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-timing-function: linear;
}

@-webkit-keyframes pulse {
    0 {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-moz-keyframes pulse {
    0 {
        -moz-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -moz-transform: scale(1.2);
        transform: scale(1.2);
    }

    100% {
        -moz-transform: scale(1);
        transform: scale(1);
    }
}


#text {
    color: #514559;
    background: #c4dde2;
}

#map {
	height: 500px;
}


.btn-skin:hover,
.btn-skin:focus,
.btn-skin:active,
.btn-skin.active {
  color: #514559;
  background-color: #c4dde2;
  border-color: #c4dde2;
}


.btn-default:hover,
.btn-default:focus {
    border: 1px solid #8fe3ff;
    outline: 0;
    color: #514559;
    background-color: #8fe3ff;
}

.btn-huge {
    padding: 25px;
    font-size: 26px;
}

.banner-social-buttons {
    margin-top: 0;
}


/* Media queries */

@media(min-width:767px) {




  .home-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }


    .navbar {
        padding: 0px 0;
        border-bottom: 0;
        letter-spacing: 1px;
        background: transparent;
        -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
        -moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
        transition: background .5s ease-in-out,padding .5s ease-in-out;
    }

    .top-nav-collapse {
        padding: 0;
        background-color: #514559;   /* <<< purple on scroll */
    }

    .navbar-custom.top-nav-collapse {
        border-bottom: 1px solid rgba(230,227,237,.3); /* soft border */
    }

    .intro {
        height: 100%;
        padding: 0;
    }

    .brand-heading {
        font-size: 100px;
    }


    .intro-text {
        font-size: 25px;
    }


}
@media (max-width:768px) {


    .hero-cta {
        justify-content: flex-start;
        gap: 0.6rem;
    }


    #intro.intro {
        padding-top: 30%;        /* less empty space above the title */
        padding-bottom: 12%;
    }

    .home-section {
        padding-top: 70px;       /* was 110px – tighter sections */
        padding-bottom: 70px;
    }

    .section-heading h2 {
        font-size: 28px;         /* slightly smaller headings on mobile */
    }

    .section-heading p {
        font-size: 15px;
    }



    .team-row > [class*="col-"] {
        margin-bottom: 30px;   /* space between stacked cards */
    }

    /* optional: remove last card's extra space */
    .team-row > [class*="col-"]:last-child {
        margin-bottom: 0;
    }


	.team.boxed-grey {
		margin-bottom: 30px;
	}

	.boxed-grey {
		margin-bottom: 30px;
	}








    .intro .slogan h2 {
        color: #c4dde2;
        font-size: 2em;
        margin-bottom:2em;

    }

    .intro h4 {
    margin-top: 1em;
     font-size: 1.2em;
    }

    .my-text-container {
      text-align:left;
      width: 80%; /* Set a fixed width */
      max-width: 100%; /* Prevent it from exceeding the screen width */
      margin: 0 ; /* Center the container */

    }




}

@media (max-width:480px) {

    .intro .slogan h2 {
        color: #c4dde2;
        font-size: 2em;
        margin-bottom:2em;

    }

    .intro h4 {
    margin-top: 1em;
     font-size: 1.2em;
    }

    .my-text-container {
      text-align:left;
      width: 80%; /* Set a fixed width */
      max-width: 100%; /* Prevent it from exceeding the screen width */
      margin: 0 ; /* Center the container */

    }









	.navbar-custom .nav.navbar-nav {
    background-color: #514559;
	}

	.navbar.navbar-custom.navbar-fixed-top {
		margin-bottom: 30px;
	}

	.tp-banner-container {
		padding-top:40px;
	}

	.page-scroll a.btn-circle {
		width: 40px;
		height: 40px;
		margin-top: 10px;
		padding: 7px 0;
		border: 2px solid #c4dde2;
		border-radius: 50%;
		font-size: 20px;
	}

}








/* NAVBAR STATES */

/* Top of page: transparent navbar */
.navbar.navbar-custom {
    background-color: transparent;
    border-color: transparent;
}

/* After scroll: purple navbar */
.navbar.navbar-custom.top-nav-collapse {
    background-color: #514559;
    border-color: #514559;
}

/* FOOTER: always purple */
footer {
    background: #514559 !important;
    color: #E6E3ED !important;
}

footer p {
    color: #CDE7F0 !important;
}



























/* === Hero event meta (location + date) === */

.my-text-container h2 {
    margin-bottom: 0.8em; /* space between title and meta */
}

.event-meta {
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.6;
    color: #CDE7F0;
}

.event-meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.25em;
}

.event-meta-item i {
    font-size: 0.95em;
    margin-right: 0.6em;
    opacity: 0.9;
}

.event-meta-item a,
.event-meta-item span {
    color: #CDE7F0;
    font-weight: 600;
    text-decoration: none;
}

.event-meta-item a:hover {
    color: #8FE3FF;     /* your hover color */
}




/* Prevent logo from touching the navbar items around ~768–900px widths */
@media (min-width: 768px) and (max-width: 992px) {
  .navbar-brand {
    padding-bottom: 20px;      /* space between logo and first tab */
  }

}