/* =====================================================
   PixelPath Digital - Main Stylesheet
   ===================================================== */

/* ----------- Global Reset ----------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f7fb;
    color: #222;
    line-height: 1.6;
}

/* ----------- Header / Nav ----------- */
header {
    background: #0a2540;
    color: white;
    padding: 15px 20px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
}

nav a.active {
    font-weight: bold;
    border-bottom: 2px solid white;
}

/* Sticky shrinking nav */
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

/* ----------- Cards ----------- */
.card {
    background: white;
    padding: 20px;
    margin: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-3px);
}

/* ----------- Buttons ----------- */
button,
.btn {
    padding: 10px 18px;
    border: none;
    background: #0a2540;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

button:hover,
.btn:hover {
    opacity: 0.85;
}

/* ----------- Sidebar ----------- */
.sidebar {
    background: white;
    padding: 15px;
    border-radius: 8px;
}

/* ----------- Footer ----------- */
footer {
    background: #0a2540;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 30px;
}

/* ----------- Grid Layout ----------- */
.grid {
    display: grid;
    gap: 15px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ----------- Mobile Menu ----------- */
.mobile-menu {
    display: none;
}

@media(max-width:768px) {
    nav {
        display: none;
    }

    .mobile-menu {
        display: block;
        cursor: pointer;
    }

    .mobile-open nav {
        display: block;
        background: #0a2540;
        padding: 10px;
    }
}

/* ----------- Animations ----------- */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity:0; transform: translateY(10px); }
    to { opacity:1; transform: translateY(0); }
}

/* ----------- Dark Mode ----------- */
.dark-mode {
    background: #121212;
    color: #eee;
}

.dark-mode .card,
.dark-mode .sidebar {
    background: #1e1e1e;
}

.dark-mode header,
.dark-mode footer {
    background: #000;
}



/* Basic body styling */
body{
    margin:0;
    font-family:Arial, sans-serif;
    background:#f5f6fa;
}

/* Main container */
.container{
    width:95%;
    max-width:1200px;
    margin:auto;
}

/* Offer marquee section */
.offer-bar{
    background:#111;
    color:#fff;
    padding:8px;
    overflow:hidden;
}

/* Marquee text size */
.offer-bar marquee{
    font-size:14px;
}

/* Main layout wrapper */
.page-wrapper{
    display:flex;
    gap:20px;
    margin-top:20px;
}

/* Content area */
.main-content{
    flex:3;
}

/* Sidebar */
.sidebar{
    flex:1;
}

/* Card styling */
.card{
    background:white;
    border-radius:8px;
    padding:20px;
    margin-bottom:20px;
    transition:.3s;
}

/* Hover animation */
.card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,.1);
}

/* Dark mode body */
.dark-mode{
    background:#121212;
    color:#eee;
}

/* Dark mode cards */
.dark-mode .card{
    background:#1f1f1f;
}


.arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}


