/* How It Works (Redesigned) */
/*
    GatiRx Modern Responsive CSS
    Clean, flat, and professional for both desktop and mobile
*/

html {
    box-sizing: border-box;
    font-size: 16px;
    scroll-behavior: smooth;
}
*, *:before, *:after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Lato', 'Segoe UI', Arial, sans-serif;
    background: #f8fafc;
    color: #1a2a33;
    min-height: 100vh;
}

.container {
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header */
.main-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px 0 rgba(10,58,71,0.04);
}
.nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 0;
}
.logo {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.1em;
}
.brand-highlight { color: #007080; font-weight: 900; }
.brand-rx { color: #ffb300; font-weight: 900; margin-left: 0.05em; }
.nav-list {
    list-style: none;
    display: flex;
    gap: 2rem;
}
.nav-list li a {
    color: #1a2a33;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}
.nav-list li a:hover,
.nav-list li a:focus {
    color: #007080;
    background: #e0f7fa;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #e0f7fa;
}
.hero-bg-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.35;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    color: #0a3a47;
    padding: 3rem 1rem;
    background: none;
}
.hero-tagline {
    display: block;
    font-size: 1.05rem;
    color: #007080;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 0.7rem;
    /* text-transform: uppercase; */
    opacity: 0.85;
}
.hero-content h1 {
    font-size: 2.7rem;
    color: #0a3a47;
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: 1px;
}
.hero-sub {
    font-size: 1.25rem;
    color: #1a2a33;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn-primary { background: #007080; color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: #0a3a47; color: #fff; }
.btn-secondary { background: #ffb300; color: #0a3a47; }
.btn-secondary:hover, .btn-secondary:focus { background: #e09e00; color: #fff; }

/* Section */
.section { padding: 3.5rem 0; }
.bg-light { background: #f3f6fa; }
.section h2 {
    font-size: 2rem;
    color: #0a3a47;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-align: center;
    /* text-transform: uppercase; */
}
.section p {
    font-size: 1.1rem;
    color: #1a2a33;
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.7;
    text-align: center;
}

/* How It Works */
.how-steps-flex {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}
.how-steps-block {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem 2.5rem;
    min-width: 240px;
    max-width: 320px;
    box-shadow: 0 2px 8px 0 rgba(10,58,71,0.06);
    border: 1px solid #e5e7eb;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.how-icon-img {
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.04));
}
.how-steps-list {
    margin-top: 1.2rem;
    width: 100%;
}
.how-step {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.08rem;
    color: #1a2a33;
    margin-bottom: 0.7rem;
    font-weight: 500;
}
.how-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: #007080;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 0.2rem;
    box-shadow: 0 1px 4px 0 rgba(10,58,71,0.08);
}

/* Why GatiRx */
.why-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}
.why-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    min-width: 200px;
    max-width: 260px;
    box-shadow: 0 2px 8px 0 rgba(10,58,71,0.06);
    border: 1px solid #e5e7eb;
    text-align: center;
}
.why-icon-img {
    width: 38px;
    height: 38px;
    display: block;
    margin: 0 auto 0.5rem auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.04));
}
.why-card h4 {
    color: #007080;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.why-card p {
    color: #1a2a33;
    font-size: 1rem;
}

/* Who We Serve */
.who-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}
.who-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    min-width: 180px;
    max-width: 220px;
    box-shadow: 0 2px 8px 0 rgba(10,58,71,0.06);
    border: 1px solid #e5e7eb;
    text-align: center;
}
.who-icon-img {
    width: 38px;
    height: 38px;
    display: block;
    margin: 0 auto 0.5rem auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.04));
}
.who-card h4 {
    color: #007080;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.who-card p {
    color: #1a2a33;
    font-size: 1rem;
}

/* Contact */
.contact-content { text-align: center; }
.contact-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 1rem 0;
}
.contact-list li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}
.contact-list a {
    color: #007080;
    font-weight: 600;
    text-decoration: none;
}
.contact-list a:hover, .contact-list a:focus { text-decoration: underline; }
.contact-note {
    color: #1a2a33;
    font-size: 1rem;
    margin-top: 1rem;
}

/* Footer */
.main-footer {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 2rem 0 1rem 0;
    text-align: center;
    color: #1a2a33;
    font-size: 1rem;
    margin-top: 2rem;
}
.main-footer p {
    margin: 0;
    color: #1a2a33;
    letter-spacing: 0.5px;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .nav-list { gap: 1rem; }
    .why-grid, .who-grid, .how-steps-flex { flex-direction: column; align-items: center; }
}
@media (max-width: 700px) {
    .container { width: 98%; max-width: 100vw; }
    .nav-flex { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
    .logo { font-size: 1.5rem; }
    .hero-content { padding: 2rem 0.5rem; }
    .hero-content h1 { font-size: 2rem; }
    .hero-tagline { font-size: 0.95rem; }
    .hero-sub { font-size: 1rem; }
    .hero-ctas { flex-direction: column; gap: 0.75rem; }
    .btn { width: 100%; font-size: 1rem; padding: 0.7rem 0; }
    .section { padding: 2rem 0 1.5rem 0; }
    .section h2 { font-size: 1.2rem; }
    .section p { font-size: 0.98rem; padding: 0 0.2rem; }
    .why-card, .who-card, .how-steps-block { min-width: 0; max-width: 98vw; padding: 1.2rem 0.7rem; }
    .main-footer { font-size: 0.95rem; padding: 1.2rem 0 0.7rem 0; }
    .main-footer p { font-size: 0.95rem; }
}
            padding: 1.2rem 0 0.7rem 0;
        }
        .main-footer p {
            font-size: 0.95rem;
        }
        .container {
            padding: 0 2vw;
        }
    }
    }
    margin: 0 auto;
    line-height: 1.7;
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    .tagline {
        font-size: 1rem;
    }
    .hero-ctas {
        flex-direction: column;
        gap: 0.75rem;
    }
    #about h2 {
        font-size: 1.3rem;
    }
    #about p {
        font-size: 1rem;
    }
}
/* Header/Nav Styles */
header {
    background: #0a3a47;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 0;
}
.logo {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #ffb300;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}
.nav-links li a {
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
}
.nav-links li a:hover,
.nav-links li a:focus {
    color: #ffb300;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-top: 0.5rem;
    }
}
/* CSS Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #1a2a33;
    background: #fff;
}

/* Base link styles */
a {
    color: #007080;
    text-decoration: none;
}
a:hover, a:focus {
    text-decoration: underline;
}

/* Container utility */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Section spacing utility */
section {
    padding: 3rem 0;
    /* font-size: 4rem; */
    /* font-weight: 300; */
    /* text-transform: uppercase; */
}

.svg-img{
   display: block;
   margin: auto;
}

svg{
    display: block;
   margin: auto;
}

#clock{
    animation: clockHand 5s infinite linear;
    
    
    transform-box: fill-box;
    transform-origin: bottom;
}

#leftTree, #righTree{
    animation: tree 2s ease-in-out infinite alternate;
    transform-box: fill-box;
    transform-origin: bottom;
}

#man{
    animation: manBody 1s ease-in-out infinite alternate;
    transform-box: fill-box;
    transform-origin: bottom;
}

#pc-circle{
    fill: #6ace66;
    stroke-width: 4;
    animation: change-light 4s linear infinite alternate;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 35px;
    line-height: 35px;
    background-color: #f5f5f5;
    font-size: 1.3rem;
}

@keyframes clockHand{
    from{
        transform: rotateZ(0deg);
    }
    from{
        transform: rotateZ(-360deg);
    }
}

@keyframes manBody{
    from{
        transform: rotateX(0deg);
    }
    to{
        transform: rotateX(10deg);
    }
}

@keyframes tree{
    from{
        transform: rotateZ(10deg);
    }
    to{
        transform: rotateZ(-20deg);
    }
}

@keyframes change-light {
    0% {
        stroke: #cd61f8;
      }
      25% {
        stroke: #6ace66;
      }
      75% {
        stroke: #2995c0;
      }
      100% {
        stroke: #e92949;
      }
  }

  /* Media Queries */

  @media (min-width: 640px){
    .main-title h1{
        font-size: 5rem;
        text-transform: uppercase;
        font-weight: 700;
        color: #555;
    }
    
    .main-title h2{
        font-size: 3rem;
        font-weight: 300;
        text-transform: uppercase;
    }
    
     
    }
     
    @media (min-width: 768px){
        .main-title h1{
            font-size: 6rem;
            text-transform: uppercase;
            font-weight: 800;
            color: #555;
        }
        
        .main-title h2{
            font-size: 4rem;
            font-weight: 300;
            text-transform: uppercase;
        }
    
     
    }
     
    @media (min-width: 1024px){
     
        .main-title h1{
            font-size: 7rem;
            text-transform: uppercase;
            font-weight: 900;
            color: #555;
        }
        
        .main-title h2{
            font-size: 5rem;
            font-weight: 300;
            text-transform: uppercase;
        }
     
    }
     
    @media (min-width: 1200px){
     
        .main-title h1{
            font-size: 8rem;
            text-transform: uppercase;
            font-weight: 900;
            color: #555;
        }
        
        .main-title h2{
            font-size: 5rem;
            font-weight: 300;
            text-transform: uppercase;
        }

        .main-title{
            text-align: center;
            margin-top: 4rem;
            margin-bottom: 4rem;
        }
