/* 
 * DigiDigital Placement - Modern & Professional Theme 
 * 2025 Design Overhaul
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary: #0a2647;
    /* Deep Navy */
    --primary-light: #144272;
    /* Lighter Navy */
    --accent: #2c74b3;
    /* Strong Blue */
    --accent-light: #205295;
    /* Muted Blue */
    --highlight: #0dcaf0;
    /* Cyan/Teal Pop */

    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #f8fafc;

    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #0f172a;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* General Reset & Typography */
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Navbar */
.navbar {
    padding: 1.2rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary) !important;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 10px;
    position: relative;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent) !important;
}

.btn-primary {
    background: var(--primary);
    border: none;
    padding: 10px 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    padding: 10px 25px;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Page Headers (for subpages) */
.page-header {
    background: var(--gradient-primary);
    padding: 100px 0 60px;
    color: white;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section (Home) */
#hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(44, 116, 179, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

#hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

#hero .lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-img {
    position: relative;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.hero-img img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Features / Highlights */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(44, 116, 179, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(44, 116, 179, 0.1);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* About Page Styles */
.about-img {
    position: relative;
}

.about-img img {
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.about-img::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--accent);
    z-index: -1;
    border-radius: 15px;
    opacity: 0.1;
}

.team-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.member-info {
    padding: 1.5rem;
    text-align: center;
}

/* Services Page Styles */
.service-card-lg {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-lg:hover {
    box-shadow: var(--shadow-hover);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-lg:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
    flex-grow: 1;
}

/* Contact Page Styles */
.contact-info-box {
    background: var(--primary);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    height: 100%;
}

.contact-info-item {
    display: flex;
    margin-bottom: 2rem;
}

.contact-info-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--highlight);
}

.contact-form-box {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-control {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(44, 116, 179, 0.1);
    border-color: var(--accent);
    background-color: white;
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    margin-top: auto;
}

footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

footer a {
    color: #94a3b8;
}

footer a:hover {
    color: var(--highlight);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent);
    color: white;
}

/* Responsive */
@media (max-width: 991px) {
    #hero {
        text-align: center;
        padding-top: 120px;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    .hero-img {
        margin-top: 3rem;
    }

    .contact-info-box {
        margin-bottom: 2rem;
    }
}

/* Footer Visibility Fixes */
footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer a {
    color: #cbd5e1 !important;
}

footer a:hover {
    color: var(--highlight) !important;
}