/*

Theme Name: Deepak Sharma Theme 2026

Theme URI: https://example.com

Author: Deepak Sharma

Author URI: https://example.com

Description: A custom WordPress theme built with Bootstrap 5

Version: 1.0.0

License: GNU General Public License v2 or later

License URI: http://www.gnu.org/licenses/gpl-2.0.html

Text Domain: deepak-sharma-theme

Tags: bootstrap, responsive, custom

*/



/* ==========================================================================

   Custom Styles

   ========================================================================== */



/* Color Palette - Based on #303094 */
:root {
    --primary-dark: #1a1a52;      /* Darkest shade */
    --primary-base: #303094;      /* Base color */
    --primary-medium: #5050b8;    /* Medium shade */
    --primary-light: #7070d6;     /* Light shade */
    --primary-lighter: #e8e8f7;   /* Lightest shade for backgrounds */
    --surface: #ffffff;
    --text-main: #22243a;
    --text-muted: #5f6380;
    --shadow-soft: 0 12px 32px rgba(26, 26, 82, 0.1);
    --shadow-strong: 0 18px 42px rgba(26, 26, 82, 0.18);
    --radius-card: 1rem;
    --font-body: 0.97rem;
    --font-h1: clamp(2.2rem, 1.8rem + 1.8vw, 3.25rem);
    --font-h2: clamp(1.8rem, 1.5rem + 1.2vw, 2.55rem);
    --font-h3: clamp(1.45rem, 1.3rem + 0.8vw, 2rem);
    --font-h4: clamp(1.2rem, 1.1rem + 0.45vw, 1.55rem);
    --font-h5: clamp(1.05rem, 1rem + 0.3vw, 1.3rem);
    --font-h6: 1rem;
    --font-display-3: clamp(2.5rem, 2.05rem + 2vw, 3.7rem);
    --font-display-4: clamp(2rem, 1.7rem + 1.4vw, 3rem);
    --font-display-5: clamp(1.7rem, 1.45rem + 0.9vw, 2.35rem);
}



/* Add your custom styles below */



body {
    font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-main);
    font-size: var(--font-body);
    background:
        radial-gradient(1200px 500px at 10% -10%, rgba(112, 112, 214, 0.1), transparent 60%),
        radial-gradient(1200px 500px at 100% 0%, rgba(80, 80, 184, 0.08), transparent 55%),
        #f8f9ff;
    line-height: 1.6;

}

h1, h2, h3, h4, h5, h6 {
    font-family: "Merriweather", Georgia, "Times New Roman", serif;
    color: var(--primary-dark);
}

h1 {
    font-size: var(--font-h1);
}

h2 {
    font-size: var(--font-h2);
}

h3 {
    font-size: var(--font-h3);
}

h4 {
    font-size: var(--font-h4);
}

h5 {
    font-size: var(--font-h5);
}

h6 {
    font-size: var(--font-h6);
}

.display-3,
.display-4,
.display-5 {
    letter-spacing: -0.02em;
}

.display-3 {
    font-size: var(--font-display-3);
}

.display-4 {
    font-size: var(--font-display-4);
}

.display-5 {
    font-size: var(--font-display-5);
}



/* Logo Styles */
.navbar-brand img,
.custom-logo-link img {
    max-height: 80px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Smooth scroll behavior */

html {

    scroll-behavior: smooth;

}



/* Links */

a {

    transition: all 0.3s ease;
    color: var(--primary-base);

}

a:hover {
    color: var(--primary-medium);
}



/* Buttons */

.btn {
    transition: all 0.3s ease;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.01em;

}

.btn-primary {
    background-color: var(--primary-base);
    border-color: var(--primary-base);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 0.75rem 1.5rem rgba(48, 48, 148, 0.25);
}

.btn-outline-primary {
    color: var(--primary-base);
    border-color: var(--primary-base);
}

.btn-outline-primary:hover {
    background-color: var(--primary-base);
    border-color: var(--primary-base);
    transform: translateY(-1px);
}

.btn-light,
.btn-outline-light {
    border-radius: 999px;
}



/* Cards */

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-color: var(--primary-lighter);
    border-radius: var(--radius-card);
    background: var(--surface);
    overflow: hidden;

}



.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft) !important;
    border-color: var(--primary-light);

}

.card-header {
    background-color: var(--primary-lighter);
    border-bottom-color: var(--primary-light);
}



/* Hero Section */

.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-base) 0%, var(--primary-medium) 100%);
    color: white;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.16), transparent 35%);
    pointer-events: none;
}



/* Stats Section */

.stats-item {
    transition: transform 0.3s ease;
    background-color: var(--primary-lighter);
    border-left: 4px solid var(--primary-base);
    border-radius: 0.75rem;

}



.stats-item:hover {

    transform: scale(1.05);
    border-left-color: var(--primary-medium);
    background-color: white;
    box-shadow: 0 0.25rem 1rem rgba(48, 48, 148, 0.1);

}

.stats-item h3 {
    color: var(--primary-base);
}



/* Footer Styles */
.site-footer {
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.08), transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.site-footer > * {
    position: relative;
    z-index: 1;
}

.site-footer section {
    scroll-margin-top: 90px;
}

.site-footer h5 {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.site-footer .hover-link {
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
}

.site-footer .hover-link:hover {
    color: #ffffff !important;
    transform: translateX(2px);
}

.site-footer .footer-links .hover-link span {
    transition: transform 0.25s ease;
}

.site-footer .footer-links .hover-link:hover span {
    transform: translateX(3px);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.25s ease;
}

.site-footer a:hover {
    color: #ffffff;
}

.site-footer .text-white-50 {
    color: rgba(255, 255, 255, 0.65) !important;
    line-height: 1.6;
}

.site-footer .form-control {
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    font-size: 0.9rem;
}

.site-footer .form-control:focus {
    background-color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.15);
    color: var(--text-main);
}

.site-footer .form-control::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.site-footer .btn-light {
    background-color: #ffffff;
    color: var(--primary-dark);
    font-weight: 600;
    border: none;
    transition: all 0.25s ease;
}

.site-footer .btn-light:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.site-footer .border-opacity-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Footer Responsive Adjustments */
@media (max-width: 767.98px) {
    .site-footer h5 {
        font-size: 1.1rem;
        margin-bottom: 1.25rem !important;
    }
    
    .site-footer .row {
        row-gap: 2rem;
    }
}



/* Top Bar */
.site-topbar {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
    letter-spacing: 0.01em;
}

.site-topbar span {
    color: rgba(255, 255, 255, 0.65);
}

.site-topbar a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-topbar a:hover {
    color: #ffffff;
}

/* Navigation */
.navbar {
    background-color: white;
    box-shadow: 0 6px 18px rgba(48, 48, 148, 0.08);
    -webkit-backdrop-filter: saturate(140%) blur(6px);
    backdrop-filter: saturate(140%) blur(6px);
    transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.navbar.nav-scrolled {
    box-shadow: 0 8px 24px rgba(48, 48, 148, 0.15);
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--primary-dark);
    font-size: 0.96rem;
    font-weight: 500;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    position: relative;
}

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    height: 2px;
    background-color: var(--primary-base);
    transition: left 0.25s ease, right 0.25s ease;
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
    left: 0.85rem;
    right: 0.85rem;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-base);
}



/* Sections */
section {
    position: relative;
    scroll-margin-top: 90px;
}

section.bg-light {
    background-color: var(--primary-lighter) !important;
}

.section-title {
    color: var(--primary-base);
    font-size: clamp(1.7rem, 1.45rem + 0.95vw, 2.35rem);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-base) 0%, var(--primary-medium) 100%);
}



/* Text colors */
.text-primary {
    color: var(--primary-base) !important;
}

.bg-primary {
    background-color: var(--primary-base) !important;
}

.border-primary {
    border-color: var(--primary-base) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Reusable page helpers */
.min-vh-50 {
    min-height: 50vh;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.faq .accordion-button {
    font-weight: 600;
    color: var(--primary-dark);
    background: #fff;
}

.faq .accordion-button:not(.collapsed) {
    color: var(--primary-base);
    background: #fff;
    box-shadow: inset 0 -1px 0 rgba(48, 48, 148, 0.12);
}

.faq .accordion-body {
    color: var(--text-muted);
}

/* Image utilities for template sections */
.theme-image-long-width {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
}

.theme-image-long-height {
    width: 100%;
    height: 100%;
    min-height: 360px;
    max-height: 560px;
    object-fit: cover;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
}

.theme-bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    isolation: isolate;
}

.theme-bg-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 82, 0.65), rgba(80, 80, 184, 0.4));
    z-index: -1;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}



/* Responsive adjustments */

@media (max-width: 991.98px) {

    .navbar-brand img,
    .custom-logo-link img {

        max-height: 80px;
        max-width: 80px;

    }

    .display-3 {
        font-size: 2.2rem;
    }

    .display-4 {
        font-size: 1.9rem;
    }

    .display-5 {
        font-size: 1.65rem;
    }

    .theme-image-long-height {
        min-height: 280px;
        max-height: 420px;
    }

}

