/* Base body styles: sets font, background, and text color */


/* Base body styles: sets font, background, and text color */

body {
    margin: 0;
    /* Remove default margin */
    padding: 0;
    /* Remove default padding */
    font-family: Arial, sans-serif;
    /* Clean, modern font */
    background-color: #ffffff;
    /* Light background color */
    color: #000;
    /* Default text color */
    /* line-height: 1.6; Improved readability */
    box-sizing: border-box;
    /* Include padding and border in element's total width and height */
}


/* Header styles: background, text color, padding, and layout */

.header {
    background-color: #901f1f;
    /* Dark red background */
    color: #fff;
    /* White text */
    padding: 25px 10px;
    /* Padding around header */
    display: flex;
    justify-content: center;
    /* border: #000000 4px solid; /* Black border around header */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth 
  text-align: center;  */
}


/* Container for header content: aligns logo and text */

.header-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    text-align: center;
}


/* Logo image size */

.header-logo img {
    height: 80px;
    width: auto;
    border-radius: 38px;
    /* Slightly rounded corners */
    box-shadow: 12px 12px 12px rgba(0, 0, 0, 0.2);
    /* Subtle shadow */
    image-resolution: from-image;
    /* Ensure high-res images look sharp */
    transition: transform 0.3s ease;
    /* Smooth hover effect */
    border: #ffffff 2px solid;
    /* Black border around logo */
}


/* Main header text size */

.header-text h1 {
    margin: 0;
    font-size: 2.5em;
}


/* Header tagline style */

.header-text p {
    margin: 5px 0 0;
    font-size: 1.1em;
}


/* Navigation bar styles: background, layout, and shadow */

.navbar {
    background-color: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1000;
}


/* Wrapper for menu and nav links */

.menu-wrapper {
    position: relative;
}


/* Navigation links layout */

.nav-links {
    display: flex;
}


/* Navigation link styles */

.navbar a {
    padding: 14px 15px;
    color: white;
    text-decoration: none;
}


/* Navigation link hover effect */

.navbar a:hover {
    background-color: #1fbdec;
}


/* Hamburger menu button for mobile */

.hamburger {
    display: none;
    background: none;
    border: 0;
    font-size: 26px;
    color: white;
    cursor: pointer;
}


/* Search bar container */

.search-container {
    position: relative;
}


/* Search input styling */

#searchInput {
    padding: 6px 10px;
    border: none;
    border-radius: 4px;
    outline: none;
}


/* Suggestions dropdown styling */

#suggestions {
    position: absolute;
    top: 35px;
    left: 0;
    background: white;
    border: 1px solid #ccc;
    width: 200px;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 10;
}


/* Individual suggestion style */

#suggestions div {
    padding: 8px;
    cursor: pointer;
}


/* Suggestion hover effect */

#suggestions div:hover {
    background: #f1f1f1;
}


/* Responsive navigation for mobile screens */

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #333;
        width: 130px;
        flex-direction: column;
        padding: 8px 0;
        border-radius: 8px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    }
    .nav-links a {
        display: block;
        padding: 10px 14px;
        text-align: left;
    }
    /* Show nav links on hover or focus */
    .menu-wrapper:hover .nav-links,
    .menu-wrapper:focus-within .nav-links {
        display: flex;
    }
}


/* Announcement bar styles: layout, colors, and shadow */

.announcement-bar {
    display: flex;
    align-items: center;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}


/* Announcement title section */

.announcement-title {
    background-color: #318ef2;
    color: white;
    padding: 9px 20px;
    font-weight: bold;
    white-space: nowrap;
}


/* Announcement content area */

.announcement-content {
    background: white;
    flex: 1;
    overflow: hidden;
    padding: 10px;
}


/* Scrolling text animation for announcements */

.announcement-content {
    overflow: hidden;
    position: relative;
    width: 100%;
    background: white;
}

.scroll-text {
    display: inline-block;
    animation: scroll-left 15s linear infinite;
    white-space: nowrap;
    padding-left: 100%;
    /* Start completely off-screen */
}


/* Icon color in announcement */

.scroll-text i {
    color: #d81b60;
    margin-right: 10px;
}


/* Seamless infinite scroll keyframes */

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
        /* Start completely off-screen to the right */
    }
    100% {
        transform: translateX(-100%);
        /* Move completely off-screen to the left */
    }
}


/* Pause scroll animation on hover */

.announcement-content:hover .scroll-text {
    animation-play-state: paused;
}




/* typinf pdf and image compreesor*/

/* Tools Section Styles */
.tools-section {
    background: Black;
    padding: 15px 0;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.30);
}


.tools-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tool-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 120px;
    background: #593bc8e0;
}

.tool-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.tool-link i {
    font-size: 24px;
    margin-bottom: 8px;
}

.tool-link span {
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
    .tools-container {
        gap: 15px;
    }
    
    .tool-link {
        padding: 12px 20px;
        min-width: 100px;
    }
    
    .tool-link i {
        font-size: 20px;
    }
    
    .tool-link span {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .tools-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .tool-link {
        width: 80%;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    
    .tool-link i {
        margin-bottom: 0;
        font-size: 18px;
    }
}


/*tools code end*/



/* Main container for page content */

.container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}


/* Grid layout for featured boxes */

.featured-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
    margin-top: 10px;
}

.featured-grid-1 {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
    margin-top: 10px;
}


/* Individual featured box styles */

.featured-box {
    display: block;
    width: 220px;
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.15s ease-in-out;
}


/* Featured box hover effect: rises up */

.featured-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 14px rgba(97, 46, 46, 0.25);
}


/* Featured box active effect: pressed down */

.featured-box:active {
    transform: translateY(5px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}


/* Different background colors for featured boxes */

.featured-box.yellow {
    background: #687310;
}

.featured-box.blue {
    background: #4285f4;
}

.featured-box.red {
    background: #ea4335;
}

.featured-box.white {
    background: #cb923d;
    color: #ffffff;
}


/* Main content grid layout */

.main-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}


/* Section styles for content blocks */

section {
    background-color: white;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
}


/* Section heading styles */

section h2 {
    margin-top: 0;
    font-size: 1.25em;
    background-color: #d80707bd;
    color: white;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
    text-align: center;
}


/* List styles for items */

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    padding: 8px 1px;
    border-bottom: 1px solid #b5c3cd;
}

ul li a {
    color: #0000ee;
    text-decoration: none;
}

ul li a:hover {
    text-decoration: underline;
}







/* Footer styles: top and bottom sections */

/* ===== FOOTER STYLES ===== */
.footer-top {
    background-color: #222;
    color: white;
    padding: 40px 0 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 10px;
}

.footer-section h3 {
    color: #1fbdec;
    margin-bottom: 20px;
    font-size: 1.2em;
    position: relative;
    padding-bottom: 10px;
    text-decoration: none;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #901f1f;
}

.footer-section p {
    margin-bottom: 15px;
    color: #ccc;
    line-height: 1.5;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.footer-section ul li a:hover {
    color: #1fbdec;
    text-decoration: none;
}

.footer-section ul li a i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #333;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: #1fbdec;
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #111;
    color: #aaa;
    text-align: center;
    padding: 20px 10px;
    font-size: 0.85em;
    border-top: 1px solid #333;
}

.footer-bottom p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

.footer-bottom a {
    color: #1fbdec;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-section {
        min-width: 100%;
        margin: 0;
    }
    
    .footer-section h3 {
        font-size: 1.1em;
    }
}
 /*-----------footer code end--------------------*/
 
 

/* Ads container: sticky ad position */

.ads-container {
    position: fixed;
    top: 100px;
    right: 10px;
    width: 160px;
    z-index: 9999;
}


/* Responsive ad container for tablets */

@media (max-width: 1024px) {
    .ads-container {
        position: static;
        margin: 10px auto;
        width: 100%;
        text-align: center;
    }
}


/* Hide ads on small mobile screens */

@media (max-width: 768px) {
    .ads-container {
        display: none;
    }
}


/* Highlight NEW badges */


/* NEW badge with pulse animation */

.new-badge {
    background: #ff3b3b;
    /* Red background */
    color: #ffffff;
    /* White text */
    font-size: 10px;
    /* Small font size */
    font-weight: bold;
    /* Bold text */
    padding: 2px 6px;
    /* Padding inside badge */
    border-radius: 12px;
    /* Rounded corners */
    margin-left: 8px;
    /* Space to the left */
    box-shadow: 0 2px 8px rgba(255, 59, 59, 0.3);
    /* Soft shadow */
    letter-spacing: 1px;
    /* Space between letters */
    animation: pulse 1.5s infinite;
    /* Pulse effect animation */
}


/* Pulse animation for .new-badge */

@keyframes pulse {
    0% {
        transform: scale(1);
        /* Normal size */
        box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.7);
        /* Initial shadow */
    }
    70% {
        transform: scale(1.1);
        /* Slightly bigger */
        box-shadow: 0 0 10px 5px rgba(255, 59, 59, 0);
        /* Glow effect */
    }
    100% {
        transform: scale(1);
        /* Back to normal */
        box-shadow: 0 0 0 0 rgba(255, 59, 59, 0);
        /* Remove shadow */
    }
}


/* NEW badge with wave animation */

.new-badge2 {
    background: #ff3b3b;
    /* Red background */
    color: #ffffff;
    /* White text */
    font-size: 11px;
    /* Slightly larger font */
    font-weight: bold;
    /* Bold text */
    padding: 2px 10px;
    /* More padding */
    border-radius: 12px;
    /* Rounded corners */
    margin-left: 8px;
    /* Space to the left */
    box-shadow: 0 2px 8px rgba(255, 59, 59, 0.3);
    /* Soft shadow */
    letter-spacing: 1px;
    /* Space between letters */
    animation: wave 1.2s infinite;
    /* Wave effect animation */
    display: inline-block;
    /* Inline block for transform */
}


/* Wave animation for .new-badge2 */

@keyframes wave {
    0% {
        transform: rotate(0deg) scale(1);
    }
    20% {
        transform: rotate(-10deg) scale(1.1);
    }
    40% {
        transform: rotate(10deg) scale(1.1);
    }
    60% {
        transform: rotate(-10deg) scale(1.1);
    }
    80% {
        transform: rotate(10deg) scale(1.1);
    }
    100% {
        transform: rotate(0deg) scale(1);
    }
}


/* NEW badge with flag hoisting and waving animation */

.new-badge3 {
    background: #ff3b3b;
    /* Red background */
    color: #ffffff;
    /* White text */
    font-size: 11px;
    /* Slightly larger font */
    font-weight: bold;
    /* Bold text */
    padding: 2px 10px;
    /* More padding */
    border-radius: 12px;
    /* Rounded corners */
    margin-left: 8px;
    /* Space to the left */
    box-shadow: 0 2px 8px rgba(255, 59, 59, 0.3);
    /* Soft shadow */
    letter-spacing: 1px;
    /* Space between letters */
    display: inline-block;
    /* Inline block for transform */
    animation: flagHoist 2s ease-out forwards, wave 1.2s 2s infinite;
    /* Hoist up, then wave */
}


/* Keyframes for flag hoisting (moving up) */

@keyframes flagHoist {
    0% {
        transform: translateY(40px);
        opacity: 0;
    }
    80% {
        transform: translateY(-5px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Keyframes for flag waving (side-to-side rotation) */

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }
    20% {
        transform: rotate(-10deg);
    }
    40% {
        transform: rotate(10deg);
    }
    60% {
        transform: rotate(-10deg);
    }
    80% {
        transform: rotate(10deg);
    }
    100% {
        transform: rotate(0deg);
    }
}


/* End of CSS file */