:root {
    --primary-blue: #0f766e;
    --secondary-blue: #7c3aed;
    --success-green: #16a34a;
    --light-green: #99f6e4;
    --accent-teal: #f97316;
    --light-gray: #f6f7fb;
    --dark-gray: #0f172a;
    --white: #ffffff;
    --border-color: rgba(15, 23, 42, 0.12);
    --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.12);
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: radial-gradient(1200px 500px at 15% 0%, rgba(124, 58, 237, 0.10) 0%, rgba(124, 58, 237, 0.00) 60%),
                radial-gradient(1000px 500px at 85% 10%, rgba(15, 118, 110, 0.12) 0%, rgba(15, 118, 110, 0.00) 60%),
                var(--white);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation Styles */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-blue) !important;
    letter-spacing: 0.2px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    border-radius: 999px;
    padding: 0.5rem 0.85rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-blue) !important;
    background: rgba(15, 118, 110, 0.08);
}

.navbar-nav .nav-link.active {
    color: var(--primary-blue) !important;
    font-weight: 600;
    background: rgba(124, 58, 237, 0.10);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: 14px;
    overflow: hidden;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--light-gray);
    color: var(--primary-blue);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.92) !important;
    box-shadow: var(--shadow-sm);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(15, 118, 110, 1) 0%, rgba(124, 58, 237, 1) 55%, rgba(249, 115, 22, 1) 120%);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.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" width="900" height="900" viewBox="0 0 900 900"><defs><radialGradient id="g" cx="50%25" cy="50%25" r="55%25"><stop offset="0%25" stop-color="%23ffffff" stop-opacity="0.22"/><stop offset="100%25" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="220" r="260" fill="url(%23g)"/><circle cx="720" cy="160" r="220" fill="url(%23g)"/><circle cx="620" cy="720" r="280" fill="url(%23g)"/></svg>');
    background-size: cover;
}

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

.hero-image i {
    animation: pulse 2s infinite;
}

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

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
}

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

.service-card .card-body {
    padding: 2rem;
}

.service-card i {
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--secondary-blue), var(--primary-blue));
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(124, 58, 237, 0.28);
}

.btn-outline-primary {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-outline-success {
    border: 2px solid var(--success-green);
    color: var(--success-green);
}

.btn-outline-success:hover {
    background-color: var(--success-green);
    border-color: var(--success-green);
    transform: translateY(-2px);
}

.btn-outline-info {
    border: 2px solid var(--accent-teal);
    color: var(--accent-teal);
}

.btn-outline-info:hover {
    background-color: var(--accent-teal);
    border-color: var(--accent-teal);
    transform: translateY(-2px);
}

.btn-outline-danger:hover,
.btn-outline-warning:hover,
.btn-outline-secondary:hover {
    transform: translateY(-2px);
}

/* Forms */
.form-control {
    border-radius: 50px;
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.22);
}

/* Sections */
section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

/* Footer */
footer {
    background: radial-gradient(900px 450px at 10% 0%, rgba(124, 58, 237, 0.35) 0%, rgba(124, 58, 237, 0.00) 60%),
                radial-gradient(900px 450px at 90% 10%, rgba(15, 118, 110, 0.35) 0%, rgba(15, 118, 110, 0.00) 65%),
                linear-gradient(135deg, #070a12 0%, #0b1224 100%) !important;
}

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-blue) !important;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 80px;
        text-align: center;
    }
    
    .hero-section .display-4 {
        font-size: 2.5rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .hero-section .display-4 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .service-card .card-body {
        padding: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-blue) !important;
}

.bg-primary {
    background-color: var(--primary-blue) !important;
}

.text-info {
    color: var(--accent-teal) !important;
}

.bg-info {
    background-color: var(--accent-teal) !important;
}

.btn-info {
    background: linear-gradient(45deg, var(--accent-teal), var(--secondary-blue));
    border: none;
    color: var(--white);
}

.btn-info:hover {
    background: linear-gradient(45deg, var(--secondary-blue), var(--accent-teal));
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(249, 115, 22, 0.22);
    color: var(--white);
}

.text-success {
    color: var(--success-green) !important;
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Contact Form Styles */
.contact-form {
    background: var(--white);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-form .form-control {
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Map Container */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

/* About Page Styles */
.team-member {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

/* Service Page Styles */
.service-hero {
    background: linear-gradient(135deg, rgba(124, 58, 237, 1) 0%, rgba(15, 118, 110, 1) 55%, rgba(249, 115, 22, 1) 120%) !important;
    color: white;
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="1100" height="600" viewBox="0 0 1100 600"><path d="M0 470 C 180 410, 280 560, 520 500 C 760 440, 860 330, 1100 380 L1100 600 L0 600 Z" fill="%23ffffff" fill-opacity="0.10"/><path d="M0 430 C 160 370, 300 520, 520 460 C 760 400, 880 320, 1100 350" stroke="%23ffffff" stroke-opacity="0.22" stroke-width="4" fill="none"/></svg>');
    background-size: cover;
    background-position: center;
    pointer-events: none;
}

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

.service-content {
    padding: 5rem 0;
}

.benefit-item {
    padding: 1.5rem;
    border-left: 4px solid var(--primary-blue);
    background: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    border-radius: 0 8px 8px 0;
    box-shadow: var(--shadow-sm);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Accordion Styles */
.accordion-button {
    background-color: var(--light-gray);
    border: none;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background-color: var(--secondary-blue);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(124, 58, 237, 0.22);
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    border-radius: 15px 15px 0 0;
}

.modal-header .btn-close {
    filter: invert(1);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 60%, var(--accent-teal) 120%);
    color: white;
}

.newsletter-section .form-control {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-section .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-section .form-control:focus {
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-panel {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 2.25rem 1.75rem;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.20);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    letter-spacing: 0.2px;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.92) !important;
}
