/* Nextora Creations Premium Light Cream Theme */
:root {
    /* Brand Gradients - Kept for accents but softer */
    --primary-gradient: linear-gradient(135deg, #00C6FF, #0072FF); /* Crisper Blue */
    --accent-gradient: linear-gradient(135deg, #FF9D00, #FF4B1F);
    
    /* Light Theme Palette */
    --cream-bg: #FDFCF8; /* Very soft cream/warm white */
    --section-bg: #F7F5F0; /* Slightly darker cream for alternate sections */
    --text-dark: #1A1A1A;
    --text-muted: #555555;
    
    /* Card Styling */
    --card-bg: #FFFFFF;
    --card-shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
    --card-hover-shadow: 0 20px 60px -15px rgba(0,0,0,0.15);
    
    --glass-border: 1px solid rgba(0, 0, 0, 0.03);
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden !important; /* Force hide horizontal overflow */
    position: relative;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--cream-bg);
    color: var(--text-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

p {
    line-height: 1.7;
    color: var(--text-muted);
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 20px rgba(0,0,0,0.02);
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    transition: 0.3s;
}

.nav-link:hover {
    color: #0072FF !important;
}

/* Hero Section */
.hero-section {
    padding: 140px 0 100px;
    background: radial-gradient(circle at top right, rgba(255, 220, 200, 0.3), transparent 60%),
                radial-gradient(circle at bottom left, rgba(200, 240, 255, 0.4), transparent 60%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.btn-primary-gradient {
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0, 114, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-primary-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 114, 255, 0.4);
    color: white;
}

.btn-outline-dark {
    border: 2px solid var(--text-dark);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
}

/* Sections */
section {
    padding: 100px 0;
}

/* Alternating background for visual hierarchy */
section:nth-child(even) {
    background-color: var(--section-bg);
}

.section-title {
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Cards (Services, Portfolio, Testimonials) */
.glass-card {
    background: var(--card-bg);
    border: var(--glass-border);
    border-radius: 24px; /* Softer, rounder corners */
    padding: 2.5rem;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    box-shadow: var(--card-shadow);
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

/* Icon Box in Cards */
.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(0, 114, 255, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #0072FF;
    font-size: 1.8rem;
    transition: 0.3s;
}

.glass-card:hover .icon-box {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

/* Portfolio Card Specifics */
.portfolio-img-wrapper {
    border-radius: 20px;
    overflow: hidden;
    height: 240px;
    margin: -2.5rem -2.5rem 1.5rem -2.5rem; /* Break out of padding */
    position: relative;
}

/* Team Card Specifics */
.team-img-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    padding: 5px; /* Spacing for gradient border */
    background: var(--primary-gradient);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: white;
    border: 3px solid white; 
}

.team-card:hover .team-img-wrapper {
    transform: scale(1.05) rotate(3deg);
}

/* Testimonial Avatar */
.testimonial-avatar {
    width: 50px; 
    height: 50px; 
    background: var(--primary-gradient); 
    color: white; 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Form Styling */
.form-control, .form-select {
    background-color: #f8f9fa;
    border: 2px solid transparent;
    padding: 1rem;
    border-radius: 12px;
    color: var(--text-dark);
}

/* Animations & Blast Effects */
@keyframes blastIn {
    0% { transform: scale(0.5); opacity: 0; filter: blur(10px); }
    70% { transform: scale(1.1); filter: blur(0px); }
    100% { transform: scale(1); opacity: 1; }
}

.blast-load {
    animation: blastIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Button Pulse */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(0, 114, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 114, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 114, 255, 0); }
}

.btn-pulse {
    animation: pulse-glow 2s infinite;
}

/* Offer Section Specifics */
.offer-section {
    background: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Notification Bar */
.notification-bar {
    background: var(--primary-gradient);
    color: white;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    padding: 8px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transform: translateY(0);
    transition: transform 0.3s;
}

/* Push Navbar down when notification is present */
.navbar-spacer {
    height: 40px; /* Adjust based on notification bar height */
}

/* Offer Popup Modal */
.modal-content.offer-modal {
    background: white;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
}

.modal-header-offer {
    background: var(--primary-gradient);
    padding: 2rem 1rem;
    color: white;
}

/* Premium Pricing Section */
.pricing-card-premium {
    background: #fff;
    border-radius: 24px;
    padding: 3rem 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.pricing-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.pricing-card-premium.featured {
    border: 2px solid #0072FF;
    background: linear-gradient(to bottom, #fff, #f8fbff);
}

.pricing-tag {
    background: var(--primary-gradient);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.pricing-price small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-features li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: start;
}

.pricing-features li i {
    color: #0072FF;
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Social Icons */
.social-icon-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    background: white;
}

/* =========================================
   RESPONSIVE DESIGN (Mobile First Approach)
   ========================================= */

@media (max-width: 991px) {
    /* Tablet & Mobile Adjustments */
    .hero-section {
        padding-top: 150px;
        text-align: center;
    }
    
    .hero-section .row {
        flex-direction: column; /* Text first, Logo second */
        gap: 30px; 
    }
    
    /* Adjust margin for logo container */
    .hero-section .col-lg-6.mt-5 {
        margin-top: 0 !important;
        margin-bottom: 0;
    }
    
    .section-title::after {
        margin: 15px auto; /* Center underline on mobile */
    }
    
    .pricing-card-premium {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    /* Mobile Landscape & Portrait */
    
    /* Global Spacing */
    section {
        padding: 60px 0; /* Reduce padding from 100px */
    }
    
    /* Typography Scaling */
    h1.display-3 {
        font-size: 2.5rem; /* Scale down hero title */
    }
    
    h2.section-title {
        font-size: 2rem;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 180px 0 60px; /* Increased top padding to clear fixed header */
        min-height: auto; /* Allow content to dictate height */
    }
    
    /* Buttons */
    .hero-section .d-flex {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary-gradient, 
    .btn-outline-dark {
        width: 100%; /* Full width buttons for easier tapping */
        display: block;
        margin-bottom: 15px;
    }
    
    /* Cards */
    .glass-card, .pricing-card-premium {
        padding: 1.5rem; /* Reduce padding to save space */
    }
    
    .icon-box {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Team Section Img */
    .team-img-wrapper {
        width: 120px;
        height: 120px;
    }
    
    /* Navbar text adjustment */
    .navbar-brand span {
        font-size: 1.1rem;
    }
    
    /* Offer Popup */
    .modal-content.offer-modal h3 {
        font-size: 1.5rem;
    }
    
    /* Normalize Header & Footer Width */
    .navbar, footer {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        margin-top: 10px;
    }
    
    /* Ensure no container breaks the layout */
    .container {
        padding-left: 20px;
        padding-right: 20px;
        max-width: 100%;
    }
}
