/* Samarthavastu Ultimate Gen-Z Glassmorphic Theme */
:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --accent: #38bdf8;
    --light-bg: #f0f9ff;
    --glass-bg: rgba(255, 255, 255, 0.88);
    --glass-border: rgba(56, 189, 248, 0.3);
    --text-main: #0f172a;
    --text-muted: #475569;
    --white: #ffffff;
    --shadow: 0 15px 35px -5px rgba(2, 132, 199, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 50%, #f8fafc 100%);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.top-bar {
    background: #0f172a;
    color: #e2e8f0;
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-snippets {
    display: flex;
    gap: 20px;
}

.contact-snippets span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-snippets i {
    color: var(--accent);
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 95px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img-full {
    width: 130px;
    height: 70px;
    object-fit: contain;
}

.logo-text h2 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    font-weight: 900;
    line-height: 1.15;
}

.logo-text span {
    font-size: 1.05rem;
    letter-spacing: 2.5px;
    color: var(--primary-dark);
    font-weight: 900;
    display: block;
}

/* Tagline below brand name in top and bottom panel: very small size, maroon colour, not bold */
.logo-subtitle {
    font-size: 0.5rem;
    color: #800000;
    font-weight: 400;
    margin-top: 2px;
    display: block;
    letter-spacing: 0.3px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary);
}

.cta-nav {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
}

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

/* Functional Dropdown Multilingual Translator styling with native Google Translate container fix */
.translate-widget-wrapper {
    background: rgba(2, 132, 199, 0.1);
    padding: 4px 12px;
    border-radius: 30px;
    border: 1px solid rgba(2, 132, 199, 0.25);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1050;
    position: relative;
}

/* Ensures Google Translate Widget renders fully clickable and visible */
#google_translate_element select.goog-te-combo {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--primary);
    background: #ffffff;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

.goog-te-banner-frame, .goog-logo-link, .goog-te-gadget span {
    display: none !important;
}

.goog-te-gadget {
    color: transparent !important;
    font-size: 0 !important;
}

.hero-section {
    position: relative;
    padding: 110px 0;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(2, 132, 199, 0.12);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(2, 132, 199, 0.25);
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 20px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.45);
}

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

.btn-outline:hover {
    background: rgba(2, 132, 199, 0.08);
}

.w-100 {
    width: 100%;
    justify-content: center;
}

.section-padded {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.section-title h2 {
    font-size: 2.4rem;
    color: var(--text-main);
    font-weight: 800;
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 35px;
    box-shadow: var(--shadow);
}

/* 3D Yellow/Golden Stars for Testimonials */
.stars-3d {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(245, 158, 11, 0.4), 0 0 2px rgba(252, 211, 77, 0.8);
    display: inline-flex;
    gap: 4px;
}

/* Interactive Star Rating Selector in Review Form */
.star-rating-select {
    display: flex;
    gap: 8px;
    font-size: 1.5rem;
    color: #cbd5e1;
    cursor: pointer;
    margin-bottom: 10px;
}

.star-rating-select i:hover,
.star-rating-select i.active {
    color: #f59e0b;
}

.testimonials-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.testimonial-card-futuristic {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 20px 40px -10px rgba(2, 132, 199, 0.15);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card-futuristic:hover {
    transform: translateY(-8px);
}

.testimonial-card-futuristic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.review-form-container {
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    border-top: 5px solid var(--primary);
}

.service-card:hover {
    transform: translateY(-6px);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-content h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-weight: 800;
}

.service-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.about-img-box {
    text-align: center;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.08), rgba(56, 189, 248, 0.15));
    padding: 30px;
}

.founder-img-profile-large {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.25);
}

.founder-badge {
    background: var(--primary);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.about-text-box h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.about-text-box p {
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.highlights-box {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.highlights-box div {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--text-main);
}

.highlights-box i {
    color: var(--primary);
}

.tips-container {
    display: flex;
    flex-direction: column;
    gap: 35px;
    max-width: 900px;
    margin: 0 auto;
}

.tip-image-wrapper {
    width: 100%;
    height: 360px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 25px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tip-banner-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tip-card .tip-header {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 15px;
}

.tip-card h3 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-top: 10px;
    font-weight: 800;
}

.tip-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 25px;
}

.tip-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(224, 242, 254, 0.6);
    padding: 14px 20px;
    border-radius: 14px;
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.6;
}

.tip-list i {
    color: var(--primary);
    margin-top: 4px;
    flex-shrink: 0;
}

.tip-note {
    background: rgba(245, 158, 11, 0.12);
    border-left: 5px solid #f59e0b;
    padding: 15px 20px;
    border-radius: 0 14px 14px 0;
    color: #b45309;
    font-size: 1rem;
    font-weight: 600;
}

.contact-grid-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1050px;
    margin: 0 auto;
}

.contact-info-card h3, .contact-form-card h3 {
    font-size: 1.9rem;
    margin-bottom: 15px;
    color: var(--text-main);
    font-weight: 800;
}

.contact-info-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-details-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contact-details-list li i, .contact-details-list li img {
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    object-fit: contain;
}

.contact-details-list span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 800;
}

.contact-details-list a, .contact-details-list p {
    font-size: 1.1rem;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    font-size: 1rem;
    color: var(--text-main);
    outline: none;
}

.form-success-msg {
    margin-top: 15px;
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
}

footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 70px 0 25px 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 45px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col p {
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .mobile-toggle { display: block; }
    .hero-content h1 { font-size: 2.3rem; }
    .about-hero-grid, .contact-grid-modern, .footer-grid { grid-template-columns: 1fr; }
    .top-bar { display: none; }
}
