/* =========================================
   ESTO - CONTACT PAGE CSS
   ========================================= */

/* --- GLOBALS --- */
:root {
    --navy: #0f172a;
    --blue: #005b96;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --border: #e2e8f0;
    --text: #334155;
}

body { background: var(--light-bg); }

/* --- 1. HERO SECTION --- */
.contact-hero {
    height: 60vh;
    background: var(--navy);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    /* Create space at bottom for the overlapping card */
    padding-bottom: 100px; 
}

.map-pattern {
    position: absolute;
    inset: 0;
    background-image: url('../img/world-map-dots.png'); /* Optional Dot pattern */
    opacity: 0.1;
    background-size: cover;
}

.relative-z { position: relative; z-index: 5; }

.hero-label {
    font-family: 'Rajdhani', sans-serif;
    color: #60a5fa;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.text-blue { color: #60a5fa; }

.hero-desc {
    font-family: 'Barlow', sans-serif;
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
}

/* --- 2. CONTACT WRAPPER (The Floating Card) --- */
.contact-section {
    position: relative;
    margin-top: -100px; /* Pulls section UP over the hero */
    padding-bottom: 100px;
    z-index: 10;
}

.contact-wrapper {
    display: flex;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

/* --- LEFT: INFO CARD (Dark) --- */
.info-card {
    background: #1e293b; /* Slightly lighter navy */
    color: white;
    padding: 60px;
    flex: 0 0 40%; /* Takes 40% width */
    position: relative;
    overflow: hidden;
}

/* Decorative Circle behind info */
.info-card::before {
    content: '';
    position: absolute;
    bottom: -50px; right: -50px;
    width: 200px; height: 200px;
    background: var(--blue);
    border-radius: 50%;
    opacity: 0.2;
}

.info-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    margin-bottom: 10px;
}

.info-sub {
    color: #94a3b8;
    margin-bottom: 40px;
    font-size: 0.95rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.icon-box {
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-text .label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.info-text p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.5;
}

.small-text { font-size: 0.85rem !important; color: #64748b; margin-top: 5px !important; }

.social-row {
    margin-top: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

.social-row a {
    color: white;
    font-size: 1.5rem;
    transition: 0.3s;
}
.social-row a:hover { color: var(--blue); }

/* --- RIGHT: FORM CARD (White) --- */
.form-card {
    background: white;
    padding: 60px;
    flex: 1; /* Takes remaining space */
}

.form-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    transition: 0.3s;
    background: #f8fafc;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 91, 150, 0.1);
}

.full-width { grid-column: span 2; }

.btn-solid {
  /* Layout & Sizing */
  display: inline-block;
  padding: 14px 32px;
  border: none;
  margin: 20px 0;
  border-radius: 8px; /* Soft rounded corners */
  cursor: pointer;
  
  /* Typography */
  font-family: inherit; /* Matches your site font */
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  
  /* Colors - Matches your dark font/logo theme */
  background-color: #1a1a1a; 
  color: #ffffff;
  
  /* Animation */
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-wide {
  width: 100%;
  max-width: 400px; /* Prevents it from getting too huge on desktop */
}

/* Hover & Active States */
.btn-solid:hover {
  background-color: #333333;
  transform: translateY(-2px); /* Lifts the button */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-solid:active {
  transform: translateY(0); /* Returns to normal on click */
}

/* --- 3. MAP SECTION --- */
.map-section iframe {
    filter: grayscale(100%); /* Makes map look industrial grey */
    transition: 0.5s;
}
.map-section iframe:hover {
    filter: grayscale(0%); /* Color on hover */
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .contact-wrapper {
        flex-direction: column;
    }
    
    .info-card, .form-card {
        flex: auto;
        padding: 40px;
    }
    
    .form-grid {
        grid-template-columns: 1fr; /* Stack inputs */
    }
    
    .hero-title { font-size: 3rem; }
}