/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

/* Floating Toggle Button */
.floating-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    border: none;
    cursor: pointer;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(255, 107, 107, 0.5);
}

.floating-toggle:active {
    transform: scale(0.95);
}

.toggle-icon {
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Toggle animation when menu is open */
.main-menu.active ~ .floating-toggle .toggle-icon:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.main-menu.active ~ .floating-toggle .toggle-icon:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.main-menu.active ~ .floating-toggle .toggle-icon:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* Navigation Menu Panel */
.main-menu {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.main-menu.active {
    right: 0;
}

/* Menu Container */
.menu-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

/* Menu Header */
.menu-header {
    padding: 25px 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.menu-header h2 {
    color: white;
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.close-menu {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    line-height: 1;
}

.close-menu:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.close-icon {
    display: block;
}

/* Menu Sections */
.menu-sections {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.menu-section {
    margin-bottom: 10px;
}

.menu-section h3 {
    color: #999;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    padding: 15px 20px 10px 20px;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    margin: 0;
}

.menu-list a {
    display: flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    padding: 14px 20px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.menu-list a:hover {
    background: #f8f8f8;
    border-left-color: #ff6b6b;
    padding-left: 25px;
}

.menu-icon {
    margin-right: 12px;
    font-size: 20px;
    width: 24px;
    text-align: center;
}

/* Content Styles */
.container {
    padding-top: 20px;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

section {
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 8px;
}

h1, h2, h3 {
    color: #333;
}

.hero {
    text-align: center;
    padding: 60px 30px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    border-radius: 12px;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 42px;
    margin-bottom: 15px;
    color: white;
}

.hero-subtitle {
    font-size: 24px;
    opacity: 0.9;
}

/* Side Panel */
.side-panel {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.side-panel h3 {
    color: #ff6b6b;
    margin-bottom: 15px;
}

.side-panel ul {
    list-style: none;
    padding: 0;
}

.side-panel ul li {
    margin-bottom: 10px;
}

.side-panel ul li a {
    color: #333;
    text-decoration: none;
    padding: 8px 12px;
    display: block;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.side-panel ul li a:hover {
    background: #f8f8f8;
    color: #ff6b6b;
    padding-left: 16px;
}

.panel-info {
    margin-top: 20px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 8px;
    border-left: 3px solid #ff6b6b;
}

.panel-info strong {
    color: #ff6b6b;
    display: block;
    margin-bottom: 5px;
}

/* Navigation */
.navigation {
    margin-top: 30px;
    padding: 20px 0;
}

.nav-link {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #ee5a52;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.step {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.step:hover {
    background: #ff6b6b;
    color: white;
    transform: translateY(-5px);
}

.step h3 {
    margin-bottom: 10px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.service:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.service h3 {
    color: #ff6b6b;
    margin-bottom: 10px;
}

/* Contact Info */
.contact-info {
    margin-top: 20px;
}

.contact-item {
    margin-bottom: 15px;
    padding: 12px;
    background: #f8f8f8;
    border-radius: 6px;
}

.contact-item a {
    color: #ff6b6b;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Caption */
.tagline {
    font-size: 32px;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 10px;
}

.sub-tagline {
    font-size: 18px;
    color: #666;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .main-menu {
        width: 100%;
        right: -100%;
    }
    
    .floating-toggle {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .toggle-icon {
        width: 22px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .tagline {
        font-size: 24px;
    }

    .sub-tagline {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .menu-header h2 {
        font-size: 20px;
    }
    
    .floating-toggle {
        width: 50px;
        height: 50px;
    }

    .toggle-icon {
        width: 20px;
        height: 2.5px;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    section {
        padding: 20px;
    }

    .tagline {
        font-size: 20px;
    }
}
