/* Main Variables and Reset */
:root {
    /* Brand Colors derived from Logo */
    --primary-color: #D63384;
    /* Pink from "DEV" */
    --primary-hover: #c21da8;
    --dark-blue: #2c3e50;
    /* Dark Blue from "SECU" */

    /* Decoration Colors derived from Office Image */
    --accent-teal: #20c997;
    /* Teal from Sofa */
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --text-main: #343a40;
    --text-muted: #6c757d;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 130px;
}

/* Custom Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-darker {
    background-color: var(--bg-white);
}

.bg-gradient-custom {
    background: linear-gradient(145deg, #ffffff, #f1f5f9);
}

/* Navbar */
.glass-nav {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.glass-nav .container {
    position: relative;
}

/* Default (Mobile) Brand Styles */
.navbar-brand img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

/* Desktop Styles (Large Screen) */
@media (min-width: 992px) {
    .glass-nav {
        min-height: 90px;
        /* Adjusted height */
        padding: 0.5rem 2rem;
    }

    .navbar-brand img {
        height: 70px;
    }

    .navbar-brand img:hover {
        transform: scale(1.05);
    }
}

.nav-link {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark-blue) !important;
    margin-left: 1rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    padding-top: 100px;
    /* Mobile default */
    position: relative;
    display: flex;
    align-items: center;
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)), url('assets/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

@media (min-width: 992px) {
    .hero-section {
        padding-top: 200px;
        /* Desktop adjustment for tall navbar */
    }
}

.hero-content {
    z-index: 2;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(214, 51, 132, 0.3);
}

.btn-outline-dark {
    color: var(--dark-blue);
    border-color: var(--dark-blue);
    padding: 12px 30px;
    font-weight: 600;
}

.btn-outline-dark:hover {
    background-color: var(--dark-blue);
    color: white;
}

/* Services Cards */
.service-card {
    background-color: white;
    border: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon-box {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(32, 201, 151, 0.1);
    /* Teal weak */
    border-radius: 12px;
    margin-bottom: 1.5rem;
    color: var(--accent-teal);
    font-size: 1.75rem;
}

.service-card:hover .service-icon-box {
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
}

/* About Section */
.about-box {
    background-color: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--accent-teal);
}

/* Stats */
.stats-container {
    background-color: var(--dark-blue);
    color: white;
    border-radius: 16px;
    padding: 3rem;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-teal);
}

/* Contact Form */
.contact-section {
    background-color: #f1f5f9;
}

.contact-card {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.form-control {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 1rem;
}

.form-control:focus {
    background-color: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(214, 51, 132, 0.15);
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: rgba(255, 255, 255, 0.7);
}

footer i:hover {
    color: var(--accent-teal);
}

/* Custom Subtle Backgrounds */
.bg-primary-custom-subtle {
    background-color: rgba(214, 51, 132, 0.1) !important;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}