/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

html {
  scroll-behavior: smooth;
  
}

p {
	margin: 0;
}

.cookie-banner-close svg g path {
    fill: #ffffff !important;
}


.cookie-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
    width: 90%;
    max-width: 700px;
    max-height: 90vh; /* prevents vertical overflow */
    overflow-y: auto; /* adds scroll if content is tall */
    padding-top: 20px;
    box-sizing: border-box;
    display: none;
}

/* Overlay stays same */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 99998;
    display: none;
}




.menu-mob .hfe-flyout-overlay {
    background-color: transparent;
}

.menu-mob .hfe-flyout-wrapper .hfe-side.hfe-flyout-left {
	height: 100vh;
}

.menu-mob .hfe-nav-menu-icon svg:focus {
    outline: none;
}

.menu-ul nav.hfe-nav-menu__layout-horizontal ul {
    align-items: center;
}

.menu-mob .hfe-nav-menu li.hfe-button-wrapper {
	width: 205px;
}

.menu-ul li a.hfe-menu-item.elementor-button {
    color: #1D2D44 !important;
}

.menu-ul li a.hfe-menu-item.elementor-button:hover {
    color: #ffffff !important;
}

.menu-mob li a.hfe-menu-item.elementor-button {
    color: #ffffff !important;
}

.menu-mob li a.hfe-menu-item.elementor-button:hover {
    color: #0088A9 !important;
}

.ehf-header {
  position: relative;
  transition: transform 0.4s ease;
}

.ehf-header #masthead,
.ehf-header #masthead #site-header,
.ehf-header #masthead #site-header .site-header-inner {
  	transition: transform 0.8s cubic-bezier(0.25, 1, 0.3, 1), 
	background-color 0.4s ease, 
	box-shadow 0.4s ease;
  	will-change: transform;
}

/* Background when scrolled */
.ehf-header #masthead.scrolled,
.ehf-header #masthead #site-header.scrolled,
.ehf-header #masthead #site-header .site-header-inner.scrolled {
  	background-color: #1D2D44;
  	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}




/* Default header */
.ehf-header #masthead {
    position: sticky;
    top: 0;
    z-index: 9;
    transition: background-color 0.3s, box-shadow 0.3s;
}

/* Background when scrolled */
.ehf-header #masthead #site-header .site-header-inner.scrolled {
    background-color: #1D2D44; /* your preferred color */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}





/* ------Contact Us form layout----- */

/* Container */
.contact .form-field-group {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
}

/* Each field full width */
.contact .form-field {
  flex: 1 1 48%; /* full width for all fields */
}

/* Textarea always full width */
.contact .form-field.form-textarea,
.contact .form-field.form-file-upload
{
  flex: 1 1 100%;
}

/* Inputs & Textarea Styling */
.contact .form-field-group .form-field p span input.wpcf7-form-control,
.contact .form-field-group .form-field p span textarea.wpcf7-form-control,
.contact .form-field-group .form-field p span select.wpcf7-form-control {
/*   background: rgba(15, 15, 108, 0.07); */
  border: 1px solid rgba(0, 0, 0, 1);
  border-radius: 0;
  padding: 14px 21px;
  color: rgba(0, 0, 0, 1);
  width: 100%; /* ensure full width */
  box-sizing: border-box;
}

.contact .form-field-group .form-field p {
  margin: 0;
}

/* Placeholder */
.contact input::placeholder,
.contact textarea::placeholder {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 26px;
  color: #1D2D44;
}

/* Placeholder color (first option) */
.contact .form-field-group .form-field p span select.wpcf7-form-control option:first-child {
  color: #1D2D44;
}

.contact select {
    -webkit-appearance: none; /* Chrome/Safari */
    -moz-appearance: none;    /* Firefox */
    appearance: none;         /* modern browsers */
    padding-right: 21px;      /* space for custom arrow */
    background: url('https://turkishnotary-ppejj98yum.live-website.com/wp-content/uploads/2025/10/svgviewer-output.svg') no-repeat right 10px center;
    background-size: 16px 16px; /* adjust size */
	cursor: pointer;
}

.contact .form-field.form-validate span {
    margin: 0;
}

.contact .form-field.form-validate span.wpcf7-list-item-label {
    margin-left: 8px;
}

/* Submit Button Container */
.contact .contact-form-submit {
  display: flex;
  margin-top: 35px;
}

/* Submit Button Styling */
.contact input.wpcf7-form-control.contact-form-submit {
  background-color: #0088A9;
  color: #fff;
  padding: 14px 19px;
  border: 1px solid #0088A9;
  border-radius: 0;
  font-size: 12px;
  font-family: 'Open Sans';
  font-weight: 600;
  line-height: 15px;
  letter-spacing: 0.36px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  margin-top: 0;
}

/* Hover effect */
.contact input.wpcf7-form-control.contact-form-submit:hover {
  border: 1px solid #0088A9;
  background-color: transparent;
  color: #0088A9;
}

/* Focus Outline */
.contact input.wpcf7-form-control:focus-visible,
.contact textarea.wpcf7-form-control:focus-visible {
  outline: 1px solid #1D2D44;
}

.flip-container {
    perspective: 1000px;
    width: 100%; /* IMPORTANT */
    height: 100%; /* IMPORTANT */
    position: relative;
}

.flip-container:hover .flipper {
    transform: rotateY(180deg);
}

.flipper {
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
    width: 100%;
    height: 100%;
}

.front, .back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
}

.front {
    transform: rotateY(0deg);
    z-index: 2;
}

.back {
    transform: rotateY(180deg);
}

.about-img .elementor-widget-image {
    min-width: 100%;
}


@media (max-width: 1200px) {
    .cookie-banner {
        max-width: 650px;
        padding: 18px;
    }
}

@media (max-width: 1024px) {
    .cookie-banner {
        max-width: 600px;
        padding: 18px;
    }
}



@media (max-width: 768px) {
	.gradient-bg {
    background: #F5F6F7 !important;
	}
	.cookie-banner {
        width: 92%;
        max-width: 500px;
        padding: 16px;
        border-radius: 10px;
    }
}

@media (max-width: 575px) {
    .cookie-banner {
        width: 94%;
        max-width: 420px;
        padding: 14px;
        border-radius: 8px;
        top: 52%; /* prevents top clipping on very small screens */
    }
}