/* --- Variables & Reset --- */
:root {
    --primary-blue: #0047AB;
    --dark-blue: #002e6e;
    --accent-gold: #FFC107;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--dark-bg);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--light-bg); }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* --- Top Bar --- */
.top-bar {
    background-color: var(--dark-bg);
    color: #ccc;
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
}

.top-contact span { margin-right: 15px; }
.top-contact i { margin-right: 5px; color: var(--accent-gold); }

/* --- Header --- */
#main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    line-height: 1;
}

.logo span { color: var(--dark-bg); }
.logo small {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-light);
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-weight: 600;
    color: var(--dark-bg);
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-blue);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 8px 20px;
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-warning {
    background-color: var(--accent-gold);
    color: var(--dark-bg);
}

.btn-warning:hover {
    background-color: #e0a800;
}

/* --- Hero Section --- */
.hero {
    height: 90vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 30, 80, 0.85), rgba(0, 10, 40, 0.9)), 
                url('https://images.unsplash.com/photo-1621905251189-08b45d6a269e?q=80&w=2069&auto=format&fit=crop') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
}

.tagline {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-sub {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* --- Services Section --- */
.section-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--accent-gold);
    margin: 0 auto 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-blue);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* --- Why Choose Us --- */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.col-text { flex: 1; min-width: 300px; }
.col-image { flex: 1; min-width: 300px; }

.divider-left {
    width: 60px;
    height: 4px;
    background-color: var(--accent-gold);
    margin-bottom: 20px;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.feature-list i {
    color: var(--primary-blue);
    margin-right: 15px;
    font-size: 1.1rem;
}

.image-wrapper {
    height: 400px;
    background: url('/uploads/Femtechwaveslimited-banner.jpg?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.img-overlay-text {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 20px 30px;
    border-radius: 5px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
}

.img-overlay-text h3 { color: var(--accent-gold); font-size: 2rem; }

/* --- Solar Section --- */
.solar-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    color: var(--white);
    text-align: center;
}

.solar-content { max-width: 800px; margin: 0 auto; }

.tag-highlight {
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.solar-content h2 { color: var(--white); margin-bottom: 20px; }
.solar-content p { color: #ddd; margin-bottom: 30px; font-size: 1.1rem; }

/* --- CTA Banner --- */
.cta-banner {
    background-color: var(--primary-blue);
    padding: 60px 0;
    color: var(--white);
}

.cta-banner h2 { color: var(--white); font-size: 2rem; margin-bottom: 10px; }

/* --- Footer --- */
footer {
    background-color: #111;
    color: #aaa;
    padding-top: 70px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo h3 { color: var(--white); margin-bottom: 15px; }
.footer-logo span { color: var(--primary-blue); }

.rc-number {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: var(--accent-gold);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-blue);
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--primary-blue); transition: var(--transition); }

.contact-list i { margin-right: 10px; color: var(--primary-blue); }

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #222;
    border-radius: 50%;
    margin-right: 10px;
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #222;
    padding: 20px 0;
    text-align: center;
}

/* --- Floating WhatsApp --- */
.float-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.float-whatsapp:hover {
    background-color: #1da851;
    transform: scale(1.1);
}

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Class for JS Scroll Observer */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .header-container { padding: 0 15px; }
    
    .hamburger { display: block; color: var(--dark-bg); }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        background: var(--white);
        width: 80%;
        height: 100vh;
        flex-direction: column;
        padding: 50px 20px;
        box-shadow: -5px 0 10px rgba(0,0,0,0.1);
        transition: var(--transition);
    }
    
    .nav-links.active { right: 0; }
    
    .header-cta { display: none; } /* Hide CTA in header on mobile to save space */
    
    .hero-title { font-size: 2.2rem; }
    
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; text-align: center; }
    
    .top-bar { display: none; }
    
    .image-wrapper { height: 300px; margin-top: 30px; }
    .img-overlay-text { left: 10px; right: 10px; bottom: -20px; }
}

/* PROJECTS PAGE EXTENSIONS */

.project-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
}

.project-carousel::-webkit-scrollbar {
    height: 6px;
}
.project-carousel::-webkit-scrollbar-thumb {
    background: #0d6efd;
    border-radius: 10px;
}

.project-item {
    min-width: 280px;
    max-width: 360px;
    flex-shrink: 0;
    scroll-snap-align: start;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.project-item img,
.project-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* TESTIMONIAL VIDEO (PORTRAIT OPTIMIZED) */
.testimonial-video-wrapper {
    max-width: 420px;
    margin: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.testimonial-video-wrapper video {
    width: 100%;
    height: auto;
}

/* MOBILE TUNING */
@media (max-width: 768px) {
    .project-item {
        min-width: 260px;
    }
}
/* ===============================
   PREMIUM CONTACT PAGE
================================ */

.contact-hero-pro {
  padding: 90px 20px;
  background: radial-gradient(circle at top, #102a43, #0a2540);
  color: #fff;
  text-align: center;
}

.contact-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 1px;
}

.contact-hero-pro h1 {
  font-size: 2.8rem;
  margin: 15px 0;
}

.contact-main-pro {
  padding: 80px 20px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: flex-start;
}

/* INFO */
.contact-info-pro h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.info-box {
  margin-top: 25px;
}

.info-box strong {
  display: block;
  margin-bottom: 5px;
}

/* FORM */
.contact-form-pro {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,.15);
}

.contact-form-pro h3 {
  font-size: 1.6rem;
}

.form-sub {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

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

.contact-form-pro input:focus,
.contact-form-pro select:focus,
.contact-form-pro textarea:focus {
  outline: none;
  border-color: #0a2540;
}

.btn-send-pro {
  background: linear-gradient(135deg, #0a2540, #102a43);
  color: #fff;
  padding: 15px;
  width: 100%;
  border-radius: 40px;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.btn-send-pro:hover {
  opacity: .9;
}

/* MOBILE */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-hero-pro h1 {
    font-size: 2.1rem;
  }
}
