/*
  Project: Hopertech Solutions
  File: home.css
  Purpose: Core styling + responsive layout
  Author: Your Name
*/

/* Color Palette & Base */
:root {
    --primary: #007bff;
    --dark: #1a1a1a;
    --light-grey: #f8f9fa;
    --text: #444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: auto;
}

.flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Navbar */
/*.navbar {
    display: flex;
    justify-content: space-between;
    padding: 20px 8%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}*/
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;   /* add this */
  padding: 12px 8%;      /* thoda kam padding */
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
/*
.logo img {
  height: 20px;      
  width: auto;       
  object-fit: contain;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}*/

.logo {
  display: flex;
  align-items: center;
  font-size: 1.2rem;   /* thoda kam */
}

.logo img {
  height: 45px;        /* perfect navbar size */
  max-height: 100%;
  width: auto;
  object-fit: contain;
  margin-left: 8px;    /* icon aur image ke beech gap */
}

@media (max-width: 768px) {
  .logo img {
    height: 35px;
  }
}

/*.logo span {
    color: var(--primary);
}
*/
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: var(--dark);
    margin-left: 25px;
    font-weight: 600;
}

/* Hero */
.hero {
    height: 90vh;
    background: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
}

.hero-overlay {
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    max-width: 800px;
}

.btn-connect {
    background: var(--primary);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.secondary-cta {
    padding: 15px 35px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
}


/* Welcome Section */
.welcome-section {
    padding: 80px 0;
}

.welcome-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 20px 20px 0px var(--primary);
}

.promise-box {
    margin-top: 30px;
    background: var(--light-grey);
    padding: 25px;
    border-radius: 8px;
}

.promise-box ul {
    list-style: none;
    margin-top: 15px;
}

.promise-box li {
    margin-bottom: 10px;
    font-weight: 500;
}

.promise-box i {
    color: var(--primary);
    margin-right: 10px;
}

/* Services */
.services-section {
    background: #f1f1f1;
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-subtitle {
    margin-bottom: 50px;
    color: #777;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-newsletter input {
    padding: 10px;
    border: none;
    width: 200px;
    border-radius: 4px 0 0 4px;
}

.footer-newsletter button {
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .flex {
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-icon {
    font-size: 30px;
}

/* CONTACT FORM*/
.contact-section {
    padding: 80px 20px;
    background: #0b0f1a;
    color: #ffffff;
}

.contact-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2,
.contact-form h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.contact-info p {
    color: #cbd5e1;
    margin-bottom: 20px;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info ul li {
    margin-bottom: 15px;
    font-size: 16px;
}

.contact-info ul li i {
    margin-right: 10px;
    color: #25d366;
}

/* FORM */
.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: none;
    outline: none;
    font-size: 15px;
}

.contact-form textarea {
    resize: none;
    height: 120px;
}

.contact-form button {
    background: #25d366;
    color: #000;
    font-size: 16px;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #1ebe5d;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Changes made in recent  */

/*  UI / UX Polish   */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Dark Mode */
body.dark {
    background: #0b0f1a;
    color: #e5e7eb;
}

/* Values Section */
.value-section {
    padding: 70px 0;
    text-align: center;
    background: #ffffff;
}

.value-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

/*Trust & Credibility Section*/
.trust-metrics {
    background: var(--light-grey);
    padding: 70px 0;
}

.metrics-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.metrics-grid h3 {
    font-size: 2.5rem;
    color: var(--primary);
}

/* STATIC LEAD CAPTURE NOTE */
.form-note {
    margin-top: 12px;
    font-size: 14px;
    color: #cbd5e1;
}

.form-note a {
    color: #25d366;
    font-weight: 600;
    text-decoration: none;
}

/* DEPLOYMENT NOTE-- Footer */
.deployment-note {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 10px;
}

/* FUTURE FEATURE HOOKS */
.hidden {
    display: none;
}

.disabled {
    opacity: 0.6;
    pointer-events: none;
}