/********** Template CSS **********/
:root {
    --primary: #819a91; 
    --secondary: #5F656F;
    --light: #F5F5F5;
    --dark: #00082d;
}


body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/thrones-logo-transparent.png") center center no-repeat;
  background-size: 800px; /* Adjust the logo size */
  opacity: 0.50; /* Light watermark transparency */
  z-index: -1; /* Keeps it behind all content */
  pointer-events: none; /* So it doesn’t block any clicks */
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
h6,
.h5,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: #FFFFFF;
}
.btn-secondary{
    color: #FFFFFF;
    border-radius: 1rem;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


.topbar-right {
    position: relative;

}

.topbar-right::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 100%;
    top: 0;
    left: -15px;
    transform: skewX(-30deg);

}


/*** Navbar ***/

.navbar {
    background: #00082d !important;
}

.navbar .navbar-brand {
    background: #00082d !important;
}

.navbar .navbar-brand::after {
    display: none; /* Removes the skew effect */
}

 
.col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Navbar Toggler (Hamburger) Custom Styles */
.navbar-toggler {
    border-color: #ffffff !important;
}

.navbar-toggler-icon {
    background-image: none;
    color: #ffffff !important;
    border: none;
}

.navbar-toggler-icon::before {
    content: "\2630"; /* Unicode hamburger icon */
    color: #ffffff;
    font-size: 24px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, #00082d 0%, rgba(0, 8, 45, 0) 100%);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
    border-radius: 3.5rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(to right, #00082d 0%, rgba(0, 8, 45, 0) 100%), url(../img/courosel-g.png) center center no-repeat;
    background-size: cover;
}

.page-header.page-header-ele {
  background: linear-gradient(to right, #00082d 0%, rgba(0, 8, 45, 0) 100%), url(../img/electrical-hero.jpg) center center no-repeat;
  background-size: cover;
}

.page-header.page-header-about {
  background: linear-gradient(to right, #00082d 0%, rgba(0, 8, 45, 0) 100%), url(../img/aboutus-hero.jpg) center center no-repeat;
  background-size: cover;
  background-position: 40% 10%;
}

.page-header.page-header-contact {
  background: linear-gradient(to right, #00082d 0%, rgba(0, 8, 45, 0) 100%), url(../img/contact-hero.jpg) center center no-repeat;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  
}
.page-header.page-header-telecom {
  background: linear-gradient(to right, #00082d 0%, rgba(0, 8, 45, 0) 100%), url(../img/telecom-hero.png) center center no-repeat;
  background-size: cover;
}
.page-header.page-header-cons {
  background: linear-gradient(to right, #00082d 0%, rgba(0, 8, 45, 0) 100%), url(../img/construction-hero.png) center center no-repeat;
  background-size: cover;
}
.page-header.page-header-it {
  background: linear-gradient(to right, #00082d 0%, rgba(0, 8, 45, 0) 100%), url(../img/it-hero.png) center center no-repeat;
  background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 14px;
    color: var(--light);
}

@media (max-width: 576px) {
    .page-header .breadcrumb-item,
    .page-header .breadcrumb-item a {
        font-size: 10px;
    }
}


/*** Facts ***/
.facts {
    position: relative;
    margin: 6rem 0;
    background: var(--dark);
}

.facts .border {
    border-color: rgba(255, 255, 255, .1) !important;
}


/*** Features ***/
.feature-section .feature-img {
    border-radius: 18px;
    
}

.feature-section .feature-img:hover {
  box-shadow: 0 6px 18px rgba(129, 154, 145, 0.3); /* Soft blue glow */
  transform: scale(1.01);
  transition: transform 0.6s ease, box-shadow 0.6s ease;

}

/* --- WhatsApp button (replicates old .btn-play behavior) --- */

/* Feature circle positioning (same coordinates as old play button) */
.feature-circle {
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
  position: absolute !important;
  z-index: 10;
}

/* Mobile behavior identical to old .btn-play */
@media (max-width: 992px) {
  .feature-circle {
      left: 50%;
      right: auto;
      top: 50%;
      transform: translate(-50%, -50%);
  }
}

/* WhatsApp button — acts like the old play button visually */
.whatsapp-btn {
  position: absolute;       /* keep relative to .feature-circle */
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
  box-sizing: content-box;
  width: 16px;
  height: 26px;
  border-radius: 100%;
  border: none;
  outline: none !important;
  padding: 18px 20px 20px 28px;
  background: #075E54;
  z-index: 20;
  cursor: pointer;
}

/* big background circle (pulsing) */
.whatsapp-btn:before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 60px;
  height: 60px;
  background: #075E54;
  border-radius: 100%;
  animation: pulse-border 1500ms ease-out infinite;
}

/* secondary circle layer (static) */
.whatsapp-btn:after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 60px;
  height: 60px;
  background: #075E54;
  border-radius: 100%;
  transition: all 200ms;
}

/* WhatsApp icon styling (Bootstrap Icons i tag) */
.whatsapp-btn i {
  display: block;
  position: relative;
  z-index: 3;
  font-size: 28px;
  color: #FFFFFF;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  position: absolute;
  left: 50%;
  top: 50%;
}


@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}


/*** Service homepage -start***/

.service-item {
  background: #0b0f2a; /* Deep navy background */
  border: 1px solid rgba(129, 154, 145, 0.3); /* Subtle border accent */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-align: center;
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(129, 154, 145, 0.4);
}

/* Service image wrapper */
.service-item .service-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #111a3c;
}

.service-item .service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.service-item:hover .service-img img {
  transform: scale(1.08);
}

/* Title & description box */
.service-item .service-title {
  padding: 25px 25px 30px 25px;
  color: #ffffff;
  background: transparent;
}

.service-item .service-title h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
  position: relative;
}

.service-item .service-title h4::after {
  content: "";
  display: block;
  width: 45px;
  height: 3px;
  background: #819a91;
  margin: 10px auto 0 auto;
  border-radius: 2px;
}

.service-item .service-title p {
  color: #FFFFFF;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Read More Button */
.service-item .btn {
  background: #819a91;
  color: #fff;
  border-radius: 25px;
  padding: 8px 18px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.service-item .btn:hover {
  background: #ffffff;
  color: #00082d;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
  .service-item .service-img {
    height: 200px;
  }
  .service-item .service-title h4 {
    font-size: 1.15rem;
  }
}

@media (max-width: 576px) {
  .service-item {
    margin-bottom: 25px;
  }
  .service-item .service-img {
    height: 180px;
  }
  .service-item .service-title p {
    font-size: 0.9rem;
  }
}

/*** Service homepage -end***/


/*** Product- homepage - start ***/
.project-carousel {
    position: relative;
    background: var(--dark);
}

.project-item {
    position: relative;
    display: block;
}

.project-item img {
    transition: .5s;
}

.project-item:hover img,
.project-carousel .owl-item.center img {
    margin-top: -60px;
}

.project-item .project-title {
    position: absolute;
    padding: 0 15px;
    width: 100%;
    height: 80px;
    bottom: -110px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark);
    transition: .5s;
}

.project-item:hover .project-title,
.project-carousel .owl-item.center .project-title  {
    bottom: -60px;
}

.project-item .project-title::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    top: -15px;
    left: 0;
    transform: skewY(-5deg);
    background: var(--dark);
    transition: .5s;
}

.project-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    transition: .5s;
    opacity: 0;
    z-index: 1;
}

.project-carousel:hover .owl-nav {
    opacity: 1;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 30px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

/*** Product- homepage - end ***/


/*** Footer - start***/
.footer {
    color: #FFFFFF;
    padding: 60px 0 20px 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-logo-desc p {
    color: #FFFFFF;
}

.footer h5 {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-weight: 400;
    text-transform: none;
    transition: color 0.3s ease, transform 0.3s ease;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.footer .btn.btn-link:focus,
.footer .btn.btn-link:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.footer .btn.btn-link:hover {
    color: #819a91; /* Primary accent color on hover */
    transform: translateX(4px); /* subtle movement for interactivity */
}

/* Footer logo */
.throneslogo {
    margin-bottom: 15px;
    max-width: 180px;
}

/* Social icons */
.footer .social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.footer .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #111a3c;
    color: #ffffff;
    transition: all 0.3s ease;
}

.footer .social-icons a:hover {
    background-color: #819a91;
    color: #00082d;
    transform: scale(1.1);
}

/* Newsletter input/button adjustments */

.newsletter-form input {
    border: 1px solid #819a91;
    border-radius: 6px;
    background-color: #ffffff !important;
    color: #00082d !important;
}

.newsletter-form input::placeholder {
    color: #819a91 !important;
    opacity: 1;
}

.newsletter-form button {
    border-radius: 6px;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #143D60;
    color: #ffffff;
}

/* Copyright */
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 30px;
    text-align: center;
    font-size: 0.875rem;
    color: #FFFFFF;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer .social-icons {
        justify-content: center;
    }
}

/*** Footer - end***/

/* --------------------------------------------------------------
   Clients carousel - start
   -------------------------------------------------------------- */
   .clients {
    position: relative;
    padding: 30px 0;
    overflow: hidden;
    background: transparent;
  }
  
  /* track that moves */
  .clients-track {
    display: flex;
    gap: 28px;
    align-items: center;
    will-change: transform;
    /* horizontal padding so first/last logos breathe */
    padding: 10px 30px;
  }
  
  /* each logo wrapper */
  .client-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;          /* keeps structure */
    box-sizing: border-box;
  }
  
  /* images — bigger and visible */
  .client-logo img {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 120px;        /* DESKTOP: larger logos */
    padding: 12px 20px;
    transition: transform 0.35s ease, opacity 0.35s ease, filter 0.35s ease;
    opacity: 0.75;
    filter: grayscale(100%);
    display: block;
  }
  
  /* Hover: color + scale */
  .client-logo img:hover,
  .client-logo img:focus {
    filter: none;
    opacity: 1;
    transform: scale(1.08);
  }
  
  /* Navigation buttons (small, unobtrusive) */
  .clients-prev,
  .clients-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 10;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
  }
  .clients-prev { left: 12px; }
  .clients-next { right: 12px; }
  
  /* hide buttons on very small screens to reduce clutter */
  @media (max-width: 480px) {
    .clients-prev, .clients-next { display: none; }
  }
  
  /* Tablet adjustments */
  @media (max-width: 1024px) {
    .client-logo { min-width: 110px; }
    .client-logo img { max-height: 90px; padding: 10px 16px; }
    .clients-track { gap: 18px; padding: 8px 16px; }
  }
  
  /* Mobile adjustments */
  @media (max-width: 640px) {
    .client-logo { min-width: 90px; }
    .client-logo img { max-height: 60px; padding: 8px 12px; }
    .clients { padding: 18px 0; }
    .clients-track { gap: 12px; padding: 6px 10px; }
  }


/* --------------------------------------------------------------
   Clients carousel - end
   -------------------------------------------------------------- */

   






/* ================= NAVBAR and Topbar - Start ================= */



/* Dropdown Menu */
.navbar .dropdown-menu {
    background-color: #ffffff !important; /* Force white background */
    border: none !important;
    transition: background-color 0.3s ease-in-out;
}



/* Primary Button */
.btn-primary {
    background-color: #819A91 !important; 
    color: #ffffff !important;
    border-radius: 15px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.btn-primary:hover {
    background-color: #02245B !important; /* Dark Blue hover */
    color: #ffffff !important; /* Keep text readable */
}

::placeholder {
    color: #819a91 !important;
    opacity: 1; /* Ensure it’s fully visible */
}

.col-md-6{
    padding-top: 2rem;
}

.form-control {
    color: #00082d; /* Set input text color for contrast */
    background-color: white; /* Keep input background white */
}

.form-control::placeholder {
    color: #819A91 !important; 
    opacity: 1; 
}

.form-floating label {
    color: #819A91; /* Light blue color matching your theme */
    opacity: 1;
    transform: scale(1) translateY(-12px); /* Keep label above input */
    transition: all 0.2s ease-in-out;
    font-size: 1rem; /* Maintain readability */
    padding-left: 10px; /* Avoid overlap with text */
}

.form-floating .form-control::placeholder {
    color: transparent; /* Hide placeholder text */
}

.form-floating .form-control:focus ~ label,
.form-floating .form-control:not(:placeholder-shown) ~ label {
    transform: scale(0.9) translateY(-12px);
    opacity: 1;
    color: #819A91; /* Highlight when typing */
}

/* Set default navbar link color */
.navbar .navbar-nav .nav-link {
    color: var(--light) !important; /* Change to your desired color */
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

/* Set hover effect */
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary) !important; /* Change to your hover color */
    background-color: transparent; /* Optional: Remove any unwanted background */
}

/* Remove any conflicting styles */
.navbar .navbar-nav .nav-link:focus {
    color: var(--light) !important;
}

/* Dropdown menu items */
.navbar .dropdown-menu {
    background-color: var(--dark) !important; /* Match your navbar */
    
}

.navbar .dropdown-menu .dropdown-item {
    color: var(--light) !important;
    transition: color 0.3s ease-in-out;
}

.navbar .dropdown-menu .dropdown-item:hover {
    color: var(--primary) !important;
    background-color: transparent !important;
}

/* Remove focus outline/box-shadow on dropdown toggles */
.navbar .dropdown-toggle:focus,
.navbar .dropdown-toggle:active,
.navbar .dropdown-item:focus,
.navbar .dropdown-item:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Optional: subtle focus highlight for accessibility */
.navbar .dropdown-toggle:focus,
.navbar .dropdown-item:focus {
    background-color: rgba(129, 154, 145, 0.1) !important; /* light transparent highlight */
    color: var(--primary) !important;
}


/* Navbar - End */



/* services  main page start */

.services_taital {
    width: 100%;
    float: left;
    font-size: 40px;
    color: #FFFFFF;
    font-weight: bold;
    text-align: center;
}

.services_text_1 {
    width: 100%;
    font-size: 16px;
    margin: 0 auto;
    color: #FFFFFF;
    padding-top: 20px;
    text-align: center;
}

.services_text {
    width: 100%;
    font-size: 14px;
    margin: 0px;
    color: #FFFFFF;
    padding-top: 20px;
}

.services_section_2 {
    width: 90%;
    margin: 0 auto;
    padding-top: 30px;
}

.box_main {
    width: 100%;
    background: linear-gradient(135deg, #00082d 0%, #05205A 40%, #0A3A75 100%);
    height: auto;
    padding: 40px 20px 40px 20px;
    border-radius: 20px;
    margin-top: 30px;
}

.box_main:hover {
  background: linear-gradient(135deg, #00082d 0%, #05205A 40%, #0A3A75 100%);
  box-shadow: 0 0 25px rgba(129, 154, 145, 0.45) !important;
  transform: translateY(-4px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box_main.active {
    background: linear-gradient(135deg, #00082d 0%, #05205A 40%, #0A3A75 100%);
    box-shadow: 0px 0px 20px 0px;
}

.service_img {
    width: 30%;
    min-height: 71px;
}

.development_text {
    width: 100%;
    font-size: 24px;
    color: #ffffff !important ;
    font-weight: bold;
    padding: 20px 0px 0px 0px;
    text-transform: uppercase;
    min-height: 80px;
}

.service_img img {
    min-height: 80px;
    max-height: 80px;
}




/* services main page  end */




/*** contact1-css start ***/

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

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #00082d;
  color: #ffffff;
  line-height: 1.6;
}


.container {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}

/* Contact Info Section */
.contact-info,
.contact-form {
  flex: 1 1 500px;
}

.contact-info {
  background-color: #0b0f2a;
  color: #ffffff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-info:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 25px rgba(129, 154, 145, 0.4);
}

.contact-info h2 {
  font-family: 'Montserrat', sans-serif;
  color: #819a91 !important;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  position: relative;
}

.contact-info h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #819a91;
  margin-top: 10px;
  border-radius: 2px;
}

.contact-info p {
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.contact-info .location {
  margin-bottom: 2rem;
}

.contact-info i {
  margin-right: 10px;
  color: #819a91;
  font-size: 1.1rem;
}

/* Contact Form Section */
.contact-form {
  background-color: #0b0f2a;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.contact-form h2 {
  font-family: 'Montserrat', sans-serif;
  color: #819a91 !important;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  position: relative;
}

.contact-form h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #819a91;
  margin-top: 10px;
  border-radius: 2px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  background-color: #ffffff;
  color: #00082d;
  padding: 0.9rem 1rem;
  border: 2px solid #819a91;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #143D60;
  outline: none;
  box-shadow: 0 0 8px rgba(129, 154, 145, 0.5);
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form button {
  padding: 1rem;
  background-color: #819a91;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  color: #ffffff;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background-color: #143D60;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(129, 154, 145, 0.3);
}

/* Embedded Map */
.map {
  width: 100%;
  height: 420px;
  margin-top: 1.5rem;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .container {
    flex-direction: column;
    padding: 1rem;
  }

  .contact-info,
  .contact-form {
    padding: 2rem;
  }
}

@media (max-width: 576px) {
  .contact-form h2,
  .contact-info h2 {
    font-size: 1.6rem;
  }

  .contact-form button {
    font-size: 0.95rem;
  }
}

/*** contact1-css end***/

/*** about1-css start ***/
 
/* ================= VISION & MISSION SECTION - TRANSPARENT ================= */

.vision-section {
  background: transparent;
  border-radius: 20px;
  padding: 40px 0;
  overflow: hidden;
}

.vision-section .vision-img {
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(129,154,145,0.25); /* subtle glow effect */
  transition: transform 0.6s ease, filter 0.6s ease, box-shadow 0.6s ease;
}

.vision-section .vision-img:hover {
  transform: scale(1.03);
  filter: brightness(1.1);
  box-shadow: 0 12px 35px rgba(129,154,145,0.35);
}

.vision-section h2 {
  font-weight: 700;
  color: #fff;
  border-left: 4px solid #819a91;
  padding-left: 12px;
  margin-bottom: 20px;
}

.vision-section p {
  color: #f0f0f0;
  line-height: 1.7;
  margin-bottom: 30px;
}

@media (max-width: 992px) {
  .vision-section {
      padding: 60px 15px;
  }
  .vision-section h1.display-5 {
      font-size: 1.8rem;
  }
  .vision-section p {
      font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .vision-section h1.display-5 {
      font-size: 1.5rem;
  }
  .vision-section p {
      font-size: 0.9rem;
  }
}


/*** about1-css end***/

/* product sec category1 - start .Updated product grid styling - */


.pets_section .row {
    row-gap: 40px;
}

/* Product Card */
.container_main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #101820;
}

.container_main:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

/* Product Image */
.image {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.container_main:hover .image {
    transform: scale(1.05);
}

/* Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(2, 36, 91, 0.65);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.container_main:hover .overlay {
    opacity: 1;
}

.text {
    color: #fff;
    font-size: 20px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.some_text i.fa-link {
    background: var(--primary);
    padding: 18px;
    border-radius: 50%;
    color: #fff;
}

/* Product Card Content */
.project_main {
    background: linear-gradient(135deg, #00082d 0%, #05205A 40%, #0A3A75 100%);
    color: #fff;
    padding: 20px;
    text-align: center;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    transition: background-color 0.3s ease;
}

.project_main:hover {
    background: linear-gradient(135deg, #05205A 0%, #0A3A75 40%, #0E4A8A 100%);
}

.work_text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.dummy_text {
    font-size: 15px;
    color: #f0f0f0;
    line-height: 1.6;
}

/* Section Title */
.services_taital {
    color: #fff;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.services_text_1 {
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 40px;
}

.modal-backdrop.show {
    opacity: 0.9;
    background-color: rgba(0, 0, 0, 0.8);
  }

#imageModal img {
    max-width: 80%;
    max-height: 80vh;
    object-fit: contain;
    margin: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
  }



/* projects section for category1 end */


/* 4services dedicated page start */

/* ================= PREMIUM ELECTRICAL TESTING PAGE ================= */

/* ---------- GLOBAL SECTION LAYOUT ---------- */
.et-main {
    background: transparent;
    padding-bottom: 40px;
}

/* ---------- INTRO SECTION ---------- */
.intro-section p,
.intro-section h1 {
    color: #ffffff;
}

.intro-section .intro-img-wrapper {
    overflow: hidden;
    border-radius: 18px;
    background: #0b0f2a;
}

.intro-section .intro-img {
    height: 550px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.intro-section .intro-img-wrapper:hover .intro-img {
    transform: scale(1.06);
}

.intro-points {
    margin-top: 25px;
}

.point {
    margin-bottom: 18px;
    align-items: flex-start;
}

.point-icon {
    height: 42px;
    width: 42px;
    border-radius: 50%;
    background: #143D60;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    flex-shrink: 0;
}

.point-icon i {
    color: #fff;
    font-size: 18px;
}

.point p {
    font-size: 0.95rem;
    color: #FFFFFF;
    margin: 0;
}

/* ---------- CORE SERVICE GRID ---------- */
.service-core-section {
    padding-top: 40px;
}

.service-core-section h2 {
    font-weight: 700;
}

.core-card {
    background: #0b0f2a;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 24px;
    transition: all 0.35s ease;
    height: 100%;
}

.core-card:hover {
    transform: translateY(-6px);
    border-color: #819a91;
    box-shadow: 0px 8px 20px rgba(129,154,145,0.28);
}

.core-card h4 {
    color: #FFFFFF;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.15rem;
}

.core-card p {
    color: #FFFFFF;
    font-size: 0.94rem;
    line-height: 1.6;
}

/* ---------- MOSAIC SECTION ---------- */
.image-mosaic {
    display: grid;
    grid-template-areas:
        "large large small1"
        "large large small2"
        "wide  wide  wide";
    grid-template-columns: 2fr 2fr 1.4fr;
    grid-gap: 18px;
}

.mosaic-large {
    grid-area: large;
}

.mosaic-small-group .mosaic-small:nth-child(1) {
    grid-area: small1;
}

.mosaic-small-group .mosaic-small:nth-child(2) {
    grid-area: small2;
}

.mosaic-wide {
    grid-area: wide;
}

.mosaic-img {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    object-fit: cover;
    background: #0b0f2a;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.image-mosaic > div:hover .mosaic-img {
    transform: scale(1.05);
    filter: brightness(1.04);
}

/* ---------- MOSAIC RIGHT CONTENT ---------- */
.premium-list {
    list-style: none;
    padding-left: 0;
}

.premium-list li {
    padding-left: 22px;
    position: relative;
    font-size: 0.95rem;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.premium-list li::before {
    content: "•";
    color: #819a91;
    font-size: 1.4rem;
    position: absolute;
    left: 0;
    top: -3px;
}

/* ---------- RESPONSIVE BEHAVIOR ---------- */
@media (max-width: 992px) {
    .image-mosaic {
        grid-template-areas:
            "large"
            "small1"
            "small2"
            "wide";
        grid-template-columns: 1fr;
    }

    .mosaic-img {
        height: 260px;
    }

    .intro-section .intro-img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .mosaic-img {
        height: 200px;
    }

    .core-card {
        padding: 20px;
    }

    .intro-section h1 {
        font-size: 1.8rem;
    }

    .intro-section .intro-img {
        height: 240px;
    }
}

/* 4services dedicated page end */


    

/* ================= ABOUT SECTION - home page start ================= */

.about-section {
  color: #ffffff;
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

/* Image layout */
.about-section .about-images {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 15px;
}

/* Main image - half size */
.about-section .about-images img:first-child {
  width: 50%;
  border-radius: 18px;
  object-fit: cover;
  opacity: 0.9;
  position: relative;
  top: -70px; /* move upward */
  left: -90px; /* move to left */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  z-index: 1;
}

/* Overlay image - half size, bottom-right overlap */
.about-section .about-images img:last-child {
  position: absolute;
  bottom: -25px; /* moved slightly downward */
  right: 0;
  width: 50%;
  border-radius: 18px;
  object-fit: cover;
  opacity: 1;
  box-shadow: 0 12px 30px rgba(129, 154, 145, 0.45);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  z-index: 2;
}

/* Hover effects */
.about-section .about-images:hover img:first-child {
  transform: scale(1.04);
  box-shadow: 0 10px 28px rgba(129, 154, 145, 0.4);
}

.about-section .about-images:hover img:last-child {
  transform: scale(1.06);
  box-shadow: 0 14px 38px rgba(129, 154, 145, 0.5);
}

/* Headings & text */
.about-section h2 {
  color: #ffffff;
  font-weight: 700;
  position: relative;
}

.about-section h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background-color: #819a91;
  margin-top: 10px;
  border-radius: 2px;
}

.about-section p {
  color: #FFFFFF;
  line-height: 1.8;
}

/* Icon & contact links */
.about-section .icon-box {
  width: 50px;
  height: 50px;
  background-color: #143D60;
  border: 2px solid transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.about-section .icon-box:hover {
  background-color: #819a91;
  color: #00082d !important;
  border-color: #ffffff;
  transform: translateY(-4px);
}

.about-section .icon-box i {
  font-size: 22px !important;
  line-height: 1;
}

.about-section .contact-links {
  text-align: center;
}
.about-section .contact-links i {
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.about-section .contact-links i:hover {
  color: #819a91;
}
.about-section .contact-links .d-flex {
  justify-content: center;
}

/* Responsive layout */
@media (max-width: 768px) {
  .about-section {
    padding: 60px 20px;
    text-align: center;
  }

  .about-section .about-images {
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .about-section .about-images img:first-child,
  .about-section .about-images img:last-child {
    position: static;
    width: 45%;
    max-width: 180px;
    margin: 5px;
    display: inline-block;
  }

  .about-section h2::after {
    margin: 10px auto;
  }

  .about-section .contact-links {
    text-align: center;
  }
  .about-section .contact-links .d-flex {
    justify-content: center;
  }
}

/* about section home page end */

/* Fix footer link alignment on small screens  */
@media (max-width: 992px) {
  .footer-container {
    flex-direction: column;   /* stack footer sections */
    align-items: center;      /* center all sections horizontally */
    text-align: center;       /* ensure text aligns centrally */
  }

  .footer h5 {
    text-align: center;
    margin-bottom: 15px;
  }

  .footer .btn.btn-link {
    display: block;           /* each link on its own line */
    width: auto;              /* natural width of text */
    text-align: center;       /* center link text */
    margin: 6px 0;            /* space between links */
    color: #FFFFFF;           /* retain footer color scheme */
    transition: color 0.3s ease, transform 0.3s ease;
  }

  .footer .btn.btn-link:hover {
    color: #819a91;           /* accent color on hover */
    transform: translateY(-2px);
  }

  .footer .social-icons {
    justify-content: center;
  }
}
/* Fix footer link alignment on small screens -End */

/* ===================== FAQ SECTION - Start===================== */

.faq-section {
  background: transparent;
  padding: 40px 0;
  position: relative;
}

/* Section Heading */
.faq-section p.fw-medium {
  color: #819a91 !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 15px;
}

.faq-section h2 {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: 25px;
  position: relative;
}

.faq-section h2::after {
  content: "";
  width: 70px;
  height: 4px;
  background: #819a91;
  display: block;
  margin-top: 10px;
  border-radius: 3px;
}

/* FAQ Image Wrapper */
.faq-image-wrapper {
  overflow: hidden;
  border-radius: 20px;
  background: #0b0f2a;
  box-shadow: 0 10px 30px rgba(0,0,0,0.55);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.faq-image-wrapper:hover {
  transform: scale(1.03);
  box-shadow: 0 18px 45px rgba(129,154,145,0.35);
}

.faq-image {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  filter: brightness(1.03);
}

/* Accordion Container */
.faq-section .accordion-item {
  background: rgba(11,15,42,0.9);
  border: 1px solid rgba(129,154,145,0.25);
  border-radius: 14px;
  margin-bottom: 18px;
  overflow: hidden;
  backdrop-filter: blur(4px);
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.faq-section .accordion-item:hover {
  border-color: #819a91;
  box-shadow: 0 8px 20px rgba(129,154,145,0.28);
}

/* Accordion Button */
.faq-section .accordion-button {
  background: transparent;
  padding: 20px;
  font-size: 1.1rem;
  color: #ffffff !important;
  font-weight: 600;
  border: none !important;
  box-shadow: none !important;
}

.faq-section .accordion-button::after {
  filter: invert(1);
}

.faq-section .accordion-button:not(.collapsed) {
  background: #143D60 !important;
  color: #ffffff !important;
}

/* Accordion Body */
.faq-section .accordion-body {
  color: #FFFFFF;
  padding: 18px 22px;
  font-size: 0.97rem;
  line-height: 1.7;
  border-top: 1px solid rgba(129,154,145,0.25);
}

/* Responsive */
@media (max-width: 992px) {
  .faq-image {
    height: 360px;
  }
}

@media (max-width: 768px) {
  .faq-image {
    height: 280px;
  }

  .faq-section h2 {
    font-size: 1.9rem;
  }
}
/* FAQ section end */


/* ===================== Testimonial section start===================== */
.testimonial-section {
  background: transparent;
  padding: 40px 0;
  position: relative;
}

/* Section Heading */
.testimonial-section p.fw-medium {
  color: #819a91 !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 15px;
}

.testimonial-section h2 {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: 25px;
  position: relative;
}

.testimonial-section h2 span {
  color: #819a91 !important;
}

.testimonial-section h2::after {
  content: "";
  width: 70px;
  height: 4px;
  background: #819a91;
  display: block;
  margin-top: 10px;
  border-radius: 3px;
}

/* Image Wrapper */
.testimonial-image-wrapper {
  overflow: hidden;
  border-radius: 20px;
  background: #0b0f2a;
  box-shadow: 0 10px 30px rgba(0,0,0,0.55);
  transition: transform 0.6s ease, box-shadow 0.6s ease;

}

.testimonial-image-wrapper:hover {
  transform: scale(1.03);
  box-shadow: 0 18px 45px rgba(129,154,145,0.35);
}

/* Adaptive Testimonial Image for Tall Images */
.testimonial-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: brightness(1.05);
  border-radius: 20px;
  max-height: 600px; /* desktop limit */
}

/* Tablet */
@media (max-width: 600px) {
  .testimonial-image {
    max-height: 768px;
  }
}

/* Mobile */
@media (max-width: 450px ) {
  .testimonial-image {
    max-height: 768px;
  }
}

/* Testimonial Text */
.testimonial-text {
  font-size: 1.1rem;
  color: #FFFFFF;
  line-height: 1.8;
  background: rgba(11, 15, 42, 0.85);
  padding: 20px;
  border-left: 4px solid #819a91;
  border-radius: 10px;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-text:hover {
  background: rgba(11, 15, 42, 0.95);
  box-shadow: 0 8px 20px rgba(129,154,145,0.25);
}

/* Carousel Arrows */
.testimonial-arrows {
  display: flex !important;
  flex-direction: row !important;
  gap: 15px;
  justify-content: flex-start;
}
.arrow-btn {
  width: 50px;
  height: 50px;
  background: #143D60;
  border-radius: 50%;
  border: none;
  color: #ffffff;
  font-size: 1.2rem;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  
}


.arrow-btn:hover {
  background: #819a91;
  color: #00082d;
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(129,154,145,0.4);
}

/* Reviewer Name */
.testimonial-section h5 {
  color: #ffffff !important;
  font-weight: 600;
  margin-left: 5px;
}

/* Responsive */
@media (max-width: 992px) {
  .testimonial-image {
    height: 360px;
  }
}

@media (max-width: 768px) {
  .testimonial-image {
    height: 280px;
  }

  .testimonial-section h2 {
    font-size: 2rem;
    text-align: center;
  }

  .testimonial-text {
    text-align: center;
  }

  .testimonial-arrows {
    display: flex;
    justify-content: center;
  }
}
/* Testimonial section end */

/* T&C Page Styling start */
.terms-wrapper h2 {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.terms-wrapper h4 {
  font-weight: 600;
  margin-top: 30px;
  color: var(--primary);
}

.terms-wrapper p,
.terms-wrapper ul li {
  line-height: 1.8;
  color: #555;
}

/* Bullet list styling */
.terms-wrapper ul {
  padding-left: 20px;
}

.terms-wrapper ul li {
  margin-bottom: 8px;
}

/* Section spacing fix */
.terms-wrapper {
  max-width: 900px;
  margin: auto;
}

/* Light border for separation */
.terms-wrapper h4 {
  padding-bottom: 5px;
  border-left: 3px solid var(--primary);
  padding-left: 10px;
}


/* T&C Page Styling end */



/* Fix red border on buttons and links in small screens */
@media (max-width: 576px) {
    button:focus,
    .btn:focus,
    a:focus,
    .nav-link:focus {
        outline: none !important;
        box-shadow: none !important;
        border-color: transparent !important;
    }
}
/*  red border on buttons and links in small screens end */