        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            line-height: 1.6;
        }

        /* Top Header Bar */
        .top-header {
            background: linear-gradient(135deg, #4a90e2, #357abd);
            color: white;
            padding: 12px 0;
            font-size: 14px;
        }

        .top-header .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .contact-info {
            display: flex;
            gap: 30px;
        }

        .contact-info span {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .social-links {
            display: flex;
            gap: 15px;
        }

        .social-links a {
            color: white;
            font-size: 16px;
            transition: opacity 0.3s ease;
        }

        .social-links a:hover {
            opacity: 0.8;
        }

        /* Main Navigation */
        .main-nav {
            background: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            padding: 15px 0;
            border-top: #03bef7 3px solid;
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo img {
            width: 100px;
            height: 70px;
            padding: 8px;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo-container img {
            width: 170px;
            height: 90px;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 30px;
            align-items: center;
        }

        .active {
            color: #4a90e2 !important;
        }

        .nav-menu li a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            padding: 10px 5px;
            transition: color 0.3s ease;
            position: relative;
        }

        .nav-menu li a:hover {
            color: #4a90e2;
        }

        .nav-menu li a::after {
            content: '';
            position: absolute;
            bottom: 5px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            background: #4a90e2;
            transition: width 0.3s ease;
        }

        .nav-menu li a:hover::after {
            width: 100%;
        }

        .dropdown-arrow::after {
            content: '▼';
            font-size: 10px;
            margin-left: 5px;
            opacity: 0.7;
        }

        /* Hamburger styles */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.nav-toggle .bar {
    width: 28px;
    height: 3px;
    background: #357abd;
    border-radius: 2px;
    transition: all 0.3s;
    display: block;
}

        .enquire-btn {
            background: linear-gradient(135deg, #28a745, #20c457);
            color: white;
            padding: 12px 25px;
            border: none;
            border-radius: 25px;
            font-weight: 600;
            text-transform: uppercase;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .enquire-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
        }
        

/* Blog Hero Section */
.blog-hero {
    position: relative;
    min-height: 400px;
    padding: 100px 0 80px 30px;
    background: url('../graduation.jpg') center center/cover no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    z-index: 1;
    overflow: hidden;
}

.blog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(44, 65, 104, 0.55); /* semi-transparent gray overlay */
    z-index: 1;
}
.blog-hero-content {
    color: #fff;
    position: relative;
    font-family: 'Times New Roman', Times, serif;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(.34,1.56,.64,1), transform 1s cubic-bezier(.34,1.56,.64,1);
    z-index:    2;
}
.blog-hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}
.blog-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 18px;
    letter-spacing: 1px;
}
.blog-hero p {
    font-size: 1.5rem;
    color:rgb(221, 223, 221);
    margin-bottom: 0;
}

/* Blog Filters */
.blog-filters {
    padding: 40px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.filter-controls {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.search-input, .tag-filter {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.search-input {
    min-width: 300px;
    flex: 1;
    max-width: 400px;
}

.search-input:focus, .tag-filter:focus {
    outline: none;
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

.tag-filter {
    min-width: 200px;
    cursor: pointer;
}

/* Blog Posts Grid */
/* Blog Posts Grid */
.blog-posts {
    padding: 100px 0;
    background: white;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 10px;
    width: 100%;
}

.post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}


.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.post-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-date-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(42, 82, 152, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    line-height: 1.4;
}

.post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #2a5298;
}

.post-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    background: #f8f9fa;
    color: #495057;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2a5298;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #1e3c72;
    gap: 12px;
}

/* Loading and Error States */
.loading, .no-posts, .error-message {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.loading i, .no-posts i, .error-message i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ccc;
}

.loading i {
    color: #2a5298;
}

.error-message i {
    color: #dc3545;
}

.retry-btn {
    background: #2a5298;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.retry-btn:hover {
    background: #1e3c72;
}

/* Post Modal */
.post-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* Full Post Styles */
.full-post {
    line-height: 1.7;
}

.post-hero-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.post-header-content {
    padding: 30px;
    border-bottom: 1px solid #e9ecef;
}

.post-header-content .post-title {
    font-size: 2.2rem;
    margin: 20px 0;
    color: #333;
}

.post-header-content .post-meta {
    margin-bottom: 20px;
}

.post-header-content .post-tags {
    margin: 0;
}

.full-post .post-content {
    padding: 40px;
    font-size: 1.1rem;
}

.full-post .post-content h3 {
    color: #2a5298;
    margin: 30px 0 15px 0;
    font-size: 1.4rem;
}

.full-post .post-content ul, .full-post .post-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.full-post .post-content li {
    margin-bottom: 8px;
}

.post-footer {
    padding: 30px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.share-buttons {
    margin-bottom: 30px;
}

.share-buttons h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.1rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.twitter:hover {
    background: #0d8bd9;
    transform: translateY(-2px);
}

.share-btn.facebook {
    background: #4267b2;
    color: white;
}

.share-btn.facebook:hover {
    background: #365899;
    transform: translateY(-2px);
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.linkedin:hover {
    background: #005885;
    transform: translateY(-2px);
}

.share-btn.whatsapp {
    background: #25d366;
    color: white;
}

.share-btn.whatsapp:hover {
    background: #1ebe57;
    transform: translateY(-2px);
}

.cta-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #2a5298;
}

.cta-section h4 {
    color: #2a5298;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.cta-section p {
    color: #666;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #2a5298;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #1e3c72;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(42, 82, 152, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    padding: 60px 20px 30px;
}

    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
    }

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #e8f4f8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-text {
    font-size: 0.9rem;
    color: #e8f4f8;
    max-width: 600px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

        /* Responsive menu */
@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }
    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 20px 0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        display: none;
        z-index: 1001;
    }
    .nav-menu.open {
        display: flex;
    }
    .nav-menu li {
        width: 100%;
    }
    .nav-menu li a {
        display: block;
        width: 100%;
        padding: 15px 30px;
        color: #23406e;
        border-bottom: 1px solid #f0f0f0;
    }
    .nav-menu li:last-child a {
        border-bottom: none;
    }
    .enquire-btn {
        display: none;
    }
    .nav-container {
        position: relative;
    }
}

        /* Responsive Design */
        @media (max-width: 768px) {
    .top-header {
        display: none !important;
    }


            .nav-menu {
                display: none;
            }

            .hero-container {
                grid-template-columns: 1fr;
                gap: 40px;
                text-align: left;
            }

            .blog-hero h1 {
                font-size: 3.6rem;
            }
            .blog-hero p {
                font-size: 2.5rem;
            }
            .hero-image {
                height: 350px;
            }
        }

/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero-content {
        padding: 50px 0 60px;
    }
    
    .blog-hero h1 {
        font-size: 3.2rem;
    }

    .blog-hero p { font-size: 2.5rem; }

    
    .filter-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-input {
        min-width: auto;
        
        width: 100%;
    }
    
    .tag-filter {
        min-width: auto;
        width: 100%;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-card {
        margin: 0 10px;
    }
    
    .modal-content {
        width: 75%;
        margin: auto;
        max-height: 95vh;
    }
    
    .post-header-content .post-title {
        font-size: 1.8rem;
    }
    
    .full-post .post-content {
        padding: 25px;
        font-size: 1rem;
    }
    
    .post-footer {
        padding: 20px;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .share-btn {
        justify-content: center;
        margin-bottom: 8px;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 8px;
    }

        .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .blog-hero h1 {
        font-size: 2.2rem;
    }
    
    .blog-hero p {
        font-size: 1.5rem;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .post-title {
        font-size: 1.1rem;
    }
    
    .modal-content {
        width: 98%;
        margin: 1% auto;
        border-radius: 8px;
    }
    
    .post-header-content {
        padding: 20px;
    }
    
    .full-post .post-content {
        padding: 20px;
    }
}

/* Animation Classes */
.animated-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animated-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar for Modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Print Styles */
@media print {
    .post-modal {
        position: static !important;
        background: none !important;
    }
    
    .modal-content {
        box-shadow: none !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    .modal-close,
    .share-buttons,
    .cta-section {
        display: none !important;
    }
}

/* Simple WhatsApp Button */
.simple-whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.simple-whatsapp-btn:hover {
    background: #20b954;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    color: white;
    text-decoration: none;
}

.simple-whatsapp-btn i {
    font-size: 20px;
}

@media (max-width: 768px) {
    .simple-whatsapp-btn span {
        display: none;
    }
    
    .simple-whatsapp-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }
    
    .simple-whatsapp-btn i {
        font-size: 24px;
    }
}