:root {
    --primary: #004080;
    --dark: #001f3f;
    --light: #ffffff;
    --bg: #f4f6f8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #4e89c4;
    color: #222;
    line-height: 1.6;
    scroll-behavior: smooth;
    cursor: default;
    user-select: none;
    /* Optional: disable text selection */
}
header {
    background-color: var(--dark);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.logo {
    font-size: 24px;
    color: #87cefa;
    font-weight: bold;
    animation: logoBounce 2s infinite;
    cursor: pointer;
}

/* Bounce keyframes */
@keyframes logoBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}
/* Logo */

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    padding: 6px 0;
}

nav ul li a:hover {
    color: #87cefa;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--dark);
    flex-direction: column;
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.dropdown a {
    color: var(--light);
    padding: 10px 15px;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown a:hover {
    background-color: #003060;
}

nav ul li:hover .dropdown {
    display: flex;
}

.feature-box {
    background-color: #fefefe;
    padding: 20px 25px;
    border-left: 4px solid var(--primary);
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.feature-box h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.feature-box.warning {
    border-left-color: #e8a200;
    background-color: #fff8e1;
}

.feature-box.danger {
    border-left-color: #d32f2f;
    background-color: #ffebee;
}

.feature-box ul {
    padding-left: 20px;
}

.feature-box ul li {
    margin-bottom: 8px;
}

.feature-box pre {
    background-color: #f4f6f8;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    overflow-x: auto;
}


.menu-toggle {
    display: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        background-color: var(--dark);
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        display: none;
    }

    nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}
.android-header {
    background-color: transparent;
    padding: 30px 25px;
    border-radius: 12px;
    margin-bottom: 40px;
    text-align: center;
   
}

.android-header h2 {
    font-size: 30px;
    color: #39ff14;
    margin-bottom: 10px;
    animation: popIn 0.8s ease;
}

.android-header h2 i {
    margin-right: 8px;
    animation: bounce 2s infinite;
}

.android-header p {
    font-size: 16px;
    color: #444;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media screen and (max-width: 768px) {
    .android-header {
        padding: 20px;
    }

    .android-header h2 {
        font-size: 24px;
    }

    .android-header p {
        font-size: 14px;
    }
}


/* --- General Styles --- */
main {
    margin-top: 100px;
    padding: 20px;
}



.section {
    background: var(--light);
    margin: 30px auto;
    padding: 30px;
    max-width:  1500px; ;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}



.section h2 {
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--primary);
}

.section ul {
    padding-left: 20px;
}

.section ul li {
    margin-bottom: 10px;
}

.back-btn {
    display: inline-block;
    margin: 30px auto;
    padding: 10px 20px;
    background-color: rgba(0, 64, 128, 0.7);
    /* Softer primary color with reduced opacity */
    color: rgba(255, 255, 255, 0.8);
    /* Slightly less visible white text */
    text-decoration: none;
    border-radius: 6px;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
    /* Smooth transitions */
    opacity: 0.8;
    /* Overall reduced opacity */
}

.back-btn:hover {
    background-color: var(--primary);
    /* Full primary color on hover */
    color: #fff;
    /* Full white text on hover */
    opacity: 1;
    /* Fully opaque on hover */
}

footer {
    background-color: var(--dark);
    color: white;
    padding: 40px 20px 10px;
    margin-top: 50px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    gap: 40px;
}

.footer-column h3 {
    margin-bottom: 10px;
    color: #fff;
}

.footer-column p,
.footer-column li,
.footer-column a {
    font-size: 14px;
    color: #ccc;
    text-decoration: none;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.social-icons a {
    margin-right: 12px;
    font-size: 18px;
    color: white;
}

.certifications img {
    margin-top: 10px;
    width: 40px;
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    color: #aaa;
    font-size: 13px;
    margin-top: 30px;
}



/* --- Android Section Styles (Less Visible Background & Auto-Adjust) --- */



.android-rooting-section {
    width: 100%;
    max-width: 1500px;
    margin: 60px auto;
    padding: clamp(20px, 4vw, 40px);
    background: transparent;
    border-radius: 14px;
    backdrop-filter: blur(10px);
    color: #f0f0f0;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 0 20px rgba(0, 255, 200, 0.08);
    box-sizing: border-box;
}

.android-header {
  text-align: center;
  margin-bottom: 30px;
}

.android-header h2 {
  font-size: 2.2rem;
  color: #037560;
  margin-bottom: 10px;
  
}

.android-header p {
  font-size: 1rem;
  color: #a33232;
}

.android-rooting-content h5 {
  margin: 15px 0 10px;
  font-size: 1.1rem;
 
  color: #0ff;

}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}

.grid div {
  background: linear-gradient(135deg, #111, #1a1a1a);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 18px rgba(0, 255, 170, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: 0.3s ease;
}

.grid div:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 255, 200, 0.2);
}

.grid ul {
  padding-left: 20px;
}

.grid li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #e0ffff;
}

.help-box {
  background: linear-gradient(to right, #1f4037, #99f2c8);
  color: #111;
  padding: 20px;
  margin-top: 30px;
  border-left: 5px solid #99e9c2;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.help-box i {
  margin-right: 10px;
  color: #db0909;
}

@media (max-width: 768px) {
    .android-header h2 {
        font-size: 1.6rem;
    }

    .android-rooting-content h5 {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
  .android-rooting-section {
    padding: 25px;
  }

  .android-header h2 {
    font-size: 1.6rem;
  }

  .android-rooting-content h5 {
    font-size: 1rem;
  }
}



/* --- Xposed Framework Section Styles (Less Visible Background & Auto-Adjust) --- */
.xposed-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* Adjusted minmax for responsiveness */
    gap: 1.5rem;
    /* Responsive gap */
    margin: 1.5rem 0;
    /* Responsive margin */
}

.xposed-feature-box {
    background: rgba(240, 244, 250, 0.8);
    /* Lighter, less visible background */
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    /* Responsive padding */
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    /* Softer shadow */
}

.xposed-warning-box {
    background-color: rgba(255, 243, 205, 0.8);
    /* Lighter, less visible background */
    border-left: 5px solid #ffcc00;
    padding: 1rem 1.2rem;
    /* Responsive padding */
    margin: 2rem 0;
    /* Responsive margin */
    border-radius: 6px;
    color: #856404;
}

#xposed-framework ul {
    padding-left: 1.5rem;
    /* Responsive padding */
    margin-bottom: 1.5rem;
}

#xposed-framework h2 {
    color: var(--primary);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    /* Responsive font size */
    margin-bottom: 1rem;
}

#xposed-framework h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    /* Responsive font size */
    color: #003366;
}

#xposed-framework p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    /* Responsive font size */
}

/* --- Nethunter Theme Section Styles (Less Visible Background & Auto-Adjust) --- */
.nethunter-theme {
    background: rgba(15, 15, 15, 0.85);
    color: #f0f0f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 4rem 2rem;
    border-radius: 12px;
    margin-top: 3rem;
    margin-left: auto;
    margin-right: auto;

    /* 📏 Smart responsive width */
    width: 100%;
    max-width: 1500px;
    /* Limits to 1500px on large screens */
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .nethunter-theme {
        padding: 3rem 1.5rem;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .nethunter-theme {
        padding: 2rem 1rem;
        margin-top: 1.5rem;
    }
}

.nethunter-logo {
    max-width: clamp(120px, 20vw, 180px);
    /* Responsive logo size */
    display: block;
    margin: 0 auto 1.5rem;
    /* Responsive margin */
}

.nethunter-header {
    text-align: center;
    margin-bottom: 2.5rem;
    /* Responsive margin */
}

.nethunter-header h2 {
    font-size: clamp(1.8rem, 4.5vw, 2rem);
    /* Responsive font size */
    margin: 0.5rem 0;
    color: #00adef;
}

.nethunter-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    /* Responsive font size */
    color: #ccc;
}

/* Categories */
.nethunter-category {
    margin-bottom: 2.5rem;
    /* Responsive margin */
}

.nethunter-category h3 {
    font-size: clamp(1.2rem, 3.5vw, 1.4rem);
    /* Responsive font size */
    color: #00adef;
    border-left: 4px solid #00adef;
    padding-left: 12px;
    margin-bottom: 1.2rem;
    /* Responsive margin */
}

/* Tool Cards */
.nethunter-tool-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    /* Adjusted minmax for responsiveness */
    gap: 1rem;
    /* Responsive gap */
}

.nethunter-tool {
    background: rgba(26, 26, 26, 0.9);
    /* Slightly less opaque dark background */
    border: 1px solid #333;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    /* Responsive padding */
    transition: transform 0.2s ease, border-color 0.3s ease;
    cursor: default;
}

.nethunter-tool:hover {
    transform: translateY(-4px);
    border-color: #00adef;
}

.nethunter-tool h4 {
    margin: 0 0 0.5rem;
    font-size: clamp(1rem, 2.8vw, 1.1rem);
    /* Responsive font size */
    color: #ffffff;
}

.nethunter-tool p {
    font-size: clamp(0.8rem, 2.2vw, 0.9rem);
    /* Responsive font size */
    color: #aaa;
}

/* Warning Box */
.nethunter-warning-box {
    background: rgba(26, 26, 26, 0.9);
    /* Slightly less opaque dark background */
    border-left: 4px solid #f44336;
    padding: 1rem 1.2rem;
    /* Responsive padding */
    margin: 2.5rem 0 1.2rem;
    /* Responsive margin */
    border-radius: 8px;
}

.nethunter-warning-box h4 {
    margin: 0 0 0.5rem;
    color: #f44336;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    /* Responsive font size */
}

.nethunter-warning-box p {
    margin: 0;
    font-size: clamp(0.8rem, 2.2vw, 0.9rem);
    /* Responsive font size */
    color: #ccc;
}


/* Custom ROM Section Styles (Less Visible Background & Auto-Adjust) */
.custom-rom {
    max-width: 1500px;
    margin: 60px auto;
    padding: 40px 20px;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(to right, #0f0f0f, #1c1c1c);
    color: #f2f2f2;
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(0, 255, 200, 0.08);
}

.custom-rom h2,
.custom-rom h3 {
    color: #00ffd5;
    margin-bottom: 16px;
    font-size: clamp(1.5rem, 4vw, 2rem);
    text-shadow: 0 0 6px rgba(0, 255, 200, 0.3);
}

.custom-rom p,
.custom-rom li {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 10px;
}

.custom-rom ul,
.custom-rom ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.custom-rom-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 30px;
}

.custom-rom-table th,
.custom-rom-table td {
    padding: 12px;
    border: 1px solid #333;
    text-align: left;
}

.custom-rom-table th {
    background-color: #00ffd51a;
    color: #00ffd5;
}

.custom-rom-table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.03);
}

.custom-rom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.custom-rom-box {
    background: #1e1e1e;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #333;
    box-shadow: 0 0 10px rgba(0, 255, 200, 0.04);
    transition: 0.3s ease;
}

.custom-rom-box:hover {
    transform: translateY(-4px);
    border-color: #00ffd5;
}

.custom-rom-warning {
    border-left: 5px solid #f44336;
    background: rgba(50, 10, 10, 0.6);
    padding: 16px;
    border-radius: 10px;
    margin: 20px 0;
}

@media (max-width: 600px) {

    .custom-rom-table th,
    .custom-rom-table td {
        font-size: 0.9rem;
    }
}

/* Download Button */
.back-btn {
    /* This class is also used for the download button */
    display: inline-block;
    background: #00adef;
    color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.back-btn:hover {
    background: #008fca;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }
}

