:root {
    --gray: #CCCCCC;
    --deep-teal: #014E4E;
    --green-shade: #00fad9;
    --light-green-shade: #bdf9f1;
}
        
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:  Arial, sans-serif;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    background-color: #0000003e;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    z-index: 10;
}
.logo {
    color: #ffffff;
    width: 200px;
}
.logo img{
   width: 100%;
}
.navbar ul {
    list-style: none;
    display: flex;
    gap: 10px;
    padding: 0;
    margin: 0;
}
/* li stays FIXED */
.navbar ul li {
    box-sizing: border-box;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 20px;
}
/* link = stable */
.navbar ul li a {
    text-decoration: none;
    color: var(--gray);
    display: inline-block;
}
/* inner wrapper */
.navbar ul li a {
    display: flex;
    align-items: center;
}
/* arrow */
.arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    margin-right: 6px;
}
/* text ONLY moves */
.text {
    transition: transform 0.3s ease;
}
/* hover effects */
.navbar ul li:hover{
    background: var(--deep-teal);
    border-color:  var(--gray);
}
.navbar ul li:hover .arrow {
    opacity: 1;
    transform: translateX(0);
}
.navbar ul li:hover .text {
    transform: translateX(10px);
}
/* SCROLLED STATE */
.navbar.scrolled {
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.navbar.scrolled .logo img{
    content: url(logo\ quantra\ bg\ transp.png);
}
/* Arrow color change */
.navbar.scrolled ul li .text {
    color: var(--deep-teal);
}
.navbar.scrolled ul li:hover .text {
    color: var(--gray);
}

                            /* Hero Section */
.hero {
    height: 100vh;
    background: url("bg.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}


.hero-content {
    max-width: 900px;
}
.hero h1 {
    color: #ffffff;
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 15px;
    transform: translateY(-300px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero h1.show {
    opacity: 1;
    transform: translateY(0);
}
.hero h2 {
    color: var(--gray);
    font-size: 35px;
    font-weight: 400;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(-200px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero h2.show {
    opacity: 1;
    transform: translateX(0);
}
.hero p {
    color: var(--gray);
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 35px;
    transform: translateX(200px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero p.show {
    opacity: 1;
    transform: translateX(0);
}

/* Buttons */
.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.buttons .btn {
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
}
.buttons .btn:first-child {
    background: var(--deep-teal);
    color: var(--gray);
}
.buttons .btn:last-child {
    background: var(--gray);
    color: var(--deep-teal);
}
 .buttons .btn:first-child:hover{
background: #066c65;
    color: white;
    box-shadow:
        0 0 20px rgba(11, 97, 91, 0.7),
        0 0 45px rgba(0, 255, 238, 0.41);
    transform: translateY(-4px);
 }
  .buttons .btn:last-child:hover{
background: #cccdcc;
    box-shadow:
        0 0 20px rgba(184, 225, 222, 0.7),
        0 0 45px rgba(197, 242, 239, 0.41);
    transform: translateY(-4px);
 }

            /* ===== ABOUT SECTION ===== */
.about {
    background: #ffffff;
    padding: 100px 20px 80px;
    text-align: center;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.about h2 {
    font-size: 36px;
    color: var(--deep-teal);
    margin-bottom: 25px;
}

.about p {
    font-size: 16px;
    color: #2f4f4f;
    line-height: 1.7;
    margin-bottom: 18px;
}

/* ===== SOLUTIONS SECTION ===== */
.solutions {
    background-color: rgb(239, 238, 238);
    padding: 80px 20px 120px;
    text-align: center;
}

.solutions h2 {
    font-size: 36px;
    color: var(--deep-teal);
    margin-bottom: 60px;
}

.solutions-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* CARD */
.solution-card {
    background: #ffffff;
    border: 1px solid #e2e8ec;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: left;
    /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, all 0.8s ease;
}
.solution-card.show {
    opacity: 1;
    transform: translateY(0);
}
.Quantum-Inspired, .AI-Powered, .intelli-auto {
    position: relative;
    overflow: hidden;
}
.Quantum-Inspired {
    background: url("quantum.png") center / cover no-repeat;
}
.AI-Powered{
        background: url("Ai-powered.png") center / cover no-repeat;
}
.intelli-auto{
        background: url("intelii-auto.png") center / cover no-repeat;
}
/* dark overlay */
.Quantum-Inspired::before, .AI-Powered::before, .intelli-auto::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.648) ;
    backdrop-filter: blur(1.5px);
}
.Quantum-Inspired > *, .AI-Powered > *, .intelli-auto > * {
    position: relative;
    z-index: 2;
}
.solution-card h3 {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 15px;
}

.solution-card p {
    font-size: 14.5px;
    color: var(--gray);
    line-height: 1.6;
}

/* HOVER EFFECT */
.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.348);
    border: 1px solid var(--deep-teal);
}

.technology-focus {
  background: linear-gradient(180deg, var(--deep-teal), #034646);
  padding: 80px 20px;
  color: #ffffff;
}

.technology-focus .container {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.technology-focus h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.technology-focus .subtitle {
  font-size: 15px;
  color: #cfdcdc;
  margin-bottom: 50px;
}

.technology-focus .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.technology-focus .card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 30px 25px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: grid;
  grid-template-columns: repeat(3, 1fr);

}

.technology-focus .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 15px;
 opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 1.2s ease;
}
.technology-focus .icon.show {
    opacity: 1;
    transform: translateY(0);
}
.technology-focus .card .text{
    grid-column: span 2;
}
.technology-focus .card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.technology-focus .card p {
  font-size: 14px;
  color: #cfdcdc;
  line-height: 1.5;
}

.technology-focus .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}
.why-quantra {
    background: #ffffff;
    padding: 90px 20px;
    text-align: center;
}

.why-quantra .container {
    max-width: 1000px;
    margin: auto;
}

.why-quantra h2 {
    font-size: 36px;
    color: #014e4e;
    margin-bottom: 50px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    gap: 35px 60px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #2f3f3f;
}

.check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #014e4e;
    color: #ffffff;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.cta {
    position: relative;
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, #014e4e, #001f1f);
    color: #ffffff;
    overflow: hidden;
}

/* soft glowing background */
.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(0, 255, 220, 0.18), transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(3, 87, 87, 0.409), transparent 40%);
    z-index: 1;
}

/* content layer */
.cta > * {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 38px;
    font-weight: 600;
    margin-bottom: 12px;
}

.cta p {
    font-size: 16px;
    color: #cfeeee;
    margin-bottom: 35px;
}

/* CTA Button */
.cta .btn {
    display: inline-block;
    padding: 15px 38px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: all 0.35s ease;
}

/* hover neon effect */
.cta .btn:hover {
    background: var(--green-shade);
    color: #002b2b;
    box-shadow:
        0 0 20px rgba(0, 255, 240, 0.7),
        0 0 45px rgba(0, 255, 240, 0.45);
    transform: translateY(-4px);
}

.footer {
    background: #000000;
    padding: 35px 60px;
    font-size: 15px;
}

.footer-top,
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.copyright p {
    margin: 0;
    color: #ffffff;
}

.copyright span {
    font-size: 12px;
    color: var(--light-green-shade);
}

.footer-bottom a {
    color: var(--light-green-shade);
    text-decoration: none;
    margin-right: 18px;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #ffffff;
}

.tech {
    color: var(--light-green-shade);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    


}


/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 48px;
    }

    .hero h2 {
        font-size: 20px;
    }

    .navbar {
        padding: 0 20px;
    }

    .navbar nav a {
        margin-left: 12px;
    }
}
