@charset "UTF-8";

/* ==========================================================================
   CSS RESET & VARIABLES
   ========================================================================== */
:root {
   --primary: #0b0c10;
   --secondary: #1f2833;
   --accent: #66fcf1;
   --accent-hover: #45a29e;
   --text-light: #c5c6c7;
   --text-white: #ffffff;
   --gradient-1: linear-gradient(135deg, #66fcf1 0%, #45a29e 100%);
   --gradient-bg: linear-gradient(180deg, #0b0c10 0%, #1f2833 100%);
   --shadow-color: rgba(102, 252, 241, 0.2);

   --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
   --transition-fast: 0.3s ease;
   --transition-slow: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*,
*::before,
*::after {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

body {
   font-family: var(--font-main);
   background-color: var(--primary);
   color: var(--text-light);
   line-height: 1.6;
   overflow-x: hidden;
   -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
   color: var(--text-white);
   font-weight: 700;
   margin-bottom: 1rem;
}

a {
   text-decoration: none;
   color: inherit;
   transition: var(--transition-fast);
}

ul {
   list-style: none;
}

.container {
   width: 100%;
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 20px;
}

/* ==========================================================================
   STRICTLY IDENTICAL HEADER (Dark background for logo contrast)
   ========================================================================== */
.site-header {
   background-color: rgba(11, 12, 16, 0.95);
   backdrop-filter: blur(10px);
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   z-index: 1000;
   border-bottom: 1px solid rgba(102, 252, 241, 0.1);
   transition: all var(--transition-fast);
}

.site-header__inner {
   display: flex;
   justify-content: space-between;
   align-items: center;
   height: 80px;
}

.site-header__logo img {
   max-height: 55px;
   width: auto;
   display: block;
}

.site-header__nav ul {
   display: flex;
   gap: 30px;
}

.site-header__nav a {
   color: var(--text-white);
   font-weight: 500;
   position: relative;
   padding: 5px 0;
}

.site-header__nav a::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 0;
   height: 2px;
   background: var(--gradient-1);
   transition: var(--transition-fast);
}

.site-header__nav a:hover::after {
   width: 100%;
}

.site-header__cta {
   background: var(--gradient-1);
   color: var(--primary) !important;
   padding: 10px 25px;
   border-radius: 30px;
   font-weight: bold;
   text-transform: uppercase;
   letter-spacing: 1px;
}

.site-header__cta:hover {
   box-shadow: 0 0 15px var(--shadow-color);
   transform: translateY(-2px);
}

.mobile-menu-btn {
   display: none;
   background: none;
   border: none;
   cursor: pointer;
}

.mobile-menu-btn span {
   display: block;
   width: 25px;
   height: 3px;
   background-color: var(--text-white);
   margin: 5px 0;
   transition: var(--transition-fast);
}

/* ==========================================================================
   STRICTLY IDENTICAL FOOTER
   ========================================================================== */
.site-footer {
   background-color: var(--secondary);
   padding: 60px 0 20px;
   border-top: 1px solid rgba(102, 252, 241, 0.1);
   margin-top: 50px;
}

.site-footer__top {
   display: grid;
   grid-template-columns: 2fr 1fr 1fr 1fr;
   gap: 40px;
   margin-bottom: 40px;
}

.site-footer__brand img {
   max-height: 50px;
   margin-bottom: 20px;
}

.site-footer__brand p {
   margin-bottom: 10px;
}

.site-footer__title {
   color: var(--accent);
   margin-bottom: 20px;
   font-size: 1.2rem;
}

.site-footer__links li {
   margin-bottom: 10px;
}

.site-footer__links a:hover {
   color: var(--accent);
   padding-left: 5px;
}

.site-footer__bottom {
   text-align: center;
   padding-top: 20px;
   border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   GLOBAL LAYOUT & SECTIONS
   ========================================================================== */
.main-content {
   padding-top: 80px;
   /* Offset for fixed header */
}

section {
   padding: 100px 0;
   position: relative;
}

.section-title {
   text-align: center;
   font-size: 2.5rem;
   margin-bottom: 1rem;
   background: var(--gradient-1);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}

.section-subtitle {
   text-align: center;
   margin-bottom: 60px;
   font-size: 1.1rem;
   max-width: 700px;
   margin-left: auto;
   margin-right: auto;
}

/* ==========================================================================
   1. HERO SECTION WITH 3D ELEMENTS
   ========================================================================== */
.hero {
   min-height: 90vh;
   display: flex;
   align-items: center;
   background: var(--gradient-bg);
   position: relative;
   overflow: hidden;
}

.hero::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: radial-gradient(circle at center, rgba(102, 252, 241, 0.05) 0%, transparent 70%);
}

.hero__inner {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 50px;
   align-items: center;
   position: relative;
   z-index: 2;
}

.hero__text h1 {
   font-size: 4rem;
   line-height: 1.1;
   margin-bottom: 20px;
}

.hero__text p {
   font-size: 1.2rem;
   margin-bottom: 30px;
}

.btn-primary {
   display: inline-block;
   background: var(--gradient-1);
   color: var(--primary);
   padding: 15px 35px;
   border-radius: 30px;
   font-size: 1.1rem;
   font-weight: bold;
   cursor: pointer;
   border: none;
}

.btn-primary:hover {
   box-shadow: 0 10px 20px rgba(102, 252, 241, 0.3);
   transform: translateY(-3px);
}

/* 3D Hero Object */
.hero__3d-container {
   perspective: 1000px;
   width: 100%;
   height: 400px;
   display: flex;
   justify-content: center;
   align-items: center;
}

.cube {
   width: 200px;
   height: 200px;
   position: relative;
   transform-style: preserve-3d;
   animation: rotateCube 15s infinite linear;
}

.cube__face {
   position: absolute;
   width: 200px;
   height: 200px;
   background: rgba(31, 40, 51, 0.8);
   border: 2px solid var(--accent);
   display: flex;
   justify-content: center;
   align-items: center;
   font-size: 1.5rem;
   font-weight: bold;
   color: var(--accent);
   box-shadow: inset 0 0 20px rgba(102, 252, 241, 0.2);
}

.cube__face--front {
   transform: translateZ(100px);
}

.cube__face--back {
   transform: rotateY(180deg) translateZ(100px);
}

.cube__face--right {
   transform: rotateY(90deg) translateZ(100px);
}

.cube__face--left {
   transform: rotateY(-90deg) translateZ(100px);
}

.cube__face--top {
   transform: rotateX(90deg) translateZ(100px);
}

.cube__face--bottom {
   transform: rotateX(-90deg) translateZ(100px);
}

@keyframes rotateCube {
   0% {
      transform: rotateX(0) rotateY(0) rotateZ(0);
   }

   100% {
      transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
   }
}

/* ==========================================================================
   2. ABOUT US SECTION
   ========================================================================== */
.about-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 50px;
   align-items: center;
}

.about-img {
   width: 100%;
   height: 400px;
   background: var(--secondary);
   border-radius: 20px;
   position: relative;
   overflow: hidden;
}

.about-img::after {
   content: 'Electrical Evolution';
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   font-size: 2rem;
   color: rgba(255, 255, 255, 0.1);
   font-weight: bold;
}

/* ==========================================================================
   3. SERVICES (3D Hover Cards)
   ========================================================================== */
.services-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 30px;
}

.service-card {
   background: var(--secondary);
   padding: 40px 30px;
   border-radius: 15px;
   text-align: center;
   transition: transform 0.1s;
   transform-style: preserve-3d;
   border: 1px solid rgba(255, 255, 255, 0.05);
   cursor: pointer;
}

.service-card:hover {
   border-color: var(--accent);
   box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.service-icon {
   width: 60px;
   height: 60px;
   background: rgba(102, 252, 241, 0.1);
   border-radius: 50%;
   display: inline-flex;
   justify-content: center;
   align-items: center;
   margin-bottom: 20px;
   transform: translateZ(30px);
}

.service-card h3 {
   transform: translateZ(20px);
}

.service-card p {
   transform: translateZ(10px);
   font-size: 0.95rem;
}

/* ==========================================================================
   4. INDUSTRY SPECIFIC SERVICES
   ========================================================================== */
.industry-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 20px;
}

.industry-item {
   background: linear-gradient(45deg, var(--secondary), var(--primary));
   padding: 30px;
   border-radius: 10px;
   border-left: 4px solid var(--accent);
   position: relative;
   overflow: hidden;
   transition: var(--transition-fast);
}

.industry-item:hover {
   transform: scale(1.05);
}

/* ==========================================================================
   5. SAMPLE CAMPAIGN REPORTS (Interactive CSS Charts)
   ========================================================================== */
.reports-container {
   display: flex;
   flex-wrap: wrap;
   gap: 40px;
   justify-content: center;
}

.report-card {
   background: var(--secondary);
   width: 100%;
   max-width: 500px;
   padding: 30px;
   border-radius: 15px;
}

.bar-chart {
   display: flex;
   align-items: flex-end;
   height: 200px;
   gap: 15px;
   margin-top: 20px;
   border-bottom: 1px solid #333;
   padding-bottom: 10px;
}

.bar {
   flex: 1;
   background: var(--gradient-1);
   border-radius: 5px 5px 0 0;
   position: relative;
   animation: growBar 2s ease-out forwards;
   transform-origin: bottom;
   opacity: 0;
}

.bar::after {
   content: attr(data-value) '%';
   position: absolute;
   top: -25px;
   left: 50%;
   transform: translateX(-50%);
   font-size: 0.8rem;
   color: var(--text-white);
}

@keyframes growBar {
   0% {
      transform: scaleY(0);
      opacity: 0;
   }

   100% {
      transform: scaleY(1);
      opacity: 1;
   }
}

/* ==========================================================================
   6. SERVICE CALCULATOR
   ========================================================================== */
.calculator-box {
   background: var(--secondary);
   padding: 50px;
   border-radius: 20px;
   max-width: 800px;
   margin: 0 auto;
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.calc-group {
   margin-bottom: 30px;
}

.calc-group label {
   display: flex;
   justify-content: space-between;
   margin-bottom: 10px;
   font-weight: bold;
   color: var(--text-white);
}

input[type=range] {
   width: 100%;
   -webkit-appearance: none;
   background: transparent;
}

input[type=range]::-webkit-slider-thumb {
   -webkit-appearance: none;
   height: 20px;
   width: 20px;
   border-radius: 50%;
   background: var(--accent);
   cursor: pointer;
   margin-top: -8px;
}

input[type=range]::-webkit-slider-runnable-track {
   width: 100%;
   height: 4px;
   cursor: pointer;
   background: rgba(255, 255, 255, 0.2);
   border-radius: 2px;
}

.calc-result {
   text-align: center;
   margin-top: 40px;
   padding-top: 30px;
   border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-result h3 {
   font-size: 2rem;
   color: var(--accent);
}

/* ==========================================================================
   7. CUSTOMER TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
   display: flex;
   gap: 30px;
   overflow-x: auto;
   padding-bottom: 20px;
   scroll-snap-type: x mandatory;
}

.testimonial-card {
   min-width: 300px;
   background: var(--secondary);
   padding: 30px;
   border-radius: 15px;
   scroll-snap-align: start;
   position: relative;
}

.testimonial-card::before {
   content: '"';
   font-size: 4rem;
   color: rgba(102, 252, 241, 0.2);
   position: absolute;
   top: 10px;
   left: 20px;
}

.test-author {
   margin-top: 20px;
   font-weight: bold;
   color: var(--accent);
}

/* ==========================================================================
   8. CTA SECTION
   ========================================================================== */
.cta-section {
   background: var(--gradient-1);
   text-align: center;
   padding: 80px 20px;
   color: var(--primary);
   border-radius: 20px;
   margin: 50px 0;
}

.cta-section h2 {
   color: var(--primary);
}

/* ==========================================================================
   9. CONTACT / QUOTE FORM
   ========================================================================== */
.contact-container {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 50px;
}

.contact-info {
   background: var(--secondary);
   padding: 40px;
   border-radius: 15px;
}

.contact-info p {
   margin-bottom: 20px;
   display: flex;
   align-items: center;
   gap: 15px;
}

.form-group {
   margin-bottom: 20px;
}

.form-control {
   width: 100%;
   padding: 15px;
   background: var(--secondary);
   border: 1px solid rgba(255, 255, 255, 0.1);
   color: var(--text-white);
   border-radius: 8px;
   font-family: inherit;
}

.form-control:focus {
   outline: none;
   border-color: var(--accent);
}

textarea.form-control {
   height: 150px;
   resize: vertical;
}

/* ==========================================================================
   10. LIVE CHAT WIDGET (UI)
   ========================================================================== */
.chat-widget {
   position: fixed;
   bottom: 30px;
   right: 30px;
   z-index: 999;
}

.chat-btn {
   width: 60px;
   height: 60px;
   background: var(--gradient-1);
   border-radius: 50%;
   border: none;
   cursor: pointer;
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
   display: flex;
   justify-content: center;
   align-items: center;
}

.chat-btn svg {
   width: 30px;
   height: 30px;
   fill: var(--primary);
}

.chat-box {
   position: absolute;
   bottom: 80px;
   right: 0;
   width: 300px;
   background: var(--secondary);
   border-radius: 15px;
   overflow: hidden;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
   display: none;
   transform: translateY(20px);
   opacity: 0;
   transition: var(--transition-fast);
}

.chat-box.active {
   display: block;
   transform: translateY(0);
   opacity: 1;
}

.chat-header {
   background: var(--gradient-1);
   padding: 15px;
   color: var(--primary);
   font-weight: bold;
}

.chat-body {
   height: 250px;
   padding: 15px;
   background: var(--primary);
   overflow-y: auto;
}

.chat-msg {
   background: var(--secondary);
   padding: 10px;
   border-radius: 10px;
   margin-bottom: 10px;
   font-size: 0.9rem;
}

.chat-input {
   display: flex;
   padding: 10px;
   background: var(--secondary);
}

.chat-input input {
   flex: 1;
   padding: 10px;
   border: none;
   border-radius: 5px;
   background: var(--primary);
   color: #fff;
}

/* ==========================================================================
   LEGAL PAGES STYLING
   ========================================================================== */
.legal-content {
   background: var(--secondary);
   padding: 50px;
   border-radius: 15px;
   margin-top: 40px;
}

.legal-content h1 {
   text-align: left;
   color: var(--accent);
}

.legal-content h2 {
   margin-top: 30px;
   font-size: 1.5rem;
}

.legal-content p {
   margin-bottom: 20px;
   text-align: justify;
}

/* ==========================================================================
   ANIMATIONS & UTILITIES
   ========================================================================== */
.hidden {
   opacity: 0;
   transform: translateY(30px);
   transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
   opacity: 1;
   transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {

   .hero__inner,
   .contact-container {
      grid-template-columns: 1fr;
      text-align: center;
   }

   .about-grid {
      grid-template-columns: 1fr;
   }

   .industry-grid {
      grid-template-columns: 1fr 1fr;
   }

   .site-footer__top {
      grid-template-columns: 1fr 1fr;
   }
}

@media (max-width: 768px) {
   .site-header__nav {
      position: absolute;
      top: 80px;
      left: -100%;
      width: 100%;
      background: var(--secondary);
      flex-direction: column;
      padding: 30px;
      transition: var(--transition-fast);
   }

   .site-header__nav.active {
      left: 0;
   }

   .site-header__nav ul {
      flex-direction: column;
      align-items: center;
   }

   .mobile-menu-btn {
      display: block;
   }

   .hero__text h1 {
      font-size: 2.5rem;
   }

   .industry-grid {
      grid-template-columns: 1fr;
   }

   .site-footer__top {
      grid-template-columns: 1fr;
      text-align: center;
   }
}