:root {
    --primary-gradient: linear-gradient(135deg, #6181e5 0%, #6181e5 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

@media (max-width: 767px) {
    .btn-custom {
        padding: 15px !important;
    margin-bottom: 11px;
    }
}
.category-cards {
   
    margin-top: 22px;
}
canvas {
    display: block;
    margin: 0 auto;
}
.list-unstyled a:hover {
    text-decoration: underline!important;
  color: #6e63c4!important;
}
.navbar {
   background: #6181e5;
    box-shadow: var(--card-shadow);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: white !important;
}

.hero-section {
   background: #6181e5;
    color: white;
    /* padding: 80px 0; */
    padding: 145px 0 80px;
    text-align: center;
    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 xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.category-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: none;
    height: 100%;
    overflow: hidden;
}

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

.card-header {
    background: var(--secondary-gradient);
    color: white;
    border: none;
    padding: 1.5rem;
    text-align: center;
}

.card-header i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.card-header h5 {
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0;
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    padding: 1.5rem;
}

.calc-btn {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    color: #495057;
}

.calc-btn:hover {
    background:#6e85eb;
    color: white;
    transform: scale(1.05);
    border-color: transparent;
}

.section-padding {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-weight: 700;
    font-size: 2.5rem;
}

.stats-section {
    background: var(--primary-gradient);
    color: white;
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}
.calculator-grid a {
    text-decoration: none;
}
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
}

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

.footer {
      background: #2c3e50;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.search-bar {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.search-input {
    border-radius: 50px;
    border: none;
    box-shadow: var(--card-shadow);
    padding: 15px 25px;
    font-size: 1.1rem;
}

.search-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ===== CONTACT PAGE STYLES ===== */

/* Hero Section */
.contact-hero-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 100px 0 60px;
    position: relative;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-divider {
    width: 80px;
    height: 4px;
    background: #3498db;
    margin: 0 auto;
    border-radius: 2px;
}

/* Contact Main Section */
.contact-main-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Contact Form Container */
.contact-form-container {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.success-icon {
    width: 50px;
    height: 50px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.success-content h4 {
    color: #155724;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.success-content p {
    color: #155724;
    margin: 0;
    opacity: 0.9;
}

/* Form Section */
.form-section {
    /* margin-top: 2rem; */
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0;
}

/* Form Inputs */
.input-group {
    margin-bottom: 2rem;
    position: relative;
}

.input-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: #495057;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #3498db;
    background: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #adb5bd;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.input-group.focused label {
    color: #3498db;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.form-input.error,
.form-textarea.error {
    border-color: #dc3545;
}

/* Submit Button */
.submit-button {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: none;
    border-radius: 8px;
    padding: 1rem 2.5rem;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    width: 100%;
    justify-content: center;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button.loading {
    pointer-events: none;
    opacity: 0.8;
}

.button-icon {
    transition: transform 0.3s ease;
}

.submit-button:hover .button-icon {
    transform: translateX(5px);
}

/* Contact Info Container */
.contact-info-container {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

.info-section {
    text-align: center;
    margin-bottom: 2.5rem;
}

.info-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.info-section p {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}

/* Contact Items */
.contact-items {
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.3s ease;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item.hovered {
    transform: translateX(10px);
}

.item-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .item-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.item-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.25rem 0;
}

.item-content p {
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* Social Links */
.social-links {
    text-align: center;
}

.social-links h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

/* Facebook Brand Colors */
.social-icon[href*="facebook"]:hover,
.social-icon[href*="facebook"].hovered {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

/* Twitter/X Brand Colors */
.social-icon[href*="twitter"]:hover,
.social-icon[href*="twitter"].hovered {
    background: #1da1f2;
    border-color: #1da1f2;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(29, 161, 242, 0.4);
}

/* LinkedIn Brand Colors */
.social-icon[href*="linkedin"]:hover,
.social-icon[href*="linkedin"].hovered {
    background: #0077b5;
    border-color: #0077b5;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.4);
}

/* Instagram Brand Colors */
.social-icon[href*="instagram"]:hover,
.social-icon[href*="instagram"].hovered {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(220, 39, 67, 0.4);
}

/* YouTube Brand Colors */
.social-icon[href*="youtube"]:hover,
.social-icon[href*="youtube"].hovered {
    background: #ff0000;
    border-color: #ff0000;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

/* GitHub Brand Colors */
.social-icon[href*="github"]:hover,
.social-icon[href*="github"].hovered {
    background: #333;
    border-color: #333;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(51, 51, 51, 0.4);
}

/* WhatsApp Brand Colors */
.social-icon[href*="whatsapp"]:hover,
.social-icon[href*="whatsapp"].hovered {
    background: #25d366;
    border-color: #25d366;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* Telegram Brand Colors */
.social-icon[href*="telegram"]:hover,
.social-icon[href*="telegram"].hovered {
    background: #0088cc;
    border-color: #0088cc;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.4);
}

/* Pinterest Brand Colors */
.social-icon[href*="pinterest"]:hover,
.social-icon[href*="pinterest"].hovered {
    background: #e60023;
    border-color: #e60023;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 0, 35, 0.4);
}

/* Snapchat Brand Colors */
.social-icon[href*="snapchat"]:hover,
.social-icon[href*="snapchat"].hovered {
    background: #fffc00;
    border-color: #fffc00;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 252, 0, 0.4);
}

/* TikTok Brand Colors */
.social-icon[href*="tiktok"]:hover,
.social-icon[href*="tiktok"].hovered {
    background: #000000;
    border-color: #000000;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Default hover for unknown platforms */
.social-icon:hover:not([href*="facebook"]):not([href*="twitter"]):not([href*="linkedin"]):not([href*="instagram"]):not([href*="youtube"]):not([href*="github"]):not([href*="whatsapp"]):not([href*="telegram"]):not([href*="pinterest"]):not([href*="snapchat"]):not([href*="tiktok"]),
.social-icon.hovered:not([href*="facebook"]):not([href*="twitter"]):not([href*="linkedin"]):not([href*="instagram"]):not([href*="youtube"]):not([href*="github"]):not([href*="whatsapp"]):not([href*="telegram"]):not([href*="pinterest"]):not([href*="snapchat"]):not([href*="tiktok"]) {
    background: #3498db;
    border-color: #3498db;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Map Section */
.map-section {
    padding: 60px 0;
    background: white;
}

.map-container {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.map-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.map-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.map-header p {
    color: #6c757d;
    font-size: 1.1rem;
    margin: 0;
}

.map-content {
    position: relative;
}

.map-placeholder {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 12px;
    padding: 3rem 2rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.map-info {
    position: relative;
    z-index: 2;
}

.map-info i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.map-info h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.map-info p {
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.directions-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .contact-form-container,
    .contact-info-container,
    .map-container {
        padding: 2rem;
    }
    
    .section-header h2,
    .map-header h3 {
        font-size: 2rem;
    }
    
    .info-section h3 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        padding: 1rem 0;
    }
}

@media (max-width: 576px) {
    .contact-hero-section {
        padding: 80px 0 50px;
    }
    
    .contact-main-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .submit-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .item-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}