/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #1a1a2e;
    background-attachment: fixed;
    overflow-x: hidden;
}

/* Header Styles */
header {
    background: transparent;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.5rem 0;
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-circle-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: auto;
}

.logo-circle-container:hover {
    transform: translateY(-2px);
}

.logo-circle-svg {
    width: 80px;
    height: 80px;
}

.logo-circle-text {
    font-size: 8px;
    fill: #00a8ff;
    font-weight: bold;
    letter-spacing: 1px;
}

.logo-center-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 35px !important;
    height: 35px !important;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.logo-circle-container:hover .logo-center-image {
    box-shadow: 0 0 8px rgba(0, 168, 255, 0.3);
}

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

nav ul li {
    margin-left: 1.8rem;
    position: relative;
}

nav ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    position: relative;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 168, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00a8ff, #e53995);
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 1px;
}

nav ul li a:hover::after {
    width: 80%;
}

nav ul li a:hover {
    color: #ffffff;
    background: rgba(0, 168, 255, 0.15);
    border-color: rgba(0, 168, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 168, 255, 0.15);
}

nav ul li a:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 168, 255, 0.2);
}

/* Active/Current page indicator */
nav ul li a.active {
    background: rgba(0, 168, 255, 0.2);
    border-color: rgba(0, 168, 255, 0.6);
    color: #00a8ff;
}

nav ul li a.active::after {
    width: 80%;
}

/* Footer */
footer {
    background-color: #1a1a2e;
    color: white;
    padding: 5rem 1rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-col h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: #e0e0e0;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #00a8ff;
    border-radius: 3px;
}

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

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #b0b0c0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #00a8ff;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: white;
    background-color: #1f1f3a;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border: 1px solid #00a8ff;
}

.social-links a:hover {
    background-color: #00a8ff;
    transform: translateY(-2px);
}

.newsletter-form {
    display: flex;
    margin-top: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #3c3c5a;
    background-color: #1a1a2e;
    color: #e0e0e0;
    border-radius: 5px 0 0 5px;
}

.newsletter-form button {
    background-color: #00a8ff;
    color: white;
    border: none;
    padding: 0 1.2rem;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #0095e0;
}

.copyright {
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid #3c3c5a;
    color: #b0b0c0;
    font-size: 0.9rem;
}

/* Custom Cursor - Optimized for Performance */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid #00a8ff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    top: 0;
    left: 0;
    transform: translate3d(-50%, -50%, 0);
    will-change: transform;
    transition: width 0.15s ease, height 0.15s ease;
    backface-visibility: hidden;
}

.cursor-grow {
    width: 30px;
    height: 30px;
    opacity: 0.8;
}

/* Mobile Menu Toggle */
.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: 101;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #00a8ff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    /* Hide custom cursor on mobile */
    .cursor {
        display: none;
    }
    
    /* Header Mobile Styles */
    .header-container {
        width: 95%;
        padding: 0 1rem;
    }
    
    .logo-circle-container {
        width: 80px;
        height: 80px;
    }
    
    .logo-circle-svg {
        width: 80px;
        height: 80px;
    }
    
    .logo-circle-text {
        font-size: 8px;
        letter-spacing: 1px;
    }
    
    .logo-center-image {
        width: 35px !important;
        height: 35px !important;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hide desktop navigation */
    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 100;
    }
    
    nav.mobile-nav-open {
        transform: translateX(0);
    }
    
    nav ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    nav ul li {
        margin-left: 0;
    }
    
    nav ul li a {
        font-size: 1.5rem;
        font-weight: 600;
        padding: 1rem;
        display: block;
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    
    nav ul li a:hover {
        background: rgba(0, 168, 255, 0.1);
        transform: translateY(-1px);
    }
    
    /* Footer Mobile Styles */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-col h3 {
        font-size: 1.1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-form input {
        border-radius: 5px;
    }
    
    .newsletter-form button {
        border-radius: 5px;
        padding: 0.8rem;
    }
    
    .copyright {
        font-size: 0.8rem;
        padding: 1rem;
    }
    
    .copyright p {
        line-height: 1.5;
    }
}

/* Tablet Responsive Styles */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .header-container {
        width: 95%;
    }
    
    .logo-circle-container {
        width: 100px;
        height: 100px;
    }
    
    .logo-circle-svg {
        width: 100px;
        height: 100px;
    }
    
    .logo-circle-text {
        font-size: 10px;
    }
    
    .logo-center-image {
        width: 45px !important;
        height: 45px !important;
    }
    
    nav ul li {
        margin-left: 1.2rem;
    }
    
    nav ul li a {
        font-size: 0.9rem;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

/* Small Mobile Devices */
@media screen and (max-width: 480px) {
    .header-container {
        padding: 0 0.5rem;
    }
    
    .logo-circle-container {
        width: 60px;
        height: 60px;
    }
    
    .logo-circle-svg {
        width: 60px;
        height: 60px;
    }
    
    .logo-circle-text {
        font-size: 6px;
        letter-spacing: 0.5px;
    }
    
    .logo-center-image {
        width: 25px !important;
        height: 25px !important;
    }
    
    .mobile-menu-toggle {
        width: 25px;
        height: 25px;
    }
    
    .hamburger-line {
        height: 2px;
    }
    
    nav ul li a {
        font-size: 1.2rem;
    }
    
    footer {
        padding: 3rem 0.5rem 1rem;
    }
    
    .copyright {
        font-size: 0.7rem;
    }
}
