:root {
    --primary: #E30069;
	--white: #ffffff;
	--pink: #FEF1FB;
	--text-dark: #333;
	--accent: #d11d6b;
    --accent-hover: #e31f74;
	--gray-bg: #ffffff;
	--font-main: "Playfair Display", serif;
    --font-accent: "Inter", sans-serif;
    --bg-hover: #e9e9e978;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--gray-bg);
}

main {
    font-family: inherit;
    margin-top: 80px;

	min-height: calc(100vh - 200px);


}

p{
    font-size: 1.125rem;
    font-family: var(--font-accent);
    text-wrap: balance;
    margin: 1rem 0;
    color: #555;
}

h1{
    font-size: 3.75rem;
    font-weight: 500;
    line-height: 1.25;
}

.hero{
    padding-top: 0;
}

.center{
    text-align: center;
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
}


.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

h1, h2, h3{
    font-family: var(--font-main);
}

h3{
    text-align: left;
}


span {
    font-family: var(--font-accent);
    color: var(--accent);

}

.center{
    text-align: center;
}


.centered{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.underline{
    display: block;
    width: 80px; /* length of the line */
    height: 4px; /* thickness of the line */
    background-color: #e6007e; /* same as text */
    margin-bottom: 1rem;
}




.logo {
	font-weight: 600;
	color: var(--accent);
	font-size: 1.2rem;
}


.btn, .btn-primary,
.btn-secondary {
    font-size: 1.1rem;
    text-decoration: none;
    font-family: var(--font-accent);
    font-weight: 500;
	border: none;
	padding: 0.7rem 1.4rem;
	border-radius: 6px;
	cursor: pointer;
    border: 2px solid var(--accent);
	font-weight: 500;
}

.btn-primary {
	background: var(--accent);
	color: #fff;
}

.btn-primary:hover{
    background: var(--accent-hover);
}

.btn-secondary {
	background: transparent;
	color: var(--accent);
}

.btn-secondary:hover{
    background: var(--bg-hover);
}

.link{
    color: var(--accent);
    text-decoration: none;
}

.link:visited{
	color: var(--accent);
}

section {
    font-family: var(--font-main);
	padding: 5rem 0;
}

.section-a {
	background: var(--white);
}

.section-b {
	background: var(--pink);
}

.hero-content {
    padding-top: 6rem;
    padding-bottom: 4rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2rem;
}

.hero-text {
	flex: 1 1 400px;
}

.hero-text h2{
    text-align: left;
}

.hero-text h2 span {
	color: var(--accent);
    font-family: var(--font-accent);
}

.hero-img {
	flex: 1 1 300px;
	width: 100%;
    background-color: var(--accent);
    height: 18rem;
	border-radius: 12px;
}

.hero-img img{
	border-radius: 12px;
}

.about-content {
    padding-top: 6rem;
    padding-bottom: 4rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2rem;
}

.about-text{
    flex: 1 1 400px;
}

.about-text h2{
    text-align: left;
}

.about-img {
	flex: 1 1 400px;
	width: 100%;
	border-radius: 12px;
    height: 45rem;
}

.about-img img{
    border-radius: 12px;
}

h2 {
	font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}

.pink{
    background: var(--pink);
}

.pink-card{
    background: var(--pink);
	border-radius: 12px;
	padding: 1rem;
    width: 200px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.25);
	text-align: left;
}

.pink-card h4{
    font-family: var(--font-main);
}

.pink-card span{
    font-family: var(--font-accent);
    color: var(--text-dark);
}

.card {
	background: #fff;
	border-radius: 12px;
	padding: 1rem;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
	text-align: center;
}

.card img {
	width: 100%;
	border-radius: 10px;
	margin-bottom: 1rem;
}

.card-list{
    text-align: left;
    margin-left: 2rem;
}

.courses-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    /* grid-template-columns: auto auto auto; */
}

.course-card{
    background: var(--white);
    max-width: 350px;
    border-radius: 12px;
	transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.course-card[style*="display: none"] {
	opacity: 0;
	transform: scale(0.95);
}

.course-text{
    padding: 1rem;

}

.course-text h3{
    font-family: var(--font-main);
}

.course-text p{
    font-family: var(--accent);
    margin: 0;
}

.course-details{
    padding: 0 1rem;
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 1rem;
    flex-wrap: nowrap;
}

.course-details p{
    font-family: var(--font-accent);
    font-weight: 300;
    font-size: 0.75rem;

    margin-top: 0;
    margin-bottom: 0.2rem;
    margin-left: 0.5rem;

}

.course-highlight{
    padding: 0 1rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
    margin-bottom: 1rem;
}

.course-price{
    height: fit-content;
    margin: auto 0;
    text-decoration: none;
    color: var(--accent);
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 1.25rem;
}

.course-more{
    height: fit-content;
    margin: auto 0;
    text-decoration: none;
    color: var(--accent);
    font-family: var(--font-accent);
    font-weight: 500;
}


.course-card img{
    object-fit: cover;
    height: 12rem;
    width: 100%;
    border-radius: 12px 12px 0 0;
}

.gallery {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.img-container{
/* background: var(--accent); */

}

.img-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery img {
	width: 200px;
	border-radius: 12px;
}

.certificate-img {
	display: block;
	margin: 2rem auto 0;
	max-width: 400px;
	width: 100%;
    height: 18rem;
	border-radius: 8px;

}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	align-items: start;
}

.contact-info {
	margin-top: 1rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.contact-info .map-side iframe{
    height: 14rem;
}

.contact-form{
    max-width: 500px;
    width: 300px;
    display: flex;
    flex-direction: column;

    justify-content: center;
}



.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 0.8rem;
	margin-bottom: 1rem;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-family: inherit;
}

.contact-form select {
	width: 100%;
	padding: 0.55rem 2rem 0.55rem 0.7rem; /* smaller padding */
	margin-bottom: 1rem;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-family: inherit;
	font-size: 0.95rem;
	line-height: 1.3;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.6rem center;
	background-size: 14px;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	box-sizing: border-box;
}

.contact-form select:focus {
	outline: none;
	border-color: var(--courses-presentation-primary, #e4007c);
	box-shadow: 0 0 0 3px rgba(227, 0, 115, 0.08);
}

.contact-form select:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	background-color: #f7f7f7;
}



.social-icons,
.social-icons-big {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.social-icons-big{
    gap: 0.5rem;
}

.social-icons a svg {
  display: block;
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease;
}

.social-icons-big a svg {
  display: block;
  width: 70px;
  height: 70px;
  transition: transform 0.3s ease;
}

.social-icons a:hover svg,
.social-icons-big a:hover svg {
  transform: scale(1.1);
}

.language-selection:has(#language-selection){
    display: flex;
    flex-direction: row;
    gap: 1rem;

    margin: 1rem;
    align-items: center;
}




.language-selection p{
    margin: 0;
    height: fit-content;
}

.language-selection select {
	padding: 0.5rem 1rem;
	font-size: 1rem;
	border: 1px solid #ccc;
	border-radius: 6px;
	background-color: #fff;
	color: #333;
	cursor: pointer;
	outline: none;
	transition: all 0.2s ease;
}

/* Hover and focus effects */
.language-selection select:hover {
	border-color: #888;
}

.language-selection select:focus {
	border-color: var(--accent, #007bff);
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

/* Optional: remove default arrow and style your own */
.language-selection select::-ms-expand {
	display: none;
}

.language-selection select {
	appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg fill='%23666' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 0.1rem center;
	background-size: 1rem;
}


.social-icons a{
    text-decoration: none;
}



/* Responsive tweaks */
@media (max-width: 1000px) {

    .hero-content {
        flex-direction: column-reverse;
        padding-top: 2rem;
        padding-bottom: 1rem;
    }
    .btn-primary:not(.static-size), .btn-secondary:not(.static-size) {
        width: 100%;
        margin-top: 1rem;
        box-sizing: border-box;
    }
    .hero-text{
        flex: 1 1 200px;
    }
    .courses-list{
        /* grid-template-columns: auto auto; */
    }
}

@media (max-width: 600px) {
    h1{
        font-size: 2.25rem;
        font-weight: 500;
        line-height: 1.25;
    }

    .hero{
        padding-top: 10px;
    }

    .about-img{
        min-height: 400px;
    }
    .courses-list{
        /* grid-template-columns: auto; */
    }

    h2{
        font-size: 1.75rem;
        
    }
}

/* Certificate Page Styles */
.certificate-section {
	max-width: 600px;
	margin: 3rem auto;
	padding: 2rem;
}

.certificate-form-card {
	background: var(--white);
	border-radius: 12px;
	padding: 2rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	margin: 2rem 0;
}

.certificate-form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.form-label {
	font-family: var(--font-accent);
	font-weight: 600;
	font-size: 1rem;
	color: var(--text-dark);
}

.form-select {
	width: 100%;
	padding: 0.8rem 2.5rem 0.8rem 1rem;
	border: 2px solid #e0e0e0;
	border-radius: 6px;
	font-family: var(--font-accent);
	font-size: 1rem;
	background-color: #fff;
	color: var(--text-dark);
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23e30069' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.8rem center;
	background-size: 14px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
}

.form-select:hover {
	border-color: var(--accent);
}

.form-select:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(227, 0, 105, 0.1);
}

.certificate-form .btn {
	width: 100%;
	padding: 1rem;
	font-size: 1.1rem;
	margin-top: 0.5rem;
}

.certificate-info-box {
	background: var(--pink);
	border-left: 4px solid var(--accent);
	border-radius: 6px;
	padding: 1.25rem;
	margin-top: 1.5rem;
}

.info-text {
	margin: 0;
	font-size: 0.95rem;
	color: #666;
	font-family: var(--font-accent);
}

.certificate-alert-wrapper {
	margin: 1.5rem 0;
	width: 100%;
}

.alert {
	padding: 1rem 1.25rem;
	border-radius: 6px;
	font-family: var(--font-accent);
	font-size: 1rem;
	text-align: center;
}

.alert.success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.alert.error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}


