/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@400;500;700&display=swap');

:root {
    --primary-color: #0ea5e9;
    --secondary-color: #10b981;
    --dark-bg: #0f172a;
    --card-bg: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #f59e0b;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Outfit', sans-serif;
}

/* Navbar */
.navbar {
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand .logo {
    height: 45px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .logo {
    transform: scale(1.05);
}

.nav-link {
    color: var(--text-main) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    background-color: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.dropdown-item {
    color: var(--text-main);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(255,255,255,0.05);
    color: var(--primary-color);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 400px;
    margin-top: 76px; /* Offset for fixed navbar */
}

.carousel, .carousel-inner, .carousel-item {
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75);
    transform: scale(1.05);
    transition: transform 10s ease;
}

.carousel-item.active img {
    transform: scale(1);
}

.carousel-caption {
    bottom: 30%;
    z-index: 10;
}

.carousel-caption h1 {
    font-size: 4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #ffffff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 5px 10px rgba(0,0,0,0.6);
    animation: fadeInUp 1s ease;
}

.carousel-caption p {
    font-size: 1.5rem;
    font-weight: 300;
    animation: fadeInUp 1.2s ease;
}

/* Main Content Area */
.main-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, #111827 100%);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* Sidebar Styling */
.sidebar {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.05);
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-main);
    border-bottom: 2px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
    cursor: pointer;
}

.services-list li:last-child {
    border-bottom: none;
}

.services-list li::before {
    content: '\2713';
    color: var(--secondary-color);
    margin-right: 12px;
    font-weight: bold;
    font-size: 1.2rem;
}

.services-list li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.sidebar-img {
    border-radius: 12px;
    margin-bottom: 20px;
    width: 100%;
    height: 200px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-custom {
    background: linear-gradient(90deg, var(--primary-color), #0284c7);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.4);
    color: white;
}

/* Footer */
.footer {
    background-color: #0b1120;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-card {
    background: transparent;
    border: none;
    margin-bottom: 30px;
}

.footer-card .card-header {
    background: transparent;
    border-bottom: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 0 0 15px 0;
}

.footer-card .card-body {
    padding: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-card a:hover {
    color: var(--accent);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    .carousel-caption p {
        font-size: 1.1rem;
    }
    .hero-slider {
        height: 40vh;
        min-height: 300px;
    }
    .sidebar {
        margin-top: 40px;
    }
}
