/* Hero Section */
.contact-hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-hero .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
    color: #fff;
}

.contact-hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
    color: var(--white);
}

.contact-hero p {
    font-size: 18px;
}

/* Hero SVG Decorations */
.hero-deco {
    position: absolute;
    z-index: 1;
}

.hero-circle { top: 50px; left: 30px; }
.hero-dot { bottom: 60px; right: 50px; }

/* Contact Form Section */
.contact-form-section {
    padding: 100px 0;
    padding-top: 10px;
    position: relative;
}

.contact-form-section .form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.contact-form-section .form-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #222;
}

/* Form Styles */
.custom-contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    position: relative;
}

input, textarea, select {
 
    font-family: 'Montserrat';
}
.custom-contact-form input, .custom-contact-form textarea{
	margin-bottom:0px;
}
.custom-contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.custom-contact-form input,
.custom-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 15px;
}

.custom-contact-form button.btn-primary {
    padding: 15px 35px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
	border: 1px solid var(--primary-color); 
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-contact-form button.btn-primary:hover {
    background-color: transparent;
	border: 1px solid var(--primary-color);
	color:var(--primary-color);
}

.form-message {
    margin-top: 15px;
    font-size: 15px;
    color: green;
}

/* Form SVG Decorations */
.form-deco {
    position: absolute;
    z-index: 0;
}

.form-circle { top: -20px; right: -20px; }
.form-triangle { bottom: -15px; left: -15px; }


/* Contact Info Cards Grid */
.contact-info-cards {
    padding: 60px 0;

}

.cards-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.info-card {
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    flex: 1 1 250px;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}


.info-card h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.info-card p {
    font-size: 14px;
    color: #333;
}

.info-card a {
    color: inherit;
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

/* Google Map */
.contact-map iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* Form row for two fields */
.custom-contact-form .form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* ensures stacking on smaller screens */
}

/* Each field takes 50% on desktop, 100% on mobile */
.custom-contact-form .form-row .form-group {
    flex: 1 1 48%; /* adjust gap and width */
}

@media (max-width: 768px) {
    .custom-contact-form .form-row .form-group {
        flex: 1 1 100%;
    }
}


/* Responsive */
@media (max-width: 992px) {
    .hero-circle { top: 30px; left: 20px; }
    .hero-dot { bottom: 40px; right: 30px; }
}

@media (max-width: 576px) {
    .custom-contact-form { padding: 25px; border-radius: 15px; }
}
