* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    overflow-x: hidden;
    background: #f0f4f8;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #1a2a44, #2a6dd9);
    color: white;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

header.hidden {
    transform: translateY(-100%);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeIn 1s ease;
}

.logo h1 i {
    color: #ffd700;
    font-size: 24px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    padding: 8px 15px;
    transition: all 0.3s ease;
    border-radius: 5px;
}

nav ul li a:hover,
nav ul li a.active {
    color: #1a2a44;
    background: #ffd700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.login-btn {
    background: #ffd700;
    color: #1a2a44;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.login-btn:hover {
    transform: scale(1.05);
    background: #ffec80;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Post Hero Section */
.post-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('digisys/images/aboutdigisys.jpg') #1a2a44;
    background-size: cover;
    background-position: center;
    padding: 100px 0 60px;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.post-hero h1 {
    font-size: 42px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    animation: slideInFromLeft 1s ease;
    margin-bottom: 20px;
}

.post-hero h1 i {
    color: #ffd700;
    font-size: 16px;
}

.post-hero .post-meta {
    font-size: 16px;
    color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: fadeIn 1s ease;
}

.post-hero .post-meta i {
    color: #2a6dd9;
    font-size: 18px;
}

/* Post Content Section */
.post-content {
    padding: 80px 0;
    background: #ffffff;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.main-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: techFadeIn 0.8s ease-out;
}

.main-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.main-content h2 {
    font-size: 26px;
    color: #1a2a44;
    margin: 30px 0 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-content h2 i {
    color: #2a6dd9;
    font-size: 24px;
    transition: all 0.3s ease;
}

.main-content h2:hover i {
    color: #ffd700;
}

.main-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.main-content li {
    font-size: 16px;
    color: #444;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.main-content li i {
    font-size: 18px;
    color: #2a6dd9;
    margin-top: 4px;
    transition: all 0.3s ease;
}

.main-content li:hover i {
    color: #ffd700;
}

.main-content a {
    color: #2a6dd9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-content a:hover {
    color: #ffd700;
}

.main-content .cta {
    background: linear-gradient(135deg, #2a6dd9, #1a4db3);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    display: inline-block;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.main-content .cta:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #1a4db3, #2a6dd9);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Sidebar Styles */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-box {
    background: #f9fbff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: techFadeIn 0.8s ease-out;
}

.sidebar-box h3 {
    font-size: 20px;
    color: #1a2a44;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-box h3 i {
    color: #2a6dd9;
    font-size: 22px;
}

.sidebar-box ul {
    list-style: none;
    padding: 0;
}

.sidebar-box li {
    margin-bottom: 15px;
}

.sidebar-box li a {
    font-size: 16px;
    color: #444;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.sidebar-box li a i {
    color: #2a6dd9;
    font-size: 16px;
}

.sidebar-box li a:hover {
    color: #ffd700;
    padding-left: 10px;
}

.sidebar-box li a:hover i {
    color: #ffd700;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #2a6dd9;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #ffd700;
    color: #1a2a44;
    transform: scale(1.15);
}

.sidebar-box p {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-box p i {
    font-size: 18px;
    color: #2a6dd9;
    transition: all 0.3s ease;
}

.sidebar-box p:hover i {
    color: #ffd700;
}

.sidebar-box a {
    color: #2a6dd9;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-box a:hover {
    color: #ffd700;
}

/* Footer Section */
.footer {
    padding: 80px 0 30px;
    background: linear-gradient(135deg, #1a2a44, #2a6dd9);
    color: white;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2), transparent 70%);
    opacity: 0.4;
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-intro {
    text-align: center;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.footer-about, .footer-links, .footer-map, .footer-contact {
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
}

.footer-about:hover, .footer-links:hover, .footer-map:hover, .footer-contact:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.footer-about h3, .footer-links h3, .footer-map h3, .footer-contact h3 {
    font-size: 22px;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-about h3 i, .footer-links h3 i, .footer-map h3 i, .footer-contact h3 i {
    font-size: 24px;
}

.footer-about p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #ffd700;
    color: #1a2a44;
    transform: scale(1.15);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    font-size: 14px;
    color: #ffd700;
}

.footer-links a:hover {
    color: #ffd700;
    padding-left: 10px;
}

.footer-map iframe {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-contact p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    font-size: 18px;
    color: #ffd700;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-bottom p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-bottom p i {
    font-size: 14px;
    color: #ffd700;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInFromLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes techFadeIn {
    from { opacity: translateY(30px); opacity: 0; }
    to { opacity: transform: translateY(0); }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: repeat(1fr, 1fr);
    }

    .sidebar {
        width: 100%;
        max-width: none;
    }

    .main-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    header {
        padding: 15px;
    }

    .logo {
        font-size: 24px;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #1a2a44, #2a6dd9);
        padding: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul li {
        padding: 12px 20px;
        font-size: 16px;
    }

    .login-btn {
        margin: 10px;
    }

    .post-hero {
        padding: 80px 0 40px;
    }

    .post-hero h1 {
        font-size: 36px;
    }

    .post-hero h1 i {
        font-size: 32px;
    }

    .post-hero .post-meta {
        font-size: 18px;
    }

    .post-content {
        padding: 60px 0;
    }

    .main-content {
        padding: 25px;
    }

    .main-content h2 {
        font-size: 24px;
    }

    .main-content h2 i {
        font-size: 22px;
    }

    .main-content p {
        font-size: 15px;
    }

    .main-content li {
        font-size: 14px;
    }

    .sidebar-box {
        font-size: 15px;
    }

    .sidebar-box h3 {
        font-size: 18px;
    }

    .contact-cta {
        padding: 20px;
    }

    .contact-intro {
        font-size: 18px;
        max-width: 90%;
    }

    .contact-details p {
        font-size: 16px;
    }

    .contact-details i {
        font-size: 20px;
    }

    .cta {
        padding: 12px 30px 20px;
    font-size: 16px;
    }

    .footer {
        padding: 60px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-about h3, .footer-links h3, .footer-map h3, .footer-contact h3 {
        font-size: 20px;
    }

    .footer-map iframe {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 20px;
    }

    .post-hero h1 {
        font-size: 28px;
    }

    .post-hero h1 i {
        font-size: 24px;
    }

    .post-hero .post-meta {
        font-size: 14px;
    }

    .main-content h2 {
        font-size: 20px;
    }

    .main-content h2 i {
        font-size: 18px;
    }

    .sidebar-box h3 i {
        font-size: 18px;
    }
}