* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #2c2c2c;
    background-color: #f9f9f9;
}

/* ================= HEADER ================= */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    min-height: 100px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.header-content {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Logo */
.logo {
    flex-shrink: 0;
    z-index: 1001;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo img {
    width: 140px;
    height: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e5a8e;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 16px;
    color: #000;
    letter-spacing: 1px;
}

/* ================= MOBILE MENU TOGGLE ================= */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: #1e5a8e;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ================= NAVIGATION ================= */
.main-nav {
    display: flex;
    gap: 32px;
}

.main-nav a {
    position: relative;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background-color: #1e5a8e;
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: #1e5a8e;
}

.main-nav a:hover::after {
    width: 100%;
}

/* ================= AUTH BUTTONS ================= */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.auth-buttons a {
    padding: 11px 26px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.login-btn {
    color: #1e5a8e;
    border: 2px solid #1e5a8e;
    background: transparent;
}

.login-btn:hover {
    background-color: #1e5a8e;
    color: #fff;
}

.signup-btn {
    background: linear-gradient(135deg, #00bcd4, #009bbf);
    color: #fff;
    border: none;
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 188, 212, 0.35);
}

/* Profile */
.profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #4CAF50;
    transition: transform 0.2s;
}

.profile-pic:hover {
    transform: scale(1.1);
}


/* ================= FOOTER WRAPPER ================= */
.site-footer {
    background: #1f2d3d;
    color: #ffffff;
    padding: 60px 20px 25px;
    font-family: 'Poppins', sans-serif;
}

/* ================= FOOTER CONTENT ================= */
.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 45px;
}

/* ================= LEFT SECTION ================= */
.footer-left {
    flex: 1 1 320px;
}

.footer-left img {
    width: 220px;
    margin-top: -60px;
}

.footer-left p {
    font-size: 15px;
    color: #cfd8dc;
    line-height: 1.7;
    max-width: 360px;
    margin-top: -40px;
}

/* ================= SOCIAL ICONS ================= */
.social-icons {
    display: flex;
    gap: 14px;
    margin-top: 20px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #00bcd4;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 188, 212, 0.4);
}

/* ================= FOOTER SECTIONS ================= */
.footer-section {
    flex: 1 1 180px;
}

.footer-section h3 {
    color: #00bcd4;
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 600;
}

/* FIXED: works with <ul><a></a></ul> */
.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul a {
    display: block;
    margin-bottom: 12px;
    color: #cfd8dc;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-section ul a:hover {
    color: #00bcd4;
    transform: translateX(6px);
}

/* ================= FOOTER BOTTOM ================= */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ea7ad;
    font-size: 14px;
}

/* ================= RESPONSIVE BREAKPOINTS ================= */

/* Large Desktop */
@media (max-width: 1400px) {
    .header-content {
        padding: 0 25px;
    }
}

/* Desktop/Tablet Transition */
@media (max-width: 1200px) {
    .main-nav {
        gap: 24px;
    }
    
    .main-nav a {
        font-size: 17px;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .logo img { 
        width: 120px; 
    }
    
    .logo-title { 
        font-size: 28px; 
    }
    
    .logo-subtitle { 
        font-size: 14px; 
    }
    
    .main-nav { 
        gap: 20px;
    }
    
    .main-nav a {
        font-size: 16px;
    }
    
    .auth-buttons a { 
        padding: 9px 22px; 
        font-size: 14px; 
    }
    
    .footer-left img { 
        width: 180px; 
    }
    
    .footer-left p { 
        font-size: 14px; 
        max-width: 300px; 
    }
    
    .footer-section h3 { 
        font-size: 16px; 
    }
    
    .footer-section ul li a { 
        font-size: 13px; 
    }
}

/* Small Tablet */
@media (max-width: 900px) {
    .header-content {
        padding: 0 20px;
    }
    
    .main-nav {
        gap: 16px;
    }
    
    .main-nav a {
        font-size: 15px;
    }
    
    .auth-buttons {
        gap: 10px;
    }
    
    .auth-buttons a {
        padding: 8px 18px;
        font-size: 13px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .site-header {
        min-height: 80px;
    }
    
    .header-content {
        padding: 15px 20px;
    }
    
    .menu-toggle { 
        display: flex;
    }
    
    .main-nav { 
        display: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        position: absolute;
        top: 80px;
        left: 0;
        text-align: center;
        padding: 20px 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active { 
        display: flex;
    }
    
    .main-nav a {
        padding: 15px 20px;
        width: 100%;
        font-size: 16px;
    }
    
    .main-nav a::after {
        display: none;
    }
    
    .main-nav a:hover {
        background-color: rgba(30, 90, 142, 0.1);
    }
    
    .logo img { 
        width: 100px; 
    }
    
    .logo-title { 
        font-size: 24px; 
    }
    
    .logo-subtitle { 
        font-size: 12px; 
    }
    
    .auth-buttons { 
        gap: 10px;
    }
    
    .auth-buttons a { 
        padding: 9px 20px;
        font-size: 13px;
    }
    
    /* Footer Mobile */
    .footer-content { 
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 35px;
    }
    
    .footer-left {
        text-align: center;
    }
    
    .footer-left img { 
        width: 160px; 
    }
    
    .footer-left p { 
        max-width: 280px;
        margin: 0 auto;
    }
    
    .social-icons { 
        justify-content: center;
    }
    
    .footer-section {
        text-align: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .site-header {
        min-height: 70px;
    }
    
    .header-content {
        padding: 12px 15px;
    }
    
    .logo a {
        gap: 10px;
    }
    
    .logo img { 
        width: 80px; 
    }
    
    .logo-title { 
        font-size: 20px; 
    }
    
    .logo-subtitle { 
        font-size: 10px;
        letter-spacing: 0.5px;
    }
    
    .main-nav {
        top: 70px;
    }
    
    .main-nav a { 
        font-size: 15px;
        padding: 12px 15px;
    }
    
    .auth-buttons {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .auth-buttons a { 
        padding: 8px 18px;
        font-size: 12px;
    }
    
    .menu-toggle span {
        width: 24px;
    }
    
    /* Footer Small Mobile */
    .site-footer {
        padding: 40px 15px 20px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-left img { 
        width: 130px; 
    }
    
    .footer-left p { 
        font-size: 13px;
        max-width: 240px;
    }
    
    .footer-section h3 { 
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .footer-section ul li { 
        margin-bottom: 10px;
    }
    
    .footer-section ul li a { 
        font-size: 12px;
    }
    
    .social-icons a {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    .footer-bottom {
        font-size: 12px;
        margin-top: 30px;
        padding-top: 15px;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .logo img { 
        width: 70px; 
    }
    
    .logo-title { 
        font-size: 18px; 
    }
    
    .logo-subtitle { 
        font-size: 9px;
    }
    
    .auth-buttons a {
        padding: 7px 15px;
        font-size: 11px;
    }
    
    .footer-left img {
        width: 110px;
    }
    
    .footer-left p {
        font-size: 12px;
        max-width: 220px;
    }
}