/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header */
header {
    background-color: #0a74da;
    color: #fff;
    padding: 15px 0;
}
/* Header Flex Layout */
/* Header Base */
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between; /* logo left, right container right */
    gap: 20px;
    position: relative;
    padding: 10px 0;
}

/* Logo */
header .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #f9f9f9;
}



/* Right: Auth + Language */
.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Login/Register Buttons */
.auth-buttons {
    display: flex;
    gap: 10px;
}

.auth-buttons button {
    padding: 8px 18px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.login-btn {
    background-color: #fff;
    color: #0a74da;
    border: 1px solid #0a74da;
}

.login-btn:hover {
    background-color: #0a74da;
    color: #fff;
}

.register-btn {
    background-color: #0a74da;
    color: #fff;
}

.register-btn:hover {
    background-color: #064a8c;
}

/* Language Selector */
.language-selector select {
    padding: 8px 12px;
    border-radius: 25px;
    border: 1px solid #0a74da;
    background-color: #fff;
    color: #0a74da;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.language-selector select:hover {
    background-color: #f0f0f0;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        position: relative;
    }

    .search-form {
        position: relative;
        width: 90%;
        transform: none;
    }

    .header-right {
        flex-direction: column;
        width: 90%;
        gap: 10px;
    }

    .auth-buttons {
        width: 100%;
        justify-content: center;
    }

    .auth-buttons button {
        flex: 1;
        margin: 5px 0;
        padding: 10px 0;
        font-size: 1rem;
    }

    .language-selector select {
        width: 100%;
    }
}


/* Hero Section */
/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(-45deg, #83bbf0, #00bfff, #88bced, #1e90ff);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 116, 218, 0.6); /* overlay */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

/* Fade-in animation for text */
.fade-in-text {
    opacity: 0;
    animation: fadeInUp 1s forwards;
}

.fade-in-text:nth-child(1) {
    animation-delay: 0.5s;
}
.fade-in-text:nth-child(2) {
    animation-delay: 1s;
}

/* Hero Text Styling */
.hero h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* Hero Button with bounce effect */
.hero-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #fff;
    color: #0a74da;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background-color: #0a74da;
    color: #fff;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Keyframes */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media screen and (max-width: 768px) {
    .hero h2 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .hero-btn { padding: 12px 25px; font-size: 0.9rem; }
    .hero-content { padding: 10px; }
}


/* General Section Styling */
.categories {
    padding: 80px 20px;
    background-color: #fbfbfd; /* Light premium background */
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

/* Container & Section */
.categories {
    padding: 80px 20px;
    background-color: #fbfbfd;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 50px;
}

.category-list {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e1e8ed;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.04);
    
}

.category-item {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid #e1e8ed;
    cursor: pointer;
    transition: 0.3s;
    background: #f9f5f5;
}

.category-item:last-child { border-bottom: none; }

.item-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-text {
    font-size: 1.15rem;
    font-weight: 500;
    color: #1d1d1f;
}

.chevron {
    position: absolute;
    right: 25px;
    top: 25px;
}

/* Hover Effects */
.category-item:hover { padding-left: 45px; }
.category-item:hover .chevron { transform: translateX(10px); }

/* Color Themes */
.hardware:hover { background: linear-gradient(90deg, #f0fff4 0%, #ffffff 100%); border-left: 5px solid #28a745; }
.software:hover { background: linear-gradient(90deg, #fffaf0 0%, #ffffff 100%); border-left: 5px solid #fd7e14; }
.apps:hover { background: linear-gradient(90deg, #f0f7ff 0%, #ffffff 100%); border-left: 5px solid #007bff; }
.connectivity:hover { background: linear-gradient(90deg, #f3f0ff 0%, #ffffff 100%); border-left: 5px solid #6f42c1; }
.icloud:hover { background: linear-gradient(90deg, #f0fcff 0%, #ffffff 100%); border-left: 5px solid #0dcaf0; }
.security:hover { background: linear-gradient(90deg, #fff0f0 0%, #ffffff 100%); border-left: 5px solid #dc3545; }
.performance:hover { background: linear-gradient(90deg, #fffff0 0%, #ffffff 100%); border-left: 5px solid #ffc107; }
.messaging:hover { background: linear-gradient(90deg, #e6fffa 0%, #ffffff 100%); border-left: 5px solid #38b2ac; }
.multimedia:hover { background: linear-gradient(90deg, #fff5f7 0%, #ffffff 100%); border-left: 5px solid #d53f8c; }
.accessories:hover { background: linear-gradient(90deg, #f7fafc 0%, #ffffff 100%); border-left: 5px solid #4a5568; }
/* Topics Section */
/* Section Styling */
.categories {
    padding: 80px 20px;
    background-color: #ffffff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

/* Container for the list */
.category-list {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid #e5e5e5; /* Professional thin line */
}

/* Group wrapper for hover logic */
.category-group {
    border-bottom: 1px solid #e5e5e5;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

/* Main Category Row */
.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 15px;
    cursor: pointer;
}

.item-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon {
    font-size: 1.5rem;
}

.category-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: #1d1d1f;
    transition: color 0.3s ease;
}

.chevron {
    font-size: 1.2rem;
    color: #0071e3;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Submenu (Hidden by default) */
.submenu {
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #fbfbfd; /* Subtle contrast background */
}

.submenu a {
    display: block;
    padding: 12px 65px; /* Aligns text under the parent text */
    text-decoration: none;
    color: #424245;
    font-size: 1.05rem;
    border-bottom: 1px solid #f0f0f2;
    transition: all 0.2s ease;
}

.submenu a:last-child {
    border-bottom: none;
}

.submenu a:hover {
    color: #0071e3;
    padding-left: 75px; /* Subtle slide interaction */
    background-color: #ffffff;
}

/* --- PROFESSIONAL HOVER STATES --- */

.category-group:hover {
    background-color: #f5f5f7;
}

.category-group:hover .category-text {
    color: #0071e3;
}

.category-group:hover .chevron {
    transform: rotate(90deg); /* Arrow points down */
}

.category-group:hover .submenu {
    max-height: 600px; /* Big enough for all links */
    visibility: visible;
    opacity: 1;
    padding-bottom: 20px;
}

/* --- CSS mein ye tabdeeli karein --- */

/* Hover effects ko disable karein (Taqay click par hi chale) */
.category-group:hover .submenu {
    max-height: 0;
    visibility: hidden;
    opacity: 0;
}

/* Jab JavaScript '.active' class lagaye tab khulay */
.category-group.active .submenu {
    max-height: 600px; /* List ke mutabiq adjust karein */
    visibility: visible;
    opacity: 1;
    padding-bottom: 20px;
}

.category-group.active .chevron {
    transform: rotate(90deg); /* Arrow niche ki taraf */
    color: #0071e3;
}

.category-group.active .category-text {
    color: #0071e3;
}

/* Background highlight sirf header par cursor lane se */
.category-item:hover {
    background-color: #f5f5f7;
}

.topics {
    padding: 50px 0;
}

.topics h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #0a74da;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.topic-card {
    background-color: #fff;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background-color: #0a74da;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}




h1 {
    color: #1a73e8;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    color: #1a73e8;
}


/* Container jo cards ko align kare ga */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* Yeh 2 niche wale cards ko center kar de ga */
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Har card ka style */
.custom-card {
    background: #ffffff;
    border-radius: 20px; /* Swappie style round corners */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    width: 350px; /* Card ki width */
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: center;
    border: 1px solid #f0f0f0;
}

.custom-card:hover {
    transform: translateY(-5px);
}

/* Image placeholder */
.card-image {
    height: 200px;
    background-color: #f7f7f7;
    background-size: cover;
    background-position: center;
}

/* Text area */
.card-content {
    padding: 25px 20px;
}

.card-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.card-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Read More Link */
.read-more {
    color: #0000ee;
    text-decoration: underline;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Responsive: Mobile par 1 card show hoga */
@media (max-width: 768px) {
    .custom-card {
        width: 100%;
    }
}

/* Layout Styling */
.content-container {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.breadcrumbs {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.article-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

/* Info Boxes like the Image */
.info-box {
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
}

.quick-fix { background-color: #f8f9ff; border-left: 5px solid #4a90e2; }
.why-box { background-color: #f0f7ff; border-left: 5px solid #007aff; }
.pro-tips { background-color: #fff9f0; border-left: 5px solid #f39c12; }

.info-box h3 { margin-top: 0; font-size: 18px; }
.info-box ul { padding-left: 20px; line-height: 1.8; }

/* Step Sections with Side Images */
/* Step Section: Text aur Image ko barabar align karne ke liye */
.step-section {
    display: flex;
    align-items: center; /* Yeh text aur image ko vertically center (middle) kar de ga */
    gap: 50px;           /* Text aur image ke darmiyan munasib fasla */
    margin-bottom: 80px; /* Har step ke darmiyan professional gap */
    width: 100%;
}

/* Image container ka size aur center alignment */
.step-image {
    flex: 0 0 350px;    /* Image ki width ko control mein rakhne ke liye */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Text container ki styling */
.step-text {
    flex: 1;            /* Baqi bachi hui jagah text le ley ga */
}

/* Image ka actual size aur styling */
.step-image img {
    width: 100%; /* Apne container (350px) ke hisab se fit hogi */
    max-width: 320px; /* Aap is number ko mazeed kam kar sakte hain agar aur chota chahiye */
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08); /* Light shadow for premium look */
    object-fit: contain; /* Image crop nahi hogi */
}

/* Jab screen choti ho (Mobile), toh image wapis full width ho jaye */
@media (max-width: 768px) {
    .step-image {
        flex: 1;
        width: 100%;
        margin-top: 15px;
    }
    .step-image img {
        max-width: 100%;
    }
}


/* FAQ Accordion */
.faq-section {
    margin-top: 50px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

details {
    padding: 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

summary {
    font-weight: 600;
    color: #0056b3;
    outline: none;
}

details p {
    padding-top: 10px;
    color: #555;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .step-section { flex-direction: column; }
}




/* Container ko full width karne ke liye */
.content-container {
    max-width: 100%; /* Pehlay yeh 900px tha, ab full width ho jaye ga */
    margin: 0; 
    padding: 0; /* Extra padding khatam */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header Banner ko full width aur blue background dene ke liye */
.article-header {
    background-color: #007aff; /* Blue color jo aapki image mein hai */
    color: white;
    padding: 60px 10%; /* Left/Right side par text ko thoda gap dene ke liye */
    width: 100%;
    box-sizing: border-box;
}

.article-header h1 {
    font-size: 38px;
    margin-bottom: 15px;
    color: white; /* Header ke andar text white rahay ga */
}

/* Neeche wala content (steps/boxes) ko center mein rakhne ke liye padding */
.article-grid {
    max-width: 1200px; /* Content zyada na failey is liye limit */
    margin: 0 auto;
    padding: 40px 20px;
}

/* Quick Fix box ka style behtar karne ke liye */
.quick-fix {
    background-color: #dbe9f7;
    border-left: 6px solid #1a1a1a; /* Darker border like professional guides */
    padding: 30px;
    margin: 30px 0;
}


/* Step Section ka main container */
.step-section {
    display: flex;
    align-items: center; /* Image aur text ko vertically center karne ke liye */
    gap: 40px;           /* Text aur image ke darmiyan professional gap */
    margin-bottom: 80px; /* Do steps ke darmiyan kafi space (Breathable space) */
    padding: 20px;
    background: #f9f9f9; /* Light background jaisa screenshot mein hai */
    border-radius: 15px;
}

/* Text area ki styling */
.step-text {
    flex: 1;            /* Text ko zyada jagah deni hai */
}

.step-text h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.step-text p {
    line-height: 1.6;    /* Text ko readable banane ke liye line gap */
    color: #555;
}

/* Image container ki styling */
.step-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.step-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px; /* Rounded corners jaisa Screenshot 2 mein hai */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Soft shadow for premium look */
}

/* Mobile responsive banane ke liye */
@media (max-width: 768px) {
    .step-section {
        flex-direction: column; /* Mobile par image niche chali jaye gi */
        gap: 20px;
        margin-bottom: 50px;
    }
}


/* Card image container ka size fix karein */
.card-image {
    width: 100%;
    height: 200px; /* Aap apni pasand ke mutabiq height adjust kar sakte hain */
    overflow: hidden; /* Image container se bahar na nikle */
    border-radius: 12px 12px 0 0; /* Sirf uper ke corners round karne ke liye */
}

/* Image ko container mein fit karne ke liye */
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Is se image stretch nahi hogi aur poore area ko cover karegi */
    display: block;
}


.site-footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 20px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: #007bff; /* Aapka signature blue color */
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: #007bff;
    padding-left: 5px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

.brand-info p {
    color: #aaa;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}


/* Clean & Professional Header */
.site-header {
    background: #007bff; /* Aapka signature blue color */
    padding: 15px 0;
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Logo left, Nav center, Auth right */
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
}

/* Navigation Links Styling */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 35px; /* Links ke darmiyan professional gap */
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: 0.3s;
    opacity: 0.9;
}

.main-nav a:hover {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* Right Side Actions */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.auth-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-link {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
}

.register-pill {
    background: white;
    color: #007bff;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
}

.register-pill:hover {
    background: #f1f4f9;
}

#language {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 4px;
    padding: 2px 5px;
    font-size: 0.85rem;
    cursor: pointer;
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Is se image stretch nahi hogi aur card mein fit ayegi */
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1); /* Hover karne par image thodi zoom hogi */
}


.site-header {
    background: #111;
    color: white;
    padding: 15px 0;
    font-family: Arial, sans-serif;
}

.container.header-main {
    width: 90%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.logo {
    font-size: 22px;
}

/* NAV */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

/* RIGHT SIDE */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.auth-group a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
    cursor: pointer;
    font-size: 14px;
}

.register-pill {
    background: #ff3b3b;
    padding: 6px 12px;
    border-radius: 20px;
}

/* LANG */
.lang-box select {
    padding: 5px;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 999;
}

.modal-box {
    background: #fff;
    width: 320px;
    padding: 20px;
    margin: 10% auto;
    border-radius: 10px;
    position: relative;
    text-align: center;
}

.modal-box h2 {
    margin-bottom: 15px;
}

.modal-box input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.modal-box button {
    width: 100%;
    padding: 10px;
    background: black;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 5px;
}

.close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 22px;
    cursor: pointer;
}


.custom-lang-wrapper {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px; /* Pill shape like Register button */
    padding: 5px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.custom-lang-wrapper:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
}

.custom-lang-wrapper i {
    color: white;
    font-size: 14px;
}

#language-picker {
    background: transparent;
    color: white;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    appearance: none; /* Removes default arrow */
}

#language-picker option {
    color: #333;
}

/* Hide Google's default toolbar for a cleaner look */
.goog-te-banner-frame.skiptranslate, .goog-te-gadget-icon {
    display: none !important;
}
body {
    top: 0px !important;
}

/* Logo Link Styling */
.logo-link {
    text-decoration: none; /* Underline khatam karne k liye */
    color: inherit;       /* Purana color barkarar rakhne k liye */
    display: inline-block;
}

.logo-link:hover {
    opacity: 0.9;         /* Click karte waqt thora sa light effect professional lagta hai */
}

.logo {
    cursor: pointer;      /* Mouse le jane par pointer icon aaye ga */
}



@media (max-width: 768px) {

/* RESET (optional but safe) */
body {
  font-size: 14px;
}

/* HEADER */
.header-main {
  flex-direction: column;
  gap: 10px;
}

.main-nav ul {
  display: flex;
  justify-content: space-between;
}

.main-nav a {
  font-size: 13px;
}

/* HERO */
.hero {
  padding: 50px 15px;
}

.hero h2 {
  font-size: 20px;
}

.hero p {
  font-size: 13px;
}

/* CATEGORY */
.category-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-item {
  padding: 14px;
  border-radius: 10px;
}

.category-text {
  font-size: 13px;
}

/* SUBMENU */
.submenu a {
  font-size: 12px;
}

/* CARDS */
.card-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.card-image img {
  height: 150px;
}

.card-content h3 {
  font-size: 15px;
}

.card-content p {
  font-size: 12px;
}

/* FOOTER */
.footer-grid {
  flex-direction: column;
  gap: 15px;
}

.footer-column h3 {
  font-size: 14px;
}

.footer-column a {
  font-size: 12px;
}

}




@media (max-width: 768px) {

/* PAGE CONTAINER */
.container {
  width: 92%;
}

/* PAGE TITLE */
.page-title {
  font-size: 20px;
  margin: 15px 0;
  line-height: 1.3;
}

/* ARTICLE CONTENT */
.article-content {
  font-size: 14px;
  line-height: 1.7;
}

/* PARAGRAPH SPACING */
.article-content p {
  margin-bottom: 12px;
}

/* HEADINGS */
.article-content h2 {
  font-size: 18px;
  margin: 18px 0 10px;
}

.article-content h3 {
  font-size: 16px;
  margin: 15px 0 8px;
}

/* LISTS */
.article-content ul {
  padding-left: 18px;
  margin-bottom: 12px;
}

.article-content li {
  margin-bottom: 6px;
}

/* IMAGES */
.article-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 10px 0;
}

/* BUTTON / LINKS */
.article-content a {
  color: #007bff;
  text-decoration: none;
}

/* BOXES (Tips / Notes) */
.note-box {
  background: #eef5ff;
  padding: 12px;
  border-left: 4px solid #007bff;
  border-radius: 6px;
  font-size: 13px;
  margin: 15px 0;
}

/* WARNING BOX */
.warning-box {
  background: #fff4e5;
  border-left: 4px solid #ff9800;
  padding: 12px;
  border-radius: 6px;
  font-size: 13px;
  margin: 15px 0;
}

/* STEP BOX (for guides) */
.step-box {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* HEADER FIX (same as homepage mobile) */
.header-main {
  flex-direction: column;
  gap: 10px;
}

.main-nav ul {
  display: flex;
  justify-content: space-between;
}

/* FOOTER */
.footer-grid {
  flex-direction: column;
  gap: 15px;
}

}