/* Corporate Profile Limited - Custom Styles */

:root {
    --primary-color: #212161;
    --secondary-color: #bebfc1;
    --accent-color: #ffffff;
    --text-dark: #212161;
    --text-light: #666666;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a252f 100%) !important;
    border-bottom: 3px solid var(--secondary-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.top-bar .container {
    max-width: 1200px;
}

.top-bar i {
    color: var(--secondary-color);
    margin-right: 8px;
}

.top-bar span {
    transition: color 0.3s ease;
}

.top-bar span:hover {
    color: var(--secondary-color);
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: var(--secondary-color) !important;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: rotate(5deg) scale(1.1);
}

.navbar-toggler {
    border: 2px solid var(--secondary-color);
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 33, 97, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav {
    gap: 0.5rem;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark) !important;
    padding: 0.75rem 1.25rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(190, 191, 193, 0.1);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(190, 191, 193, 0.15);
    border-bottom: none;
}

.nav-link.active::before {
    width: 80%;
}

/* Search Bar */
.navbar .d-flex {
    position: relative;
}

.navbar .form-control {
    border: 2px solid var(--secondary-color);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    width: 200px;
}

.navbar .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(33, 33, 97, 0.25);
    width: 250px;
    background: white;
}

.navbar .btn-outline-primary {
    border: 2px solid var(--secondary-color);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    background: var(--secondary-color);
    color: white;
    transition: all 0.3s ease;
    margin-left: 8px;
}

.navbar .btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    z-index: 0;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color, #212161) 0%, #1a1a4d 100%);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 50px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1a1a4d 0%, var(--primary-color, #212161) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(33, 33, 97, 0.3);
}

.btn-outline-primary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

/* Client Cards */
.client-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.client-logo {
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Contact Form */
.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a252f 100%) !important;
}

.social-links a {
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .top-bar {
        display: none;
    }

    .navbar-brand {
        font-size: 1.4rem;
    }

    .navbar-brand img {
        height: 40px !important;
    }

    .navbar-nav {
        gap: 0.25rem;
        padding: 1rem 0;
    }

    .nav-link {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem;
    }

    .navbar .form-control {
        width: 150px;
        margin-bottom: 1rem;
    }

    .navbar .form-control:focus {
        width: 180px;
    }

    .navbar .btn-outline-primary {
        margin-left: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-item {
        font-size: 0.8rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
        gap: 8px;
    }

    .navbar-brand img {
        height: 35px !important;
    }
}

/* Enhanced header animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.top-bar {
    animation: slideDown 0.5s ease-out;
}

.navbar {
    animation: fadeInScale 0.6s ease-out 0.2s;
    animation-fill-mode: both;
}

/* Contact item hover effects */
.top-bar .contact-item {
    transition: all 0.3s ease;
    display: inline-block;
}

.top-bar .contact-item:hover {
    transform: translateX(5px);
    color: var(--accent-color) !important;
}

/* Scroll to top button */
#scrollTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

#scrollTop:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}
