/* style.css - Shared styles for all pages */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    padding: 15px 0;
    position: relative;
    z-index: 102; /* Above dropdown */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 60px;
    height: 60px;
    margin-right: 15px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-name {
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 5px;
}

.slogan {
    font-style: italic;
    opacity: 0.9;
    font-size: 14px;
}

.contact-info {
    text-align: right;
}

.contact-info a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

/* Navigation Styles */
nav {
    background: linear-gradient(135deg, #5a67d8, #4c51bf);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Desktop Menu - Remove these styles if not needed */
.menu {
    display: flex;
    list-style: none;
    justify-content: space-around;
    flex-wrap: wrap;
}

.menu li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.menu li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.menu li a.active {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Hamburger Menu Styles */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 10px;
    z-index: 105;
}

.hamburger-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Main Content Styles */
main {
    flex: 1;
    padding: 40px 0;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #2d3748, #1a202c);
    color: white;
    padding: 50px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #6e8efb, #a777e3);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-icon {
    margin-right: 10px;
    color: #6e8efb;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0aec0;
    font-size: 14px;
}

/* Social Media Sidebar */
.social-sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ff8a00, #ff5e00);
    border-radius: 0 10px 10px 0;
    padding: 8px 4px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.social-icon {
    color: white;
    font-size: 18px;
    margin: 6px 0;
    padding: 6px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.social-icon:hover {
    transform: scale(1.15);
    background: rgba(255,255,255,0.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-container {
        margin-bottom: 15px;
        justify-content: center;
    }
    
    .contact-info {
        text-align: center;
        width: 100%;
    }
    
    /* Mobile Menu - Compact Dropdown */
    .hamburger-btn {
        display: block;
        background: #2c3e50;
        border-radius: 4px;
    }
    
    .menu {
        position: fixed;
        top: 70px; /* Below header */
        right: 20px;
        width: 200px;
        max-height: 0;
        overflow: hidden;
        background: white;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        flex-direction: column;
        padding: 0;
        transition: all 0.3s ease;
        z-index: 100;
        border: 1px solid #e0e0e0;
    }
    
    .menu.active {
        max-height: 400px;
        padding: 10px 0;
    }
    
    .menu li {
        margin: 0;
        width: 100%;
    }
    
    .menu li a {
        color: #333;
        padding: 12px 20px;
        display: block;
    }
    
    .menu li a:hover,
    .menu li a.active {
        background: #f5f5f5;
        color: #2c3e50;
    }
    
    /* Social Sidebar Mobile */
    .social-sidebar {
        position: fixed;
        bottom: 0;
        top: auto;
        left: 0;
        right: 0;
        transform: none;
        flex-direction: row;
        justify-content: center;
        border-radius: 10px 10px 0 0;
        padding: 10px 5px;
    }
    
    .social-icon {
        margin: 0 15px;
        padding: 10px;
    }
    
    body {
        padding-bottom: 60px;
    }
}

/* Hamburger Animation */
.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}