@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

body {
	margin: 0px;
	padding: 0px;
	background: url("pad-texture.png");
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #333;
	height: 100%;
}
video {
	max-width: 100%;
	height: auto;
  }
html {
	height: 100%;
	margin: 0;
	padding: 0;
}

/* Map styles */
gmp-map {
	height: 100%;
	width: 100%;
}

/* Calendar styles */
.calendar {
	border-collapse: collapse;
	margin: 0 auto;
	width: auto;
	max-width: 100%;
	background-color: white;
}

.calendar-container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 100%;
	padding: 20px;
}

.calendar th, .calendar td {
	border: 1px solid #ddd;
	padding: 10px;
	text-align: center;
	min-width: 80px;
	background-color: white;
}

.calendar th {
	background-color: #f2f2f2;
}

.calendar .time-slot {
	background-color: #e6e6e6;
}

.cross {
	color: red;
	font-size: 20px;
}

.tick {
	color: green;
	font-size: 20px;
}

.key {
	margin-top: 20px;
	text-align: center;
	width: 100%;
}

/* Tab container styles */
.tab-container {
	max-width: 100%;
	margin: 0 auto;
	width: 100%;
	overflow-x: hidden;
}

.tab-buttons {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	padding: 5px 0;
	background-color: #f4f4f4;
	gap: 0;
}

.tab-button {
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	font-size: 0.9em;
	padding: 8px 2px;
	background: none;
	border: none;
	cursor: pointer;
	transition: background-color 0.3s;
	border-bottom: 2px solid transparent;
	color: black;
	white-space: nowrap;
	flex: 1;
	min-width: 0;
	text-align: center;
}

.tab-button:hover, .tab-button.active {
	background-color: #e0e0e0;
	border-bottom-color: #000;
}

.tab-content {
	display: none;
	width: 100%;
}

/* Image container styles */
.image-container {
	max-width: 50vw;
	float: right;
	margin-left: 15px;
}

.image-container img {
	max-width: 100%;
	width: auto;
	height: auto;
	display: block;
}

/* Sticky header */
.sticky-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background-color: white;
	border-bottom: 1px solid #ccc;
	padding: 0;
}

/* Responsive styles */
@media (max-width: 600px) {
	.header {
		font-size: 2em;
		padding: 5px 0;
	}

	.tab-buttons {
		flex-wrap: nowrap;
		justify-content: space-between;
		padding: 5px 0;
	}

	.tab-button {
		font-size: 0.8em;
		padding: 8px 1px;
		flex: 1;
	}

	.tab-container {
		padding: 0 5px;
	}

	.calendar-container {
		padding: 10px;
		width: 100%;
		box-sizing: border-box;
	}

	.calendar {
		width: 100%;
	}

	.calendar th, .calendar td {
		min-width: 60px;
		padding: 8px;
	}

	.tab-content {
		padding: 10px;
		width: 100%;
		box-sizing: border-box;
	}

	.sticky-header {
		padding: 0;
	}
}

@media (min-width: 601px) and (max-width: 900px) {
	.tab-container {
		max-width: 95%;
	}

	.calendar-container {
		max-width: 95%;
	}
}

@media (min-width: 1200px) {
	body {
		justify-content: center;
	}

	.tab-content {
		width: 100%;
		max-width: 1200px;
		margin: 0 auto;
	}
}

.header{
	display: flex;
	justify-content: center;
	font-family: 'Playfair Display', serif;
	font-size: 2.5em;
	font-weight: 700;
	color: #2c3e50;
	padding: 10px 0;
}
button{
	font-family: 'Finger Paint', serif;
	border:none;
	padding: 2vw;
	text-decoration: none;
	color: #e2c6a6;
	background: white;
	width: 100%;
	padding-top: 0vw ;
	padding-bottom: 0vw ;

}
.main-image{
	aspect-ratio: 1;
	top: 0px;
}
.title{
	font-family: 'Playfair Display', serif;
	font-size: 2em;
	font-weight: 600;
	color: #2c3e50;
	margin: 30px 0 20px;
	text-align: center;
}
.top-content{
	padding-top: 0;
	width: 50%;
	margin-left: auto;
	margin-right: auto;
}
.UKMT{
	background: #14AAED;
}
.maths{
	background: #F29065;
}

.further{
	background: linear-gradient(90deg, rgba(242,142,111,1) 0%, rgba(249,187,86,1) 100%);
}
.middle-content{
	width: 80%;
	padding-top: 15vw;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 15vw;
}
.content{
	display: flex;
}
.price-container{
	display: flex;
	color: black;
	font-size: 2em;
	padding: 1vw;
	width: 100%;
}
.pricing-section
{
	width: 55%;
}
.session-details{
	width: 45%;
	padding: 1vw;
	font-size: 1.4vw;
	color: black;
}
.subject-title{
	display: flex;
	justify-content: space-between;
	width: 80%;
	color: black;
	font-size: 1.5vw;
	padding: 1vw;
	border-radius: 4vw;
	padding-left: 4vw;
	margin: 0px;
}
p{
	padding: 0px;
	margin: 0px;
}
.pfp{
	width: 30%; float: right; padding: 2vw;
}

.entry-section{
	display: flex;
	justify-content: space-between;
	font-size: 2vw;
	margin-left: auto;
	margin-right: auto;
}


.lower-section{
	padding-top: 0vw;
	padding-bottom: 10vw;
	background: #E5E5E5;
	width: 60%;
	margin-right: auto;
	margin-left: auto;
}
.entry-field{
	border-radius: 2vw;
	border: none;
	background: #D9D9D9;
	padding: 2vw;
	width: 100%;
	font-size: 1em;
}
.entry-left{
	width: 45%;
}
.entry-right{
	width: 45%;
}
.textarea{
	border-radius: 2vw;
	resize: none;
	height: 17vw;
	font-size: 1em;
}
.submit-container{
	width: 30%;
	margin-left: auto;
	margin-right: auto;
}
.submit-button{
	width: 100%;
	padding: 12px 24px;
	background-color: #3498db;
	color: white;
	border: none;
	border-radius: 8px;
	font-family: 'Inter', sans-serif;
	font-size: 1em;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.3s, transform 0.2s, opacity 0.3s;
}
.submit-button:hover:not([disabled]) {
	background-color: #2980b9;
	transform: translateY(-1px);
}
.submit-button:active:not([disabled]) {
	transform: translateY(0);
}
.submit-button[disabled] {
	background-color: #95a5a6;
	cursor: not-allowed;
	opacity: 0.7;
	transform: none;
}
.submit-container p {
	margin-top: 10px;
	color: #666;
	font-size: 0.9em;
	text-align: center;
}
.error-text{
	color: red;
	font-size: 2vw;
	width: 100%;
}
.mobile{display: none;}
  .desktop{display: block;}
@media all and (max-width: 900px) {
	.left-header{
		font-size: 6vw;
		padding-left: 2vw;

	}
  .top-content{
  	width: 96%;
  	padding: 2%;
  	padding-top: 0vw;
  	margin-left: auto;
  	margin-right: auto;
  }
  .main-image{
  	width: 100%;
  }

  .mobile{display: block;}
  .desktop{display: none;}
  .pfp{
  	float: none;
  	width: 100%;
  	padding: 0px;
  	
  	margin-left: auto;
  	margin-right: auto;
  	border-radius: 10vw;
  }
  .pfp-container{
  	padding-top: 10vw;
  	width: 60%;
  	margin-left: auto;
  	margin-right: auto;
  }
  .content{
  	display: block;
  }
  .pricing-section{
  	padding-top: 10vw;
  	width: 100%;
  }
  .subject-title{
  	width: 100%;
  	font-size: 4vw;
  }
  .session-details{
  	width: 100%;
  	font-size: 4vw;
  }
  .entry-section{
  	font-size: 4vw;
  	display: block;
  }
  .entry-left{
  	width: 100%;
  }
  .entry-right{
  	width: 100%;
  }
  .submit-container{
  	width: 50%;

  }
  .submit-button{
  	padding: 3vw;
  	font-size: 1em;
  }
  .submit-button:hover {
    cursor: pointer;
  }
}

.what-options {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
}

.what-option {
    width: 100%;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.what-option h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c3e50;
}

.what-option p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1em;
    line-height: 1.6;
    color: #666;
    max-width: 600px;
    margin: 0 auto 20px;
}

.or-separator {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.5em;
    color: #666;
    text-align: center;
    margin: -15px 0;
    position: relative;
    width: 100%;
}

.video-container {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 600px) {
    .what-options {
        padding: 15px;
        gap: 20px;
    }

    .what-option {
        padding: 20px;
    }

    .what-option h2 {
        font-size: 1.5em;
        margin-bottom: 15px;
    }

    .what-option p {
        font-size: 1em;
        margin-bottom: 15px;
    }

    .video-container {
        margin: 15px auto;
    }
}

.section {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    font-weight: 600;
    color: #2c3e50;
    margin: 30px 0 20px;
}

.section p, .section ul li {
    font-family: 'Inter', sans-serif;
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
}

.section ul {
    list-style-type: none;
    padding-left: 0;
}

.section ul li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.section ul li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
}

.entry-section {
    display: flex;
    gap: 30px;
    max-width: 800px;
    margin: 30px auto;
    padding: 0 20px;
}

.entry-left, .entry-right {
    flex: 1;
}

.entry-container {
    margin-bottom: 20px;
}

.entry-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9em;
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
}

.entry-field {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1em;
    color: #333;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.entry-field:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

.entry-field.textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-container {
    max-width: 200px;
    margin: 30px auto;
    text-align: center;
}

.submit-button {
    width: 100%;
    padding: 12px 24px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, opacity 0.3s;
}

.submit-button:hover:not([disabled]) {
    background-color: #2980b9;
    transform: translateY(-1px);
}

.submit-button:active:not([disabled]) {
    transform: translateY(0);
}

.submit-button[disabled] {
    background-color: #95a5a6;
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}

.submit-container p {
    margin-top: 10px;
    color: #666;
    font-size: 0.9em;
    text-align: center;
}

/* Required field indicator */
.entry-text[for*="name"]::after,
.entry-text[for*="email"]::after {
    content: " *";
    color: #e74c3c;
}

@media (max-width: 600px) {
    .entry-section {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
        margin: 20px auto;
    }

    .entry-container {
        margin-bottom: 15px;
    }

    .entry-field {
        padding: 10px 14px;
    }

    .entry-field.textarea {
        min-height: 120px;
    }

    .submit-container {
        max-width: 180px;
        margin: 20px auto;
    }
}

.tab-content {
    display: none;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.tab-content.active {
    display: block;
}

.tab-button {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.1em;
    border: none;
    padding: 12px 24px;
    text-decoration: none;
    color: #2c3e50;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tab-button:hover, .tab-button.active {
    color: #3498db;
    border-bottom: 2px solid #3498db;
}

video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}