/* Modern Contact Page Styles */
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

:root {
	--primary-color: #8b0000;
	--primary-light: #8b0000;
	--primary-dark: #8b0000;
	--secondary-color: #ff6b35;
	--accent-color: #8b0000;
	--text-dark: #1e293b;
	--text-medium: #475569;
	--text-light: #64748b;
	--background-light: #f8fafc;
	--white: #ffffff;
	--gradient-primary: linear-gradient(135deg, #8b0000 0%, #8b0000 100%);
	--gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #ff8a65 100%);
	--shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
	--shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
	--shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.15);
	--transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	--transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: var(--text-dark);
	overflow-x: hidden;
}

/* Animation Classes */
.fade-in-up {
	opacity: 0;
	transform: translateY(30px);
	animation: fadeInUp 0.8s ease forwards;
}

.fade-in-left {
	opacity: 0;
	transform: translateX(-30px);
	animation: fadeInLeft 0.8s ease forwards;
}

.fade-in-right {
	opacity: 0;
	transform: translateX(30px);
	animation: fadeInRight 0.8s ease forwards;
}

@keyframes fadeInUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInLeft {
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fadeInRight {
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes float {
	0%,
	100% {
		transform: translateY(0px) rotate(0deg);
	}
	33% {
		transform: translateY(-10px) rotate(1deg);
	}
	66% {
		transform: translateY(5px) rotate(-1deg);
	}
}

@keyframes pulse {
	0%,
	100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
}

@keyframes bounce {
	0%,
	20%,
	50%,
	80%,
	100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-10px);
	}
	60% {
		transform: translateY(-5px);
	}
}

/* Hero Section */
.contact__hero {
	position: relative;
	background: var(--gradient-primary);
	padding: 120px 0 80px;
	text-align: center;
	color: var(--white);
	overflow: hidden;
	min-height: 100vh;
	display: flex;
	align-items: center;
}

.hero__background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 1;
}

.floating-shapes {
	position: absolute;
	width: 100%;
	height: 100%;
}

.shape {
	position: absolute;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	animation: float 6s ease-in-out infinite;
}

.shape1 {
	width: 80px;
	height: 80px;
	top: 20%;
	left: 10%;
	animation-delay: 0s;
}

.shape2 {
	width: 120px;
	height: 120px;
	top: 60%;
	right: 10%;
	animation-delay: 2s;
}

.shape3 {
	width: 60px;
	height: 60px;
	top: 80%;
	left: 20%;
	animation-delay: 4s;
}

.shape4 {
	width: 100px;
	height: 100px;
	top: 30%;
	right: 30%;
	animation-delay: 1s;
}

.hero__content {
	position: relative;
	z-index: 2;
	max-width: 800px;
	margin: 0 auto;
}

.contact__title {
	font-size: 4rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	background: linear-gradient(45deg, #ffffff, #8b0000);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: pulse 3s ease-in-out infinite;
}

.contact__subtitle {
	font-size: 1.25rem;
	opacity: 0.9;
	margin-bottom: 3rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.hero__stats {
	display: flex;
	justify-content: center;
	gap: 3rem;
	margin-top: 3rem;
}

.stat-item {
	text-align: center;
	padding: 1.5rem;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	transition: var(--transition-smooth);
}

.stat-item:hover {
	transform: translateY(-5px);
	background: rgba(255, 255, 255, 0.15);
}

.stat-number {
	font-size: 2.5rem;
	font-weight: 700;
	display: block;
	margin-bottom: 0.5rem;
}

.stat-label {
	font-size: 0.9rem;
	opacity: 0.8;
}

.scroll-indicator {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
}

.scroll-arrow {
	width: 30px;
	height: 30px;
	border: 2px solid var(--white);
	border-top: none;
	border-right: none;
	transform: rotate(-45deg);
	animation: bounce 2s infinite;
}

/* Contact Methods Section */
.contact__methods {
	padding: 10px 0;
	background: var(--background-light);
}

.section__header {
	margin-bottom: 3rem;
}

.section__header h2 {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 1rem;
}

.section__header p {
	font-size: 1.1rem;
	color: var(--text-medium);
	max-width: 600px;
	margin: 0 auto;
}

.text-center {
	text-align: center;
}

.contact__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.contact__card {
	background: var(--white);
	padding: 2.5rem;
	border-radius: 20px;
	box-shadow: var(--shadow-light);
	transition: var(--transition-smooth);
	position: relative;
	overflow: hidden;
	flex-direction: column;
	align-items: center;
}

.contact__card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: var(--gradient-primary);
	transform: scaleX(0);
	transition: var(--transition-smooth);
}

.contact__card:hover {
	transform: translateY(-10px);
	box-shadow: var(--shadow-heavy);
}

.contact__card:hover::before {
	transform: scaleX(1);
}

.card__icon {
	width: 70px;
	height: 70px;
	min-width: 70px;
	min-height: 70px;
	background: var(--gradient-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	font-size: 2rem;
	margin-bottom: 1.5rem;
	transition: var(--transition-bounce);
	flex-shrink: 0;
}

.contact__card:hover .card__icon {
	transform: scale(1.1) rotate(10deg);
}

.card__content h3 {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 1rem;
}

.card__content > p {
	color: var(--text-medium);
	margin-bottom: 1.5rem;
	font-size: 1.1rem;
}

.contact__hours {
	margin: 1.5rem 0;
}

.hours-item {
	display: flex;
	justify-content: space-between;
	padding: 0.5rem 0;
	border-bottom: 1px solid #f1f5f9;
	font-size: 0.95rem;
}

.hours-item:last-child {
	border-bottom: none;
}

.hours-item span:first-child {
	color: var(--text-medium);
	font-weight: 500;
}

.hours-item span:last-child {
	color: var(--text-dark);
	font-weight: 600;
}

.phone__numbers,
.email__addresses {
	margin: 1.5rem 0;
}

.phone__link,
.email__link {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem;
	background: #f8fafc;
	border-radius: 12px;
	text-decoration: none;
	color: var(--text-dark);
	margin-bottom: 0.8rem;
	transition: var(--transition-smooth);
	width: 100%;
	min-width: 0;
}

.phone__link:hover,
.email__link:hover {
	background: #e2e8f0;
	transform: translateX(5px);
}

.phone__link i,
.email__link i {
	font-size: 1.2rem;
	color: var(--primary-color);
	flex-shrink: 0;
}

.phone__link > div,
.email__link > div {
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

.phone__label,
.email__label {
	font-size: 0.85rem;
	color: var(--text-light);
	display: block;
}

.phone__number,
.email__address {
	font-size: 1rem;
	color: var(--text-dark);
	font-weight: 600;
	display: block;
	word-break: break-all;
	overflow-wrap: break-word;
	width: 100%;
}

.contact__btn {
	width: 100%;
	padding: 1rem 1.5rem;
	background: var(--gradient-primary);
	color: var(--white);
	border: none;
	border-radius: 12px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition-smooth);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	min-height: 48px;
}

.contact__btn:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-medium);
}

/* Contact Main Section */
.contact__main {
	padding: 80px 0;
	background: var(--white);
}

.contact__layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: start;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

/* Form Section */
.form__section {
	background: var(--white);
	padding: 2rem;
	border-radius: 20px;
	box-shadow: var(--shadow-light);
	border: 1px solid #f1f5f9;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	overflow: hidden;
}

.form__header {
	margin-bottom: 2.5rem;
	text-align: center;
}

.form__header h2 {
	font-size: 2rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 1rem;
}

.form__header p {
	color: var(--text-medium);
	font-size: 1rem;
}

.contact__form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	width: 100%;
	max-width: 100%;
}

.form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	width: 100%;
}

.form__group {
	position: relative;
	margin-bottom: 1rem;
	width: 100%;
	box-sizing: border-box;
}

.form__group input,
.form__group select,
.form__group textarea {
	width: 100%;
	padding: 1.2rem 1rem 0.8rem;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	font-size: 1rem;
	background: var(--white);
	transition: var(--transition-smooth);
	outline: none;
	box-sizing: border-box;
	font-family: inherit;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 4px rgba(26, 35, 126, 0.1);
}

.form__group label {
	position: absolute;
	top: 1rem;
	left: 1rem;
	color: var(--text-light);
	font-size: 1rem;
	transition: var(--transition-smooth);
	pointer-events: none;
	background: var(--white);
	padding: 0 0.5rem;
}

.form__group input:focus + label,
.form__group select:focus + label,
.form__group textarea:focus + label,
.form__group input:not(:placeholder-shown) + label,
.form__group select:valid + label,
.form__group textarea:not(:placeholder-shown) + label,
.form__group.has-value label,
.form__group.focused label {
	top: -0.5rem;
	left: 0.5rem;
	font-size: 0.85rem;
	color: var(--primary-color);
	font-weight: 600;
	transform: translateY(0);
}

.form__group select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
	background-position: right 1rem center;
	background-repeat: no-repeat;
	background-size: 1.5em 1.5em;
	padding-right: 3rem;
}

.form__group select:focus {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%231a237e' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

.input__line {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--gradient-primary);
	transition: var(--transition-smooth);
}

.form__group input:focus ~ .input__line,
.form__group select:focus ~ .input__line,
.form__group textarea:focus ~ .input__line {
	width: 100%;
}

.form__group textarea {
	resize: vertical;
	min-height: 120px;
	padding-top: 1.2rem;
}

.form__checkbox {
	margin: 1rem 0;
}

.checkbox__container {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	cursor: pointer;
	font-size: 0.95rem;
	color: var(--text-medium);
}

.checkbox__container input[type="checkbox"] {
	display: none;
}

.checkmark {
	width: 20px;
	height: 20px;
	border: 2px solid #e2e8f0;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition-smooth);
}

.checkbox__container input[type="checkbox"]:checked + .checkmark {
	background: var(--primary-color);
	border-color: var(--primary-color);
}

.checkbox__container input[type="checkbox"]:checked + .checkmark::after {
	content: "✓";
	color: var(--white);
	font-size: 12px;
	font-weight: bold;
}

.submit__btn {
	position: relative;
	padding: 1.2rem 2rem;
	background: var(--gradient-primary);
	color: var(--white);
	border: none;
	border-radius: 12px;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition-smooth);
	overflow: hidden;
	margin-top: 1rem;
}

.submit__btn:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-medium);
}

.submit__btn:active {
	transform: translateY(0);
}

.btn__text {
	transition: var(--transition-smooth);
}

.btn__loader {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 20px;
	height: 20px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top: 2px solid var(--white);
	border-radius: 50%;
	animation: spin 1s linear infinite;
	opacity: 0;
	transition: var(--transition-smooth);
}

.btn__icon {
	margin-left: 0.5rem;
	transition: var(--transition-smooth);
}

.submit__btn:hover .btn__icon {
	transform: translateX(5px);
}

.submit__btn.loading .btn__text,
.submit__btn.loading .btn__icon {
	opacity: 0;
}

.submit__btn.loading .btn__loader {
	opacity: 1;
}

@keyframes spin {
	0% {
		transform: translate(-50%, -50%) rotate(0deg);
	}
	100% {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

/* Map Section */
.map__section {
	background: var(--background-light);
	padding: 2rem;
	border-radius: 24px;
	height: fit-content;
	position: sticky;
	top: 2rem;
}

.map__header {
	text-align: center;
	margin-bottom: 2rem;
}

.map__header h3 {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
}

.map__header p {
	color: var(--text-medium);
	font-size: 0.95rem;
}

.map__container {
	position: relative;
	height: 300px;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--shadow-light);
	margin-bottom: 2rem;
}

.google__map {
	width: 100%;
	height: 100%;
}

.map__overlay {
	position: absolute;
	top: 15px;
	left: 15px;
	background: var(--white);
	padding: 1.5rem;
	border-radius: 12px;
	box-shadow: var(--shadow-medium);
	max-width: 250px;
	backdrop-filter: blur(10px);
}

.location__info {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.location__marker {
	width: 40px;
	height: 40px;
	background: var(--gradient-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	font-size: 1.2rem;
	flex-shrink: 0;
}

.location__details h4 {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
}

.location__details p {
	font-size: 0.9rem;
	color: var(--text-medium);
	margin-bottom: 1rem;
}

.location__actions {
	display: flex;
	gap: 0.5rem;
}

.map__btn {
	padding: 0.5rem 1rem;
	background: var(--primary-color);
	color: var(--white);
	border: none;
	border-radius: 8px;
	font-size: 0.85rem;
	font-weight: 500;
	cursor: pointer;
	transition: var(--transition-smooth);
	display: flex;
	align-items: center;
	gap: 0.3rem;
}

.map__btn:hover {
	background: var(--primary-dark);
	transform: translateY(-1px);
}

.transport__info {
	background: var(--white);
	padding: 2rem;
	border-radius: 16px;
	box-shadow: var(--shadow-light);
}

.transport__info h4 {
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 1.5rem;
	text-align: center;
}

.transport__methods {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.transport__item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem;
	background: #f8fafc;
	border-radius: 12px;
	transition: var(--transition-smooth);
}

.transport__item:hover {
	background: #e2e8f0;
	transform: translateX(5px);
}

.transport__item i {
	font-size: 1.5rem;
	color: var(--primary-color);
	width: 30px;
	text-align: center;
}

.transport__item strong {
	display: block;
	color: var(--text-dark);
	font-weight: 600;
	margin-bottom: 0.2rem;
}

.transport__item span {
	color: var(--text-medium);
	font-size: 0.9rem;
}

/* FAQ Section */
.faq__section {
	padding: 10px 0;
	background: var(--background-light);
}

.faq__container {
	max-width: 800px;
	margin: 0 auto;
}

.faq__item {
	background: var(--white);
	border-radius: 16px;
	margin-bottom: 1rem;
	box-shadow: var(--shadow-light);
	overflow: hidden;
	transition: var(--transition-smooth);
}

.faq__item:hover {
	box-shadow: var(--shadow-medium);
}

.faq__question {
	padding: 2rem;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: var(--transition-smooth);
	position: relative;
}

.faq__question::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		45deg,
		rgba(26, 35, 126, 0.02),
		rgba(57, 73, 171, 0.02)
	);
	opacity: 0;
	transition: var(--transition-smooth);
}

.faq__question:hover::before {
	opacity: 1;
}

.faq__question h3 {
	color: var(--text-dark);
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0;
	flex: 1;
	position: relative;
	z-index: 1;
}

.faq__icon {
	width: 40px;
	height: 40px;
	background: var(--gradient-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	font-size: 1.2rem;
	transition: var(--transition-bounce);
	position: relative;
	z-index: 1;
}

.faq__answer {
	padding: 0 2rem;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
	background: #fafbfc;
	opacity: 0;
	visibility: hidden;
}

.faq__answer.active,
.faq__item.active .faq__answer {
	max-height: 800px;
	padding: 1rem 2rem 2rem;
	opacity: 1;
	visibility: visible;
}

.faq__answer p {
	color: var(--text-medium);
	line-height: 1.7;
	margin: 0;
	padding-top: 1rem;
}

.faq__item.active .faq__icon {
	transform: rotate(45deg);
	background: var(--gradient-secondary);
}

.faq__item.active .faq__icon i {
	transform: rotate(0deg);
}

/* Contact CTA Section */
.contact__cta {
	padding: 80px 0;
	background: var(--gradient-primary);
	color: var(--white);
	text-align: center;
}

.cta__content h2 {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.cta__content p {
	font-size: 1.1rem;
	opacity: 0.9;
	margin-bottom: 3rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.cta__actions {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.cta__btn {
	padding: 1.2rem 2rem;
	border-radius: 12px;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	transition: var(--transition-smooth);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.cta__btn.primary {
	background: var(--white);
	color: var(--primary-color);
}

.cta__btn.secondary {
	background: transparent;
	color: var(--white);
	border: 2px solid var(--white);
}

.cta__btn:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-medium);
}

.cta__btn.primary:hover {
	background: #f8fafc;
}

.cta__btn.secondary:hover {
	background: var(--white);
	color: var(--primary-color);
}

.cta__hours {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-size: 0.95rem;
	opacity: 0.8;
}

/* Success Modal */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1000;
	backdrop-filter: blur(5px);
}

.modal.show {
	display: flex;
	align-items: center;
	justify-content: center;
	animation: fadeIn 0.3s ease;
}

.modal__content {
	background: var(--white);
	padding: 3rem;
	border-radius: 20px;
	text-align: center;
	max-width: 400px;
	width: 90%;
	box-shadow: var(--shadow-heavy);
	transform: scale(0.8);
	animation: modalAppear 0.3s ease forwards;
}

.modal__icon {
	width: 80px;
	height: 80px;
	background: var(--gradient-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	font-size: 2rem;
	margin: 0 auto 1.5rem;
	animation: pulse 2s ease-in-out infinite;
}

.modal__content h3 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 1rem;
}

.modal__content p {
	color: var(--text-medium);
	margin-bottom: 2rem;
	line-height: 1.6;
}

.modal__btn {
	padding: 1rem 2rem;
	background: var(--gradient-primary);
	color: var(--white);
	border: none;
	border-radius: 12px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition-smooth);
}

.modal__btn:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-medium);
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes modalAppear {
	to {
		transform: scale(1);
	}
}

/* Responsive Design */
@media (max-width: 1024px) {
	.contact__layout {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.map__section {
		position: static;
	}

	.hero__stats {
		gap: 2rem;
	}

	.stat-item {
		padding: 1rem;
	}
}

@media (max-width: 768px) {
	.contact__hero {
		padding: 100px 0 60px;
		min-height: 80vh;
	}

	.contact__title {
		font-size: 3rem;
	}

	.contact__subtitle {
		font-size: 1.1rem;
	}

	.hero__stats {
		flex-direction: column;
		gap: 1rem;
		align-items: center;
	}

	.stat-item {
		width: 200px;
	}

	.contact__grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		margin-top: 2rem;
	}

	.contact__card {
		padding: 1.5rem;
		margin: 0 1rem;
		text-align: center;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.card__icon {
		width: 60px;
		height: 60px;
		min-width: 60px;
		min-height: 60px;
		font-size: 1.5rem;
		margin: 0 0 1.5rem 0;
		order: -1;
	}

	.card__content {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.card__content h3 {
		font-size: 1.25rem;
		margin-bottom: 0.75rem;
	}

	.phone__numbers,
	.email__addresses {
		width: 100%;
		margin: 1rem 0;
	}

	.contact__hours {
		width: 100%;
		margin: 1rem 0;
	}

	.contact__btn {
		padding: 0.875rem 1rem;
		font-size: 0.9rem;
	}

	.form__section {
		padding: 1.5rem;
		margin: 0 1rem;
		width: calc(100% - 2rem);
		box-sizing: border-box;
	}

	.contact__form {
		width: 100%;
		max-width: 100%;
	}

	.form__row {
		grid-template-columns: 1fr;
		gap: 0;
		width: 100%;
	}

	.form__group {
		margin-bottom: 1.5rem;
		width: 100%;
	}

	.form__group input,
	.form__group select,
	.form__group textarea {
		width: 100%;
		box-sizing: border-box;
		max-width: 100%;
	}

	.map__container {
		height: 250px;
		margin: 0 1rem;
		border-radius: 12px;
	}

	.map__overlay {
		position: static;
		margin-top: 1rem;
		max-width: none;
		margin-left: 1rem;
		margin-right: 1rem;
	}

	.cta__actions {
		flex-direction: column;
		align-items: center;
	}

	.transport__methods {
		gap: 0.8rem;
	}

	.transport__item {
		padding: 0.8rem;
	}

	.contact__methods,
	.contact__main {
		padding: 60px 0;
	}
}

@media (max-width: 480px) {
	.contact__hero {
		padding: 80px 0 50px;
	}

	.contact__title {
		font-size: 2.5rem;
	}

	.contact__subtitle {
		font-size: 1rem;
	}

	.section__header h2 {
		font-size: 2rem;
	}

	.contact__card {
		padding: 1.25rem;
		margin: 0 0.5rem;
		text-align: center;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.card__icon {
		width: 50px;
		height: 50px;
		min-width: 50px;
		min-height: 50px;
		font-size: 1.25rem;
		margin: 0 0 1.25rem 0;
		order: -1;
	}

	.card__content {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.card__content h3 {
		font-size: 1.1rem;
	}

	.phone__numbers,
	.email__addresses {
		width: 100%;
		margin: 1rem 0;
	}

	.contact__hours {
		width: 100%;
		margin: 1rem 0;
	}

	.contact__btn {
		padding: 0.75rem 0.875rem;
		font-size: 0.85rem;
		min-height: 44px;
	}

	.form__section {
		padding: 1.25rem;
		margin: 0 0.5rem;
		width: calc(100% - 1rem);
		box-sizing: border-box;
	}

	.contact__form {
		width: 100%;
		max-width: 100%;
	}

	.form__row {
		width: 100%;
	}

	.form__group {
		width: 100%;
	}

	.form__header h2 {
		font-size: 1.5rem;
	}

	.form__group input,
	.form__group select,
	.form__group textarea {
		padding: 1rem 0.875rem 0.75rem;
		font-size: 0.95rem;
		width: 100%;
		box-sizing: border-box;
		max-width: 100%;
	}

	.submit__btn {
		padding: 1rem 1.5rem;
		font-size: 1rem;
	}

	.contact__methods,
	.contact__main,
	.faq__section,
	.contact__cta {
		padding: 50px 0;
	}

	.faq__question {
		padding: 1.25rem;
	}

	.faq__question h3 {
		font-size: 1rem;
	}

	.faq__answer {
		padding: 0 1.25rem;
	}

	.faq__answer.active,
	.faq__item.active .faq__answer {
		padding: 1rem 1.25rem 1.5rem;
	}

	.faq__icon {
		width: 35px;
		height: 35px;
		font-size: 1rem;
	}

	.cta__content h2 {
		font-size: 2rem;
	}

	.modal__content {
		padding: 1.5rem;
		margin: 1rem;
	}

	.map__container {
		margin: 0 0.5rem;
	}

	.map__overlay {
		margin-left: 0.5rem;
		margin-right: 0.5rem;
	}

	.phone__link,
	.email__link {
		padding: 0.75rem;
		font-size: 0.9rem;
	}

	.hours-item {
		font-size: 0.85rem;
		padding: 0.4rem 0;
	}
}

/* Animation delays for staggered effects */
.fade-in-up[data-delay="100"] {
	animation-delay: 0.1s;
}
.fade-in-up[data-delay="200"] {
	animation-delay: 0.2s;
}
.fade-in-up[data-delay="300"] {
	animation-delay: 0.3s;
}
.fade-in-up[data-delay="400"] {
	animation-delay: 0.4s;
}
.fade-in-up[data-delay="500"] {
	animation-delay: 0.5s;
}
.fade-in-up[data-delay="600"] {
	animation-delay: 0.6s;
}

/* Scroll-triggered animations */
@media (prefers-reduced-motion: no-preference) {
	.fade-in-up,
	.fade-in-left,
	.fade-in-right {
		animation-play-state: paused;
	}

	.fade-in-up.in-view,
	.fade-in-left.in-view,
	.fade-in-right.in-view {
		animation-play-state: running;
	}
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
	outline: 2px solid var(--primary-color);
	outline-offset: 2px;
}

/* Cookie Consent Popup */
.cookie-consent {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--white);
	box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
	z-index: 10000;
	transform: translateY(100%);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border-top: 1px solid #e2e8f0;
}

.cookie-consent.show {
	transform: translateY(0);
}

.cookie-consent__content {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
	padding: 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.cookie-consent__icon {
	width: 60px;
	height: 60px;
	background: var(--gradient-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	font-size: 1.5rem;
	flex-shrink: 0;
}

.cookie-consent__text {
	flex: 1;
}

.cookie-consent__text h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
}

.cookie-consent__text > p {
	color: var(--text-medium);
	line-height: 1.6;
	margin-bottom: 1rem;
}

.cookie-consent__details {
	margin-bottom: 1rem;
}

.cookie-details-btn {
	background: none;
	border: none;
	color: var(--primary-color);
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0;
	transition: var(--transition-smooth);
}

.cookie-details-btn:hover {
	color: var(--primary-dark);
}

.cookie-details-btn i {
	transition: var(--transition-smooth);
}

.cookie-details-btn.active i {
	transform: rotate(180deg);
}

.cookie-details {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
	background: #f8fafc;
	border-radius: 12px;
	margin-top: 1rem;
}

.cookie-details.show {
	max-height: 300px;
	padding: 1.5rem;
}

.cookie-category {
	margin-bottom: 1.5rem;
}

.cookie-category:last-child {
	margin-bottom: 0;
}

.cookie-category__header {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.cookie-switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 24px;
	flex-shrink: 0;
	margin-top: 2px;
}

.cookie-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #cbd5e1;
	transition: var(--transition-smooth);
	border-radius: 24px;
}

.slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: var(--white);
	transition: var(--transition-smooth);
	border-radius: 50%;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-switch input:checked + .slider {
	background-color: var(--primary-color);
}

.cookie-switch input:checked + .slider:before {
	transform: translateX(26px);
}

.cookie-switch input:disabled + .slider {
	opacity: 0.6;
	cursor: not-allowed;
}

.cookie-category h4 {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 0.25rem;
}

.cookie-category p {
	font-size: 0.9rem;
	color: var(--text-medium);
	line-height: 1.4;
}

.cookie-consent__actions {
	display: flex;
	gap: 1rem;
	padding: 0 2rem 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.cookie-btn {
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition-smooth);
	border: none;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-width: 120px;
	justify-content: center;
}

.cookie-btn--primary {
	background: var(--gradient-primary);
	color: var(--white);
}

.cookie-btn--primary:hover {
	transform: translateY(-1px);
	box-shadow: var(--shadow-medium);
}

.cookie-btn--secondary {
	background: transparent;
	color: var(--text-medium);
	border: 2px solid #e2e8f0;
}

.cookie-btn--secondary:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
}

.cookie-btn--settings {
	background: var(--white);
	color: var(--primary-color);
	border: 2px solid var(--primary-color);
}

.cookie-btn--settings:hover {
	background: var(--primary-color);
	color: var(--white);
}

.cookie-consent__links {
	display: flex;
	justify-content: center;
	gap: 1rem;
	padding: 0 2rem 2rem;
	font-size: 0.9rem;
}

.cookie-consent__links a {
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 500;
}

.cookie-consent__links a:hover {
	text-decoration: underline;
}

.cookie-consent__links span {
	color: var(--text-light);
}

/* Footer Styles */
footer {
	background: #f5f5f5;
	padding: 2rem 0;
	margin-top: 0rem;
}

.footer__container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

.footer__content {
	text-align: center;
}

.footer__links {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}

.footer__links a {
	color: #333;
	text-decoration: none;
	font-weight: 500;
	padding: 0.5rem 1rem;
	border-radius: 4px;
	transition: all 0.3s ease;
}

.footer__links a:hover {
	background: #e0e0e0;
	color: #8b0000;
}

.footer__info {
	color: #333;
}

.footer__info p {
	margin: 0.5rem 0;
	font-size: 0.9rem;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
	.contact__card,
	.form__section,
	.modal__content {
		border: 2px solid var(--text-dark);
	}
}

/* Cookie Consent Responsive */
@media (max-width: 768px) {
	.cookie-consent__content {
		flex-direction: column;
		text-align: center;
		padding: 1.5rem;
	}

	.cookie-consent__icon {
		align-self: center;
	}

	.cookie-consent__actions {
		flex-direction: column;
		padding: 0 1.5rem 1rem;
	}

	.cookie-btn {
		width: 100%;
	}

	.cookie-details.show {
		padding: 1rem;
	}

	.cookie-category__header {
		flex-direction: column;
		gap: 0.5rem;
	}

	.cookie-switch {
		align-self: flex-start;
	}
}

@media (max-width: 480px) {
	.cookie-consent__content {
		padding: 1rem;
	}

	.cookie-consent__icon {
		width: 50px;
		height: 50px;
		font-size: 1.2rem;
	}

	.cookie-consent__text h3 {
		font-size: 1.1rem;
	}

	.cookie-consent__text > p {
		font-size: 0.9rem;
	}

	.cookie-consent__actions {
		padding: 0 1rem 1rem;
	}

	.cookie-consent__links {
		padding: 0 1rem 1.5rem;
		flex-direction: column;
		text-align: center;
	}
}

/* Mobile-First Redesign for Key Sections */

/* Send us a Message Section - Mobile Redesign */
@media (max-width: 768px) {
	.contact__main {
		padding: 40px 0;
		background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
	}

	.contact__layout {
		display: flex;
		flex-direction: column;
		gap: 2rem;
	}

	.form__section {
		background: var(--white);
		border-radius: 20px;
		padding: 2rem 1.5rem;
		box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
		border: 1px solid rgba(255, 255, 255, 0.2);
		backdrop-filter: blur(10px);
		order: 1;
	}

	.form__header {
		text-align: center;
		margin-bottom: 2rem;
	}

	.form__header h2 {
		font-size: 1.75rem;
		font-weight: 700;
		color: var(--text-dark);
		margin-bottom: 0.5rem;
	}

	.form__header p {
		color: var(--text-medium);
		font-size: 0.95rem;
		line-height: 1.5;
	}

	/* Form Layout Mobile Optimization */
	.form__row {
		display: flex;
		flex-direction: column;
		gap: 1.25rem;
		margin-bottom: 1.25rem;
	}

	.form__group {
		position: relative;
		margin-bottom: 1.5rem;
	}

	.form__group input,
	.form__group textarea,
	.form__group select {
		width: 100%;
		padding: 16px 20px;
		border: 2px solid #e2e8f0;
		border-radius: 12px;
		font-size: 16px; /* Prevent iOS zoom */
		font-family: inherit;
		background: var(--white);
		transition: all 0.3s ease;
		appearance: none;
	}

	.form__group input:focus,
	.form__group textarea:focus,
	.form__group select:focus {
		outline: none;
		border-color: var(--primary-light);
		box-shadow: 0 0 0 4px rgba(57, 73, 171, 0.1);
		background: #fafbff;
	}

	.form__group label {
		position: absolute;
		top: 16px;
		left: 20px;
		color: var(--text-light);
		font-size: 16px;
		font-weight: 500;
		pointer-events: none;
		transition: all 0.3s ease;
		background: var(--white);
		padding: 0 4px;
	}

	.form__group input:focus + label,
	.form__group textarea:focus + label,
	.form__group select:focus + label,
	.form__group input:not(:placeholder-shown) + label,
	.form__group textarea:not(:placeholder-shown) + label,
	.form__group select:valid + label {
		top: -8px;
		left: 16px;
		font-size: 12px;
		color: var(--primary-light);
		font-weight: 600;
	}

	.input__line {
		display: none; /* Remove for cleaner mobile design */
	}

	.form__group textarea {
		min-height: 120px;
		resize: vertical;
	}

	.form__checkbox {
		margin: 1.5rem 0 2rem 0;
	}

	.checkbox__container {
		display: flex;
		align-items: flex-start;
		gap: 12px;
		font-size: 14px;
		line-height: 1.4;
		color: var(--text-medium);
		cursor: pointer;
	}

	.checkmark {
		min-width: 20px;
		height: 20px;
		border: 2px solid #e2e8f0;
		border-radius: 4px;
		position: relative;
		transition: all 0.3s ease;
	}

	.checkbox__container input[type="checkbox"]:checked + .checkmark {
		background-color: var(--primary-light);
		border-color: var(--primary-light);
	}

	.checkbox__container input[type="checkbox"]:checked + .checkmark::after {
		content: "✓";
		position: absolute;
		color: white;
		font-size: 14px;
		font-weight: bold;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}

	.submit__btn {
		width: 100%;
		padding: 16px 24px;
		background: linear-gradient(
			135deg,
			var(--primary-color) 0%,
			var(--primary-light) 100%
		);
		color: white;
		border: none;
		border-radius: 12px;
		font-size: 16px;
		font-weight: 600;
		cursor: pointer;
		position: relative;
		overflow: hidden;
		transition: all 0.3s ease;
		min-height: 56px;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
	}

	.submit__btn:hover {
		transform: translateY(-2px);
		box-shadow: 0 8px 25px rgba(26, 35, 126, 0.3);
	}

	.submit__btn:active {
		transform: translateY(0);
	}

	/* Find Us in Oslo Section - Mobile Redesign */
	.map__section {
		background: var(--white);
		border-radius: 20px;
		padding: 0;
		box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
		border: 1px solid rgba(255, 255, 255, 0.2);
		overflow: hidden;
		order: 2;
	}

	.map__header {
		padding: 2rem 1.5rem 1rem 1.5rem;
		text-align: center;
	}

	.map__header h3 {
		font-size: 1.5rem;
		font-weight: 700;
		color: var(--text-dark);
		margin-bottom: 0.5rem;
	}

	.map__header p {
		color: var(--text-medium);
		font-size: 0.95rem;
		line-height: 1.5;
	}

	.map__container {
		position: relative;
		height: 280px;
		border-radius: 0;
		margin: 0 1.5rem 1.5rem 1.5rem;
		border-radius: 16px;
		overflow: hidden;
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	}

	.google__map {
		width: 100%;
		height: 100%;
		border-radius: 16px;
	}

	.map__overlay {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
		padding: 1.5rem 1rem 1rem 1rem;
		border-radius: 0 0 16px 16px;
	}

	.location__info {
		display: flex;
		align-items: center;
		gap: 1rem;
		color: white;
	}

	.location__marker {
		background: var(--primary-color);
		border-radius: 50%;
		width: 48px;
		height: 48px;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 1.5rem;
		color: white;
		flex-shrink: 0;
		box-shadow: 0 4px 15px rgba(26, 35, 126, 0.4);
	}

	.location__details h4 {
		font-size: 1.1rem;
		font-weight: 600;
		margin-bottom: 0.25rem;
	}

	.location__details p {
		font-size: 0.9rem;
		opacity: 0.9;
		margin-bottom: 0.75rem;
	}

	.location__actions {
		display: flex;
		gap: 0.75rem;
		flex-wrap: wrap;
	}

	.map__btn {
		background: rgba(255, 255, 255, 0.2);
		backdrop-filter: blur(10px);
		border: 1px solid rgba(255, 255, 255, 0.3);
		color: white;
		padding: 8px 16px;
		border-radius: 8px;
		font-size: 0.85rem;
		font-weight: 500;
		cursor: pointer;
		transition: all 0.3s ease;
		display: flex;
		align-items: center;
		gap: 6px;
		min-height: 36px;
	}

	.map__btn:hover {
		background: rgba(255, 255, 255, 0.3);
		transform: translateY(-1px);
	}

	/* How to Reach Us Section - Mobile Redesign */
	.transport__info {
		padding: 1.5rem;
		border-top: 1px solid #f1f5f9;
		background: #fafbff;
		border-radius: 0 0 20px 20px;
	}

	.transport__info h4 {
		font-size: 1.25rem;
		font-weight: 700;
		color: var(--text-dark);
		text-align: center;
		margin-bottom: 1.5rem;
	}

	.transport__methods {
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}

	.transport__item {
		display: flex;
		align-items: center;
		gap: 1rem;
		padding: 1rem;
		background: var(--white);
		border-radius: 12px;
		border: 1px solid #e2e8f0;
		transition: all 0.3s ease;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	}

	.transport__item:hover {
		transform: translateY(-2px);
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
		border-color: var(--primary-light);
	}

	.transport__item i {
		font-size: 1.5rem;
		color: var(--primary-light);
		min-width: 24px;
		text-align: center;
	}

	.transport__item div {
		flex: 1;
	}

	.transport__item strong {
		display: block;
		font-size: 1rem;
		font-weight: 600;
		color: var(--text-dark);
		margin-bottom: 0.25rem;
	}

	.transport__item span {
		font-size: 0.9rem;
		color: var(--text-medium);
		line-height: 1.4;
	}

	/* Enhanced Mobile Optimizations for Contact Page */
	@media (max-width: 768px) {
		/* Improve touch targets */
		.contact__btn,
		.phone__link,
		.email__link {
			min-height: 48px;
			min-width: 48px;
			padding: 12px 16px;
		}

		/* Better spacing for mobile */
		.section__container {
			padding: 1rem;
		}

		/* Improve form layout */
		.form__container {
			padding: 1.5rem;
		}

		.form__group {
			margin-bottom: 1.5rem;
		}

		.form__input,
		.form__textarea {
			font-size: 16px; /* Prevent zoom on iOS */
			padding: 14px 16px;
			border-radius: 8px;
		}

		/* FAQ improvements */
		.faq__item {
			margin-bottom: 1rem;
		}

		.faq__question {
			font-size: 1.1rem;
			padding: 1rem;
		}

		/* Modal improvements */
		.modal__content {
			margin: 5% auto;
			padding: 1.5rem;
			max-width: 95%;
			border-radius: 12px;
		}

		/* Navigation improvements */
		.floating-shapes .shape {
			display: none; /* Remove decorative elements on mobile */
		}

		/* Contact hero responsive text */
		.contact__hero .section__container {
			padding: 1rem;
		}
	}

	@media (max-width: 480px) {
		/* Extra small screens - Enhanced Section Redesigns */
		.contact__hero {
			padding: 60px 0 40px;
			min-height: 70vh;
		}

		.hero__stats {
			gap: 0.75rem;
			margin-top: 2rem;
		}

		.stat-item {
			padding: 1rem;
			min-width: 140px;
		}

		.stat-number {
			font-size: 2rem;
		}

		/* Send us a Message Section - Extra Small Screens */
		.form__section {
			border-radius: 16px;
			padding: 1.5rem 1rem;
			margin: 0 0.5rem;
		}

		.form__header h2 {
			font-size: 1.5rem;
		}

		.form__header p {
			font-size: 0.9rem;
		}

		.form__group input,
		.form__group textarea,
		.form__group select {
			padding: 14px 16px;
			font-size: 16px;
			border-radius: 10px;
		}

		.form__group label {
			font-size: 14px;
			top: 14px;
			left: 16px;
		}

		.form__group input:focus + label,
		.form__group textarea:focus + label,
		.form__group select:focus + label,
		.form__group input:not(:placeholder-shown) + label,
		.form__group textarea:not(:placeholder-shown) + label,
		.form__group select:valid + label {
			font-size: 11px;
			top: -6px;
			left: 12px;
		}

		.form__group textarea {
			min-height: 100px;
		}

		.checkbox__container {
			font-size: 13px;
		}

		.submit__btn {
			padding: 14px 20px;
			font-size: 15px;
			min-height: 52px;
		}

		/* Find Us in Oslo Section - Extra Small Screens */
		.map__section {
			border-radius: 16px;
			margin: 0 0.5rem;
		}

		.map__header {
			padding: 1.5rem 1rem 0.75rem 1rem;
		}

		.map__header h3 {
			font-size: 1.3rem;
		}

		.map__header p {
			font-size: 0.9rem;
		}

		.map__container {
			height: 250px;
			margin: 0 1rem 1rem 1rem;
			border-radius: 12px;
		}

		.map__overlay {
			padding: 1rem 0.75rem 0.75rem 0.75rem;
		}

		.location__info {
			flex-direction: column;
			text-align: center;
			gap: 0.75rem;
		}

		.location__marker {
			width: 40px;
			height: 40px;
			font-size: 1.25rem;
		}

		.location__details h4 {
			font-size: 1rem;
		}

		.location__details p {
			font-size: 0.85rem;
		}

		.location__actions {
			justify-content: center;
			gap: 0.5rem;
		}

		.map__btn {
			padding: 6px 12px;
			font-size: 0.8rem;
			min-height: 32px;
			border-radius: 6px;
		}

		/* How to Reach Us Section - Extra Small Screens */
		.transport__info {
			padding: 1rem;
			border-radius: 0 0 16px 16px;
		}

		.transport__info h4 {
			font-size: 1.1rem;
			margin-bottom: 1rem;
		}

		.transport__methods {
			gap: 0.75rem;
		}

		.transport__item {
			padding: 0.875rem;
			border-radius: 10px;
			flex-direction: column;
			text-align: center;
			gap: 0.75rem;
		}

		.transport__item i {
			font-size: 1.75rem;
			margin-bottom: 0.25rem;
		}

		.transport__item strong {
			font-size: 0.95rem;
		}

		.transport__item span {
			font-size: 0.85rem;
		}

		/* Multiple Ways to Reach Us Section - Extra Small Screens */
		.contact__methods {
			padding: 60px 0 40px 0;
		}

		.contact__methods .section__header h2 {
			font-size: 1.75rem;
			margin-bottom: 0.75rem;
		}

		.contact__methods .section__header p {
			font-size: 0.9rem;
		}

		.contact__grid {
			gap: 1.25rem;
			margin-top: 2rem;
			padding: 0 0.5rem;
		}

		/* Card improvements */
		.contact__card {
			margin: 0;
			padding: 1rem;
			border-radius: 12px;
		}

		/* Section spacing improvements */
		.contact__main .section__container {
			padding: 1rem 0.5rem;
		}

		/* Overall mobile layout improvements */
		.section__container {
			padding-left: 1rem;
			padding-right: 1rem;
		}
	}

	/* Ultra Mobile Optimizations for Smallest Screens */
	@media (max-width: 320px) {
		/* Send us a Message - Ultra small */
		.form__section {
			padding: 1.25rem 0.75rem;
			margin: 0 0.25rem;
		}

		.form__header h2 {
			font-size: 1.3rem;
		}

		.form__group input,
		.form__group textarea,
		.form__group select {
			padding: 12px 14px;
		}

		/* Find Us in Oslo - Ultra small */
		.map__section {
			margin: 0 0.25rem;
		}

		.map__header {
			padding: 1.25rem 0.75rem 0.5rem 0.75rem;
		}

		.map__container {
			height: 220px;
			margin: 0 0.75rem 0.75rem 0.75rem;
		}

		/* How to Reach Us - Ultra small */
		.transport__info {
			padding: 0.75rem;
		}

		.transport__item {
			padding: 0.75rem;
		}

		/* Contact methods - Ultra small */
		.contact__grid {
			padding: 0 0.25rem;
		}

		.contact__card {
			padding: 0.875rem;
		}

		/* FAQ improvements */
		.faq__question {
			font-size: 1rem;
			padding: 0.875rem;
		}

		.faq__answer {
			padding: 0.875rem;
			font-size: 0.9rem;
		}

		/* Text improvements */
		.section__header p {
			font-size: 1rem;
		}

		/* Improve map section on mobile */
		.map__container {
			height: 300px; /* Reduce height on mobile */
			border-radius: 12px;
		}

		/* Contact form mobile optimization */
		.contact__layout {
			gap: 2rem;
		}
	}

	/* Touch and hover improvements */
	@media (hover: hover) and (pointer: fine) {
		/* Desktop hover states */
		.contact__btn:hover,
		.phone__link:hover,
		.email__link:hover {
			transform: translateY(-2px);
			box-shadow: var(--shadow-medium);
		}
	}

	@media (hover: none) and (pointer: coarse) {
		/* Touch device improvements */
		.contact__btn,
		.phone__link,
		.email__link,
		.faq__question {
			min-height: 44px;
			min-width: 44px;
		}

		/* Improve button spacing */
		.contact__card .contact__btn {
			margin-top: 1rem;
			padding: 12px 20px;
		}

		/* Remove hover effects that don't work well on touch */
		.contact__card:hover,
		.stat-item:hover {
			transform: none;
		}
	}

	/* Landscape orientation on mobile */
	@media (max-width: 768px) and (orientation: landscape) {
		.contact__hero {
			min-height: 100vh;
			padding: 40px 0 30px;
		}

		.hero__stats {
			flex-direction: row;
			gap: 1.5rem;
		}

		.stat-item {
			padding: 0.75rem;
			min-width: 120px;
		}
	}

	/* Very large screens */
	@media (min-width: 1440px) {
		.contact__layout {
			max-width: 1200px;
			margin: 0 auto;
		}

		.contact__grid {
			max-width: 1000px;
			margin: 3rem auto 0;
		}
	}
}

footer {
	background: black;
	color: var(--white);
	padding: 3rem 0 1rem;
	margin-top: 0rem;
}

.footer__container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

.footer__content {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 3rem;
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
	color: var(--white);
}

.footer__logo {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.footer__logo img {
	background: var(--white);
	padding: 0.5rem;
	border-radius: 8px;
	object-fit: contain;
	width: auto;
}

.footer__logo h3 {
	font-family: var(--header-font);
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0;
	color: var(--white);
}

.footer__description {
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

.footer__contact p {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.9rem;
}

.footer__contact a {
	color: var(--white);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer__contact a:hover {
	color: var(--primary-color);
}

.footer__links-section {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.footer__links-group h4 {
	font-family: var(--header-font);
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: var(--white);
	position: relative;
	padding-bottom: 0.5rem;
}

.footer__links {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.footer__links a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	font-size: 0.9rem;
	padding: 0.3rem 0;
	transition: all 0.3s ease;
	border-radius: 4px;
}

.footer__links a:hover {
	color: var(--white);
	padding-left: 0.5rem;
	background: rgba(255, 255, 255, 0.05);
}

.footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 1rem;
	flex-wrap: wrap;
	gap: 1rem;
}

.footer__info {
	color: rgba(255, 255, 255, 0.7);
}

.footer__info p {
	margin: 0.2rem 0;
	font-size: 0.85rem;
}

.footer__social {
	display: flex;
	gap: 1rem;
}

.footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.1);
	color: var(--white);
	border-radius: 50%;
	text-decoration: none;
	font-size: 1.2rem;
	transition: all 0.3s ease;
}

.footer__social a:hover {
	background: var(--primary-color);
	transform: translateY(-2px);
}

/* Footer Mobile Responsive Styles */
@media (max-width: 768px) {
	.footer__content {
		grid-template-columns: 1fr;
		gap: 2rem;
		text-align: center;
	}

	.footer__brand {
		order: 1;
	}

	.footer__links-section {
		order: 2;
		grid-template-columns: 1fr;
		gap: 2rem;
		text-align: center;
	}

	.footer__links-group h4 {
		text-align: center;
		margin-bottom: 1rem;
	}

	.footer__links {
		align-items: center;
		text-align: center;
	}

	.footer__bottom {
		flex-direction: column;
		text-align: center;
		gap: 1rem;
	}

	.footer__info {
		text-align: center;
	}

	.footer__social {
		justify-content: center;
	}
}

@media (max-width: 480px) {
	footer {
		padding: 2rem 0 1rem;
		text-align: center;
	}

	.footer__content {
		gap: 1.5rem;
		text-align: center;
	}

	.footer__brand {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
	}

	.footer__logo {
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		width: 100%;
		gap: 0.5rem;
	}

	.footer__logo img {
		display: flex;
		align-self: center;
	}

	.footer__description {
		text-align: center;
		font-size: 0.9rem;
	}

	.footer__contact {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
	}

	.footer__contact p {
		display: flex;
		justify-content: center;
		align-items: center;
		text-align: center;
		gap: 0.5rem;
	}

	.footer__links-section {
		gap: 1.5rem;
		text-align: center;
	}

	.footer__links-group {
		text-align: center;
	}

	.footer__links-group h4 {
		font-size: 1rem;
		text-align: center;
	}

	.footer__links {
		text-align: center;
		align-items: center;
	}

	.footer__links a {
		font-size: 0.85rem;
		padding: 0.4rem 0;
		text-align: center;
	}

	.footer__bottom {
		text-align: center;
	}

	.footer__info {
		text-align: center;
	}

	.footer__info p {
		font-size: 0.8rem;
		text-align: center;
	}

	.footer__social a {
		width: 36px;
		height: 36px;
		font-size: 1rem;
	}
}
