/* ============================================
   TAKBANTU - CSS STYLESHEET
   ============================================ */

/* Root Variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --background-color: #f8fafc;
    --card-color: #ffffff;
    --text-color: #0f172a;
    --text-light: #475569;
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --radius: 12px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: sticky;
    top: 0;
    background-color: var(--card-color);
    box-shadow: var(--shadow-sm);
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.logo a:hover {
    color: var(--primary-dark);
}

.nav-menu {
    display: flex;
}

.menu-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.menu-list a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.menu-list a:hover,
.menu-list a.active {
    color: var(--primary-color);
}

.menu-list a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary:focus {
    outline: 2px solid var(--primary-dark);
    outline-offset: 2px;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-secondary:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn-open {
    width: 100%;
    padding: 10px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.btn-open:hover {
    background-color: var(--primary-dark);
}

.btn-open:focus {
    outline: 2px solid var(--primary-dark);
    outline-offset: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    min-width: 180px;
}

/* ============================================
   APPS SECTION
   ============================================ */

.apps-section {
    padding: 80px 20px;
    background-color: var(--background-color);
}

.apps-section h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 50px;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.app-card {
    background-color: var(--card-color);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.app-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.app-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.app-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    padding: 80px 20px;
    background-color: var(--card-color);
}

.about-section h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 30px;
}

.about-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.9;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: #1e293b;
    color: white;
    padding: 50px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.footer-section p {
    color: #cbd5e1;
    font-size: 14px;
}

/* ============================================
   PRIVACY POLICY & CONTACT PAGES
   ============================================ */

.policy-container,
.contact-container {
    padding: 60px 20px;
    min-height: calc(100vh - 70px);
}

.policy-container h1,
.contact-container h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.last-updated {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 40px;
}

.policy-container section {
    margin-bottom: 40px;
}

.policy-container h2,
.contact-container h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.policy-container ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy-container li {
    margin-bottom: 10px;
    color: var(--text-light);
}

.policy-container p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.contact-description {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin-bottom: 50px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* ============================================
   FORM STYLES
   ============================================ */

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.error-message {
    color: #dc2626;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #dcfce7;
    color: #166534;
}

.form-message.error {
    display: block;
    background-color: #fee2e2;
    color: #991b1b;
}

.contact-info-section {
    background-color: var(--card-color);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.info-item {
    margin-bottom: 30px;
}

.info-item h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.info-item p {
    color: var(--text-light);
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    text-decoration: underline;
}
.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    padding: 12px 16px;

    border-radius: 12px;

    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);

    color: #fff;
    text-decoration: none;
    font-weight: 500;

    transition: all .3s ease;
}

.social-links a i {
    font-size: 20px;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: #00c2ff;
    color: #0b0b0b;
    box-shadow: 0 10px 25px rgba(0,194,255,.35);
}

/* Mobile */
@media (max-width: 480px) {

    .social-links {
        grid-template-columns: 1fr;
    }

    .social-links a {
        padding: 14px;
        font-size: 15px;
    }

}

/* ==========================
   PLAYSTORE SECTION
========================== */

.playstore-section {
    padding: 80px 0;
}

.playstore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.playstore-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid #ececec;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);

    display: flex;
    flex-direction: column;

    transition: all .3s ease;
}

.playstore-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
}

.playstore-top {
    display: flex;
    align-items: center;
    gap: 16px;
}

.playstore-top img {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    object-fit: cover;
    flex-shrink: 0;
}

.playstore-top h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    color: #222;
}

.playstore-category {
    display: inline-block;
    margin-top: 6px;
    font-size: 13px;
    color: #666;
}

.playstore-desc {
    margin: 18px 0;
    color: #555;
    line-height: 1.7;
    flex: 1;
    font-size: 15px;
}

.btn-playstore {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;

    width: 100%;

    padding: 13px;

    background: #34A853;
    color: #fff;

    border-radius: 12px;

    text-decoration: none;
    font-weight: 600;

    transition: .25s;
}

.btn-playstore:hover {
    background: #2b8d45;
    transform: translateY(-2px);
}

.loading {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px;
    color: #777;
    font-size: 18px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */


/* ==========================
   TABLET
========================== */

@media (max-width: 992px) {

    .playstore-section {
        padding: 70px 0;
    }

    .playstore-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

}

/* ==========================
   MOBILE
========================== */

@media (max-width: 768px) {

    .playstore-section {
        padding: 50px 0;
    }

    .playstore-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 30px;
    }

    .playstore-card {
        padding: 18px;
        border-radius: 18px;
    }

    .playstore-top {
        gap: 14px;
    }

    .playstore-top img {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .playstore-top h3 {
        font-size: 16px;
    }

    .playstore-category {
        font-size: 12px;
    }

    .playstore-desc {
        margin: 15px 0;
        font-size: 14px;
        line-height: 1.6;
    }

    .btn-playstore {
        padding: 12px;
        font-size: 14px;
    }

}

/* ==========================
   SMALL MOBILE
========================== */

@media (max-width: 480px) {

    .playstore-section {
        padding: 40px 0;
    }

    .playstore-card {
        padding: 16px;
        border-radius: 16px;
    }

    .playstore-top img {
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }

    .playstore-top h3 {
        font-size: 15px;
    }

    .playstore-category {
        font-size: 11px;
    }

    .playstore-desc {
        margin: 12px 0;
        font-size: 13px;
        line-height: 1.5;
    }

    .btn-playstore {
        padding: 11px;
        font-size: 13px;
    }

}

/* ==========================
   EXTRA SMALL DEVICES
========================== */

@media (max-width: 360px) {

    .playstore-card {
        padding: 14px;
    }

    .playstore-top {
        align-items: flex-start;
    }

    .playstore-top img {
        width: 50px;
        height: 50px;
    }

    .playstore-top h3 {
        font-size: 14px;
    }

    .playstore-desc {
        font-size: 12px;
    }

    .btn-playstore {
        font-size: 12px;
        padding: 10px;
    }

}

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .header-container {
        height: 60px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: var(--card-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 400px;
    }

    .menu-list {
        flex-direction: column;
        gap: 0;
    }

    .menu-list li {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-light);
    }

    .menu-list a.active::after {
        display: none;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        min-width: auto;
    }

    .apps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .about-section h2,
    .apps-section h2 {
        font-size: 32px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .policy-container h1,
    .contact-container h1 {
        font-size: 36px;
    }

    .policy-container h2,
    .contact-container h2 {
        font-size: 24px;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .app-card {
        padding: 20px;
    }

    .app-icon {
        font-size: 40px;
        height: 50px;
    }

    .app-card h3 {
        font-size: 16px;
    }

    .app-card p {
        font-size: 13px;
    }

    .apps-section {
        padding: 60px 20px;
    }

    .about-section {
        padding: 60px 20px;
    }

    .about-section h2 {
        font-size: 28px;
    }

    .about-text {
        font-size: 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .policy-container,
    .contact-container {
        padding: 40px 20px;
    }

    .policy-container h1,
    .contact-container h1 {
        font-size: 28px;
    }

    .policy-container h2,
    .contact-container h2 {
        font-size: 20px;
    }

    .policy-container ul {
        margin-left: 15px;
    }

    .policy-container li {
        font-size: 14px;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Skip to content link (accessibility) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}
