/* ===== PREMIUM ECO SIGNS HEADER ===== */

.premium-header{
    position:fixed;
    top:15px;
    left:50%;
    transform:translateX(-50%);
    width:95%;
    max-width:1400px;
    z-index:1000;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:14px 30px;

    background:rgba(255,255,255,0.15);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,0.2);

    border-radius:20px;

    box-shadow:
    0 8px 32px rgba(0,0,0,0.1);
}
.premium-header:hover {
    transform: translateX(-50%) translateY(2px);
}

/* Dark Mode */

.dark .premium-header{
    background:rgba(15,23,42,0.7);
    border:1px solid rgba(255,255,255,0.08);
}

/* Logo */

/* ===== LOGO ===== */

.logo-wrapper{
    display:flex;
    align-items:center;
    flex-shrink:0;
}

.logo-img{
    width:165px;
    height:auto;
    object-fit:contain;
    transition:all 0.4s ease;
    animation:floatLogo 4s ease-in-out infinite;
}

.logo-img:hover{
    transform:scale(1.08);
}

@keyframes floatLogo{
    0%,100%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-6px);
    }
}

/* Nav */

.nav-links{
    display:flex;
    gap:35px;
}

.nav-links a{
    position:relative;
    text-decoration:none;
    font-weight:600;
    color:#1f2937;
    transition:.3s;
}

.dark .nav-links a{
    color:white;
}

.nav-links a::after{
    content:'';
    position:absolute;
    bottom:-8px;
    left:0;

    width:0;
    height:3px;

    border-radius:20px;

    background:linear-gradient(
      90deg,
      #22c55e,
      #16a34a
    );

    transition:.4s;
}

.nav-links a:hover::after{
    width:100%;
}

.nav-links a:hover{
    color:#22c55e;
}

/* Active Link */

.active-link{
    color:#16a34a !important;
}

.active-link::after{
    width:100% !important;
}

/* Controls */

.header-controls{
    display:flex;
    align-items:center;
    gap:15px;
}

/* Language Selector */

#languageSwitcher{
    padding:10px 15px;

    border:none;

    border-radius:12px;

    background:white;

    font-size:14px;
    font-weight:500;

    box-shadow:
    0 4px 15px rgba(0,0,0,.08);

    cursor:pointer;
}

.dark #languageSwitcher{
    background:#1e293b;
    color:white;
}

/* Theme Button */

.theme-btn{
    width:45px;
    height:45px;

    border:none;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    cursor:pointer;

    background:
    linear-gradient(
      135deg,
      #22c55e,
      #15803d
    );

    color:white;

    transition:.4s;
}

.theme-btn:hover{
    transform:rotate(180deg) scale(1.1);

    box-shadow:
    0 0 20px #22c55e;
}

/* Mobile */

.mobile-menu{
    display:none;
    font-size:28px;
    cursor:pointer;
    color:#22c55e;
    background:none;
    border:none;
}

@media(max-width:900px){

    .premium-header{
        padding:15px;
    }

    .mobile-menu{
        display:block;
    }

    .nav-links{
        position:absolute;
        top:90px;
        left:0;
        right:0;

        flex-direction:column;

        background:white;

        padding:25px;

        border-radius:15px;

        box-shadow:
        0 15px 30px rgba(0,0,0,.15);
    }

    .dark .nav-links{
        background:#1e293b;
    }

    .nav-links.hidden{
        display:none;
    }

    .header-controls{
        gap:8px;
    }

    .logo-img{
    width:120px;

    }
}

.contact-video{
    position:absolute;
    top:0;
    left:0;

    width:100%;
    height:100%;

    object-fit:cover;

    z-index:1;
}

.contact-overlay{
    position:absolute;
    inset:0;

    background:rgba(0,0,0,.55);

    z-index:2;
}
.contact-hero{
    position:relative;
    z-index:3;

    width:100%;
    max-width:850px;

    text-align:center;
    margin:auto;
}

.contact-hero h1{
    font-size:4rem;
    margin:25px 0;
    font-weight:800;
    color:white;
}

.contact-hero h1 span{
    color:#22c55e;
}

.contact-hero p{
    color:rgba(255,255,255,.9);
    line-height:1.9;
}

.contact-tag{
    display:inline-block;
    background:rgba(34,197,94,.2);
    color:white;
    padding:10px 25px;
    border-radius:50px;
    font-weight:700;
    border:1px solid rgba(255,255,255,.25);
}
.contact-hero{
    text-align:center;
    max-width:850px;
    margin:auto;
    margin-bottom:70px;
}

.contact-main{
    position:relative;
    min-height:650px; /* was height:650px */
    overflow:hidden;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}
.contact-cards,
.contact-wrapper,
.map-section{
    width:100%;
    max-width:1200px;
    margin-left:auto;
    margin-right:auto;
    padding:0 20px;
}

.contact-cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    margin-bottom:70px;
}

.contact-card{
    background:white;
    padding:35px;
    border-radius:25px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.4s;
}

.contact-card:hover{
    transform:translateY(-10px);
}

.contact-card i{
    font-size:3rem;
    color:#22c55e;
    margin-bottom:20px;
}

.contact-card h3{
    margin-bottom:10px;
}

.contact-card span{
    color:#64748b;
    font-size:.9rem;
}

.contact-wrapper{
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:40px;
    margin-bottom:80px;
}

.contact-form-box{
    background:white;
    padding:40px;
    border-radius:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.contact-form-box form{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.contact-form-box input,
.contact-form-box textarea{
    padding:15px;
    border:1px solid #e5e7eb;
    border-radius:12px;
}

.contact-form-box button{
    background:#16a34a;
    color:white;
    border:none;
    padding:15px;
    border-radius:12px;
    cursor:pointer;
    font-weight:600;
}

.contact-info{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.eco-box,
.eco-quote{
    background:white;
    padding:35px;
    border-radius:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.eco-box ul{
    list-style:none;
    padding:0;
}

.eco-box li{
    margin:15px 0;
}

.eco-quote{
    text-align:center;
}

.eco-quote i{
    font-size:3rem;
    color:#22c55e;
    margin-bottom:15px;
}

.map-section h2{
    text-align:center;
    margin-bottom:30px;
}

.map-section iframe{
    width:100%;
    height:450px;
    border:none;
    border-radius:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

@media(max-width:900px){

    .contact-wrapper{
        grid-template-columns:1fr;
    }

    .contact-hero h1{
        font-size:2.8rem;
    }
}

/* -----------------------------
   Scroll to Top Button
----------------------------- */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: #16a34a;
  color: #fff;
  padding: 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  font-size: 1.25rem;
  z-index: 50;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* =====================================
   COMPACT PREMIUM FOOTER
===================================== */

.ecosigns-footer{

    background:
    linear-gradient(
      135deg,
      #052e16,
      #111827,
      #064e3b
    );

    color:white;

    padding:60px 40px 0;
}

.footer-container{

    max-width:1400px;
    margin:auto;

    display:grid;
    grid-template-columns:
    1.5fr
    1fr
    1fr
    1.2fr;

    gap:40px;
}

/* Brand */

.footer-brand img{
    width:130px;
    margin-bottom:20px;
}

.footer-brand p{
    color:#cbd5e1;
    line-height:1.7;
    max-width:300px;
    font-size:0.95rem;
}

.footer-social{
    display:flex;
    gap:12px;
    margin-top:20px;
}

.footer-social a{

    width:42px;
    height:42px;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    color:white;
    text-decoration:none;

    transition:.3s;
}

.footer-social a:hover{

    background:#16a34a;

    transform:
    translateY(-4px);
}

/* Links */

.footer-links{
    display:flex;
    flex-direction:column;
}

.footer-links h3{

    color:#4ade80;

    margin-bottom:18px;

    font-size:1.15rem;

    position:relative;
}

.footer-links h3::after{

    content:'';

    position:absolute;

    left:0;
    bottom:-8px;

    width:35px;
    height:3px;

    background:#4ade80;

    border-radius:20px;
}

.footer-links a{

    color:#e2e8f0;

    text-decoration:none;

    margin-bottom:12px;

    transition:.3s;
}

.footer-links a:hover{

    color:#4ade80;

    transform:translateX(5px);
}

/* Newsletter */

.footer-newsletter h3{

    color:#4ade80;

    margin-bottom:15px;
}

.footer-newsletter p{

    color:#cbd5e1;

    font-size:.95rem;

    margin-bottom:15px;
}

.footer-newsletter input{

    width:100%;

    padding:12px;

    border:none;

    border-radius:10px;

    margin-bottom:10px;
}

.footer-newsletter button{

    width:100%;

    padding:12px;

    border:none;

    border-radius:10px;

    background:#16a34a;

    color:white;

    font-weight:600;

    cursor:pointer;

    transition:.3s;
}

.footer-newsletter button:hover{

    background:#15803d;
}

/* Divider */

.footer-bottom{

    margin-top:40px;

    padding:18px;

    text-align:center;

    border-top:
    1px solid rgba(255,255,255,.1);

    color:#94a3b8;

    font-size:.9rem;
}

/* Mobile */

@media(max-width:900px){

    .footer-container{

        grid-template-columns:1fr;

        text-align:center;
    }

    .footer-brand p{

        max-width:100%;
    }

    .footer-social{

        justify-content:center;
    }

    .footer-links h3::after{

        left:50%;

        transform:translateX(-50%);
    }
}

/* ===== CONTACT PAGE DARK MODE ===== */

.dark .contact-main{
    background:#0f172a;
    color:white;
}

.dark .contact-hero h1{
    color:white;
}

.dark .contact-hero p{
    color:#cbd5e1;
}

.dark .contact-tag{
    background:#14532d;
    color:#86efac;
}

.dark .contact-card{
    background:#1e293b;
    color:white;
    box-shadow:0 10px 30px rgba(0,0,0,.4);
}

.dark .contact-card span{
    color:#cbd5e1;
}

.dark .contact-form-box{
    background:#1e293b;
    color:white;
}

.dark .contact-form-box input,
.dark .contact-form-box textarea{
    background:#0f172a;
    color:white;
    border:1px solid #334155;
}

.dark .contact-form-box input::placeholder,
.dark .contact-form-box textarea::placeholder{
    color:#94a3b8;
}

.dark .eco-box,
.dark .eco-quote{
    background:#1e293b;
    color:white;
}

.dark .eco-box li{
    color:#e2e8f0;
}

.dark .map-section h2{
    color:white;
}