/*
|----------------------------------------------------------------------------
|   WeblyBot Professional Theme (Royal Blue)
|   Inspired by Weba1 Professional Standards
|----------------------------------------------------------------------------
*/

@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,500,600,700|Roboto:400,400i,500,500i,700,700i');

:root {
    --primary-color: #0056b3;
    --secondary-color: #00ADEF;
    --accent-color: #0071BC;
    --dark-blue: #031c36;
    --sidebar-bg: #031c36;
    --text-color: #333;
    --body-bg: #f4f7f6;
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 70px;
    --transition-speed: 0.3s;
}

body {
    background: var(--body-bg);
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}

/* -- Collapsible Sidebar Styles -- */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--sidebar-bg);
    position: fixed;
    height: 100vh;
    transition: width var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    color: #fff;
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

.sidebar.collapsed .sidebar-text,
.sidebar.collapsed .logo-text {
    display: none;
}

.main-content {
    margin-left: var(--sidebar-width);
    transition: margin-left var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 100vh;
}

.sidebar.collapsed + .main-content-wrapper .main-content {
    margin-left: var(--sidebar-collapsed-width);
}

.sidebar-toggle {
    position: absolute;
    right: -15px;
    top: 20px;
    background: var(--secondary-color);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    transition: transform var(--transition-speed) ease;
}

.sidebar.collapsed .sidebar-toggle {
    transform: rotate(180deg);
}

/* -- Professional Section Styling -- */
.section-title {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    width: 80px;
    background: var(--primary-color);
}

.section-title::before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    width: 20px;
    background: var(--secondary-color);
    z-index: 1;
}

/* -- Buttons -- */
.btn-weba1 {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.btn-weba1:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.45);
    background: var(--secondary-color);
}

/* -- Form Inputs -- */
.form-control-weba1 {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control-weba1:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
    outline: none;
}
