/*
   GLOW DENTALI - Brand Styles
*/

@font-face {
    font-family: 'Raleway Glow';
    src: url('assets/fonts/Raleway-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --brand-navy: #2a3d8a;
    --brand-cyan: #99dbd6;
    --brand-blue: #415dc9;
    --brand-lime: #d6e264;
    --brand-ink: #1c254f;

    --primary-color: var(--brand-navy);
    --secondary-color: var(--brand-cyan);
    --accent-color: var(--brand-lime);

    --text-main: var(--brand-ink);
    --text-light: #55618e;
    --bg-main: linear-gradient(180deg, #fcfdff 0%, #f4fbfb 100%);
    --bg-alt: #eef6ff;

    --font-family: 'Times New Roman', Times, serif;
    --font-display: 'Raleway Glow', 'Raleway', Arial, sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    --shadow-soft: 0 10px 30px rgba(42, 61, 138, 0.08);
    --shadow-medium: 0 18px 40px rgba(42, 61, 138, 0.15);

    --glass-bg: rgba(255, 255, 255, 0.78);
    --glass-border: rgba(65, 93, 201, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background:
        radial-gradient(circle at top left, rgba(153, 219, 214, 0.28), transparent 30%),
        radial-gradient(circle at 88% 16%, rgba(214, 226, 100, 0.2), transparent 18%),
        var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -2;
    opacity: 0.45;
}

body::before {
    top: 4%;
    left: -6%;
    width: 280px;
    height: 280px;
    background: rgba(153, 219, 214, 0.45);
}

body::after {
    right: -7%;
    bottom: 18%;
    width: 320px;
    height: 320px;
    background: rgba(65, 93, 201, 0.14);
}

/* Background Gradients & Blobs */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
}

.blob-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(153, 219, 214, 0.9) 0%, transparent 70%);
}

.blob-2 {
    top: 40%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(214, 226, 100, 0.42) 0%, transparent 70%);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.container-sm {
    max-width: 900px;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--primary-color);
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; letter-spacing: -1.5px; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; letter-spacing: -0.8px; }
h3 { font-size: 1.5rem; margin-bottom: 0.8rem; letter-spacing: -0.3px; }
p { color: var(--text-light); margin-bottom: 1rem; }

.text-gradient {
    background: linear-gradient(135deg, var(--brand-blue), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-family: var(--font-family);
    font-weight: 800;
    letter-spacing: 0.02em;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-medium);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
    color: white;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #22316f, #3854bd);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    padding: 1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.15rem 0;
    z-index: 1000;
    transition: var(--transition-medium);
}

.navbar.scrolled {
    padding: 0.8rem 0;
}

.nav-shell {
    max-width: 1280px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 1.5rem;
    padding: 0.95rem 1.15rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 16px 40px rgba(42, 61, 138, 0.08);
}

.navbar.scrolled .nav-container {
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 44px rgba(42, 61, 138, 0.12);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.navbar .logo {
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(28, 37, 79, 0.96), rgba(42, 61, 138, 0.94));
    box-shadow: 0 10px 24px rgba(42, 61, 138, 0.18);
}

.logo-mark {
    display: block;
    width: 154px;
    max-width: 100%;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, var(--secondary-color), var(--brand-blue));
    transition: var(--transition-medium);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary-color);
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.45rem;
    border: 1px solid rgba(42, 61, 138, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 24px rgba(42, 61, 138, 0.08);
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-switch__pill,
.lang-switch__hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 32px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.lang-switch__pill {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
}

.lang-switch__hint {
    color: var(--text-light);
    background: transparent;
}

html[data-lang="en"] .lang-switch__pill {
    background: transparent;
    color: var(--text-light);
}

html[data-lang="en"] .lang-switch__hint {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 7.25rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(153, 219, 214, 0.22);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.stat-item {
    min-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.3;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    padding: 12px;
    transform: rotate(1.5deg);
    transition: var(--transition-slow);
}

.image-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

.image-wrapper img {
    width: 100%;
    border-radius: 22px;
    display: block;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: rgba(255, 255, 255, 0.96);
    padding: 1.2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-medium);
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(65, 93, 201, 0.1);
}

.icon-box {
    width: 45px;
    height: 45px;
    background-color: rgba(214, 226, 100, 0.32);
    color: var(--brand-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.floating-card h4 {
    margin: 0;
    font-size: 1rem;
}

.floating-card p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-light);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Services */
.services {
    padding: 8rem 0;
    background-color: #ffffff;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 0.9rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(153, 219, 214, 0.22);
    color: var(--brand-blue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card-bottom-left {
    grid-column: 1 / span 1;
    transform: translateX(50%);
}

.service-card-bottom-right {
    grid-column: 2 / span 1;
    transform: translateX(50%);
}

.service-card {
    position: relative;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 255, 0.92) 100%);
    border: 1px solid rgba(42, 61, 138, 0.1);
    box-shadow: 0 18px 38px rgba(42, 61, 138, 0.08);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(153, 219, 214, 0.95) 0%, rgba(65, 93, 201, 0.95) 58%, rgba(214, 226, 100, 0.92) 100%);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 46px rgba(42, 61, 138, 0.12);
    border-color: rgba(65, 93, 201, 0.18);
}

.service-card-bottom-left:hover,
.service-card-bottom-right:hover {
    transform: translateX(50%) translateY(-8px);
}

.service-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.service-top h3 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.3;
}

.service-tag {
    flex-shrink: 0;
    padding: 0.5rem 0.9rem;
    max-width: 100%;
    white-space: nowrap;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(245, 247, 255, 0.96), rgba(237, 241, 252, 0.96));
    color: var(--brand-blue);
    border: 1px solid rgba(65, 93, 201, 0.08);
    font-size: 0.72rem;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.service-tag-compact {
    padding: 0.48rem 0.72rem;
    font-size: 0.64rem;
    letter-spacing: 0.045em;
}

.service-card p {
    margin: 0;
}

/* About */
.about {
    padding: 8rem 0;
    background-color: var(--bg-alt);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-images {
    position: relative;
    height: 500px;
}

.img-box {
    position: absolute;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-1 {
    width: 80%;
    height: 85%;
    top: 0;
    left: 0;
    z-index: 1;
}

.img-2 {
    width: 60%;
    height: 60%;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 8px solid var(--bg-alt);
}

.about-content h2 {
    margin-bottom: 1.4rem;
}

.about-heading-accent {
    display: inline-block;
    color: var(--brand-blue);
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-shadow: 0 6px 18px rgba(65, 93, 201, 0.12);
}

.features-list {
    list-style: none;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.text-primary { color: var(--secondary-color); font-size: 1.2rem; }

/* Contact Section */
.contact {
    padding: 8rem 0;
    position: relative;
    background: linear-gradient(to bottom, transparent, rgba(153, 219, 214, 0.16));
}

.contact-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem;
    border-radius: 32px;
}

.info-items {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    background-color: rgba(65, 93, 201, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item span,
.info-item a {
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.info-item a:hover {
    color: var(--brand-blue);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(42, 61, 138, 0.12);
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 1rem;
    background-color: rgba(255,255,255,0.82);
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(153, 219, 214, 0.3);
    background-color: white;
}

/* Footer */
footer {
    background: linear-gradient(160deg, var(--brand-ink) 0%, var(--brand-navy) 55%, var(--brand-blue) 100%);
    color: white;
    padding-top: 5rem;
}

.footer-logo .logo-mark {
    width: 176px;
}

.footer-logo {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-brand .logo {
    color: white;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-top: 1rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: white;
    background-color: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links a, .footer-links span {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.wa-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 25;
    border-radius: 999px;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #18a45d 0%, #0a8d4d 100%);
    padding: 0.85rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(10, 141, 77, 0.38);
    transition: var(--transition-medium);
}

.wa-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(10, 141, 77, 0.44);
}


/* Responsive */
@media (max-width: 992px) {
    .hero-container, .about-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card-bottom-left,
    .service-card-bottom-right {
        grid-column: auto;
        transform: none;
    }

    .service-card-bottom-left:hover,
    .service-card-bottom-right:hover {
        transform: translateY(-8px);
    }
    
    .contact-panel {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
    }

    .info-item {
        justify-content: flex-start;
    }

    .nav-container {
        border-radius: 28px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .container {
        padding: 0 1.25rem;
    }

    .hero {
        min-height: auto;
        padding-top: 7rem;
        padding-bottom: 4rem;
    }
    
    .nav-links, .navbar .btn-primary, .lang-switch {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .nav-container {
        padding: 0.85rem 1rem;
    }

    .navbar .logo {
        padding: 0.38rem 0.72rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 2rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .logo-mark,
    .footer-logo .logo-mark {
        width: 132px;
    }

    .stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .stat-item {
        min-width: 0;
        width: 100%;
        max-width: 240px;
    }

    .image-wrapper {
        transform: none;
        padding: 10px;
    }

    .image-wrapper:hover {
        transform: none;
    }

    .floating-card {
        position: static;
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-tag,
    .service-tag-compact {
        white-space: normal;
    }

    .contact {
        padding: 5rem 0;
    }

    .contact-panel {
        padding: 2rem 1.25rem;
    }

    .info-item {
        gap: 0.85rem;
    }

    .info-item i {
        flex-shrink: 0;
    }
    
    .features-list {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
