/* 
* JSR Adage Solutions - Premium Digital Marketing Agency Theme
* Colors: Royal Blue, Black, White
* Fonts: Poppins (Headings), Inter (Body)
*/

:root {
    --primary-color: #3B82F6;
    /* Bright Blue */
    --secondary-color: #0F172A;
    /* Dark Navy */
    --accent-color: #ffffff;
    --text-color: #334155;
    --text-light: #94A3B8;
    --bg-light: #F8FAFC;
    --bg-dark: #020617;

    /* New Vibrant Gradients from Reference */
    --gradient-primary: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%);
    /* Cyan to Royal Blue */
    --gradient-secondary: linear-gradient(135deg, #A855F7 0%, #EC4899 100%);
    /* Purple to Pink */
    --gradient-dark: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, rgba(0, 0, 0, 0) 70%);

    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --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-glow: 0 0 20px rgba(59, 130, 246, 0.5);

    --transition: all 0.3s ease;
}

/* Global Reset & Typography */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    transition: var(--transition);
}

section {
    padding: 80px 0;
}

/* Utilities */
.text-primary-custom {
    color: var(--primary-color);
}

.bg-dark-custom {
    background-color: var(--secondary-color);
    color: var(--accent-color);
}

.btn-primary-custom {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-primary-custom:hover::before {
    opacity: 1;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: white;
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-glow);
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

/* Navbar */
.navbar {
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}
.scrolled .nav-link {
    color: #1E293B !important;
}

.nav-link {
    font-weight: 500;
    color: var(--accent-color) !important;
    margin-left: 20px;
}

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

.navbar-toggler{
    background-color: #F8FAFC !important;
}
.navbar-collapse.collapse.show{
    background-color: var(--secondary-color);
    padding: 10px;
    color: var(--accent-color);
}
.scrolled .show .nav-link{
    color: var(--accent-color) !important;
}
/* Hero Section */
.hero-section {
    padding: 160px 0 100px;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    filter: blur(180px);
    opacity: 0.2;
    border-radius: 50%;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: #EC4899;
    /* Pink from gradient */
    filter: blur(150px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #94A3B8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

/* Service Cards */
.service-card {
    padding: 30px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}
.service-card {
    border: solid 1px;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

.service-icon {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

/* Portfolio Highlights */
.portfolio-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

.portfolio-item img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
}

footer h5 {
    color: white;
    margin-bottom: 20px;
}

footer p,
footer a {
    color: #94A3B8;
}

footer a:hover {
    color: white;
}

/* Popup Overlay */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* Popup Card */
.popup-card {
    background: #ffffff;
    width: 90%;
    max-width: 450px;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    text-align: center;
    animation: popupScale 0.3s ease;
}

/* Popup Animation */
@keyframes popupScale {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.popup-header i {
    color: #28a745;
    font-size: 60px;
}

.popup-header h3 {
    font-weight: 700;
    margin-top: 10px;
}

.popup-body {
    text-align: left;
    margin: 20px 0;
    font-size: 16px;
}

.popup-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

.popup-btn:hover {
    background: #0056b3;
}


/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    section {
        padding: 60px 0;
    }
}