/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    min-height: 100vh;
}

/* Header Styles */
.header {
    position: relative;
    height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.header-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) blur(1px);
    opacity: 0.8;
}

.header-content {
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.logo-container {
    margin-bottom: 15px;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #00695c;
    box-shadow: 0 0 20px rgba(0, 105, 92, 0.6);
    background: white;
    padding: 6px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.college-name {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #00695c;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.page-title {
    font-size: 1.2rem;
    color: #4db6ac;
    font-weight: 300;
}

/* Navigation Styles */
.navigation {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    position: relative;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 0 10px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    position: absolute;
    right: 20px;
}

.nav-menu li {
    margin: 0 10px;
}

.nav-menu a {
    display: block;
    padding: 15px 25px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.nav-menu a:hover::before {
    left: 100%;
}

/* Main Content Styles */
.main-content {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.news-section h2 {
    color: #00695c;
    font-size: 1.8rem;
    margin-bottom: 8px;
    text-align: center;
    position: relative;
    font-weight: 700;
}

.news-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #00695c, #4db6ac);
    border-radius: 2px;
}

/* Featured News */
.featured-news {
    margin-bottom: 35px;
}

.featured-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 105, 92, 0.15);
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
    border-left: 5px solid #00695c;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 105, 92, 0.25);
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-category {
    background: linear-gradient(135deg, #00695c, #004d40);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    align-self: flex-start;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-card h3 {
    color: #00695c;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.read-more {
    color: #00695c;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    align-self: flex-start;
    padding: 8px 20px;
    border: 2px solid #00695c;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: none;
    cursor: pointer;
    font-size: 0.9rem;
    outline: none;
}

.read-more:hover {
    background: #00695c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 105, 92, 0.3);
}

.read-more.expanded {
    background: #00695c;
    color: white;
}

.news-full-content {
    margin-top: 15px;
    border-top: 1px solid #e0e0e0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-top: 0;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s ease-in-out, 
                padding-top 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-full-content.expanded {
    max-height: 600px;
    opacity: 1;
    padding-top: 15px;
}

.news-full-content p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.7;
}

.news-preview {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
    display: block;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 40px;
    align-items: start;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 105, 92, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #00695c;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00695c, #4db6ac);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 105, 92, 0.2);
    border-left-color: #004d40;
}

.news-card.urgent {
    border-left-color: #ff6b6b;
    animation: pulse 2s infinite;
}

.news-card.urgent::before {
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
}

@keyframes pulse {
    0% { box-shadow: 0 10px 30px rgba(32, 178, 170, 0.1); }
    50% { box-shadow: 0 15px 35px rgba(255, 107, 107, 0.2); }
    100% { box-shadow: 0 10px 30px rgba(32, 178, 170, 0.1); }
}

.news-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff6b6b;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: blink 1.5s infinite;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}

.news-card h3 {
    color: #00695c;
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.news-date {
    color: #00695c;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.news-card p:last-of-type {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #008b8b 0%, #20b2aa 100%);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 60px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        height: 200px;
    }
    
    .logo {
        width: 70px;
        height: 70px;
        border: 3px solid #20b2aa;
        padding: 5px;
    }
    
    .college-name {
        font-size: 1.8rem;
    }
    
    .featured-card {
        grid-template-columns: 1fr;
    }
    
    .news-image img {
        height: 200px;
    }
    
    .news-content {
        padding: 25px;
    }
    
    .featured-card h3 {
        font-size: 1.5rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .header {
        height: 180px;
    }
    
    .logo {
        width: 60px;
        height: 60px;
        border: 2px solid #20b2aa;
        padding: 4px;
    }
    
    .college-name {
        font-size: 1.5rem;
    }
    
    .page-title {
        font-size: 1rem;
    }
    
    .main-content {
        padding: 0 15px;
    }
    
    .featured-card {
        margin: 0 -5px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .featured-card h3 {
        font-size: 1.3rem;
    }
    
    .news-card {
        padding: 20px;
        margin: 0 -5px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .news-section h2 {
        font-size: 1.8rem;
    }
    
    .news-pagination {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .pagination-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* Tablet Specific Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-menu {
        justify-content: space-around;
    }
    
    .nav-menu a {
        padding: 12px 20px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tag {
    background: linear-gradient(135deg, #e8f5f3, #d4f1f4);
    color: #008b8b;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(32, 178, 170, 0.2);
    transition: all 0.3s ease;
}

.tag:hover {
    background: #20b2aa;
    color: white;
    transform: scale(1.05);
}
/* Small news images for news cards */
.news-image-small {
    width: 100%;
    height: 120px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 15px;
    position: relative;
}

.news-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 12px;
}

.news-card:hover .news-image-small img {
    transform: scale(1.05);
}

/* Responsive adjustments for small images */
@media (max-width: 768px) {
    .news-image-small {
        height: 150px;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .news-image-small {
        height: 120px;
        margin-bottom: 10px;
    }
}

/* Video Section Styles - YouTube Layout */
.video-section {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    padding: 30px 0 60px 0;
    margin-top: 20px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 105, 92, 0.1);
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.video-section h2 {
    color: #00695c;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    font-weight: 700;
}

.video-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #00695c, #4db6ac);
    border-radius: 2px;
}

/* YouTube-style Layout */
.youtube-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Main Video Player */
.main-player {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 105, 92, 0.1);
    border-left: 5px solid #00695c;
}

.main-player .video-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    background: #000;
}

.main-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-details {
    padding: 20px;
}

.video-details h3 {
    color: #00695c;
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.video-details p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Video Thumbnails Sidebar */
.video-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.thumbnail-item {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 105, 92, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.thumbnail-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 105, 92, 0.2);
    border-left-color: #00695c;
}

.thumbnail-item.active {
    border-left-color: #00695c;
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    box-shadow: 0 8px 25px rgba(0, 105, 92, 0.2);
}

.thumbnail-image {
    position: relative;
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
}

.thumbnail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail-item:hover .thumbnail-image img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
}

.thumbnail-item:hover .play-overlay {
    background: rgba(0, 105, 92, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.thumbnail-info {
    padding: 10px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.thumbnail-info h4 {
    color: #00695c;
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: 600;
    line-height: 1.2;
}

.thumbnail-info p {
    color: #666;
    font-size: 0.75rem;
    line-height: 1.3;
}

.thumbnail-item.active .thumbnail-info h4 {
    color: #004d40;
}

/* Responsive Design for YouTube Layout */
@media (max-width: 768px) {
    .youtube-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .main-player .video-wrapper {
        height: 250px;
    }
    
    .video-thumbnails {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .thumbnail-item {
        flex-direction: column;
    }
    
    .thumbnail-image {
        width: 100%;
        height: 100px;
    }
    
    .thumbnail-info {
        padding: 8px 10px;
        text-align: center;
    }
    
    .video-section {
        padding: 40px 0;
        margin-top: 40px;
    }
    
    .video-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .video-container {
        padding: 0 15px;
    }
    
    .main-player .video-wrapper {
        height: 200px;
    }
    
    .video-thumbnails {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .thumbnail-item {
        flex-direction: row;
    }
    
    .thumbnail-image {
        width: 80px;
        height: 60px;
    }
    
    .thumbnail-info {
        padding: 5px 10px;
        text-align: left;
    }
    
    .thumbnail-info h4 {
        font-size: 0.8rem;
    }
    
    .thumbnail-info p {
        font-size: 0.7rem;
    }
    
    .video-section h2 {
        font-size: 1.8rem;
    }
    
    .play-overlay {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }
}
.card-footer {
    margin-top: auto;
    padding-top: 15px;
}
/* Social Media Icons Styling */
.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 0 10px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    border: 2px solid transparent;
    background-clip: padding-box;
    aspect-ratio: 1 / 1;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.social-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* Facebook Styling */
.social-icon.facebook::before {
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 50%, #64b5f6 100%);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.social-icon.facebook::after {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
}

.social-icon.facebook:hover::before {
    background: linear-gradient(135deg, #0d5aa7 0%, #1877f2 50%, #42a5f5 100%);
    transform: scale(1.1) rotate(5deg);
}

.social-icon.facebook:hover::after {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
}

.social-icon.facebook:hover {
    border-color: rgba(24, 119, 242, 0.6);
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.3), 0 0 15px rgba(24, 119, 242, 0.2);
}

/* Telegram Styling */
.social-icon.telegram::before {
    background: linear-gradient(135deg, #0088cc 0%, #229ed9 50%, #54b3d6 100%);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.social-icon.telegram::after {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
}

.social-icon.telegram:hover::before {
    background: linear-gradient(135deg, #006699 0%, #0088cc 50%, #229ed9 100%);
    transform: scale(1.1) rotate(-5deg);
}

.social-icon.telegram:hover::after {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
}

.social-icon.telegram:hover {
    border-color: rgba(0, 136, 204, 0.6);
    box-shadow: 0 10px 25px rgba(0, 136, 204, 0.3), 0 0 15px rgba(0, 136, 204, 0.2);
}

/* TikTok Styling */
.social-icon.tiktok::before {
    background: linear-gradient(135deg, #ff0050 0%, #fe2c55 50%, #ff4081 100%);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.social-icon.tiktok::after {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
}

.social-icon.tiktok:hover::before {
    background: linear-gradient(135deg, #cc003d 0%, #ff0050 50%, #fe2c55 100%);
    transform: scale(1.1) rotate(5deg);
}

.social-icon.tiktok:hover::after {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
}

.social-icon.tiktok:hover {
    border-color: rgba(255, 0, 80, 0.6);
    box-shadow: 0 10px 25px rgba(255, 0, 80, 0.3), 0 0 15px rgba(255, 0, 80, 0.2);
}

/* SVG Icon Styling */
.social-icon svg {
    width: 20px;
    height: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Hover Effects */
.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    animation: pulse 1.5s infinite;
}

.social-icon:hover svg {
    transform: translate(-50%, -50%) scale(1.1) rotate(5deg);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 8px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes socialFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes socialGlow {
    0%, 100% {
        filter: brightness(1) saturate(1);
    }
    50% {
        filter: brightness(1.2) saturate(1.3);
    }
}

/* Floating Animation for Social Icons */
.social-icon {
    animation: socialFloat 3s ease-in-out infinite;
}

.social-icon:nth-child(1) {
    animation-delay: 0s;
}

.social-icon:nth-child(2) {
    animation-delay: 0.5s;
}

.social-icon:nth-child(3) {
    animation-delay: 1s;
}

/* Perfect Icon Rotation on Hover */
.social-icon.facebook:hover svg {
    animation: socialGlow 1s ease-in-out infinite;
}

.social-icon.telegram:hover svg {
    animation: socialGlow 1s ease-in-out infinite reverse;
}

.social-icon.tiktok:hover svg {
    animation: socialGlow 1s ease-in-out infinite alternate;
}

/* Small Size Icons */
.social-icons.small .social-icon {
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
    max-width: 35px;
    max-height: 35px;
}

.social-icons.small .social-icon svg {
    width: 16px;
    height: 16px;
}
/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
    position: absolute;
    left: 20px;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger Animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Styles */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .navigation {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
        z-index: 999;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
        width: 90%;
        max-width: 300px;
    }
    
    .nav-menu a {
        display: block;
        text-align: center;
        padding: 15px 25px;
        font-size: 1.1rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        margin: 5px 0;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }
    
    .social-icons {
        position: static;
        right: auto;
        gap: 15px;
    }
}

/* Tablet specific adjustments */
@media (max-width: 768px) and (min-width: 481px) {
    .nav-menu {
        top: 75px;
        height: calc(100vh - 75px);
    }
    
    .nav-menu li {
        width: 80%;
        max-width: 250px;
    }
}

/* Mobile specific adjustments */
@media (max-width: 480px) {
    .navigation {
        padding: 12px 15px;
    }
    
    .mobile-menu-toggle {
        left: 15px;
        width: 25px;
        height: 25px;
    }
    
    .hamburger-line {
        height: 2px;
    }
    
    .nav-menu {
        top: 65px;
        height: calc(100vh - 65px);
        padding-top: 30px;
    }
    
    .nav-menu li {
        margin: 10px 0;
        width: 95%;
    }
    
    .nav-menu a {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .social-icons {
        gap: 12px;
    }
    
    .social-icons.small .social-icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
        min-height: 30px;
        max-width: 30px;
        max-height: 30px;
    }
    
    .social-icons.small .social-icon svg {
        width: 14px;
        height: 14px;
    }
}