/* ==========================================================================
   Srivilliputhur Construction — Design System
   Signature motif: the stepped gopuram (temple tower) silhouette, echoed
   throughout as dividers, numbering tiers, and the hero mark.
   ========================================================================== */

:root {
  --royal-blue: #0B5ED7;
  --royal-blue-deep: #073A85;
  --royal-blue-tint: #E8F0FD;
  --con-yellow: #FFC107;
  --con-yellow-deep: #C98F00;
  --white: #FFFFFF;
  --dark-gray: #212529;
  --mid-gray: #5B6472;
  --light-gray: #F5F6F8;
  --line-gray: #E3E6EB;
  --green: green;

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 6px;
  --shadow-soft: 0 10px 30px rgba(11, 94, 215, 0.08);
  --shadow-card: 0 4px 18px rgba(33, 37, 41, 0.07);
  --container-max: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark-gray);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--dark-gray);
  line-height: 1.25;
}

a { text-decoration: none; color: inherit; transition: all .2s ease; }
img { max-width: 100%; display: block; }

.container-xl { max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

:focus-visible {
  outline: 3px solid var(--con-yellow);
  outline-offset: 2px;
}

/* ---------- Eyebrow / kicker ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--royal-blue);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 3px;
  background: var(--con-yellow);
  display: inline-block;
  border-radius: 2px;
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--mid-gray); font-size: 17px; }

.section { padding: 90px 0; }
.section.tight { padding: 60px 0; }
.bg-light { background: var(--light-gray); }
.bg-dark { background: var(--dark-gray); color: #C9CDD3; }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }
.bg-blue { background: var(--royal-blue); color: #DCE9FC; }
.bg-blue h2, .bg-blue h3 { color: var(--white); }

/* ==========================================================================
   Gopuram tier motif — used as SVG dividers between sections and as the
   step-marker for numbered process/timeline items.
   ========================================================================== */
.tier-divider {
  display: block;
  width: 100%;
  height: 46px;
  line-height: 0;
}
.tier-divider svg { width: 100%; height: 100%; display: block; }

.tier-badge {
  width: 64px; height: 56px;
  position: relative;
  margin: 0 auto 18px;
}
.tier-badge svg, .tier-badge img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Buttons ---------- */
.btn-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 3px;
  background: var(--con-yellow);
  color: var(--dark-gray);
  border: 2px solid var(--con-yellow);
  transition: all .25s ease;
}
.btn-brand:hover { background: transparent; color: var(--con-yellow); }
.btn-brand.outline-light {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,.55);
}
.btn-brand.outline-light:hover { background: var(--white); color: var(--royal-blue); border-color: var(--white); }
.btn-brand.solid-blue { background: var(--royal-blue); color: var(--white); border-color: var(--royal-blue); }
.btn-brand.solid-blue:hover { background: transparent; color: var(--royal-blue); }
.btn-brand.small { padding: 10px 22px; font-size: 13px; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--dark-gray);
  color: #B7BCC4;
  font-size: 13.5px;
  padding: 9px 0;
}
.topbar a { color: #B7BCC4; }
.topbar a:hover { color: var(--con-yellow); }
.topbar .divider { color: #444B54; margin: 0 12px; }
.topbar .social a { margin-left: 14px; font-size: 14px; }

/* ---------- Navbar ---------- */
.site-navbar {
  background: var(--white);
  padding: 16px 0;
  transition: all .3s ease;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.site-navbar.shrink { padding: 8px 0; box-shadow: 0 4px 18px rgba(0,0,0,.08); }
.brand-logo { display: flex; align-items: center; gap: 12px; }
.brand-logo .mark { width: 44px; height: 44px; flex: none; }
.brand-logo .name { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--dark-gray); line-height: 1.1; }
.brand-logo .name span { color: var(--royal-blue); }
.brand-logo .tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mid-gray); font-weight: 600; }

.navbar-nav .nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--dark-gray) !important;
  padding: 10px 16px !important;
  position: relative;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover { color: var(--royal-blue) !important; }
.navbar-nav .dropdown-menu {
  border: none; box-shadow: var(--shadow-card); border-radius: 8px; padding: 10px;
}
.navbar-nav .dropdown-item {
  font-family: var(--font-body); font-size: 14.5px; padding: 9px 14px; border-radius: 5px;
}
.navbar-nav .dropdown-item:hover { background: var(--royal-blue-tint); color: var(--royal-blue); }
.nav-cta { margin-left: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--royal-blue-deep) 0%, var(--royal-blue) 62%);
  color: var(--white);
  overflow: hidden;
  padding: 120px 0 0;
}
.hero .container-xl { position: relative; z-index: 3; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-bottom: 80px;
}
.hero .eyebrow { color: var(--green); }
.hero .eyebrow::before { background: var(--green); }
.hero h1 { font-size: clamp(32px, 4.6vw, 56px); color: var(--white); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--con-yellow); }
.hero p.lead { font-size: 18px; color: green; max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-art { position: relative; }
.hero-art svg, .hero-art img { width: 100%; height: auto; }
.hero-strip {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero-strip .row > div { padding: 22px 0; border-right: 1px solid rgba(255,255,255,.14); }
.hero-strip .row > div:last-child { border-right: none; }
.hero-strip .num { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--con-yellow); }
.hero-strip .lbl { font-size: 13px; color: #C9D9F5; }

.hero-bg-tiers { position: absolute; inset: 0; z-index: 1; opacity: 1; }
.hero-bg-tiers svg { width: 100%; height: 100%; }

/* small inner-page hero */
.page-hero {
  background: linear-gradient(135deg, var(--royal-blue-deep), var(--royal-blue));
  color: var(--white);
  padding: 64px 0 46px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--white); font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 10px; }
.breadcrumb-brand { font-size: 14px; color: #C9D9F5; }
.breadcrumb-brand a { color: var(--con-yellow); }
.breadcrumb-brand .sep { margin: 0 8px; opacity: .6; }

/* ---------- Cards ---------- */
.svc-card {
  background: var(--white);
  border: 1px solid var(--line-gray);
  border-radius: var(--radius);
  padding: 34px 28px;
  height: 100%;
  transition: all .3s ease;
  position: relative;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: transparent; }
.svc-card .ico {
  width: 56px; height: 56px; border-radius: 10px;
  background: var(--royal-blue-tint); color: var(--royal-blue);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  margin-bottom: 20px; transition: all .3s ease;
}
.svc-card:hover .ico { background: var(--con-yellow); color: var(--dark-gray); }
.svc-card h3 { font-size: 19px; margin-bottom: 10px; }
.svc-card p { color: var(--mid-gray); font-size: 15px; margin-bottom: 16px; }
.svc-card .more { font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--royal-blue); }
.svc-card .more i { margin-left: 4px; transition: transform .2s ease; }
.svc-card:hover .more i { transform: translateX(4px); }

.why-item { display: flex; gap: 18px; margin-bottom: 30px; }
.why-item .num-tier { flex: none; width: 52px; }
.why-item h4 { font-size: 17px; margin-bottom: 6px; }
.why-item p { color: var(--mid-gray); font-size: 14.5px; margin: 0; }

.process-step { text-align: center; position: relative; padding: 0 14px; }
.process-step h4 { font-size: 17px; margin: 10px 0 8px; }
.process-step p { color: var(--mid-gray); font-size: 14px; }
.process-step .step-no { font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--royal-blue); letter-spacing: .08em; }

.project-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); background: var(--white); height: 100%; }
.project-card .thumb { aspect-ratio: 4/3; position: relative; overflow: hidden; }
.project-card .thumb svg, .project-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.project-card .thumb .tag {
  position: absolute; top: 14px; left: 14px; background: var(--con-yellow); color: var(--dark-gray);
  font-family: var(--font-display); font-weight: 700; font-size: 11.5px; letter-spacing: .04em;
  padding: 5px 12px; border-radius: 3px; text-transform: uppercase;
}
.project-card .body { padding: 22px 24px; }
.project-card .body .loc { font-size: 13px; color: var(--mid-gray); margin-bottom: 6px; }
.project-card .body h4 { font-size: 17.5px; margin-bottom: 8px; }
.project-card .body .status { font-size: 13px; font-weight: 600; }
.project-card .body .status.ongoing { color: var(--con-yellow-deep); }
.project-card .body .status.done { color: #1E8E5A; }

.stat-block { text-align: center; }
.stat-block .figure { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4vw, 48px); color: var(--con-yellow); }
.stat-block .cap { font-size: 14px; color: #C9D9F5; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }

.testi-card {
  background: var(--white); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-card);
  height: 100%; position: relative;
}
.testi-card .stars { color: var(--con-yellow); font-size: 14px; margin-bottom: 14px; }
.testi-card p.quote { font-size: 15.5px; color: var(--dark-gray); margin-bottom: 20px; }
.testi-card .who { display: flex; align-items: center; gap: 14px; }
.testi-card .avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--royal-blue-tint); color: var(--royal-blue);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700;
}
.testi-card .who h5 { font-size: 15px; margin: 0; }
.testi-card .who span { font-size: 13px; color: var(--mid-gray); }

.faq-item { border-bottom: 1px solid var(--line-gray); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 20px 0;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--dark-gray);
  display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.faq-q i { color: var(--royal-blue); transition: transform .25s ease; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { color: var(--mid-gray); padding-bottom: 20px; margin: 0; font-size: 14.5px; }

.blog-card { background: var(--white); border: 1px solid var(--line-gray); border-radius: var(--radius); overflow: hidden; height: 100%; transition: all .25s ease; }
.blog-card:hover { box-shadow: var(--shadow-card); border-color: transparent; transform: translateY(-4px); }
.blog-card .thumb { aspect-ratio: 16/10; }
.blog-card .thumb svg, .blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .body { padding: 22px 24px; }
.blog-card .meta { font-size: 12.5px; color: var(--mid-gray); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.blog-card .meta span { color: var(--royal-blue); font-weight: 600; }
.blog-card h4 { font-size: 17.5px; margin-bottom: 10px; }
.blog-card p { color: var(--mid-gray); font-size: 14.5px; }

/* ---------- Quote / contact form panel ---------- */
.quote-panel { background: var(--white); border-radius: 10px; box-shadow: var(--shadow-soft); padding: 40px; }
.form-control, .form-select {
  border: 1px solid var(--line-gray); border-radius: 4px; padding: 13px 16px; font-size: 14.5px;
}
.form-control:focus, .form-select:focus { border-color: var(--royal-blue); box-shadow: 0 0 0 3px var(--royal-blue-tint); }
label.form-label { font-size: 13.5px; font-weight: 600; color: var(--dark-gray); margin-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-gray); color: #ADB4BE; padding: 80px 0 0; }
.site-footer h5 { color: var(--white); font-size: 16px; margin-bottom: 22px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 12px; font-size: 14.5px; }
.site-footer ul li a:hover { color: var(--con-yellow); }
.site-footer .about-col p { font-size: 14.5px; color: #9FA6B0; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid #454C55;
  display: inline-flex; align-items: center; justify-content: center; margin-right: 8px; font-size: 14px;
}
.footer-social a:hover { background: var(--con-yellow); color: var(--dark-gray); border-color: var(--con-yellow); }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact i { color: var(--con-yellow); margin-top: 3px; }
.footer-bottom { border-top: 1px solid #383E46; margin-top: 50px; padding: 22px 0; font-size: 13.5px; }
.footer-bottom a:hover { color: var(--con-yellow); }

/* ---------- Floating buttons ---------- */
.float-btns { position: fixed; right: 22px; bottom: 24px; z-index: 998; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.float-btn {
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--white); box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
.float-btn.wa { background: #25D366; }
.float-btn.call { background: var(--royal-blue); }
.back-to-top {
  width: 42px; height: 42px; border-radius: 50%; background: var(--con-yellow); color: var(--dark-gray);
  display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .3s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Misc pages ---------- */
.value-list li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 15px; }
.value-list i { color: var(--royal-blue); margin-top: 4px; }
.timeline-v { border-left: 3px solid var(--royal-blue-tint); padding-left: 28px; position: relative; }
.timeline-v .t-item { position: relative; margin-bottom: 34px; }
.timeline-v .t-item::before {
  content: ""; position: absolute; left: -35px; top: 4px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--con-yellow); border: 3px solid var(--royal-blue);
}
.legal-body h2 { font-size: 21px; margin-top: 34px; margin-bottom: 12px; }
.legal-body p, .legal-body li { color: var(--mid-gray); font-size: 15px; }
.legal-body { max-width: 820px; }

.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-tabs button {
  border: 1px solid var(--line-gray); background: var(--white); padding: 9px 20px; border-radius: 30px;
  font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--mid-gray); cursor: pointer;
  transition: all .2s ease;
}
.filter-tabs button.active, .filter-tabs button:hover { background: var(--royal-blue); border-color: var(--royal-blue); color: var(--white); }

.job-card { border: 1px solid var(--line-gray); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 18px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.job-card h4 { font-size: 17px; margin-bottom: 6px; }
.job-card .meta { font-size: 13.5px; color: var(--mid-gray); }
.job-card .meta span { margin-right: 14px; }

.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-gray); }
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }

.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.gallery-item svg, .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover svg, .gallery-item:hover img { transform: scale(1.06); }
.gallery-item .cap {
  position: absolute; inset: auto 0 0 0; background: linear-gradient(0deg, rgba(7,58,133,.9), transparent);
  color: var(--white); padding: 30px 18px 14px; font-family: var(--font-display); font-weight: 600; font-size: 14px;
  opacity: 0; transition: opacity .3s ease;
}
.gallery-item:hover .cap { opacity: 1; }

@media (max-width: 991px) {
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 50px; }
  .hero-art { order: -1; max-width: 320px; margin: 0 auto; }
  .hero { padding-top: 100px; }
  .hero-strip .row > div { border-right: none; border-bottom: 1px solid rgba(255,255,255,.14); }
  .section { padding: 64px 0; }
}
.blink-text{
    font-size:1.1rem;
    font-weight:bold;
    margin:0;
    animation: colorBlink 3s infinite;
}

@keyframes colorBlink{
    0%{
        color:#ff0000; /* Red */
    }
    33%{
        color:#0066ff; /* Blue */
    }
    66%{
        color:#00cc00; /* Green */
    }
    100%{
        color:#ff0000; /* Back to Red */
    }
}

/* =========================
   Mobile Responsive Fix
=========================*/

html,
body{
    overflow-x:hidden;
    width:100%;
}

img,
svg{
    max-width:100%;
    height:auto;
}

@media (max-width:991px){

    .container-xl{
        padding-left:15px;
        padding-right:15px;
    }

    .site-navbar{
        padding:10px 0;
    }

    

    .brand-logo{
        width:calc(100% - 60px);
        overflow:hidden;
    }

    .brand-logo .name{
        font-size:18px;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
    }

    .brand-logo .name span{
        font-size:21px !important;
        font-family: Arial, sans-serif;
    }

    .navbar-toggler{
        flex-shrink:0;
        margin-left:auto;
    }

    .hero{
        padding-top:40px;
    }

    .hero-grid{
        display:flex;
        flex-direction:column-reverse;
        gap:30px;
    }

    .hero-art{
        width:100%;
        max-width:300px;
        margin:auto;
    }

    .hero h1{
        font-size:34px;
        line-height:1.25;
    }

   

    .hero-actions{
        flex-direction:column;
    }

    .hero-actions .btn-brand{
        width:100%;
        justify-content:center;
    }

    .hero-strip .row>div{
        border:none;
        border-bottom:1px solid rgba(255,255,255,.15);
    }

    .quote-panel{
        padding:25px;
    }

    .map-frame iframe{
        height:300px;
    }

    .float-btns{
        right:15px;
        bottom:15px;
    }

    .float-btn{
        width:48px;
        height:48px;
        font-size:20px;
    }

    .back-to-top{
        width:40px;
        height:40px;
    }
}

@media (max-width:576px){

    .brand-logo img{
        width:32px;
        height:32px;
    }

   

    

    .hero h1{
        font-size:28px;
    }

    

    .section{
        padding:50px 0;
    }
}


/* Hero Slider Card */
.hero-art .carousel{
    background: #fff;
    padding: 12px;
    border: 4px solid #ffffff;      /* White Border */
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,.18);
}

/* Images */
.hero-art .carousel-item img{
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 18px;
}

/* Optional Gold Border */
.hero-art .carousel.gold-border{
    border: 4px solid #D4AF37;
}

/* Tablet */
@media (max-width:992px){
    .hero-art .carousel-item img{
        height:380px;
    }
}

/* Mobile */
@media (max-width:768px){
    .hero-art .carousel{
        padding:8px;
        border-width:3px;
        border-radius:18px;
    }

    .hero-art .carousel-item img{
        height:260px;
        border-radius:12px;
    }
}
.hero-art .carousel{
    background:#fff;
    padding:10px;
    border:3px solid #D4AF37;
    border-radius:25px;
    box-shadow:0 15px 35px rgba(0,0,0,.18);
}

.hero-art .carousel-inner{
    border:2px solid #ffffff;
    border-radius:18px;
    overflow:hidden;
}
.hero-bg-tiers {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.hero-bg-tiers img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
}
.hero h1{
    color: green;
    text-shadow:
        0 0 6px #000,
        0 0 12px #000,
        0 0 20px #000;
}

.hero h1 em{
    text-shadow:
        0 0 6px #000,
        0 0 12px #000,
        0 0 20px #000;
}
.hero p{
    text-shadow:
        0 0 6px #000,
        0 0 12px #000,
        0 0 20px #000;
}
.eyebrow p{
    text-shadow:
        0 0 6px #000,
        0 0 12px #000,
        0 0 20px #000;
}
.page-hero h1,
.page-hero .eyebrow,
.page-hero .breadcrumb-brand,
.page-hero .breadcrumb-brand a{
    text-shadow:
        0 0 6px #000,
        0 0 12px #000,
        0 0 20px #000;
}