/*
  Theme Name: Folio - Electrical Engineering Theme
*/

/* General Reset & Base */
html, body {
  height: 100%;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/***********************************************************
  * DEFAULTS, TYPOGRAPHY AND GLOBAL STYLES (MONTSERRAT & INTER)
  ***********************************************************/
body {
  background-color: #f8fafc;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #111827;
  font-size: 15px;
  line-height: 1.6;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1320px !important;
  }
}

/************************************
  * Typography & Headings
  ************************************/
h1, h2, h3, h4, h5, h6, 
.contentTitle, .contentIntro, .why-title, .hero-title, .table-section-title {
  font-family: 'Montserrat', sans-serif;
}

h1 {
  font-size: 60px;
  line-height: 50px;
}
h2 {
  font-size: 32px;
  line-height: 42px;
}
h3 {
  font-size: 22px;
  line-height: 100%;
}
h4 {
  font-size: 16px;
  line-height: 100%;
}
p, ol li, ul li, blockquote {
  font-size: 15px;
  color: #374151;
}
a {
  color: #000;
}

.relative-z {
  position: relative;
  z-index: 2;
}

/******************************
  * Header & Navigation
  *****************************/
.header {
  top: 10px;
  position: fixed;
  width: 100%;
  z-index: 100;
  transition: 0.1s;
}
.main-header {
  background-color: #0E1E39;
  top: 0px;
}
.header li {
  margin: 0px 7px;
  text-decoration: none;
}
.header li a {
  margin: 5px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}
.site-logo img {
  max-height: 4rem;
}
.main-nav ul a {
  font-size: 16px;
  color: #ffffff;
}
.main-nav ul a:hover {
  color: #FF9100;
}
.openbtn {
  font-size: 32px;
  cursor: pointer;
  color: #ffffff;
  display: inline-block;
  line-height: 1;
}
.sidebar {
  height: 100vh;
  width: 0;
  position: fixed;
  z-index: 1050;
  top: 0;
  right: 0;
  background-color: #0E1E39;
  overflow-x: hidden;
  transition: width 0.4s ease-in-out;
  padding-top: 80px;
  text-align: center;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
}
.sidebar .closebtn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 36px;
  color: #ffffff;
  text-decoration: none;
  z-index: 1051;
  display: block;
}
.sidebar a {
  padding: 14px 20px;
  text-decoration: none;
  font-size: 22px;
  color: #ffffff;
  display: block;
  transition: color 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}
.sidebar a:hover {
  color: #FF9100;
}

/* Custom Hamburger Button Icon */
.mobile-nav-toggle {
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hamburger-icon {
  width: 26px;
  height: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hamburger-icon span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.mobile-nav-toggle:hover .hamburger-icon span {
  background-color: #FF9100;
}

/* Off-canvas Drawer Panel */
.sidebar-drawer {
  height: 100vh;
  width: 300px;
  max-width: 85vw;
  position: fixed;
  z-index: 1050;
  top: 0;
  right: -320px; /* Hidden off-screen by default */
  background-color: #0E1E39;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
}
.sidebar-drawer.active {
  right: 0; /* Slide in when active */
}

/* Drawer Header */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.drawer-logo img {
  max-height: 2.5rem;
  border-radius: 4px;
}
.drawer-header .closebtn {
  font-size: 32px;
  color: #ffffff;
  text-decoration: none;
  line-height: 1;
  transition: color 0.2s ease;
}
.drawer-header .closebtn:hover {
  color: #FF9100;
}

/* Drawer Navigation Links */
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 0;
}
.mobile-menu-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  border-left: 4px solid transparent;
  transition: all 0.2s ease;
}
.mobile-menu-links a i {
  color: #FF9100;
  width: 20px;
  text-align: center;
  font-size: 16px;
}
.mobile-menu-links a:hover,
.mobile-menu-links a.active {
  background-color: rgba(255, 145, 0, 0.1);
  color: #FF9100;
  border-left-color: #FF9100;
}

/* Drawer Footer Call to Action */
.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.15);
}
.btn-drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #FF9100;
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background-color 0.2s ease;
}
.btn-drawer-cta:hover {
  background-color: #e07f00;
}
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(14, 30, 57, 0.6);
  backdrop-filter: blur(2px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/*-----------------------------------------------------------------------------------*/
/* Hero Banner Section
/*-----------------------------------------------------------------------------------*/
.hero-banner-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: url('../images/banner.png') no-repeat center center / cover;
  padding: 140px 0 80px 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(14, 30, 57, 0.95) 0%, rgba(14, 30, 57, 0.82) 60%, rgba(14, 30, 57, 0.5) 100%);
  z-index: 1;
}

.banner-badge-pillars {
  display: inline-block;
  background-color: #FF9100;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 50px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 18px;
  color: #d1d5db;
  margin-bottom: 30px;
  max-width: 650px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background-color: #FF9100;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-hero-primary:hover {
  background-color: #FF9100CC;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-hero-secondary {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none;
}

.hero-trust-badges {
  display: flex;
  gap: 24px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.hero-trust-badges .badge-item {
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-trust-badges .badge-item i {
  color: #FF9100;
}

.hero-address-footer {
  font-size: 14px;
  color: #9ca3af;
  padding-top: 16px;
}

.hero-address-footer i {
  color: #FF9100;
}

/*-----------------------------------------------------------------------------------*/
/* About Us Section
/*-----------------------------------------------------------------------------------*/
.contentSectionGrey#about {
  padding: 90px 0;
  background-color: #f8fafc;
}

.aboutIntro {
  margin-bottom: 24px;
}

.aboutIntro .contentIntro {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 38px;
  color: #0E1E39;
  line-height: 1.25;
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.aboutIntro .contentIntro::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  border-radius: 2px;
}

.aboutDesc .contentDesc {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: #475569;
  background: #ffffff;
  padding: 35px 40px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(14, 30, 57, 0.05);
  margin: 0;
}

/*-----------------------------------------------------------------------------------*/
/* Services & Features Sections
/*-----------------------------------------------------------------------------------*/
.contentSectionWhiteGrey {
  padding: 90px 0;
  background-color: #ffffff;
}

.section-border-top {
  border-top: 1px solid #e2e8f0;
}

.why-title {
  font-weight: 700;
  font-size: 38px;
  color: #0E1E39;
  margin-bottom: 20px;
  line-height: 1.2;
}

.why-description {
  font-size: 17px;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 40px;
}

.why-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 25px;
}

.why-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.why-feature-fullwidth {
  grid-column: span 2;
}

/* Standardized Icon Circles */
.why-icon-circle {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 10px;
  background-color: #FF91001A;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF9100;
  font-size: 18px;
}

.why-feature-text strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  color: #0E1E39;
  font-weight: 700;
  line-height: 1.35;
  display: block;
}

.why-feature-text span {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-top: 2px;
}

/* Specialized Expertise Cards */
.expertise-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 28px;
  height: 100%;
  box-shadow: 0 4px 12px rgba(14, 30, 57, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.expertise-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(14, 30, 57, 0.08);
}

.expertise-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0E1E39;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.expertise-card h4 i {
  color: #FF9100;
}

.expertise-card p {
  font-size: 14px;
  color: #475569;
  margin: 0;
}

/* Image Collage */
.why-images-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
}

.why-img-top {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 290px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.why-img-bottom {
  position: absolute;
  bottom: 0;
  left: 0%;
  width: 80%;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  border: 5px solid #ffffff;
  box-shadow: 0 15px 35px rgba(0,0,0,0.18);
  z-index: 2;
}

.why-images-wrapper-left .why-img-top {
  left: 0;
  right: auto;
}

.why-images-wrapper-left .why-img-bottom {
  right: 0;
  left: auto;
}

.why-img-top img, .why-img-bottom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*-----------------------------------------------------------------------------------*/
/* Project Tables
/*-----------------------------------------------------------------------------------*/
.table-section-title {
  font-size: 22px;
  font-weight: 700;
  color: #0E1E39;
  margin-bottom: 20px;
}

.table-section-title i {
  color: #FF9100;
  margin-right: 8px;
}

.project-table {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}

.project-table thead th {
  background-color: #0E1E39;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border: none;
}

.project-table tbody td {
  font-size: 14px;
  vertical-align: middle;
}

/*-----------------------------------------------------------------------------------*/
/* Portfolio Gallery & Isotope Styles
/*-----------------------------------------------------------------------------------*/
.portfolio-filter-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0E1E39;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.filter-btn:hover,
.filter-btn.active {
  background: #0E1E39;
  color: #FF9100;
  border-color: #0E1E39;
  box-shadow: 0 4px 12px rgba(14, 30, 57, 0.15);
}

.portfolio-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 15px rgba(14, 30, 57, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(14, 30, 57, 0.12);
}

.portfolio-img-box {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background-color: #1e293b;
}

.portfolio-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-img-box img {
  transform: scale(1.05);
}

.portfolio-status-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #FF9100;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.portfolio-status-badge.status-completed {
  background-color: #10b981;
}

.portfolio-info {
  padding: 20px;
}

.portfolio-category {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #FF9100;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 6px;
}

.portfolio-item-title {
  font-size: 17px;
  font-weight: 700;
  color: #0E1E39;
  margin-bottom: 8px;
  line-height: 1.35;
}

.portfolio-item-desc {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/*-----------------------------------------------------------------------------------*/
/* Get in Touch Section
/*-----------------------------------------------------------------------------------*/
.contentSectionGrey{
  padding: 90px 0px;
}
.contentSectionGrey#contact {
  padding: 90px 0;
  background-color: #ffffff;
}

.contentSectionGrey#contact .contentTitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 40px;
  color: #0E1E39;
  line-height: 1.2;
}

.contentSectionGrey#contact .aboutIntro {
  margin-bottom: 30px;
}

.contentSectionGrey#contact .contentIntro {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #FF9100;
  line-height: 1.4;
  padding-bottom: 0;
}

.contentSectionGrey#contact .contentIntro::after {
  display: none;
}

/* Contact Information Block */
.contact-info-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 5px solid #0E1E39;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(14, 30, 57, 0.03);
}

.contact-info-card p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #334155;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info-card p:last-child {
  margin-bottom: 0;
}

.contact-info-card p i {
  color: #FF9100;
  font-size: 18px;
  margin-top: 3px;
  width: 20px;
  text-align: center;
}

.contact-info-card strong {
  font-weight: 600;
  color: #0E1E39;
}

/* Appointment Button Alignment */
.booking-button-wrapper button {
  padding: 14px 38px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  font-family: 'Montserrat', sans-serif !important;
  color: #ffffff !important;
  border: none !important;
  background-color: #FF9100 !important;
  border-radius: 6px !important;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(203, 54, 148, 0.3);
  transition: all 0.3s ease !important;
}

.booking-button-wrapper button:hover {
  background-color: #FF91001A !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(203, 54, 148, 0.4);
}

/*-----------------------------------------------------------------------------------*/
/* Footer Section
/*-----------------------------------------------------------------------------------*/
#footer {
  background: #0E1E39;
  padding: 50px 0;
}

#footer .socials-media ul li {
  display: inline-block;
  margin: 0 10px 20px 10px;
}

#footer .socials-media ul li a {
  font-size: 24px;
  color: #ffffff;
  transition: color 0.2s ease;
}

#footer .socials-media ul li a:hover {
  color: #FF9100;
}

#footer p {
  font-size: 13px;
  color: #9ca3af;
  font-family: 'Montserrat', sans-serif;
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 36px;
  }
  .why-images-wrapper {
    height: 380px;
    margin-top: 40px;
  }
}