/*
Theme Name: INFRATECH Premium 2027
Author: EXPOTECH INDIA
Description: Responsive exhibition website with enquiry forms and SEO support.
Version: 3.0.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: infratech-premium
*/
:root { --navy: #062344; --orange: #d96727; --ink: #152b43; --muted: #536579; --light: #f3f5f7; --line: #dfe5eb; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0px; color: var(--ink); font: 17px / 1.65 Arial, Helvetica, sans-serif; background: white; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.035em; margin: 0px 0px 22px; font-weight: 800; }
h1 { font-size: clamp(38px, 5.2vw, 76px); }
h2 { font-size: clamp(30px, 3.4vw, 46px); }
h3 { font-size: 24px; }
p { margin: 0px 0px 22px; }
.wrap { max-width: 1240px; margin: auto; padding: 0px 28px; }
.top { background: var(--navy); color: white; font-size: 13px; padding: 9px 0px; }
.top .wrap { display: flex; justify-content: space-between; gap: 20px; }
.header { background: white; border-bottom: 1px solid var(--line); position: sticky; top: 0px; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 104px; gap: 28px; }
.brand { width: 232px; flex-shrink: 0; }
.brand img { width: 232px; height: 90px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 750; }
.menu-toggle { display: none; }
.button { display: inline-flex; justify-content: center; align-items: center; background: var(--orange); color: white; border: 0px; padding: 14px 24px; font-weight: 750; line-height: 1.3; border-radius: 3px; cursor: pointer; }
.button:hover { background: rgb(182, 81, 30); text-decoration: none; }
.button.outline { background: transparent; border: 1px solid; }
.hero { background: var(--navy); color: white; overflow: hidden; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 610px; }
.hero-copy { padding: 75px 35px 62px 0px; position: relative; z-index: 1; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 12px; font-weight: 800; color: var(--orange); margin-bottom: 20px; display: block; }
.hero h1 span { color: rgb(237, 153, 95); }
.hero p { max-width: 570px; color: rgb(215, 225, 235); }
.actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 28px; }
.hero-media { position: relative; margin-right: calc(592px - 50vw); min-width: 0px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.hero-media::after { content: ""; position: absolute; inset: 0px; background: linear-gradient(90deg,var(--navy),transparent 28%); }
.image-caption { position: absolute; bottom: 24px; right: 30px; font-size: 11px; padding: 6px 12px; background: rgba(6, 35, 68, 0.808); color: white; z-index: 2; }
.event-bar { border-top: 1px solid rgba(255, 255, 255, 0.17); display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 26px; padding: 24px 0px; font-size: 15px; }
.event-bar strong { display: block; font-size: 12px; letter-spacing: 0.15em; color: rgb(243, 166, 115); }
.stats { background: rgb(243, 245, 247); padding: 38px 0px; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: 0px 24px; border-right: 1px solid rgb(216, 224, 231); }
.stat:first-child { padding-left: 0px; }
.stat:last-child { border: 0px; }
.stat strong { font-size: 38px; font-weight: 800; line-height: 1; display: block; color: var(--navy); }
.stat span { font-size: 13px; display: block; margin-top: 10px; }
.note { font-size: 12px; color: var(--muted); margin-top: 16px; }
.section { padding: 82px 0px; }
.section.soft { background: var(--light); }
.section-title { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 36px; }
.section-title p { max-width: 440px; color: var(--muted); margin: 0px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); background: white; border-radius: 4px; overflow: hidden; transition: transform 0.2s; }
.card:hover { transform: translateY(-5px); }
.card img { height: 190px; width: 100%; object-fit: cover; }
.card-body { padding: 24px; }
.card h3 { font-size: 21px; letter-spacing: -0.025em; margin-bottom: 14px; }
.card p { font-size: 14px; color: var(--muted); }
.small-label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; color: var(--orange); display: block; margin-bottom: 13px; }
.text-link { font-size: 14px; font-weight: 800; color: var(--navy); }
.partner-section { padding: 26px 0px; border-top: 1px solid var(--line); text-align: center; }
.partner-section h2 { font-size: 21px; letter-spacing: 0px; margin-bottom: 18px; }
.partner-track { display: flex; gap: 55px; align-items: center; width: max-content; animation: 30s linear 0s infinite normal none running marquee; }
.partner-track:hover, .partner-track:focus-within { animation-play-state: paused; }
.partner-window { overflow: hidden; }
.partner-track img { width: 145px; height: 75px; object-fit: contain; }
.partner-empty { font-size: 14px; color: var(--muted); margin: 0px; min-height: 60px; display: grid; place-content: center; }
@keyframes marquee { 
  100% { transform: translateX(-50%); }
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: center; }
.split-photo { width: 100%; height: 460px; object-fit: cover; border-radius: 4px; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0px; }
.benefit { border-top: 1px solid var(--line); padding-top: 15px; font-size: 15px; font-weight: 750; }
.benefit::before { content: "↗"; color: var(--orange); margin-right: 12px; }
.sponsor { background: var(--navy); color: white; }
.sponsor p { color: rgb(204, 216, 229); }
.sponsor h2 { max-width: 720px; }
.sponsor .wrap { display: flex; gap: 50px; justify-content: space-between; align-items: center; }
.contact-strip { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; }
.contact-card { border: 1px solid var(--line); padding: 27px; }
.contact-card h3 { font-size: 20px; }
.contact-card a { font-weight: 800; color: var(--orange); }
details { border-bottom: 1px solid var(--line); padding: 20px 0px; }
summary { cursor: pointer; font-weight: 750; }
details p { color: var(--muted); margin: 18px 0px 0px; }
.footer { background: rgb(4, 24, 47); color: rgb(203, 214, 226); padding: 60px 0px 25px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 45px; }
.footer h3 { color: white; font-size: 17px; letter-spacing: 0px; }
.footer a { display: block; margin-bottom: 10px; }
.organiser { width: 210px; height: 112px; object-fit: contain; background: white; border-radius: 3px; margin: 14px 0px; }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.133); margin-top: 35px; padding-top: 24px; font-size: 12px; }
.page-banner { background: var(--navy); color: white; padding: 65px 0px; }
.page-banner h1 { font-size: clamp(34px, 4vw, 55px); max-width: 960px; }
.breadcrumb { font-size: 13px; color: rgb(188, 205, 221); margin-bottom: 25px; }
.page-layout { display: grid; grid-template-columns: minmax(0px, 1fr) 300px; gap: 65px; }
.content h2 { font-size: 28px; margin-top: 40px; }
.content h2:first-child { margin-top: 0px; }
.content p { color: rgb(66, 85, 105); }
.sidebar { background: var(--light); padding: 26px; align-self: start; position: sticky; top: 130px; }
.sidebar h3 { font-size: 23px; }
.sidebar a { display: block; margin-bottom: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { display: block; font-weight: 750; font-size: 14px; margin-bottom: 7px; }
input, select, textarea { width: 100%; padding: 13px; border: 1px solid rgb(182, 194, 205); background: white; border-radius: 2px; color: var(--ink); }
textarea { min-height: 145px; }
.wide { grid-column: 1 / -1; }
.check { display: flex; gap: 12px; font-size: 14px; align-items: flex-start; margin: 20px 0px; }
.check input { width: 18px; height: 18px; margin-top: 5px; }
.form-notice { padding: 18px; background: rgb(243, 245, 247); border-left: 4px solid var(--orange); margin-bottom: 24px; }
.honeypot { position: absolute; left: -9999px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 15px; top: 10px; z-index: 100; background: white; padding: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: rgb(217, 103, 39) solid 3px; outline-offset: 5px; }
.cookie { position: fixed; bottom: 14px; left: 14px; max-width: 390px; background: white; box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 40px; padding: 18px; z-index: 50; border: 1px solid var(--line); font-size: 12px; }
.cookie p { margin: 0px 0px 12px; }
.cookie button { padding: 8px 12px; font-size: 12px; }
.cookie[hidden] { display: none; }
.mobile-cta { display: none; }
@media (min-width: 1450px) {
  .hero-media { margin-right: calc(620px - 50vw); }
}
@media (max-width: 1100px) {
  .nav { gap: 15px; }
  .brand { width: 190px; }
  .brand img { width: 190px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero-media { margin-right: -28px; }
  .hero-copy { padding-top: 60px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
  .wrap { padding: 0px 20px; }
  .top { font-size: 11px; }
  .top .wrap span:last-child { display: none; }
  .header-inner { min-height: 80px; flex-wrap: wrap; gap: 0px; }
  .brand img { height: 70px; width: 190px; }
  .menu-toggle { display: block; background: white; border: 1px solid var(--line); padding: 8px 13px; }
  .nav { display: none; width: 100%; padding: 15px 0px; flex-direction: column; align-items: start; }
  .nav.open { display: flex; }
  .hero-grid { display: block; min-height: 0px; }
  .hero-copy { padding: 45px 0px; }
  .hero-media { height: 300px; margin: 0px -20px; }
  .hero-media::after { background: linear-gradient(180deg,var(--navy),transparent 30%); }
  .hero h1 { font-size: 44px; }
  .event-bar { grid-template-columns: 1fr; gap: 13px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .stat { border: 0px; padding: 0px !important; }
  .stat strong { font-size: 32px; }
  .section { padding: 50px 0px; }
  .section-title { display: block; }
  .section-title p { margin-top: 20px; }
  .split { grid-template-columns: 1fr; gap: 35px; }
  .split-photo { height: 300px; }
  .sponsor .wrap { display: block; }
  .sponsor .button { margin-top: 12px; }
  .contact-strip { grid-template-columns: 1fr; }
  .page-layout { grid-template-columns: 1fr; gap: 40px; }
  .sidebar { position: static; }
  .page-banner { padding: 40px 0px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer { padding-bottom: 85px; }
  .mobile-cta { display: flex; position: fixed; bottom: 0px; left: 0px; right: 0px; z-index: 30; background: var(--navy); color: white; justify-content: space-around; padding: 14px; font-size: 14px; font-weight: 800; }
  .cookie { bottom: 65px; right: 14px; max-width: 390px; }
  .footer-grid { gap: 30px; }
  .grid { gap: 12px; }
  .card-body { padding: 17px; }
  .card h3 { font-size: 19px; }
  .card img { height: 160px; }
}
@media (max-width: 430px) {
  .grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 39px; }
  .benefits { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .partner-track { animation: auto ease 0s 1 normal none running none; }
  .card { transition: none; }
}
fieldset { border: 0px; padding: 0px; margin: 25px 0px; }
fieldset[hidden] { display: none; }
legend { font-weight: 800; font-size: 24px; line-height: 1.25; padding: 0px; margin-bottom: 25px; }
.form-steps { display: flex; list-style: none; padding: 0px; margin: 30px 0px; gap: 0px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 750; }
.form-steps li { flex: 1 1 0%; padding: 13px 6px; color: var(--muted); }
.form-steps li[aria-current] { color: var(--orange); border-bottom: 3px solid var(--orange); }
.interest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.interest { border: 1px solid var(--line); padding: 17px; display: flex; align-items: flex-start; gap: 12px; font-size: 14px; font-weight: 750; cursor: pointer; }
.interest input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }
.interest:has(input:checked) { background: rgb(255, 244, 237); border-color: var(--orange); }
.review-box { background: var(--light); padding: 24px; margin-top: 28px; }
.review-box h3 { font-size: 20px; }
.review-box dl { display: grid; grid-template-columns: 100px 1fr; font-size: 14px; margin: 0px; }
.review-box dt { font-weight: 800; }
.review-box dd { margin: 0px 0px 8px; overflow-wrap: anywhere; }
.form-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.form-actions [hidden] { display: none; }
.step-note { font-size: 12px; color: var(--muted); }
.field small { font-size: 12px; color: var(--muted); }
.form-error { color: rgb(157, 38, 30); background: rgb(255, 241, 238); padding: 14px; }
@media (max-width: 580px) {
  .interest-grid { grid-template-columns: 1fr; }
  .form-steps { font-size: 10px; }
  .form-actions .button { padding: 13px 17px; }
}
.otp-panel { background: var(--light); padding: 20px; }
.otp-panel p { font-size: 13px; margin: 14px 0px 0px; }
.otp-panel label { margin-top: 15px; }
.otp-row { display: flex; gap: 12px; }
.otp-row input { max-width: 210px; }
.otp-row button { white-space: nowrap; }
button:disabled { opacity: 0.65; cursor: wait; }
.otp-panel [hidden] { display: none; }
@media (max-width: 450px) {
  .otp-row { flex-direction: column; }
  .otp-row input { max-width: 100%; }
}
@media (max-width: 780px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .header-inner { justify-content: space-between; gap: 12px; }
  .brand { width: 180px; }
  .brand img { width: 180px; height: 64px; }
  .menu-toggle { min-height: 44px; }
  .nav { gap: 0px; padding: 8px 0px 16px; }
  .nav > a { width: 100%; padding: 11px 0px; }
  .nav > .button { padding: 13px 18px; text-align: center; margin-top: 8px; }
  .hero-copy { padding: 36px 0px 32px; }
  .hero h1 { font-size: clamp(32px, 8.5vw, 44px); line-height: 1.12; }
  .hero p { font-size: 16px; line-height: 1.65; }
  .actions { gap: 12px; }
  .actions .button { flex: 1 1 150px; min-height: 48px; }
  .hero-media { height: 270px; }
  .image-caption { right: 20px; bottom: 16px; max-width: calc(100% - 40px); }
  .event-bar { padding: 22px 0px; gap: 18px; }
  .event-bar > div { min-width: 0px; }
  .stats-grid { gap: 24px 16px; }
  .stat { text-align: center; min-width: 0px; }
  .stat:last-child { grid-column: 1 / -1; }
  .stat strong { font-size: clamp(28px, 7.7vw, 36px); }
  .stat span { line-height: 1.4; }
  .stats .note { text-align: center; }
  .infra-countdown { padding: 30px 0px !important; }
  .infra-clock { grid-template-columns: repeat(4, minmax(0px, 1fr)); width: 100%; display: grid !important; gap: 10px !important; }
  .infra-clock > div { min-width: 0px !important; padding: 19px 4px !important; }
  .infra-clock strong { font-size: clamp(27px, 7vw, 42px) !important; line-height: 1.1; }
  .infra-clock span { font-size: 9px !important; letter-spacing: 0.08em !important; }
  .section-title { margin-bottom: 26px; }
  .section-title p { max-width: 100%; margin-top: 16px; }
  .section h2 { font-size: clamp(28px, 7.5vw, 36px); line-height: 1.15; }
  .grid, .split, .page-layout, .form-grid, .footer-grid { min-width: 0px; }
  .grid > *, .split > *, .page-layout > *, .form-grid > *, .footer-grid > * { min-width: 0px; }
  .card-body { padding: 22px; }
  .card p { font-size: 15px; }
  .contact-card { padding: 24px; }
  .contact-card a, .footer a, .content a { overflow-wrap: anywhere; }
  .content { font-size: 16px; }
  .content ul, .content ol { padding-left: 22px; }
  .content table { display: block; max-width: 100%; overflow-x: auto; }
  .content iframe { max-width: 100%; }
  .sidebar { padding: 24px; }
  .page-banner h1 { font-size: clamp(30px, 8vw, 42px); line-height: 1.15; }
  .breadcrumb { overflow-wrap: anywhere; }
  input, select, textarea { min-width: 0px; font-size: 16px; }
  .form-steps li { min-width: 0px; line-height: 1.4; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer h3 { margin-bottom: 16px; }
  .footer p { margin-bottom: 16px; }
  .copyright { line-height: 1.6; }
  .mobile-cta a { flex: 1 1 0%; text-align: center; padding: 4px; }
  .cookie { max-width: none; left: 12px; right: 12px; bottom: 74px; }
  .partner-track { gap: 30px; }
  .partner-track img { width: 120px; }
}
@media (min-width: 431px) and (max-width: 780px) {
  .grid { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
  .card-body { padding: 18px; }
}
@media (max-width: 360px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .brand, .brand img { width: 160px; }
  .infra-clock { gap: 7px !important; }
  .infra-clock span { font-size: 8px !important; }
  .hero-media { margin-left: -16px; margin-right: -16px; }
}
body { font-family: Roboto, Arial, Helvetica, sans-serif; font-weight: 400; }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3, h4, h5, h6, .stat strong { font-family: Roboto, Arial, Helvetica, sans-serif; font-weight: 800; }
.nav, .button, .text-link, summary, .field label, .mobile-cta { font-weight: 600; }
.eyebrow, .small-label { font-weight: 700; }
:root { --orange: #FF6600; }
.hero h1 span, .event-bar strong { color: rgb(255, 102, 0); }
.button:hover { background: rgb(217, 85, 0); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline-color: rgb(255, 102, 0); }
.interest:has(input:checked) { border-color: rgb(255, 102, 0); }
.infra-clock strong { color: rgb(255, 102, 0) !important; }
/* Mobile consent checkboxes */
@media(max-width:780px){.check input[type="checkbox"]{width:24px!important;min-width:24px!important;max-width:24px!important;height:24px!important;flex:0 0 24px!important;padding:0!important;margin:3px 0 0!important}.check>span{min-width:0;flex:1}}
/* Larger mobile consent checkboxes */
@media(max-width:780px){.check input[type="checkbox"]{width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;flex:0 0 32px!important}}
/* Double-size mobile consent checkboxes */
@media(max-width:780px){.check input[type="checkbox"]{width:48px!important;min-width:48px!important;max-width:48px!important;height:48px!important;flex:0 0 48px!important}}
/* Homepage hero registration buttons */
.home .hero-copy > .actions > .button{background:#FF6600;border-color:#FF6600;color:#FFFFFF}
.home .hero-copy > .actions > .button:hover{background:#d95500;border-color:#d95500;color:#FFFFFF}

/* Consistent visitor registration field sizes */
#visitor-form input:not([type="hidden"]):not([type="checkbox"]),#visitor-form select,#visitor-form textarea{box-sizing:border-box;width:100%;max-width:400px;height:56px;min-height:56px!important;padding:13px;font:inherit}

/* Match participation email field to visitor email size */
#part-email{box-sizing:border-box;width:100%;max-width:400px;height:56px;min-height:56px;padding:13px;font:inherit}
