/* Bhunethra - Main Stylesheet */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Telugu:wght@400;500;600;700&display=swap');

/* Font Awesome Import */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Bootstrap 5.3 Import */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');

/* Root Variables - Black & White Theme */
:root {
    --primary-gradient: linear-gradient(135deg, #000000 0%, #2d3436 100%);
    --primary-color: #000000;
    --primary-dark: #2d3436;
    --text-dark: #000000;
    --text-light: #636e72;
    --text-grey: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-dark: #000000;
    --bg-grey: #2d3436;
    --white: #ffffff;
    --black: #000000;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.2);
    --border-radius: 15px;
    --transition: all 0.3s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent text overflow on mobile */
* {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* Header Styles */
.navbar {
    background: var(--white) !important;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--black) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    background: var(--black);
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: var(--black);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--white);
    color: var(--black);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--black);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-3px);
}

.btn-gradient {
    background: var(--black);
    color: var(--white);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--black);
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
    background: var(--bg-grey);
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}

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

.card-body {
    padding: 2rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--black);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Features Grid */
.features-grid {
    padding: 80px 0;
    background: var(--bg-light);
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 3rem;
    color: var(--black);
    margin-bottom: 1rem;
}

/* Statistics Section */
.stats-section {
    background: var(--black);
    color: var(--white);
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* API Documentation */
.api-endpoint {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--black);
}

.api-method {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-right: 1rem;
}

.api-method.get {
    background: #28a745;
    color: white;
}

.api-method.post {
    background: #007bff;
    color: white;
}

.api-method.put {
    background: #ffc107;
    color: #000;
}

.api-method.delete {
    background: #dc3545;
    color: white;
}

.api-url {
    font-family: 'Courier New', monospace;
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: inline-block;
    margin: 0.5rem 0;
}

/* Pricing Cards */
.pricing-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.pricing-card.featured {
    border: 3px solid var(--black);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--black);
    margin: 1rem 0;
}

/* Footer */
.footer {
    background: transparent;
    color: var(--white);
    padding: 0;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
}

/* Forms */
.form-control {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 12px 15px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.2rem rgba(108, 92, 231, 0.25);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-brand small {
        font-size: 0.6rem !important;
    }
    
    .hero-section {
        padding: 100px 0 60px !important;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 0 !important;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-brand span {
        font-size: 0.75em !important;
    }
    
    .hero-section {
        padding: 80px 0 40px !important;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-section h1 span {
        font-size: 0.6em !important;
        display: block;
        margin-top: 0.5rem;
    }
    
    .hero-section p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        min-height: 44px; /* iOS recommended touch target */
    }
    
    /* Mobile Touch Targets */
    .nav-link,
    .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .section-title p {
        font-size: 0.95rem;
    }
    
    .section {
        padding: 60px 0 40px !important;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
    
    .card-body {
        padding: 1.5rem !important;
    }
    
    .pricing-card.featured {
        transform: scale(1);
        margin-top: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    /* Footer Mobile */
    .footer .row > div {
        margin-bottom: 2rem;
    }
    
    .footer h5 {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .footer .d-inline-flex {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem !important;
    }
    
    .footer .d-inline-flex a {
        width: 100%;
        text-align: center;
        margin-bottom: 0;
    }
    
    .footer .text-md-end {
        text-align: left !important;
    }
    
    .footer .col-lg-6:first-child {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-section p {
        font-size: 0.95rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .card-body {
        padding: 1.25rem !important;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    /* Footer Small Mobile */
    .footer .col-lg-3,
    .footer .col-lg-2,
    .footer .col-lg-4 {
        margin-bottom: 1.5rem;
    }
    
    .footer .text-md-end {
        text-align: left !important;
    }
    
    .footer .d-inline-flex {
        justify-content: flex-start;
    }
    
    /* Contact Page Mobile */
    .contact-methods {
        margin-bottom: 2rem;
    }
    
    .contact-icon-wrapper {
        min-width: 50px;
    }
    
    /* Services Page Mobile */
    .service-icon-wrapper {
        width: 50px !important;
        height: 50px !important;
    }
    
    /* Services Banner Mobile */
    .card-body .row .col-lg-8,
    .card-body .row .col-lg-4 {
        text-align: center !important;
    }
    
    .card-body .row .col-lg-4 .btn {
        width: 100%;
        margin-top: 1rem;
    }
    
    /* Form Mobile */
    .form-control,
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Image Mobile */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Card Mobile Spacing */
    .card {
        margin-bottom: 1.5rem;
    }
}

/* Additional Mobile Fixes */
@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .section-title h2 {
        font-size: 1.4rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    h4 {
        font-size: 1.1rem;
    }
}

/* Utilities */
.text-gradient {
    color: var(--black);
}

.bg-gradient {
    background: var(--white);
}

.shadow-custom {
    box-shadow: var(--shadow-md);
}

/* How It Works Steps */
.step-card {
    position: relative;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--black);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

/* FAQ */
.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card .btn {
    margin-top: auto;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 3rem;
    color: var(--black);
    margin-bottom: 1rem;
}

/* Contact Page Compact Cards */
.contact-info-card {
    min-height: auto !important;
}

.contact-info-card .card-body {
    padding: 0.75rem 1rem !important;
}

.contact-info-card h6 {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
}

.contact-info-card p {
    font-size: 0.875rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0 !important;
}

