/* ==========================================================
                    CONTACT HERO
========================================================== */

.contact-hero{
    position:relative;
    min-height:100vh;
    display:flex;
    margin-top: -130px;
    align-items:center;
    overflow:hidden;
    background:
    url("../images/projects/contact-bg.jpg")
    center center/cover
    no-repeat;
}

/* ==========================================================
                    HERO OVERLAY
========================================================== */

.hero-overlay{
    position:absolute;
    inset:0;
    background:
    linear-gradient(
        rgba(8,8,8,.72),
        rgba(8,8,8,.84)
    );
    z-index:1;
}

/* ==========================================================
                    GOLD GRADIENT
========================================================== */

.hero-gradient{
    position:absolute;
    inset:0;
    background:
    radial-gradient(
        circle at right,
        rgba(194,155,56,.10),
        transparent 55%
    );
    z-index:2;
}

/* ==========================================================
                    GRID PATTERN
========================================================== */

.hero-grid{
    position:absolute;
    inset:0;
    background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size:80px 80px;
    opacity:.35;
    z-index:3;
}

/* ==========================================================
                    HERO CONTAINER
========================================================== */

.contact-hero .container{
    position:relative;
    z-index:5;
    max-width:1400px;
}

/* ==========================================================
                    HERO LAYOUT
========================================================== */

.contact-hero-grid{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:5rem;
    align-items:center;
}

/* ==========================================================
                    HERO CONTENT
========================================================== */

.contact-content{
    max-width:700px;
}

.section-tag{
    display:inline-flex;
    align-items:center;
    gap:15px;
    color:var(--gold);
    letter-spacing:4px;
    font-size:.82rem;
    text-transform:uppercase;
}

.section-tag::before
.section-tag::after{
    content: "";
    width: 55px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--gold),
        transparent
    );
    position: relative;
    top: 0;
    transform: none;
}

.contact-hero h1{
    margin:1.5rem 0;
    font-family:var(--heading);
    font-size:clamp(3.5rem,6vw,5.5rem);
    line-height:1.05;
    color:var(--white);
    letter-spacing:-1px;
}

.contact-hero h1 span {
    color: var(--gold);
}

.contact-hero p{
    max-width:650px;
    margin-bottom:2.8rem;
    color:var(--muted);
    font-size:1.05rem;
    line-height:1.9;
}

/* ==========================================================
                    HERO BUTTONS
========================================================== */

.hero-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:1.2rem;
    margin-top:.5rem;
}

/* ==========================================================
                    CONTACT INFORMATION
========================================================== */

.contact-info{
    position:relative;
    padding:9rem 0;
    background:var(--black);
    overflow:hidden;
}

.contact-info::before{
    content:"";
    position:absolute;
    top:-180px;
    right:-180px;
    width:500px;
    height:500px;
    background:
    radial-gradient(
        circle,
        rgba(194,155,56,.08),
        transparent 70%
    );
    pointer-events:none;
}

.contact-grid{
    margin-top:4rem;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:2rem;
}

.contact-card{
    position:relative;
    padding:3rem 2.2rem;
    background:var(--glass);
    border:1px solid var(--glass-border);
    border-radius:30px;
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    box-shadow: var(--shadow, 0 10px 30px rgba(0,0,0,0.2));
    transition:var(--transition);
    overflow:hidden;
}

.contact-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:3px;
    background:var(--gold);
    transform:scaleX(0);
    transform-origin:left;
    transition:var(--transition);
}

.contact-card:hover{
    transform:translateY(-12px);
    border-color:rgba(194,155,56,.25);
    box-shadow: 0 30px 60px rgba(0,0,0,.35);
}

.contact-card:hover::before{
    transform:scaleX(1);
}

.contact-icon{
    width:70px;
    height:70px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:2rem;
    border-radius:20px;
    background: rgba(194,155,56,.10);
    color:var(--gold);
    font-size:1.8rem;
    transition:var(--transition);
}

.contact-card:hover .contact-icon{
    background:var(--gold);
    color:var(--black);
    transform:rotate(-8deg) scale(1.05);
}

.contact-card h3{
    font-family:var(--heading);
    font-size:1.8rem;
    color:var(--white);
    margin-bottom:1rem;
}

.contact-card p{
    color:var(--muted);
    font-size:.95rem;
    line-height:1.8;
}

/* ==========================================================
                    CONTACT FORM SECTION
========================================================== */

.contact-form-section{
    position:relative;
    padding:10rem 0;
    background:var(--charcoal);
    overflow:hidden;
}

.contact-form-section::before{
    content:"";
    position:absolute;
    left:-220px;
    bottom:-220px;
    width:550px;
    height:550px;
    background:
    radial-gradient(
        circle,
        rgba(194,155,56,.08),
        transparent 70%
    );
    pointer-events:none;
}

.form-wrapper{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:.95fr 1.05fr;
    gap:4rem;
    align-items:start;
}

.form-content{
    max-width:560px;
}

.form-content h2{
    font-family:var(--heading);
    font-size:clamp(2.8rem,4.5vw,4rem);
    color:var(--white);
    line-height:1.1;
    margin:1.2rem 0;
}

.form-content > p{
    color:var(--muted);
    line-height:1.9;
    margin-bottom:2.5rem;
    font-size:1rem;
}

.process-list{
    display:flex;
    flex-direction:column;
    gap:1.2rem;
}

.process-item{
    display:flex;
    align-items:center;
    gap:1.2rem;
    padding:1.2rem 1.5rem;
    background:var(--glass);
    border:1px solid var(--glass-border);
    border-radius:20px;
    transition:var(--transition);
}

.process-item:hover{
    transform:translateX(10px);
    border-color:rgba(194,155,56,.25);
}

.process-item span{
    width:48px;
    height:48px;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:rgba(194,155,56,.12);
    color:var(--gold);
    font-weight:700;
    font-size:.95rem;
    transition:var(--transition);
}

.process-item:hover span{
    background:var(--gold);
    color:var(--black);
}

.process-item p{
    color:var(--muted);
    line-height:1.6;
    font-weight:500;
}

/* ==========================================================
                    CONTACT FORM
========================================================== */

.contact-form{
    padding:3rem;
    background:var(--glass);
    border:1px solid var(--glass-border);
    border-radius:30px;
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
    box-shadow: var(--shadow, 0 10px 30px rgba(0,0,0,0.2));
}

.input-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:1.5rem;
}

.full-width{
    margin-top:1.5rem;
}

.input-box{
    display:flex;
    flex-direction:column;
}

.input-box label{
    margin-bottom:.6rem;
    color:var(--white);
    font-size:.8rem;
    letter-spacing:1.5px;
    text-transform:uppercase;
    font-weight:600;
}

.input-box input, 
.input-box select, 
.input-box textarea{
    width:100%;
    padding:16px 18px;
    border-radius:16px;
    border:1px solid var(--glass-border);
    background:rgba(255,255,255,.04);
    color:var(--white);
    font-family:var(--body);
    font-size:.95rem;
    transition:var(--transition);
    outline:none;
}

.input-box textarea{
    min-height:150px;
    resize:vertical;
}

.input-box input::placeholder, 
.input-box textarea::placeholder{
    color:rgba(247,247,247,.4);
}

.input-box option{
    background:var(--black);
    color:var(--white);
}

.input-box input:focus, 
.input-box select:focus, 
.input-box textarea:focus{
    border-color:var(--gold);
    background:rgba(255,255,255,.06);
    box-shadow: 0 0 0 4px rgba(194,155,56,.12);
}

.contact-form .btn-primary{
    width:100%;
    margin-top:2rem;
    justify-content:center;
    padding:16px;
    border-radius:50px;
    letter-spacing:1px;
    font-size:.95rem;
    text-align:center;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    background: var(--gold);
    color: var(--black);
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* ==========================================================
                    OFFICE LOCATION SECTION
========================================================== */

.office-section{
    position:relative;
    padding:10rem 0;
    background:var(--black);
    overflow:hidden;
}

.office-section::before{
    content:"";
    position:absolute;
    top:-220px;
    left:-220px;
    width:650px;
    height:650px;
    background:
    radial-gradient(
        circle,
        rgba(194,155,56,.08),
        transparent 72%
    );
    pointer-events:none;
}

.office-grid{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:1fr 1.1fr;
    gap:4rem;
    align-items:center;
}

.office-content h2{
    font-family:var(--heading);
    font-size:clamp(2.5rem,4vw,3.8rem);
    color:var(--white);
    line-height:1.1;
    margin:1.2rem 0;
}

.office-content p{
    color:var(--muted);
    line-height:1.8;
    margin-bottom:2.5rem;
}

.office-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.office-details div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.office-details strong {
    color: var(--gold);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.office-details p {
    color: var(--muted);
    margin: 0;
    font-size: 0.95rem;
}

.map-wrapper {
    width: 100%;
    height: 450px;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    box-shadow: var(--shadow, 0 10px 30px rgba(0,0,0,0.2));
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) contrast(110%);
}


/* ==========================================================
            MOBILE SCREEN RESPONSIVE STYLES (CONTACT PAGE)
========================================================== */

@media (max-width: 992px) {
  /* General Layout Containers */
  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
  }

  /* Contact Hero */
  .contact-hero {
    min-height: auto;
    padding: 8rem 0 4rem;
    margin-top: 0;
  }

  .contact-hero-grid,
  .form-wrapper,
  .office-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-content {
    max-width: 100%;
  }

  .contact-hero h1 {
    font-size: 3rem;
    line-height: 1.1;
  }

  .contact-hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  /* Contact Cards Info Section */
  .contact-info {
    padding: 6rem 0;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
  }

  .contact-card {
    padding: 2.2rem 1.8rem;
  }

  .contact-card h3 {
    font-size: 1.5rem;
  }

  /* Contact Form Section */
  .contact-form-section {
    padding: 6rem 0;
  }

  .form-content h2 {
    font-size: 2.5rem;
  }

  .contact-form {
    padding: 2rem;
  }

  .input-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  /* Office Section */
  .office-section {
    padding: 6rem 0;
  }

  .office-content h2 {
    font-size: 2.4rem;
  }

  .map-wrapper {
    height: 380px;
  }
}

@media (max-width: 768px) {

    .contact-hero{
        margin-top: -100px;
    }
  .contact-hero h1 {
    font-size: 2.4rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 2rem 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .process-item {
    padding: 1rem;
    gap: 1rem;
  }

  .process-item span {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }

  .map-wrapper {
    height: 320px;
  }

  .office-details {
    gap: 1.2rem;
  }
}

@media (max-width: 480px) {
  .contact-hero h1 {
    font-size: 2.1rem;
  }

  .contact-tag {
    font-size: 0.75rem;
    letter-spacing: 2px;
  }

  .contact-tag::before {
    width: 30px;
  }

  .form-content h2,
  .office-content h2 {
    font-size: 2rem;
  }

  .contact-info,
  .contact-form-section,
  .office-section {
    padding: 4.5rem 0;
  }
}