/* Google Font Import for a Modern Look */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
    padding-top: 80px;
}

/* The Glass Effect */
.custom-navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    /* This creates the frosted glass look */
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    padding: 20px 0;
}

/* Brand Logo Styling */
.navbar-brand {
    font-size: 1.6rem;
    letter-spacing: -1px;
    color: #1a1a1a !important;
}

.dot {
    font-size: 2rem;
}

/* Animated Nav Links */
.nav-link {
    color: #444 !important;
    font-weight: 600;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #0d6efd;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.logo-img {
    height: 80px;
    /* Adjust this based on your logo design */
    width: auto;
    /* Maintains the aspect ratio */
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Optional: Slight zoom effect on hover for extra "modern" feel */
.navbar-brand:hover .logo-img {
    transform: scale(1.05);
}

/* Ensure the brand area doesn't have weird padding */
.navbar-brand {
    padding: 0;
    margin-right: 2rem;
}

/* The Premium CTA Button */
.btn-nexus {
    background: #1a1a1a !important;
    color: #fff !important;
    border-radius: 50px !important;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.btn-nexus:hover {
    transform: scale(1.05);
    background: #0d6efd !important;
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
}

/* Smooth Dropdown Animation */
.animate-fade-in {
    animation: fadeIn 0.3s ease forwards;
    border-radius: 15px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at top right, rgba(13, 110, 253, 0.05), transparent),
        radial-gradient(circle at bottom left, rgba(13, 110, 253, 0.05), transparent);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
}

.btn-pill {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: 0.3s;
}

/* Feature Cards */
.feature-card {
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 40px;
    transition: 0.4s;
    background: white;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Stats Section */
.stats-bg {
    background: #444;
    color: white;
    padding: 80px 0;
    border-radius: 40px;
}

/* Footer */
footer {
    padding: 80px 0 30px;
    background: #f8f9fa;
}

/* Custom FAQ Styling */
.accordion-item {
    transition: all 0.3s ease;
}

/* Remove the default blue outline and shadow from Bootstrap buttons */
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
}

/* Change color when the accordion is open */
.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--primary-color);
}

/* Add a slight "lift" effect on hover */
.accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}


/* About Page */


.grayscale {
    filter: grayscale(100%);
    transition: all 0.4s ease;
}

.team-card:hover .grayscale {
    filter: grayscale(0%);
    transform: translateY(-5px);
}

.transition-hover {
    transition: all 0.3s ease;
}

.transition-hover:hover {
    transform: translateY(-8px);
    border: 1px solid rgba(13, 110, 253, 0.2) !important;
}

.icon-box-small {
    width: 50px;
    height: 50px;
    background: rgba(13, 110, 253, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* About End */

/* Portfolio */
.portfolio-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 90% 10%, rgba(99, 102, 241, 0.1), transparent);
}

.hero-tag {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Bio Section Enhancements */
.py-100 {
    padding: 100px 0;
}

.fw-800 {
    font-weight: 800;
}

.fw-600 {
    font-weight: 600;
}

.text-gradient {
    background: linear-gradient(to right, #0d6efd, #6610f2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Grayscale effect that pops on hover */
.grayscale-hover {
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.profile-card:hover .grayscale-hover {
    filter: grayscale(0%);
}

/* Timeline Aesthetics */
.timeline-item {
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 5px;
    width: 15px;
    height: 15px;
    background: #0d6efd;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2);
}

/* Responsive Sticky behavior */
@media (max-width: 991px) {
    .sticky-lg-top {
        position: relative !important;
        top: 0 !important;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem !important;
    }
}

/* My work  */
/* Portfolio Styling Enhancement */
.modern-work-card {
    transition: transform 0.4s ease;
}

/* Asymmetric Corners for a modern vibe */
.work-frame {
    position: relative;
    height: 380px;
    border-radius: 40px 10px 40px 10px; 
    overflow: hidden;
    cursor: pointer;
}

.work-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Glass Overlay */
.work-glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 110, 253, 0.2);
    backdrop-filter: blur(0px);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.btn-view-project {
    width: 60px;
    height: 60px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

/* Hover Effects */
.modern-work-card:hover .work-frame {
    transform: scale(0.98);
}

.modern-work-card:hover .work-img {
    transform: scale(1.1);
}

.modern-work-card:hover .work-glass-overlay {
    opacity: 1;
    backdrop-filter: blur(8px);
}

.modern-work-card:hover .btn-view-project {
    transform: translateY(0);
}

.text-gradient {
    background: linear-gradient(45deg, #0d6efd, #6610f2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* Gallery */

/* Section Spacing */
.py-100 { padding: 100px 0; }
.mb-100 { margin-bottom: 100px; }
.fw-800 { font-weight: 800; }

/* Image Hover Effect */
.img-fluid.rounded-5 {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.img-fluid.rounded-5:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15) !important;
}

/* Badge Styling */
.badge {
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Typography */
.lead {
    font-size: 1.15rem;
    line-height: 1.8;
}

/* Desktop spacing adjustment */
@media (min-width: 992px) {
    .pe-lg-5 { padding-right: 3rem !important; }
    .ps-lg-5 { padding-left: 3rem !important; }
}



/* Modern Footer Styles */
.footer-modern {
    background-color: #0f172a; /* Deep Navy Dark */
    overflow: hidden;
}

.spacing-wider { letter-spacing: 2px; }

/* Social Icons */
.social-circle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-circle:hover {
    background: #0d6efd; /* Primary Color */
    color: white;
    transform: translateY(-5px);
}

/* Link Hover Effects */
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 8px;
}

/* Newsletter Input Styling */
.newsletter-form .form-control {
    border-right: none;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.5);
}

.rounded-pill-start {
    border-top-left-radius: 50px !important;
    border-bottom-left-radius: 50px !important;
}

.rounded-pill-end {
    border-top-right-radius: 50px !important;
    border-bottom-right-radius: 50px !important;
}

/* Background Decoration Blur */
.footer-modern::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: #0d6efd;
    filter: blur(150px);
    bottom: -100px;
    right: -50px;
    opacity: 0.2;
}

/* Privacy policy */
/* Privacy Policy Styling */
#policy-nav .nav-link {
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
    padding-left: 15px !important;
}

#policy-nav .nav-link:hover, 
#policy-nav .nav-link.active {
    color: var(--bs-primary) !important;
    border-left-color: var(--bs-primary);
    font-weight: 600;
}

.policy-text-block h3 {
    padding-top: 20px;
}

.policy-text-block p {
    line-height: 1.8;
}

.text-gradient {
    background: linear-gradient(45deg, #0d6efd, #6610f2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Terms And Condition */
/* Terms & Conditions specific styles */
.terms-content-wrapper p {
    font-size: 1.05rem;
    line-height: 1.8;
}

#terms-nav .nav-link {
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 2px solid transparent;
    padding-left: 20px !important;
}

#terms-nav .nav-link:hover {
    color: var(--bs-primary) !important;
    transform: translateX(5px);
}

#terms-nav .nav-link.active {
    color: var(--bs-primary) !important;
    border-left-color: var(--bs-primary);
    background-color: rgba(13, 110, 253, 0.05);
}

.spacing-wider {
    letter-spacing: 0.1em;
}

/* Alert box styling to match the modern vibe */
.alert-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
}

/* refund-policy.html */
/* Refund Policy specific styles */
.icon-circle {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.icon-circle:hover {
    transform: rotate(15deg) scale(1.1);
}

.policy-card {
    border-color: rgba(0,0,0,0.05) !important;
}

.text-success {
    color: #10b981 !important; /* Modern Emerald Green */
}

.bg-success-subtle {
    background-color: #d1fae5 !important;
}

.mb-100 {
    margin-bottom: 100px;
}

/* Timeline feel on Desktop */
@media (min-width: 768px) {
    .icon-circle {
        margin-top: -55px; /* Pulls the icon up to sit on the edge of the card */
        border: 4px solid #fff;
    }
}