:root {
  --font-main: "Poppins", "Montserrat", system-ui, sans-serif;

  --bg: #f4f9fc;
  --primary: #78b7d8;
  --primary-dark: #4fa3c7;

  --text-main: #1e2a38;
  --text-muted: #6b7c93;

  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.35);
  --blur: 14px;

  --radius-lg: 1.5rem;
  --radius-pill: 999px;

  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
    scroll-behavior: smooth;
    /*outline: 1px solid rgba(255, 0, 0, 0.05);*/
}

body {
    background: var(--bg);
    color: var(--text-main);
    max-width: 100%;
    overflow-x: hidden;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 22px;
    height: 1px;
    background: #111;
    transition: 0.3s ease;
}

.hamburger span:nth-child(2) {
    width: 60%;
    height: 1px;
    align-items: flex-end;
}

.hamburger span {
    transition: transform 0.3s ease, opacity 0.4s ease;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.navbar nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    padding: 0.9rem 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.navbar.scrolled nav {
    box-shadow: 0 10px 40px rgba(0,0,0,.12);
    backdrop-filter: blur(16px);
    padding: 0.6rem 1.3rem;
}

.nav-links {
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav-links.active {
    opacity: 1;
    transform: translateY(0);
    max-height: 500px;
}

.brand {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.brand a {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
}

.brand p {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}
    
.nav-links ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary-dark);
}

.bookApp {
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-pill);
    color: #434343;
    font-size: 0.85rem;
    font-weight: 400;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(90, 163, 207, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease, color .4s ease;
    letter-spacing: 1px;
    position: relative;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
}

.bookApp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary);
    z-index: 0;
    transition: width .4s ease;
}

.bookApp:hover {
    color: #f8f8f8;
}

.bookApp:hover::before {
    width: 100%;
}

.bookApp span {
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.bookApp:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(90, 163, 207, 0.5);
}

.hero {
    padding: 4rem 3rem 3rem;
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 3rem;
}

.hero-text h1 {
    padding-top: 1rem;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.hero-text p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin: 6rem 0;
}

.hero-btn {
    padding: 1rem 1.4rem;
    border-radius: var(--radius-pill);
    border: none;
    background: linear-gradient(135deg, #8ecae6, #5aa3cf);
    color: white;
    font-weight: 400;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(90, 163, 207, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(90, 163, 207, 0.5);
}

.hero-btn i {
    font-size: 1.2rem;
    font-weight: 600;
}

.hero-card {
    position: absolute;
    top: 100%;
    left: 43%;
    padding: 0.91rem 0.82rem;
    background: #f8f8f8;
    box-shadow: 0 4px 20px rgba(90, 163, 207, 0.4);
    border-radius: 0.8rem;
    width: 100%;
    max-width: fit-content;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all .4s ease;
    display: none;
} 

.hero-card:hover {
    transform: translateY(-3px) scale(1);
    box-shadow: 0 4px 20px rgba(90, 163, 207, 0.5);
}

.hero-card .icon {
    background: #1e2a38;
    padding: 0.5rem;
    border-radius: 0.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.hero-card .icon i,
.hero-card .icon a {
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
}

.hero-card-text span {
    font-size: 12px;
    color: #6b7c93;
}

.hero-image img {
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    height: 500px;
    object-fit: cover;
    filter: drop-shadow(0 20px 40px rgba(90, 163, 207, 0.5));
}

.hero-hint {
    position: absolute;
    top: 36%;
    left: 75%;
    background: #f8f8f8;
    box-shadow: 0 4px 20px rgba(90, 163, 207, 0.4);
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px;
    width: 100%;
    max-width: fit-content;
    display: none;   
}

.hero-hint i {
    font-size: 12px;
    color: green;
}

.hero-hint p {
    color: #6b7c93;
    font-weight: 550;
    font-size: 12px;
}

.stats {
    text-align: center;
    padding: 0.2rem 0.1rem;
}

.stats-grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
}

.stats-grid strong {
    color: #6b7c93;
    font-size: 1.6rem;
}

.stats-grid span {
    color: #434343;
}

.service-search {
    background: var(--primary);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    margin: 0 2rem 4rem 2rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(90, 163, 207, 0.4);
    border-radius: 0.8rem;
    border: 1px solid var(--glass-bg);
}

.service-select {
    display: flex;
    gap: 25px;
    align-items: center;
}

.service-select select {
    background: #f4f9fc;
    padding: 0.95rem 3rem;
    border-radius: 0.3rem;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(90, 163, 207, 1);
    transition: all .3s ease;
}

.service-select select:hover {
    border: 1px solid #8ecae6;
}

.service-select select:focus {
    outline: none;
}

.service-btn {
    background: #8ecae6;
    padding: 0.95rem;
    border-radius: 0.3rem;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(90, 163, 207, 1);
    transition: all .3s ease;
}

.service-btn:hover {
    background: #f4f9fc;
    transform: translateY(-2px) scale(1);
}

.department {
    padding: 3rem 2rem;
}

.department-content {
    text-align: center;
}

.department-content h3 {
    font-weight: 600;
    margin-bottom: 14px;
}

.department-content p {
    font-size: 15px;
    color: #434343;
}

.department-grid {
    padding: 4rem 2.4rem;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    gap: 0.9rem;
}

.department-card {
    padding: 2rem;
    background: #fff;
    border: 1.2px solid #a6d9ef;
    border-radius: 0.8rem;
    box-shadow: 0 4px 20px rgba(90, 163, 207, 0.4);
    transition: all .4s ease;
}

.department-card:hover {
    transform: translateY(-2px) scale(1);
    box-shadow: 0 4px 20px rgba(90, 163, 207, 0.6);
}

.department-card img {
    width: 100%;
    max-width: 120px;
    object-fit: cover;
}

.service {
    background: linear-gradient(138deg, #95d1ec, #8fc4e0);
    padding: 2rem;
}

.service-wrapper {
    padding: 1.5rem 0;
    display: flex;
    flex: 1 1 0;
    width: 100%;
}

.service-content {
    max-width: 400px;
    width: 100%;
    flex: 1;
}

.service-content h2 {
    font-size: 1.65rem;
    color: #f8f8f8;
    margin-bottom: 2rem;
}

.serv-btn {
    position: relative;
    padding: 0.8rem 3.6rem 0.8rem 1.2rem;
    border-radius: var(--radius-pill);
    border: none;
    background: linear-gradient(135deg, #f8f8f8, #f4f9fc);
    color: #434343;
    font-weight: 550;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(90, 163, 207, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    overflow: hidden;
}

.serv-btn::after {
    content: "→";
    position: absolute;
    right: 1.4rem;
    top: 50%;
    transform: translateY(-50%) translateX(-6px);
    opacity: 1;
    font-weight: 900;
    font-size: 1rem;
    transition: opacity 0.25s ease, transform 0.25s ease;
    color: var(--primary-dark);
}

.serv-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(120,183,216,0.15), rgba(120,183,216,0));
    opacity: 0;
    transition: opacity 0.25s ease;
    border-radius: inherit;
}

.serv-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(90, 163, 207, 0.45);
    background: linear-gradient(135deg, #ffffff, #eef6fb);
}

.serv-btn:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.serv-btn:hover::before {
    opacity: 1;
}

.serv-btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(90, 163, 207, 0.3);
}

.serv-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    max-width: 500px;
    width: 100%;
    align-items: start;
}

.service-card:nth-child(odd) {
    transform: translateY(20px);
}

.service-card:nth-child(even) {
    transform: translateY(-10px);
}

.service-card {
    padding: 1.2rem;
    background: #fff;
    box-shadow: 0 8px 22px rgba(90, 163, 207, 0.25);
    border-radius: 1rem;
    border: 1px solid rgba(166, 217, 239, 0.6);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-6px) scale(1.025);
    box-shadow: 0 14px 36px rgba(90, 163, 207, 0.4);
}

.service-card img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    margin-bottom: 0.8rem;
}

.service-desc h2 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-main, #1e2a38);
}

.service-desc p {
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--text-muted, #5e5e5e);
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-img img {
    width: 100%;
    height: auto;
    max-width: 400px;
    filter: drop-shadow(0 20px 40px rgba(234, 237, 239, 0.5));
}

.about {
    padding: 3.5rem 0;
}

.about-wrapper {
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.about-img {
    width: 100%;
    max-width: 500px;
    break-inside: avoid;
    overflow: hidden;
}

.about-img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: all .5s ease;
}

.about-img img:hover {
    transform: scale(1.05);
    transition: transform 0.6s ease;
}

.about-content {
    text-align: center;
    line-height: 1.5;
}

.about-content h1 {
    color: #4fa3c7;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 13px;
}

.blog, .contact {
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blog-header, .contact-info {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header h2,
.contact-info h2 {
    color: #4fa3c7;
    margin-bottom: 10px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1100px;
}

.blog-card {
    background: var(--glass-bg);
    border: 1px solid var(--primary);
    backdrop-filter: blur(var(--blur));
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(120,183,216,0.15);
    transition: all .4s ease;
}

.blog-card:hover {
    transform: translateY(-3px) scale(1);
    box-shadow: 0 10px 24px rgba(90, 163, 207, 0.25);
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-content {
    padding: 1.2rem;
}

.blog-content span {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--primary-dark);
}

.blog-content h3 {
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.blog-content p {
    color: #434343;
    font-size: 13px;
}

.blog-content a {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 600;
}

.contact-wrapper {
    max-width: 1000px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.7rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
}

.contact-form input:focus-visible,
 .contact-form textarea:focus-visible {
    outline: 1px solid #4fa3c7;
}

.contact-info p {
    margin-bottom: 20px;
}

.contact-form button {
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-pill);
    border: none;
    background: var(--primary);
    color: white;
    cursor: pointer;
    transition: all .3s ease;
}

.contact-form button:hover {
    background: #5aa3cf;
}

.site-footer {
    background: #eaf4fb;
    padding: 3rem 2rem 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: auto;
}

.footer-grid h3, .footer-grid h4 {
    color: #4fa3c7;
    margin-bottom: 10px;
}

.footer-brand p {
    color: #434343;
    font-size: 14px;
}

.footer-links a {
    display: block;
    text-decoration: none;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: #4fa3c7;
    transition: all .3s ease;
}

.footer-copy {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.social-icons {
    font-size: 19px;
}

.social-icons a {
    text-decoration: none;
    color: #4fa3c7;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-scale {
    transform: scale(0.9);
}

.reveal-delay-1 { 
    transition-delay: 0.15s;
}
.reveal-delay-2 { 
    transition-delay: 0.3s; 
}
.reveal-delay-3 { 
    transition-delay: 0.45s; 
}

.hero {
    position: relative;
    overflow: hidden;
}

.service-search {
    margin: 0 auto 4rem auto;
    max-width: 1200px;
}





@media (max-width: 900px) {
  body {
    max-width: 100%;
  }

  .navbar nav {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: max-content;
  }  

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border-radius: var(--radius-lg);
    background: #fff;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
  }

  .nav-links.active {
    display: flex;
    opacity: 1;
    transition: all .5s ease;
  }

  .nav-links a:active {
    padding: 10px;
    background: #5aa3cf;
    color: #fff;
    border-radius: var(--radius-pill);
  }

  .nav-links {
    display: flex;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
  }

  .nav-links.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .bookApp {
    padding: 5px;
    width: 100%;
    max-width: 150px;
    letter-spacing: normal;
    text-align: center;
    display: flex;
    align-items: center;
    font-size: 10px;
    font-weight: 500;
  }

  .stats-grid {
    gap: 20px;
  }

  .stats strong {
    font-size: 18px;
  }

  .stats span {
    font-size: 12px;
  }
}


@media (max-width: 900px) {

  .hero-container {
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: 1fr;
  }

  .hero-image img {
    max-width: 100%;
    height: auto;
    margin-left: 20px
  }

  .department-grid {
    flex-wrap: wrap;
    justify-content: center;
  }

  .department-card {
    max-width: 300px;
  }

  .service-select,
  .service-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .service-content,
  .service-grid {
    max-width: 100%;
  }

  .about-wrapper {
    flex-direction: column;
  }

  .about-img img {
    height: auto;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 900px) {
  .hero {
    position: relative;
    overflow: hidden;
  }

  .hero-card {
    padding: 10px;
    display: flex;
    top: 80%;
    left: 5%;
    width: 100%;
    max-width: max-content;
    transform: scale(0.9);
    gap: 5px;
  }

  .hero-card .icon {
    font-size: 8px;
  }

  .hero-card-text p {
    font-size: 12px;
  }

  .hero-card-text span {
    font-size: 10px;
  }

  .hero-hint {
    display: flex;
    padding: 5px;
    left: 58%;
    top: 65%;
    width: 100%;
    max-width: max-content;
    transform: scale(0.9);
  }

  .service-select select {
    padding: auto;
  }
}


@media (max-width: 600px) {

  .hero {
    padding: 3rem 1.5rem;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-actions {
    margin: 2.5rem 0;
  }

  .hero-btn {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }

  .department-grid {
    flex-direction: column;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

}

@media (max-width: 900px) {
  .hero-card {
    top: 80%;
    left: 5%;
    transform: scale(0.9);
    gap: 5px;
  }

  .hero-hint {
    top: 65%;
    left: 58%;
    transform: scale(0.9);
  }
}


@media (min-width: 901px) {
  .hero-card {
    top: 90%;
    left: 43%;
    transform: none;
    max-width: fit-content;
  }

  .hero-hint {
    top: 36%;
    left: 75%;
    transform: none;
    max-width: fit-content;
  }
}

