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

/* ==============================
   BODY
============================== */
body {
    font-family: Arial, Helvetica, sans-serif;
    color: #1F2D3D;
    background: #FFFFFF;
    line-height: 1.6;
}



/* ==============================
   GLOBAL ELEMENTS
============================== */
img{max-width:100%;height:auto;}
button,input,select,textarea{font-family:inherit;}
/* ==============================
   TOP BAR
============================== */
.top-bar {
    background: #1E90FF;
    color: #FFFFFF;
    padding: 8px 48px;
    display: flex;
    justify-content: flex-end;
    font-size: 14.5px;
}

.top-bar span {
    text-align: right;
}

/* ==============================
   HEADER
============================== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 48px;
    background: #FFFFFF;
    border-bottom: 1px solid #EAEAEA;
}

/* LOGO */
.logo img {
    height: 52px;
    width: auto;
    display: block;
}

/* ==============================
   NAVIGATION
============================== */
nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

nav a {
    text-decoration: none;
    padding: 9px 14px;
    border-radius: 8px;
    color: #1F2D3D;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

/* Hover */
nav a:hover {
    background: #1E90FF;
    color: #FFFFFF;
}

/* Active */
nav a.active {
    background: #1E90FF;
    color: #FFFFFF;
}

/* ==============================
   HERO SECTION
============================== */
/* ===== HERO WITH BACKGROUND IMAGE ===== */
.hero-banner {
    position: relative;
    background: url("../images/hero-bg.jpg") center center / cover no-repeat;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Soft bottom gradient for hero (almost invisible) */
.hero-banner::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 140px;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0.18)
    );
    pointer-events: none;
}

/* Overlay for readability */
.hero-overlay {
    background: transparent;   /* removed blue overlay */
    padding: 80px 40px;
    text-align: center;
    width: 100%;
}


.hero-banner h1 {
    color: #FFFFFF;
    font-size: 46px;              /* slightly bigger */
    max-width: 1400px;            /* allows single line */
    margin: 0 auto;
    line-height: 1.25;
    white-space: nowrap;          /* force single line */
    text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}




/* ==============================
   CONTENT SECTIONS
============================== */
.section {
    padding: 70px 40px;
}

.section h2 {
    color: #1E90FF;
    margin-bottom: 20px;
    font-size: 28px;
}

.section p {
    max-width: 900px;
    font-size: 16px;
}

/* ==============================
   FOOTER (UPGRADED)
============================== */
.footer {
    background: #1E90FF;
    color: #FFFFFF;
    padding: 45px 40px 20px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(44px, 6vw, 90px);   /* matches About section spacing */
    max-width: clamp(1200px, 94vw, 1750px);  /* same width logic as About */
    padding: 0 48px;               /* align side padding */
    margin: 0 auto;
}


.footer h4 {
    font-size: 20px;
    margin-bottom: 14px;
}


.footer p {
    font-size: 16px;          /* matches About section */
    line-height: 1.75;
    opacity: 0.95;
}

.footer a {
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;          /* matches About section */
    margin-bottom: 10px;
    opacity: 0.95;
    transition: opacity 0.2s ease;
}


.footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.25);
    margin-top: 25px;
    padding-top: 16px;
    text-align: center;
    font-size: 13px;
    opacity: 0.95;
}
.footer iframe {
    border-radius: 8px;
}
/* ==============================
   HOME PAGE LIST STYLING
============================== */
.home-list {
    margin-top: 15px;
    padding-left: 20px;
}

.home-list li {
    margin-bottom: 8px;
    font-size: 16px;
}
/* Home About section: three-column */
.about-grid {
    max-width: clamp(1200px, 94vw, 1750px);
    padding: 0 48px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2.2fr 1.2fr 1fr;  /* NEW: 3 columns */
    gap: clamp(32px, 4vw, 70px);
    align-items: stretch; /* makes columns equal height */
}





.about-card {
    background: #F4F9FF;
    border: 1px solid #E6F0FF;
    border-radius: 12px;
    padding: 18px 18px 10px;
}

.about-card h3 {
    color: #1E90FF;
    margin-bottom: 10px;
    font-size: 18px;
}

.about-card ul {
    padding-left: 18px;
}

.about-card li {
    margin-bottom: 8px;
}

/* Mobile responsive */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}
/* Product portfolio card polish */
.about-card {
    background: #F4F9FF;
    border: 1px solid #E6F0FF;
    border-radius: 14px;
    padding: 22px 22px 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.about-card h3 {
    font-size: 19px;
    margin-bottom: 14px;
}

.about-card li {
    font-size: 16px;
    margin-bottom: 10px;
}
/* About section heading */
.about-grid h2 {
    font-size: 30px;
    margin-bottom: 18px;
}

/* About section text polish */
.about-grid p {
    font-size: 17px;
    line-height: 1.8;
    color: #2A2A2A;
}
/* About CT Enterprises â€“ text alignment & spacing */
.about-grid p {
    text-align: justify;       /* clean justified alignment */
    margin-bottom: 18px;       /* space between paragraphs */
}

/* ===== AUTO SCROLLING BRANDS (BOTTOM â†’ TOP) ===== */

.brands-card {
    display: flex;
    flex-direction: column;
}

.brands-scroll {
    height: 340px;                 /* matches other cards */
    overflow: hidden;
    position: relative;
    margin-top: 12px;
}

.brands-track {
    display: flex;
    flex-direction: column;
    animation: brands-scroll-up 20s linear infinite;
}

@keyframes brands-scroll-up {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.brand-item {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 8px 0;
    margin-bottom: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.brand-item img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

.brands-scroll:hover .brands-track {
    animation-play-state: paused;
}

/* Brands section â€“ white background test */
.brands-card {
    background: #FFFFFF;
    border: 1px solid #EAEAEA;   /* subtle separation */
}

.brand-item img {
    max-height: 58px;
    opacity: 0.95;
}


/* ===== WhatsApp QR (PNG, Clean Final Version) ===== */

.whatsapp-qr-new {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.whatsapp-qr-new a {
    background: #FFFFFF;              /* white gap */
    padding: 10px;                    /* space between QR & border */
    border-radius: 14px;
    border: 1px solid #E5E5E5;
    display: inline-flex;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-qr-new a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* ===== Footer WhatsApp QR – FINAL FIX ===== */

.whatsapp-qr-new a{
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-qr-new img{
    width: 110px;
    height: 110px;
    aspect-ratio: 1 / 1;
    object-fit: contain;     /* IMPORTANT for QR */
    display: block;
}

.whatsapp-qr-new span {
    font-size: 15px;
    line-height: 1.4;
    color: #FFFFFF;
    font-weight: 600;                 /* bold */
    animation: qr-blink 1.6s ease-in-out infinite;
}

@keyframes qr-blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.45;               /* subtle blink */
    }
}


/* ==============================
   ABOUT PAGE (FULL WIDTH + LAYOUT)
============================== */

/* Keep About page aligned with footer edges */
.about-wrap {
  padding: 0 48px;
}

/* Override the global .section p { max-width: 900px } ONLY for About page */
.about-page .about-prose p {
  max-width: none;
  width: 100%;
  text-align: justify;
  margin-bottom: 18px;
  font-size: 17.5px;     /* matches your Home page body size */
  line-height: 1.8;
  color: #2A2A2A;
}

/* Make the About cards match the "Product Portfolio" styling */
.about-page .about-card {
  background: #F4F9FF;
  border: 1px solid #E6F0FF;
  border-radius: 14px;
  padding: 22px;
}

/* Headings inside About cards */
.about-page .about-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #1E90FF;
}

/* Make sure lists look neat inside cards */
.about-page .about-card .home-list {
  margin: 0;
  padding-left: 18px;
}

/* Ensure two-col sections stretch nicely */
.about-page .two-col {
  align-items: stretch;
}


/* ===== Inner Page Hero ===== */
.page-hero {
    background: #F4F9FF;
    padding: 60px 40px;
}

.page-hero-inner {
    max-width: clamp(1100px, 94vw, 1750px);
    margin: 0 auto;
}

.page-hero h1 {
    color: #1E90FF;
    font-size: 40px;
    margin-bottom: 6px;
}

.page-hero p {
    font-size: 17px;
    color: #333;
}

/* ===== Inner Page Wrapper ===== */
.page-wrap {
    max-width: clamp(1100px, 94vw, 1750px);
    margin: 0 auto;
}




/* Highlight card */
.about-highlight {
    margin: 28px 0;
    background: #F4F9FF;
    border: 1px solid #E6F0FF;
    border-radius: 14px;
    padding: 22px;
}

/* Two column blocks */
.two-col {
    margin: 28px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

@media (max-width: 900px) {
    .two-col {
        grid-template-columns: 1fr;
    }
}

/* CTA strip */
.cta-strip {
    margin-top: 35px;
    background: #1E90FF;
    color: #fff;
    border-radius: 14px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.cta-strip h3 {
    margin-bottom: 6px;
}

.cta-btn {
    background: #fff;
    color: #1E90FF;
    text-decoration: none;
    font-weight: 700;
    padding: 12px 16px;
    border-radius: 10px;
    transition: transform 0.25s ease;
    white-space: nowrap;
}

.cta-btn:hover {
    transform: translateY(-2px);
}

/* ===== About page: 3-column clean sections ===== */

.about-page .three-col {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1.8fr; /* Commitment wider */
  gap: 32px;
}


/* Plain sections (no background / no card look) */
.about-page .about-plain {
  padding: 0;
}

/* Headings for plain sections */
.about-page .about-plain h3 {
  margin-bottom: 14px;
  color: #1E90FF;
}

/* Responsive handling */
@media (max-width: 1100px) {
  .about-page .three-col {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   OUR EXPERTISE PAGE (NO ICONS)
   - Footer-edge alignment for grid + CTA
============================== */

.expertise-wrap {
  max-width: clamp(1200px, 94vw, 1750px);  /* match footer edges */
  padding: 0 48px;                         /* match footer padding */
  margin: 0 auto;
}



/* Card style (same family as Mission/Vision) */
.expertise-card {
  background: #F4F9FF;
  border: 1px solid #E6F0FF;
  border-radius: 14px;
  padding: 20px 18px;
}

/* Plain sections (no background tile) */
.expertise-plain {
  padding: 6px 2px;
}

/* Blue headings */
.expertise-page h3 {
  margin: 0 0 12px 0;
  color: #1E90FF;
  font-size: 18px;
}

/* Full-width text + justified + clean spacing */
.expertise-page p {
  max-width: none;            /* overrides .section p max-width */
  text-align: justify;
  margin-bottom: 14px;
  color: #2A2A2A;
}

/* Lists spacing */
.expertise-page .home-list {
  margin-top: 10px;
  margin-bottom: 14px;
}



/* Expertise layout rows */
.expertise-wide {
  margin-top: 32px;
}

/* Ensure two-col spacing consistent */
.expertise-page .two-col {
  margin-bottom: 32px;
}


/* ==============================
   REUSABLE CONTACT CTA (ALL PAGES)
============================== */
.contact-cta {
  margin-top: 32px;
  background: #1E90FF;
  border-radius: 14px;
  padding: 18px 22px;     /* reduced height: polished */
  text-align: center;
}

.contact-cta p {
  margin: 0;
  max-width: 1400px;        /* controls line length */
  margin-left: auto;
  margin-right: auto;
  font-size: 20px;
  line-height: 1.45;
  color: #FFFFFF;
  text-align: center;
}

.contact-cta a {
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap; /* keeps Support / Contact on same line */
}


/* subtle blink for Support / Contact words */
.contact-cta .blink-link {
  animation: contact-blink 1.6s ease-in-out infinite;
}

@keyframes contact-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}



/* ==============================
   PRODUCTS PAGE (ALTERNATING 2-COL)
============================== */

.products-wrap {
  max-width: clamp(1200px, 94vw, 1750px);
  padding: 0 48px;
  margin: 0 auto;
}

.product-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 34px;
  align-items: center;
  padding: 22px 0;
}

.product-row.reverse {
  grid-template-columns: 1.25fr 1fr;
}

.product-img img {
  width: 100%;
  height: 320px;          /* keep the same box height */
  object-fit: contain;    /* show full image (no crop) */
  background: #FFFFFF;    /* clean padding area */
  border-radius: 14px;
  display: block;
  padding: 10px;          /* breathing space for varied ratios */
}


.product-text h3 {
  color: #1E90FF;
  margin-bottom: 12px;
  font-size: 22px;
}

.products-page .products-intro p,
.products-page .product-text p {
  max-width: none;
  text-align: justify;
  margin-bottom: 14px;
  color: #2A2A2A;
}


.product-divider {
  border: none;
  border-top: 1px solid #EAEAEA;
  margin: 0;
}

/* Responsive */
@media (max-width: 980px) {
  .product-row,
  .product-row.reverse {
    grid-template-columns: 1fr;
  }

  .product-img img {
    height: 260px;
  }
}

/* Products page intro */
.products-intro {
  margin-bottom: 28px;
}

.products-intro p {
  max-width: none;
  font-size: 17.5px;
  line-height: 1.75;
  color: #2A2A2A;
  text-align: justify;
}



/* ==============================
   BRANDS PAGE
============================== */

.brands-wrap {
  max-width: clamp(1200px, 94vw, 1750px);
  padding: 0 48px;               /* align with footer edges */
  margin: 0 auto;
}

.brands-intro p {
  max-width: none;
  text-align: justify;
  font-size: 17.5px;
  line-height: 1.75;
  color: #2A2A2A;
  margin-bottom: 26px;
}

/* Brand block layout */
.brand-top {
  display: grid;
  grid-template-columns: 0.22fr 0.78fr;   /* ~20% logo */
  gap: 26px;
  align-items: center;
  padding: 18px 0 8px;
}

.brand-logo img {
  width: 100%;
  max-width: 180px;
  height: 90px;
  object-fit: contain;           /* logo fully visible */
  display: block;
}

.brand-info h3 {
  color: #1E90FF;
  margin-bottom: 10px;
  font-size: 22px;
}

.brands-page p {
  max-width: none;
  text-align: justify;
  color: #2A2A2A;
}

/* Core products paragraph */
.brand-products p {
  margin: 10px 0 18px;
  line-height: 1.75;
}

/* Divider line between brands */
.brand-divider {
  border: none;
  border-top: 1px solid #EAEAEA;
  margin: 0;
}

/* Responsive */
@media (max-width: 980px) {
  .brand-top {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .brand-logo img {
    height: 80px;
  }
}


/* ===== Sticky Header (Top-bar + Header) ===== */
:root{
  --topbar-h: 0px;
  --header-h: 0px;
}

.top-bar{
  position: sticky;
  top: 0;
  z-index: 9999;
}

.header{
  position: sticky;
  top: var(--topbar-h);
  z-index: 9998;
}



/* On sticky, keep header readable */
.header{
  background: #fff;
}

/* Optional: subtle separation line when scrolling */
.header{
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}


/* ==============================
   RESPONSIVE HEADER / NAV
   (No layout change â€“ spacing & sizing only)
============================== */
@media (max-width: 1024px){
  .top-bar{ padding: 8px 24px; }
  .header{ padding: 12px 24px; gap: 14px; }
  .logo img{ height: 48px; }
  nav{ gap: 8px; }
  nav a{ padding: 8px 12px; font-size: 14px; }
}

@media (max-width: 768px){
  .top-bar{ padding: 8px 16px; font-size: 13.5px; }
  .header{ padding: 10px 16px; gap: 12px; }
  .logo img{ height: 44px; }
  nav{ justify-content: flex-start; }
  nav a{ padding: 7px 10px; font-size: 13.5px; }
}

@media (max-width: 480px){
  .top-bar{ font-size: 13px; }
  nav a{ padding: 7px 10px; font-size: 13px; }
}

/* Safety override for QR codes */
.whatsapp-qr-new img,
.help-qr img{
    max-width: none;
    height: auto;
}