/* ───────── ROOT & GLOBAL ─────────*/

:root {
  --blue: #0053A4;
  --blue-lite: #0779E4;
  --green: #28A745;
  --white: #fff;
  --grey: #f6f7f9;
  --shadow: 0 2px 10px #0001;
  font-size: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  
  font-family: 'Roboto', Arial, sans-serif;
  color: #222;
  background: var(--white);
}

h1, h2, h3 {
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 700;
}

h2 {
  margin-bottom: 1.2rem;
  text-align: center;
  color: var(--blue);
}

.center {
  text-align: center;
  margin: 2.5rem 0;
}
.center-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* shift logo slightly left */
  margin: 0 auto; /* keeps container centered in flex */
}

.logo {
  width: 220px;
  height: auto;
  object-fit: contain;
  margin-left: auto; /* pushes the logo to the right */
  margin-right: 0; /* ensures it's aligned to the right */
}


.main-nav {
  display: flex;
  justify-content: flex-start;
  gap: 2rem;
  margin-top: 1rem;
  margin-left: 0;
  padding-left: 1rem; /* Optional: small space from the edge */
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background-color: #3d12fe;
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: #0329ff;
}

.main-nav a:hover::after {
  width: 100%;
}


a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.cta {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
}

.cta.outline {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
}

.cta:hover {
  background: var(--blue-lite);
}

.pulse {
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 83, 164, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 83, 164, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 83, 164, 0);
  }
}

/* ───────── HERO & NAV ─────────*/
.hero {
  height: 520px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.nav-bar {
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0.6rem 1.5rem;
  background: transparent; /* Fully transparent */
  backdrop-filter: none;   /* No blur */
  position: absolute;
  top: 0;
  left: 0;
}


.logo {
  width: 220px;
  height: auto;
  object-fit: contain;
  margin-bottom: 8px;
  margin-left: 150px;
}
.main-nav {
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%;
}
.main-nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
}

.need-counselling {
  background: var(--blue-lite);
}

.profile-btn {
  background: none;
  border: none;
  cursor: pointer;
}

.profile-btn img {
  width: 36px;
  height: 36px;
}

#hero-headline {
  color: var(--white);
  text-shadow: 0 2px 6px #0006;
  margin-top: 2.5rem;
}

.slide-caption {
  color: var(--white);
  background: rgba(0, 0, 0, 0.4);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: 1rem;
}

.search-bar {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.3); /* translucent background */
  padding: 0.5rem 1rem;
  border-radius: 10px;
  box-shadow: none; /* Remove or soften shadow */
  backdrop-filter: blur(8px); /* Add glassmorphism effect */
  border: 1px solid rgba(255, 255, 255, 0.4); /* subtle border */
}

.search-bar select,
.search-bar input {
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  background-color: rgba(255, 255, 255, 0.7); /* semi-transparent input bg */
  color: #000;
}

.search-bar input {
  width: 600px;
}

.search-bar .cta {
  margin: 0;
  border-radius: 8px;
  padding: 0.5rem 1.2rem;
  background-color: #004aad;
  color: white;
  border: none;
  transition: background 0.3s ease;
}

.search-bar .cta:hover {
  background-color: #00307a;
}

/* ───────── CAROUSELS ─────────*/
.carousel {
  position: relative;
  margin: 2rem auto;
  max-width: 1200px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  overflow-x: hidden;
  scroll-behavior: smooth;
  gap: 1rem; /* optional spacing between cards */
}

.carousel .card {
  flex: 0 0 auto;
  width: 250px; /* adjust as needed */
}

.card {
  flex: 0 0 260px;
  background: var(--grey);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px) scale(1.02);
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.card .pad {
  padding: 1rem;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 2px solid var(--blue);
  color: var(--blue);
  font-size: 1.8rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.25s;
  z-index: 3;
}

.arrow:hover {
  background: var(--blue);
  color: var(--white);
}

.prev {
  left: 0.4rem;
}

.next {
  right: 0.4rem;
}

/* ───────── TABLE ─────────*/


.banner{
    width: 100%;
    height: 100vh;
    text-align: center;
    overflow: hidden;
    position: relative;
}
.banner .slider{
    position: absolute;
    width: 160px;
    height: 200px;
    top: 10%;
    left: calc(50% - 80px);
    transform-style: preserve-3d;
    transform: perspective(1000px);
    animation: autoRun 40s linear infinite;
    z-index: 2;
}
@keyframes autoRun{
    from{
        transform: perspective(1000px) rotateX(-16deg) rotateY(0deg);
    }to{
        transform: perspective(1000px) rotateX(-16deg) rotateY(360deg);
    }
}

.banner .slider .item{
    position: absolute;
    inset: 0 0 0 0;
    transform: 
        rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
        translateZ(400px);
}
.banner .slider .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner .content{
  
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1400px, 100vw);
    height: max-content;
    padding-bottom: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    align-items: center;
    z-index: 1;
}
.banner .content h1{
    font-family: 'ICA Rubrik';
    font-size: 2em;
    line-height: 1em;
    color: #0053A4;
    position: relative;
}
.banner .content h1::after{
    position: absolute;
    inset: 0 0 0 0;
    content: attr(data-content);
    z-index: 2;
    -webkit-text-stroke: 2px #d2d2d2;
    color: transparent;
}
.banner .content .author{
    font-family: Poppins;
    text-align: right;
    max-width: 200px;
}
.banner .content h2{
    font-size: 3em;
}
.banner .content .model{
    background-image: url(images/model.png);
    width: 100%;
    height: 75vh;
    position: absolute;
    bottom: 0;
    left: 0;
    background-size: auto 130%;
    background-repeat: no-repeat;
    background-position: top center;
    z-index: 1;
}
@media screen and (max-width: 1023px) {
    .banner .slider{
        width: 160px;
        height: 200px;
        left: calc(50% - 80px);
    }
    .banner .slider .item{
        transform: 
            rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
            translateZ(400px);
    }
    .banner .content h1{
        text-align: center;
        width: 100%;
        text-shadow: 0 10px 20px #000;
        font-size: 7em;
    }
    .banner .content .author{
        color: #fff;
        padding: 20px;
        text-shadow: 0 10px 20px #000;
        z-index: 2;
        max-width: unset;
        width: 100%;
        text-align: center;
        padding: 0 30px;
    }
}
@media screen and (max-width: 767px) {
    .banner .slider{
        width: 100px;
        height: 150px;
        left: calc(50% - 50px);
    }
    .banner .slider .item{
        transform: 
            rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
            translateZ(180px);
    }
    .banner .content h1{
        font-size: 8em;
    }
}
/* ───────── TESTIMONIALS ─────────*/
.testimonials {
  background: var(--grey);
  padding: 2.8rem 0;
}

.testimonials .card {
  flex: 0 0 320px;
  background: var(--white);
  display: flex;
  align-items: center;
}

.testimonials img {
  width: 80px;               /* You can adjust this size */
  height: 80px;
  border-radius: 0;          /* No rounding — completely square */
  object-fit: cover;         /* Ensures the image doesn't stretch */
  aspect-ratio: 1 / 1;       /* Maintains square ratio */
  margin: 1rem;
  display: block;
}


.quote {
  font-style: italic;
}


/* ───────── BLOG GRID ─────────*/
.blog-grid {
  column-count: 3;
  column-gap: 1.2rem;
  max-width: 1200px;
  margin: auto;
}

.blog-grid article {
  background: var(--grey);
  margin-bottom: 1.2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.blog-grid img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.blog-grid .pad {
  padding: 1rem;
}

@media (max-width: 900px) {
  .blog-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .blog-grid {
    column-count: 1;
  }

  .arrow {
    display: none;
  }
}

/* ───────── FOOTER ─────────*/
footer {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  background: #04274d;
  color: var(--white);
  padding: 2.5rem 1rem;
}

footer h3 {
  margin-bottom: 0.8rem;
}

footer ul li {
  margin: 0.25rem 0;
}

.social a img {
  width: 26px;
  margin-right: 0.6rem;
  filter: invert(1);
  transition: 0.25s;
}

.social a:hover img {
  filter: none;
}

copyright,
.copyright {
  background: #011929;
  color: var(--white);
  text-align: center;
  padding: 0.6rem;
  font-size: 0.9rem;
}

/* ───────── WHATSAPP ─────────*/
.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
}

.whatsapp img {
  width: 54px;
  height: 54px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

/* ───────── UTIL ─────────*/
.section-white {
  background: var(--white);
  padding: 2.5rem 1rem;
}

/* ───────── POPUP ─────────*/
/* ===== Popup Overlay ===== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Hide by default */
.popup-overlay.hidden {
  display: none;
}

/* ===== Popup Form Container ===== */
.popup-form {
  background: #fff;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
  position: relative;
  font-family: "Segoe UI", sans-serif;
}

/* ===== Close Button ===== */
.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* ===== Header with Icon ===== */
.popup-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.popup-header img {
  width: 50px;
  height: 50px;
}

/* ===== Input Fields ===== */
.popup-form input[type="text"],
.popup-form input[type="email"],
.popup-form input[type="tel"] {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.popup-form input:focus {
  border-color: #007bff;
  outline: none;
}

/* ===== Flex Row for Phone & City ===== */
.popup-form form > div {
  display: flex;
  gap: 10px;
}

/* ===== Checkbox & Terms ===== */
.popup-form label {
  font-size: 13px;
  color: #333;
}

.popup-form a {
  color: #007bff;
  text-decoration: none;
}

.popup-form a:hover {
  text-decoration: underline;
}

/* ===== Submit Button ===== */
.popup-form button[type="submit"] {
  width: 100%;
  padding: 12px;
  background-color: #007bff;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.popup-form button[type="submit"]:hover {
  background-color: #0056b3;
}

/* ===== Login Link ===== */
.popup-form p {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
}

/*owner*/

#owner-intro {
  width: 100%;
}

.owner-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1150px;
  margin: 0 auto;
  padding: 40px 20px;
  gap: 40px;
  flex-wrap: wrap;
}

.owner-content {
  flex: 1 1 400px;
  min-width: 340px;
}

.owner-heading {
  font-size: 2.7rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #222d3d;
}

.owner-heading {
  font-size: 2.7rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #222d3d;
}
.owner-heading .blue-highlight {
  color: #006dff;
}

.owner-dialogue {
  font-size: 1.13rem;
  color: #222d3d;
  margin-bottom: 34px;
  max-width: 520px;
}

.action-buttons {
  margin-bottom: 32px;
}

.btn {
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 4px;
  margin-right: 13px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.18s;
}

.btn.blue-btn {
  background: #006dff;
  color: #fff;
}

.btn.blue-btn:hover {
  background: #0052ba;
}

.btn.outline-btn {
  border: 2px solid #006dff;
  background: #fff;
  color: #006dff;
}

.btn.outline-btn:hover {
  background: #e3f0ff;
}

.owner-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  margin-top: 10px;
  max-width: 730px;
  overflow: visible;
}

.benefit {
  flex: 1 1 200px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 170px;
}

.benefit-num {
  font-size: 1.72rem;
  font-weight: bold;
  color: #006dff;
  min-width: 34px;
}

.benefit-heading {
  font-size: 1.09rem;
  font-weight: 700;
  color: #222d3d;
}

.benefit-desc {
  display: inline-block;
  transition: transform 10.0s ease;
  will-change: transform;
  
  font-size: 0.99rem;
  color: #606b7b;
  
  
}
.owner-heading:hover,
.owner-dialogue:hover,
.benefit-heading:hover,
.benefit-desc:hover {
  transform: scale(1.05);
  cursor: default;
}

.owner-photo {
  flex: 0 0 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.owner-photo img {
  width: 560px;
  height: 420px;
  
  object-fit: cover;
  border-radius: 0px;
  box-shadow: 0 4px 24px rgba(90,128,185,0.13);
  background: #f2f4f7;
  transition: transform 10.0s ease;
}
.owner-photo img:hover {
  transform: scale(1.05);
  cursor: pointer;
}
@media (max-width: 900px) {
  .owner-wrapper { flex-direction: column-reverse; align-items: flex-start; }
  .owner-photo { width: 100%; justify-content: flex-start; margin-bottom: 18px;}
}