/* =====================================
   POWERGEEKZ CONTACT PAGE
   BLUE • WHITE • BLACK GLASSMORPHISM
===================================== */

:root{
  --blue:#0066ff;
  --blue-light:#4da3ff;
  --black:#050505;
  --dark:#0f172a;
  --white:#ffffff;
  --glass:rgba(255,255,255,.08);
  --glass-border:rgba(255,255,255,.18);
  --shadow:0 20px 40px rgba(0,0,0,.25);
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',sans-serif;
  background:
  radial-gradient(circle at top left,#0066ff22,transparent 35%),
  radial-gradient(circle at bottom right,#0066ff22,transparent 35%),
  #050505;
  color:#fff;
}
.container{
    width:min(1200px,92%);
    margin:auto;
}

/* =====================================
   GLOBAL
===================================== */

.container{
  width:min(1200px,92%);
  margin:auto;
}

section{
  padding:100px 0;
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  max-width:100%;
  display:block;
}

.section-title{
  font-size:clamp(2rem,4vw,3rem);
  font-weight:800;
}

.blue-text,
.h1-blue{
  color:var(--blue-light);
}

.divider{
  width:80px;
  height:4px;
  background:var(--blue);
  border-radius:50px;
  margin:20px 0;
}

.section-badge,
.hero-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 18px;
  border-radius:50px;
  background:rgba(0,102,255,.15);
  border:1px solid rgba(0,102,255,.3);
  backdrop-filter:blur(10px);
  color:#fff;
  margin-bottom:20px;
}

/* =====================================
   PARTICLES
===================================== */

#particleCanvas{
  position:fixed;
  inset:0;
  z-index:-1;
}

/* =====================================
   HERO
===================================== */

.contact-hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  position:relative;
  overflow:hidden;
}

.hero-bg{
  position:absolute;
  inset:0;
}

.hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:1.5s;
  background-size:cover;
  background-position:center;
}

.hero-slide:nth-child(1){
  background:url("../images/solar1.jpg") center/cover;
}

.hero-slide:nth-child(2){
  background:url("../images/solar2.jpg") center/cover;
}

.hero-slide:nth-child(3){
  background:url("../images/solar3.jpg") center/cover;
}

.hero-slide.active{
  opacity:1;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.75);
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:750px;
}

.hero-content h1{
  font-size:clamp(3rem,7vw,5rem);
  line-height:1.1;
  margin-bottom:25px;
}

.hero-sub{
  font-size:1.1rem;
  line-height:1.8;
  color:#d8d8d8;
}

.hero-trust{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  margin:35px 0;
}

.hero-actions{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
}
.hero-content{
    width:100%;
    min-width:0;
}
/* =====================================
   BUTTONS
===================================== */

.btn-blue,
.btn-white,
.btn-black,
.btn-whatsapp,
.form-submit{
  padding:16px 28px;
  border-radius:60px;
  font-weight:700;
  display:inline-flex;
  align-items:center;
  gap:10px;
  transition:.4s;
}

.btn-blue{
  background:var(--blue);
  color:#fff;
}

.btn-blue:hover{
  transform:translateY(-5px);
}

.btn-white{
  background:#fff;
  color:#000;
}

.btn-black{
  background:#111;
  border:1px solid #333;
}

.btn-whatsapp{
  background:#25D366;
  color:#fff;
}

/* =====================================
   TICKER
===================================== */

.ticker-bar{
  background:#0066ff;
  overflow:hidden;
  padding:15px 0;
}

.ticker-inner{
  display:flex;
  gap:50px;
  white-space:nowrap;
  animation:ticker 30s linear infinite;
}

.ticker-item{
  font-weight:700;
}

@keyframes ticker{
  from{transform:translateX(0);}
  to{transform:translateX(-50%);}
}

/* =====================================
   INFO CARDS
===================================== */

.info-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:30px;
}

.info-card{
  position:relative;
  padding:35px;
  border-radius:25px;
  background:var(--glass);
  backdrop-filter:blur(20px);
  border:1px solid var(--glass-border);
  box-shadow:var(--shadow);
  transition:.4s;
}

.info-card:hover{
  transform:translateY(-10px);
}

.info-icon{
  font-size:2rem;
}

.info-card h4{
  margin:20px 0 12px;
}

.info-card p{
  color:#cfcfcf;
  line-height:1.7;
}

.info-link{
  color:var(--blue-light);
  display:inline-block;
  margin-top:15px;
}

/* =====================================
   CONTACT GRID
===================================== */

.contact-grid{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:40px;
}

.form-glass,
.sidebar-card{
  background:var(--glass);
  backdrop-filter:blur(20px);
  border:1px solid var(--glass-border);
  border-radius:25px;
  padding:35px;
  box-shadow:var(--shadow);
}

.sidebar-card{
  margin-bottom:25px;
}

/* =====================================
   FORM
===================================== */

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.form-group{
  margin-bottom:20px;
}

.form-group label{
  display:block;
  margin-bottom:8px;
  font-weight:600;
}

.form-group input,
.form-group textarea,
.form-group select{
  width:100%;
  padding:15px;
  border:none;
  outline:none;
  border-radius:15px;
  background:rgba(255,255,255,.08);
  color:#fff;
  border:1px solid rgba(255,255,255,.12);
}

textarea{
  resize:vertical;
}

.form-submit{
  background:var(--blue);
  color:#fff;
  border:none;
  cursor:pointer;
  width:100%;
  justify-content:center;
}

.form-note{
  text-align:center;
  margin-top:15px;
  color:#bfbfbf;
}

.form-error{
  display:none;
  background:#ff3b3020;
  border:1px solid #ff3b30;
  padding:15px;
  border-radius:10px;
  margin-bottom:15px;
}

.form-success{
  display:none;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

/* =====================================
   SIDEBAR
===================================== */

.quick-link{
  display:flex;
  align-items:center;
  gap:15px;
  padding:15px;
  border-radius:15px;
  background:rgba(255,255,255,.05);
  margin-bottom:12px;
}

.ql-icon{
  font-size:1.4rem;
}

.sidebar-services{
  list-style:none;
}

.sidebar-services li{
  margin-bottom:12px;
}

.sidebar-services a{
  color:#d8d8d8;
}

.company-detail{
  display:flex;
  gap:15px;
  margin-bottom:18px;
}

.sidebar-socials{
  display:flex;
  gap:15px;
  flex-wrap:wrap;
}

.s-soc{
  width:50px;
  height:50px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.08);
}

/* =====================================
   MAP
===================================== */

.map-container{
  position:relative;
  overflow:hidden;
  border-radius:25px;
  height:550px;
  border:1px solid rgba(255,255,255,.15);
}

.map-container iframe{
  width:100%;
  height:100%;
}

.map-overlay-card{
  position:absolute;
  left:30px;
  bottom:30px;
  background:rgba(0,0,0,.8);
  backdrop-filter:blur(15px);
  padding:20px;
  border-radius:20px;
}
.map-overlay-card{
  max-width:calc(100% - 60px);
}

/* =====================================
   FAQ
===================================== */

.faq-grid{
  display:grid;
  gap:20px;
}

.faq-item{
  border-radius:20px;
  overflow:hidden;
  background:var(--glass);
  backdrop-filter:blur(15px);
}

.faq-q{
  width:100%;
  background:none;
  border:none;
  color:#fff;
  text-align:left;
  padding:25px;
  font-size:1rem;
  cursor:pointer;
  font-weight:700;
}

.faq-a{
  max-height:0;
  overflow:hidden;
  transition:.4s;
}

.faq-item.open .faq-a{
  max-height:300px;
  padding:0 25px 25px;
}

/* =====================================
   CTA
===================================== */

.cta-band{
  text-align:center;
}

.cta-inner{
  background:linear-gradient(135deg,#0066ff,#003ea3);
  padding:70px;
  border-radius:35px;
}

.cta-inner h2{
  font-size:3rem;
}

.cta-actions{
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
  margin-top:35px;
}

/* =====================================
   FOOTER
===================================== */

footer{
  background:#030303;
  padding-top:80px;
}

.footer-top{
  display:grid;
  grid-template-columns:minmax(0,2fr)
                        minmax(0,1fr)
                        minmax(0,1fr)
                        minmax(0,1fr)
                        minmax(0,1fr);
  gap:40px;
}

.footer-col h4{
  margin-bottom:20px;
}

.footer-col ul{
  list-style:none;
}

.footer-col li{
  margin-bottom:12px;
}

.footer-col a{
  color:#bdbdbd;
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);
  margin-top:50px;
  padding:25px 0;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
}

.footer-ticker{
  margin-top:60px;
  padding:20px 0;
  background:#0066ff;
  overflow:hidden;
}

.ft-track{
    display:flex;
    width:max-content;
    white-space:nowrap;
    gap:40px;
    animation:ticker 35s linear infinite;
}

/* =====================================
   REVEAL
===================================== */

.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:.8s;
}

.reveal.visible{
  opacity:1;
  transform:none;
}

/* =====================================
   MOBILE
===================================== */

@media(max-width:992px){

  .contact-grid{
    grid-template-columns:1fr;
  }

  .footer-top{
    grid-template-columns:1fr 1fr;
  }

  .form-row{
    grid-template-columns:1fr;
  }
}

@media(max-width:768px){

  .footer-top{
    grid-template-columns:1fr;
  }

  .hero-content h1{
    font-size:2.8rem;
  }

  .cta-inner{
    padding:40px 25px;
  }

  .cta-inner h2{
    font-size:2rem;
  }
}
/* ===== FOOTER LOGO FIX ===== */

.fb-logo{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.fb-logo img{
    width: 55px;
    height: 55px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    padding: 4px;
    border: 1px solid rgba(255,255,255,0.15);
}

.fb-logo-text{
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.fb-lp{
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
}

.fb-lg{
    font-size: 1rem;
    font-weight: 800;
    color: #0066ff;
    letter-spacing: 1px;
}

/* Mobile */
@media (max-width:768px){
    .fb-logo img{
        width: 45px;
        height: 45px;
    }

    .fb-lp,
    .fb-lg{
        font-size: .9rem;
    }
}
.form-group input,
.form-group textarea,
.form-group select{
    width:100%;
    padding:15px;
    border:none;
    outline:none;
    border-radius:15px;
    background:rgba(255,255,255,.08);
    color:#fff;
    border:1px solid rgba(255,255,255,.12);

    /* ADD THESE */
    font-size:16px;
    -webkit-text-size-adjust:100%;
}
@media (max-width:768px){

    input,
    textarea,
    select{
        font-size:16px !important;
    }

}
/* ===== FOOTER BRAND ===== */

.footer-brand p{
    color:#b7c4e0;
    line-height:1.9;
    margin-bottom:20px;
}

.f-reg{
    color:#8e9ab7;
    line-height:1.8;
    margin:25px 0;
    font-size:.92rem;
}

/* ===== SOCIALS ===== */

.f-socials{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:25px;
}
.f-socials{
    width:100%;
    flex-wrap:wrap;
}

.f-soc{
    width:44px;
    height:44px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;

    color:#fff;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.12);

    transition:.3s ease;
}

.f-soc:hover{
    background:#0066ff;
    border-color:#0066ff;
    transform:translateY(-4px);
}

/* ===== HEADINGS ===== */

.footer-col h4{
    color:#fff;
    font-size:1rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.08em;

    padding-bottom:12px;
    margin-bottom:22px;

    border-bottom:1px solid rgba(255,255,255,.08);
}

.footer-col ul li a{
    color:#b7c4e0;
    transition:.3s;
}

.footer-col ul li a:hover{
    color:#0066ff;
    padding-left:6px;
}

/* ===== HOURS BADGE ===== */

.footer-hours{
    margin-top:20px;

    display:inline-flex;
    align-items:center;
    gap:8px;

    padding:12px 18px;

    border-radius:14px;

    background:rgba(0,102,255,.15);
    border:1px solid rgba(0,102,255,.25);

    color:#d9e6ff;
    font-size:.9rem;
    font-weight:600;
}

/* ===== FOOTER LINKS ===== */

.fb-links{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
    align-items:center;
}

.fb-links a{
    color:#9fb3d8;
}

.fb-links a:hover{
    color:#0066ff;
}
.fb-links{
    width:100%;
    flex-wrap:wrap;
    row-gap:10px;
}

/* ===== TICKER LABEL ===== */

.ft-lbl{
    text-align:center;
    font-weight:800;
    color:#fff;
    margin-bottom:15px;
    text-transform:uppercase;
    letter-spacing:.08em;
}

/* ===== FOOTER IMPROVEMENT ===== */

footer{
    background:#040816;
    position:relative;
    overflow:hidden;
}

footer::before{
    content:"";
    position:absolute;
    inset:0;

    background-image:
    radial-gradient(rgba(0,102,255,.20) 1px, transparent 1px);

    background-size:30px 30px;
    opacity:.25;
}
footer::before{
    pointer-events:none;
}
/* =====================================
   OVERFLOW FIXES
===================================== */

html,
body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
}

*,
*::before,
*::after{
    box-sizing:border-box;
}

img,
video,
iframe{
    max-width:100%;
    height:auto;
}

.container{
    width:min(1200px,92%);
    margin:auto;
}

/* Prevent grids from overflowing */
.contact-grid,
.footer-top,
.info-grid,
.form-row,
.hero-content,
.cta-actions{
    min-width:0;
}

/* Long text breaking */
p,
a,
span,
h1,
h2,
h3,
h4,
h5,
h6{
    overflow-wrap:break-word;
    word-wrap:break-word;
}
.footer-col,
.sidebar-card,
.form-glass,
.team-card,
.info-card{
    min-width:0;
}

/* Buttons */
.btn-blue,
.btn-white,
.btn-black,
.btn-whatsapp{
    max-width:100%;
}

/* Footer links */
.fb-links{
    flex-wrap:wrap;
}

/* Ticker safety */
.footer-ticker,
.ft-track{
    max-width:100%;
    overflow:hidden;
}
