/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header & Navigation */
body {
    margin: 0;
    padding: 0;
    padding-top: 80px; /* Space for fixed header */
    font-family: 'Poppins', sans-serif;
}

.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 5px 0;
    transition: all 0.3s ease;
    justify-content: space-between;
    align-items: center;
}

.header.scrolled {
    padding: 5px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.logo img {
    height: 50px;
    transition: all 0.3s ease;
}

.header.scrolled .logo img {
    height: 45px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #ff9900;
    text-decoration: none;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-left: 20px;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
    padding: 10px 0;
    display: block;
    position: relative;
}

.nav-links a:not(.btn):after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 0;
    background-color: #ff9900;
    transition: width 0.3s ease;
}

.nav-links a:hover:not(.btn) {
    color: #ff9900;
}

.nav-links a:hover:not(.btn):after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    background: #ff9900;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid #ff9900;
    text-align: center;
    white-space: nowrap;
}

.btn:hover {
    background: transparent;
    color: #ff9900;
}

/* Page Headers */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1509391366360-2e959784a276?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 50vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin: -80px 0 40px 0;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links li {
        margin-left: 15px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 10px 0;
    }
    
    .nav-links {
        margin-top: 15px;
        justify-content: center;
        width: 100%;
    }
    
    .nav-links li {
        margin: 5px 10px;
    }
    
    .page-header {
        margin-top: 100px;
        height: 40vh;
        min-height: 300px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links li {
        margin: 5px 0;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
}

/* Content Section */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: #ff9900;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 60px;
}

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

.footer-section h3 {
    color: #ff9900;
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: #ff9900;
    bottom: 0;
    left: 0;
}

.footer-section p, .footer-section a {
    color: #bbb;
    line-height: 1.8;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ff9900;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #888;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.p-20 {
    padding: 20px;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}
